Computing the Intersection of Two Lines
Two different straight lines that lie in a plane and are not parallel always have an intersection point.
Given are usually two linear functions and with the general equations of the straight line:
and
.
We are looking for the intersection point .
Example
Consider the following linear functions:
.
Calculate the intersection point.
Set the functions equal and bring to one side of the equation:
The function value of and are therefore equal at . The point of intersection of the two lines is therefore at .
You can now calculate the missing -value by plugging into or . It doesn't make any difference which of both you choose, since according to the calculation above .
plugged into yields:
The intersection point is therefore at .
General procedure
You set the two functions equal and bring to one side of the equation.
The x-value of the intersection point is therefore at .
Now plug into or to get the -value of the intersection point:
The intersection point of the lines is therefore .