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. Any algorithm for the "Intersection Point" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "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.) or any database download or API access for "Intersection Point" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Intersection Point" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Intersection Point on dCode.fr [online website], retrieved on 2025-04-16,