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 "Intersection Point" source code. Except explicit open source licence (indicated Creative Commons / free), the "Intersection Point" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Intersection Point" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Intersection Point" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "Intersection Point" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Intersection Point on dCode.fr [online website], retrieved on 2024-12-21,