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!
Tool for finding the intersection point(s) of 2 lines or curves by calculation from their respective equations (crossing in the 2D plane).
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 simply 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 algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (PHP, Java, C#, Python, Javascript, Matlab, etc.) no data, script or API access will be for free, same for Intersection Point download for offline use on PC, tablet, iPhone or Android !
Please, check our community Discord for help requests!