Tool for finding the intersection point(s) of 2 lines or curves by calculation from their respective equations (crossing in the 2D plane).

Intersection Point - dCode

Tag(s) : Functions

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!

A suggestion ? a feedback ? a bug ? an idea ? *Write to dCode*!

A point of intersection between 2 elements/drawings/graphs/curves in the 2D plane is the place of crossing/superposition of the 2 elements.

From the equations of the 2 lines of the 2D plane, it is possible to calculate the point of intersection (if it exists) by solving the corresponding system of equations. The values obtained (generally for $ x $ and $ y $) correspond to the coordinates $ (x, y) $ of the point of intersection.

__Example:__ The lines of respective equations $ y = x + 2 $ and $ y = 4-x $ form the system of equations $ \begin{cases} y = x+2 \\ y = -x+4 \end{cases} $ which has for solution $ \begin{cases} x = 1 \\ y = 3 \end{cases} $ therefore the point of intersection of the 2 lines is the point of coordinates $ (1,3) $

If the equations of the lines are not known, dCode allows you to find the equations of a line from its slope coefficient, its y-intercept or only from 2 points (linear equation).

The calculation of the point (or points) of intersection of 2 curves requires solving the corresponding system of equations.

__Example:__ The square function of equation $ y = x^2 $ and the horizontal line $ y = 1 $ allow to create the system of equations $ \begin{cases} y = x^2 \\ y = 1 \end{cases} $ which has 2 solutions $ \begin{cases} x = 1 \\ y = 1 \end{cases} $ and $ \begin{cases} x = -1 \\ y = 1 \end{cases} $ and therefore the square function has 2 points of intersection with the horizontal line at the coordinate points $ (x,y) $: $ (-1,1) $ and $ (1,1) $

dCode retains ownership of the online 'Intersection Point' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Intersection Point' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Intersection Point' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'Intersection Point' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

Please, check our dCode Discord community for help requests!

NB: for encrypted messages, test our automatic cipher identifier!

intersection,point,crossing,coordinate,line,curve,equation,plane

Source : https://www.dcode.fr/intersection-point

© 2021 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.

Feedback

▲
Thanks to your feedback and relevant comments, dCode has developed the best 'Intersection Point' tool, so feel free to write! Thank you!