Skip to content
SAT essentials · Math

SAT lines and slope: linear equations in two variables

A linear equation in two variables is a line. Once you can read its slope and where it crosses the axes, every form of the equation tells the same story.

These are the concepts this skill rests on, the same pages as in the lesson.

Points and Slope

A Line Is Every Solution

An equation in two variables, such as 2x+y=62x + y = 6, has many solutions. Each one is an ordered pair (x,y)(x, y) that makes the equation true. Graphed, all the solutions together make a line.

The line 2x + y = 6 on a grid. The point (1, 4) is on the line, because 2 times 1 plus 4 is 6. The point (3, 1) is not, because 2 times 3 plus 1 is 7. x y 2 4 6 2 4 6 O (1, 4) (3, 1) 2x + y = 6 (1, 4): 2(1) + 4 = 6 true, so it is on the line (3, 1): 2(3) + 1 = 7 false, so it is not

So a point is on the line exactly when its coordinates make the equation true. Test (1,4)(1, 4): 2(1)+4=62(1) + 4 = 6, true, so it is on the line. Test (3,1)(3, 1): 2(3)+1=72(3) + 1 = 7, not 6, so it is not.

When a question says a point lies on a line and gives one coordinate, substitute it and solve for the other. If (5,y)(5, y) is on 2x+y=62x + y = 6, then 10+y=610 + y = 6 and y=−4y = -4.

Slope Is Rise Over Run

The slope of a line tells how much yy changes each time xx increases by 1. Between any two points, it is the rise (the change in yy) divided by the run (the change in xx).

A line through (1, 2) and (5, 5). A slope triangle joins them: a run of 4 to the right and a rise of 3 up, so the slope is 3 over 4. x y 1 2 3 4 5 6 7 1 2 3 4 5 6 O (1, 2) (5, 5) run 4 rise 3 slope = rise ÷ run rise: 5 − 2 = 3 run: 5 − 1 = 4 slope = 3/4

m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}

From (1,2)(1, 2) to (5,5)(5, 5), the rise is 5−2=35 - 2 = 3 and the run is 5−1=45 - 1 = 4, so m=34m = \frac{3}{4}.

  • Subtract in the same order on top and bottom. Reversing both is fine; reversing only one flips the sign.
  • The change in yy goes on top. Upside down, 43\frac{4}{3}, is the most common wrong answer.
  • A table works the same way. Rows (2,9)(2, 9) and (6,1)(6, 1) give 1−96−2=−84=−2\frac{1 - 9}{6 - 2} = \frac{-8}{4} = -2. Do not assume the xx-values step by 1.

Four Kinds of Slope

Read a graph from left to right. The direction the line goes tells the sign of its slope.

Four small graphs. A line that rises to the right has a positive slope. A line that falls has a negative slope. A horizontal line, y = k, has slope 0. A vertical line, x = k, has no slope. positive rises negative falls zero y = k no slope x = k Read a graph left to right, like a sentence.
  • Positive slope: the line rises.
  • Negative slope: the line falls.
  • Zero slope: the line is horizontal. Every point has the same yy, so its equation is y=ky = k, such as y=3y = 3.
  • No slope: the line is vertical. Every point has the same xx, so its equation is x=kx = k, such as x=2x = 2. The run is 0, and dividing by 0 is undefined.

A horizontal line and a vertical line always meet at a right angle.

Three Forms of One Line

Slope-Intercept Form

When an equation is solved for yy, it shows the slope and the yy-intercept directly:

y=mx+by = mx + b

The line y = one half x + 2. It crosses the y-axis at (0, 2), the y-intercept b. From there, a run of 2 and a rise of 1 reach the next grid intersection, so the slope m is 1 half. x y −4 −2 2 4 −2 2 4 O (0, 2) run 2 rise 1 y = mx + b y = ½x + 2 slope m = 1/2 y-intercept (0, 2)

mm is the slope, and bb is the yy-intercept: the line crosses the yy-axis at (0,b)(0, b). In y=12x+2y = \frac{1}{2}x + 2, start at (0,2)(0, 2) and step 2 right and 1 up to reach the next grid intersection.

The order of the terms does not matter. In y=8−3xy = 8 - 3x, the slope is −3-3, the number multiplying xx, and the yy-intercept is 8.

The graph keeps y=12x+2y = \frac{1}{2}x + 2 as a reference; the second line, y=mx+by = mx + b, starts on top of it. Set m=−1m = -1 to make the second line fall. Then restore m=12m = \frac{1}{2} and set b=−2b = -2: the lines are parallel, and the second crosses the yy-axis at (0,−2)(0, -2).

Standard Form

Standard form is Ax+By=CAx + By = C. It hides the slope, so solve for yy to see it.

The line 2x + 3y = 12. Solving for y gives y = negative 2 thirds x + 4. A slope triangle from (0, 4) runs 3 to the right and falls 2. x y 2 4 6 2 4 O run 3 fall 2 2x + 3y = 12 3y = −2x + 12 y = −(2/3)x + 4 slope = −A/B = −2/3

2x+3y=12  ⇒  3y=−2x+12  ⇒  y=−23x+42x + 3y = 12 \;\Rightarrow\; 3y = -2x + 12 \;\Rightarrow\; y = -\frac{2}{3}x + 4

Done once with letters, this gives a shortcut: when B≠0B \neq 0, the slope of Ax+By=CAx + By = C is −AB-\frac{A}{B}, sign included, and the yy-intercept is CB\frac{C}{B}. When B=0B = 0, there is no yy-term at all: 2x=82x = 8 is the vertical line x=4x = 4, which has no slope.

  • Multiplying every term by the same nonzero number gives the same line. 4x+6y=244x + 6y = 24 is the line above.
  • An unsimplified equation comes first. In 2(x+3y)=x+92(x + 3y) = x + 9, distribute and collect the xx-terms: 2x+6y=x+92x + 6y = x + 9 becomes x+6y=9x + 6y = 9, so the slope is −16-\frac{1}{6}.

Point-Slope Form

When you know a slope mm and one point (x1,y1)(x_1, y_1), write the line in point-slope form:

y−y1=m(x−x1)y - y_1 = m(x - x_1)

A line with slope negative 1 half through the point (4, 1). One step of the slope, run 2 and fall 1, reaches (6, 0). Followed back to the y-axis, the line crosses it at (0, 3). x y 2 4 6 8 2 4 O (4, 1) run 2 fall 1 (0, 3) y − y₁ = m(x − x₁) y − 1 = −½(x − 4) y = −½x + 2 + 1 y = −½x + 3 b = 1 + 2 = 3

A line with slope −12-\frac{1}{2} through (4,1)(4, 1) is y−1=−12(x−4)y - 1 = -\frac{1}{2}(x - 4). Distribute and add 1 to get y=−12x+3y = -\frac{1}{2}x + 3.

If you need only bb, substitute the point into y=mx+by = mx + b: 1=−12(4)+b1 = -\frac{1}{2}(4) + b, so b=3b = 3. Point-slope form also checks itself: put in the given point and both sides are 0.

Where a Line Meets the Axes

Intercepts: Set the Other Variable to Zero

An intercept is where a line crosses an axis. On the xx-axis, y=0y = 0; on the yy-axis, x=0x = 0.

The line 3x minus 4y = 12. It crosses the x-axis at (4, 0), where y is 0, and the y-axis at (0, negative 3), where x is 0. x y −2 2 4 6 −4 −2 2 O (4, 0) (0, −3) 3x − 4y = 12 x-intercept: y = 0 3x = 12, x = 4 y-intercept: x = 0 −4y = 12, y = −3
You wantSet this to 0The point looks like
the xx-interceptyy(a,0)(a, 0)
the yy-interceptxx(0,b)(0, b)

For 3x−4y=123x - 4y = 12: with y=0y = 0, 3x=123x = 12, so the xx-intercept is (4,0)(4, 0). With x=0x = 0, −4y=12-4y = 12, so the yy-intercept is (0,−3)(0, -3). Keep the sign of a negative coefficient: that is where most intercept mistakes come from.

Shifting a Line Up or Down

Shifting a line up kk units adds kk to every yy-value. The slope does not change, so the new line is parallel to the old one.

The line y = 2x minus 6 and the same line shifted up 4 units, y = 2x minus 2. The two lines are parallel. The x-intercept moves from (3, 0) to (1, 0). x y 2 4 6 −6 −4 −2 2 O y = 2x − 6 up 4: y = 2x − 2 gray dashes: 4 units up same slope, 2 x-intercept: 3 to 1

y=2x−6y = 2x - 6 shifted up 4 is y=2x−6+4=2x−2y = 2x - 6 + 4 = 2x - 2. Its xx-intercept moves from 3 to 1: set y=0y = 0 in the new equation, not the old one.

For standard form, solve for yy first. 4x−2y=124x - 2y = 12 is y=2x−6y = 2x - 6, the line above. Shifted down 3, it is y=2x−9y = 2x - 9. Down subtracts from the constant; up adds to it.

Points That Share One Line

Every pair of points on one line gives the same slope. That is how to find a missing coordinate.

Three points, (1, 2), (3, 6) and (k, 14), on one line. A slope triangle from (1, 2) to (3, 6) rises 4 over a run of 2, a slope of 2. From (3, 6) the line must rise 8 to reach a y-coordinate of 14, so a second slope triangle rises 8 over a run of 4. x y 2 4 6 8 2 4 6 8 10 12 14 O (k, 14) 4 2 8 4 (1, 2), (3, 6), (k, 14) slope: 4 ÷ 2 = 2 rise 8 needs run 8 ÷ 2 = 4 every pair gives the same slope: one line

Suppose (1,2)(1, 2), (3,6)(3, 6), and (k,14)(k, 14) lie on one line. The first two give the slope 6−23−1=2\frac{6 - 2}{3 - 1} = 2. From (3,6)(3, 6) to (k,14)(k, 14), yy rises 8, so xx runs 8÷2=48 \div 2 = 4, and k=7k = 7.

The same idea works with letters. Points (a,c)(a, c) and (a+2,c+6)(a + 2, c + 6) always give a slope of 62=3\frac{6}{2} = 3, whatever aa and cc are: the aa and the cc cancel.

Parallel and Perpendicular Lines

Parallel Lines Have Equal Slopes

Two different lines are parallel when they have the same slope. Their yy-intercepts must differ, or they are the same line.

Two parallel lines, y = one half x + 3 and y = one half x minus 1. Each has a slope triangle with a run of 2 and a rise of 1. They cross the y-axis at different points. x y −4 −2 2 4 −2 2 4 6 O y = ½x + 3 y = ½x − 1 same slope, 1/2 different y-intercepts 2x − 4y = 4 is the orange line again: the same line

y=12x+3y = \frac{1}{2}x + 3 and y=12x−1y = \frac{1}{2}x - 1 are parallel: both rise 1 for every 2 across, and they cross the yy-axis at different points.

In standard form, compare −AB-\frac{A}{B}. x−2y=2x - 2y = 2 and 3x−6y=53x - 6y = 5 both have slope 12\frac{1}{2}, so they are parallel. But 2x−4y=42x - 4y = 4 is just x−2y=2x - 2y = 2 multiplied by 2: the same line, not a parallel one.

Perpendicular Lines: Flip and Change the Sign

Two lines are perpendicular when they meet at a right angle. Turn a slope triangle a quarter turn and the run and rise trade places, and one of them changes direction.

Two perpendicular lines meeting at a right angle at (0, 0). One has slope 2 thirds: run 3, rise 2. The other has slope negative 3 halves: run 2, fall 3. The slope triangle has turned a quarter turn. x y −4 −2 2 4 −4 −2 2 4 O slope 2/3 run 3, rise 2 slope −3/2 run 2, fall 3 flip it and change the sign (2/3) × (−3/2) = −1

So perpendicular slopes are negative reciprocals: flip the fraction and change its sign. The slope 23\frac{2}{3} pairs with −32-\frac{3}{2}.

  • The product test: perpendicular slopes multiply to −1-1. 23×(−32)=−1\frac{2}{3} \times \left(-\frac{3}{2}\right) = -1. A product of +1+1 means you forgot the sign.
  • A whole number is a fraction over 1. Perpendicular to slope 4 is slope −14-\frac{1}{4}.
  • Horizontal and vertical lines are perpendicular to each other, though a vertical line has no slope to flip.

Equation, Table, and Graph

One Line, Three Ways

An equation, a table, and a graph can all describe the same line. To match one to another, find two things: the rate (the slope) and one anchor point.

One line shown three ways. A table with x equal to 0, 2 and 4 and y equal to 1, 4 and 7: each step of 2 in x adds 3 to y. The equation y = 3 halves x + 1. And the graph, through (0, 1), (2, 4) and (4, 7). x y 0 1 2 4 4 7 +2 in x each time +3 in y each time slope = 3 ÷ 2 = 3/2 anchor: (0, 1), so b = 1 y = (3/2)x + 1 x y 2 4 2 4 6 8 O

From the table: each step of 2 in xx adds 3 to yy, so the slope is 32\frac{3}{2}, and the row x=0x = 0 gives the anchor (0,1)(0, 1). The equation is y=32x+1y = \frac{3}{2}x + 1.

  • No x=0x = 0 row? Substitute any row into y=mx+by = mx + b and solve for bb.
  • Check a second row you did not use. A wrong choice often fits one row but not the others.
  • On the graphing calculator, type a candidate equation and the given points. If every point sits on the line, the candidate survives. It cannot fix a misread graph, so read the scale first.

Reading a Scaled Grid

On many SAT graphs, one gridline is not one unit, and the two axes can use different scales. Read the numbers on the axes before you count anything.

A line through (0, 5) and (4, 25) on a grid where each vertical gridline step is 1 unit but each horizontal gridline step is 5 units. The line looks like slope 1, but its slope is 20 over 4, or 5. 1 2 3 4 5 6 5 10 15 20 25 30 35 O x y run 4 rise 20 each step up is 5 each step across is 1 rise: 25 − 5 = 20 run: 4 − 0 = 4 slope = 20 ÷ 4 = 5 Counting squares gives 4 ÷ 4 = 1. Read the numbers.

Here each step up is 5 units and each step across is 1. From (0,5)(0, 5) to (4,25)(4, 25) the rise is 20 and the run is 4, so the slope is 5. The squares make the line look like slope 1, and that is the trap.

Write down what one gridline is worth on each axis, then read every point in units.

Signs of the Slope and the Intercept

Some questions give an equation with unknown constants and ask which graph could be it. Decide two signs: does the line rise or fall, and does it cross the yy-axis above or below the origin?

Two sketches. Left: a line that rises and crosses the y-axis below the origin, so m is positive and b is negative. Right: a line that falls and crosses the y-axis above the origin, so m is negative and b is positive. rises: m > 0 crosses below O: b < 0 falls: m < 0 crosses above O: b > 0 x y x y

For y=mx+by = mx + b, the line rises when m>0m > 0, and it crosses the yy-axis above the origin when b>0b > 0.

For Ax+By=CAx + By = C, find the signs from −AB-\frac{A}{B} and CB\frac{C}{B}. If AA, BB, and CC are all positive, the slope −AB-\frac{A}{B} is negative and the yy-intercept CB\frac{C}{B} is positive: a falling line that crosses above the origin. Check the xx-intercept CA\frac{C}{A} too, when two choices still survive. (These need AA and BB to be nonzero, which such questions state or imply.)

Lines as Models

Building a Model

Many SAT equations describe a situation with two kinds of things and one total. Each term is a per-unit amount times a count.

A bar model of 8a + 5c = 120. A bar for the total of 120 dollars is split into two parts: the money from a adult tickets at 8 dollars each, 8a, and the money from c child tickets at 5 dollars each, 5c. 8a 5c total: $120 $8 per adult ticket times a tickets $5 per child ticket times c tickets each part = per-unit amount × count

Adult tickets cost $8 and child tickets cost $5, and a show sold $120 of tickets. If aa is the number of adult tickets and cc is the number of child tickets, then

8a+5c=1208a + 5c = 120

  1. Name each variable with its unit: aa is the number of adult tickets, not just "adults."
  2. Attach each per-unit amount to its own count. The $8 goes with aa.
  3. Add the parts to the total. A one-time fee stays a lone number: 8a+5c+10=1308a + 5c + 10 = 130.
  4. Watch the phrases. "Three times as many vans as trucks" is v=3tv = 3t, but "three more vans than trucks" is v=t+3v = t + 3. "The same weight of each" sets two terms equal: 12-pound bags of sand and 20-pound bags of gravel give 12s=20g12s = 20g.

A fixed fee plus a rate. Many models have one amount that happens once and one that repeats. A plumber charges $65 for a visit plus $40 for each hour of work, so the total charge cc, in dollars, for hh hours is

c=40h+65c = 40h + 65

The rate multiplies the variable; the fee stands alone. Three hours cost 40(3)+65=18540(3) + 65 = 185 dollars, and a $305 bill means 40h=24040h = 240, or 6 hours.

To use a model, substitute the value you are given and solve for the other. If the show sold 10 adult tickets, 80+5c=12080 + 5c = 120, so c=8c = 8.

A second fact about the same two quantities, such as "they sold 20 tickets in all", makes a system: Skill 04: Systems of Linear Equations.

Percents and Units in a Model

Before a number can be a coefficient, it has to be in the right form.

A bar for x liters of a 12 percent salt solution. The salt is a strip 12 percent as long as the bar, labeled 0.12x liters of salt. Below: 90 gallons per hour is 1.5 gallons per minute. x liters of solution 12% of x = 0.12x liters of salt Units must match. If the rate is per minute, 90 gallons per hour ÷ 60 = 1.5 gallons per minute
  • A percent becomes a decimal. 12% of xx is 0.12x0.12x. So xx liters of a 12% salt solution hold 0.12x0.12x liters of salt.
  • A percent change becomes one multiplier. xx dollars after an 8% markup is 1.08x1.08x; after an 8% discount, 0.92x0.92x. Skill 11: Percentages builds these.
  • Units must match. If the times are in minutes, 90 gallons per hour becomes 90÷60=1.590 \div 60 = 1.5 gallons per minute. A value given in hours, such as 2.5 hours, becomes 150 minutes before you substitute it.
  • Net opposing rates first. Losing 90 a minute while gaining 32 a minute is losing 58 a minute.

What Each Piece Means

An interpretation question asks what one piece of a model represents. Name the piece, then say what it counts and in what unit.

The equation 4.5w + 12d = 300, with each piece labeled. 4.5 is the price of one water bottle. 12d is the money from all the d T-shirts. 300 is the total in dollars. w and d are the two counts. 4.5w + 12d = 300 4.5: dollars per bottle w: number of bottles 12: dollars per T-shirt d: number of T-shirts 4.5w: dollars from bottles 12d: dollars from T-shirts 300: total dollars the point (40, 10): 40 bottles and 10 T-shirts

A club sells water bottles for $4.50 and T-shirts for $12, and 4.5w+12d=3004.5w + 12d = 300 describes a day that brought in $300.

The pieceWhat it meansIn 4.5w+12d=3004.5w + 12d = 300
a coefficientan amount per one item$4.50 per bottle
a variablea countdd, the number of T-shirts
a whole termthe total from one kind12d12d, the dollars from T-shirts
the constantthe total$300
a pointone count of each(40,10)(40, 10): 40 bottles and 10 T-shirts

In a fixed-fee model, the lone constant is the fee: in c=40h+65c = 40h + 65, 65 is the charge for the visit, paid once, and 40 is the charge for each hour.

Wrong choices are real quantities in the wrong role, so read every choice with its unit. "How much more one costs than the other" is a difference of coefficients: here 12−4.5=7.512 - 4.5 = 7.5 dollars.

Intercepts in Context

On the graph of a model, an intercept is the "all of one, none of the other" case. These graphs are segments in the first quadrant, because a count cannot be negative.

A first-quadrant segment for 6a + 4b = 120, from (0, 30) on the vertical axis to (20, 0) on the horizontal axis. (20, 0) is all of item a and none of item b; (0, 30) is all of item b. 5 10 15 20 25 30 5 10 15 20 25 30 35 O number of item a number of item b (20, 0) (0, 30) 6a + 4b = 120 all a: 120 ÷ 6 = 20 all b: 120 ÷ 4 = 30 smaller intercept, pricier item

For 6a+4b=1206a + 4b = 120, the endpoint (20,0)(20, 0) means 20 of item aa and none of item bb use the whole $120.

  • A total divided by an intercept is a price. 120÷20=6120 \div 20 = 6 dollars per item aa.
  • An intercept times a price is the total. If you know item aa costs $6, the total is 20×6=12020 \times 6 = 120.
  • The smaller intercept belongs to the more expensive item. Fewer of them fit in the same total: 30 of item bb at $4 each, but only 20 of item aa at $6.

Keep going

Check Your Skills, the strategy for each kind of question, worked examples and practice from Easy to Hard are in the Quaero SAT Course.

More Algebra