Skip to content
Now Accepting Applications for 2027-2028Apply
ITMagicITMagicAcademy
All topics
SAT MathUnit 1 · Algebra

Linear equations in two variables

Work with equations like Ax + By = C: check solutions, find intercepts and slopes, build equations from two points, and use parallel and perpendicular lines.

What the SAT tests here

A linear equation in two variables, such as 2x + 3y = 12, has infinitely many solutions. Each solution is a point (x, y), and together they form a line. Questions ask you to test a point, find intercepts or slope, write the equation of a line, or model a situation with two unknown amounts.

Testing a point

A point is a solution if it makes the equation true. Is (3, 2) on 2x + 3y = 12? Substitute: 2(3) + 3(2) = 6 + 6 = 12. Yes.

Intercepts

  • x-intercept: set y = 0. For 4x − 5y = 20, 4x = 20 and x = 5, so the line crosses the x-axis at (5, 0).
  • y-intercept: set x = 0. For 5x + 2y = 10, 2y = 10 and y = 5, so the point is (0, 5).

Slope from standard form

Solve Ax + By = C for y: y = (−A / B)x + C / B. So the slope is −A / B.

For 3x + 6y = 12 the slope is −3 / 6 = −1/2.

Writing the equation of a line

Through (2, 3) and (4, 7):

  • Slope: (7 − 3) / (4 − 2) = 2.
  • Use one point: y − 3 = 2(x − 2), so y = 2x − 1.
  • Check with the other point: 2(4) − 1 = 7. It matches.

Parallel and perpendicular lines

  • Parallel lines have the same slope and different intercepts. A line parallel to y = 3x − 2 through (1, 5): slope 3, so 5 = 3(1) + b and b = 2, giving y = 3x + 2.
  • Perpendicular lines have slopes whose product is −1. The line 2x − y = 7 has slope 2, so any perpendicular line has slope −1/2.

Worked example: two unknown amounts

Adult tickets cost 8 dollars and child tickets cost 5 dollars. A family spent 100 dollars and bought 5 adult tickets. How many child tickets?

  • Equation: 8a + 5c = 100.
  • With a = 5: 40 + 5c = 100, so 5c = 60 and c = 12.

The equation 8a + 5c = 100 by itself has many solutions; the extra fact a = 5 picks one.

Worked example: a constant inside the equation

The line ax + 4y = 8 passes through (2, −1). Find a.

Substitute the point: 2a + 4(−1) = 8, so 2a = 12 and a = 6.

Common traps

  • Slope sign in standard form. The slope of Ax + By = C is −A/B, not A/B.
  • Mixing up intercepts. For the x-intercept set y = 0, for the y-intercept set x = 0.
  • Perpendicular slope. Flip the fraction and change the sign: 2 becomes −1/2, not 1/2 or −2.
  • Forgetting to check. Plug the second point into your final equation.

Calculator tip

Type the equation as it is, for example 2x + 3y = 12, into the built-in graphing calculator; it draws the line without rearranging. Tap the line to see the intercepts, and add a point such as (3, 2) to see whether it sits on the line.

Quick summary

  • A solution is a point that makes the equation true.
  • Intercepts: set the other variable to 0.
  • Slope of Ax + By = C is −A/B.
  • Parallel: same slope. Perpendicular: negative reciprocal slope.

Topic quiz

5 questions. You need at least 80% correct to pass; passing unlocks the next topic.

Log in to take the quiz and save your progress. Creating an account is free.

Log in and take the quiz