Intersection of Two Lines Calculator

Type two lines and find where they cross.

An equation in x and y, such as y = 2x + 1 or 2x + 3y = 13.

The second equation, in the same way.

Try

Result

You enteredx=3y=−1x = 3 \quad y = -1

(3,−1)\displaystyle \left(3, -1\right)

x

x=3\displaystyle x = 3

y

y=−1\displaystyle y = -1
Show the work
  1. Write both lines in the form Ax + By = C

    Two lines meet where one point (x,y)(x, y) satisfies both equations. Writing both in the same form, with the xx and yy terms on the left, makes the coefficients easy to compare.

    x=3y=−1\begin{gathered} x = 3 \\ y = -1 \end{gathered}
  2. A vertical line fixes x

    An equation with no yy in it is a vertical line, and it already says what xx is at every point on it. Read xx from that equation.

    x=3x = 3
  3. Back-substitute

    Put this value of xx into the other equation, which leaves one equation in yy, and solve it.

    y=−1y = -1
  4. Check in both equations

    A point is on both lines only if it satisfies both equations, so substitute xx and yy into each original equation and confirm that the left side equals the right side.

    1×3=31×(−1)=−1\begin{gathered} 1 \times 3 = 3 \\ 1 \times \left(-1\right) = -1 \end{gathered}
  5. Result

    So the lines meet at the point (3,−1)\left(3, -1\right).

Worked examples