Quarry School

College Algebra / Graphs of linear functions

Graphs of linear functions

Subject: Mathematics

All 10 lessons, in order.

The unit at a glance

  1. Draw a line by plotting points

    Picture a city map.

  2. Start at the y-intercept and walk the slope

    Picture walking along a ramp drawn on a map.

  3. Build a line by changing the identity function

    Picture a flexible drawing of a ramp.

  4. Read a graph and write its equation

    Picture finding the instructions for a ramp after seeing only its drawing.

  5. Find where the line reaches the x-axis

    Picture a ramp crossing a painted line on the floor.

  6. Horizontal and vertical lines

    Picture a shelf and a flagpole.

  7. Compare parallel and perpendicular lines

    Picture two straight train tracks and two edges of a square tile.

  8. Write a parallel or perpendicular line through a point

    Picture choosing a road's direction and then moving it until it passes through your house.

  9. Find the point shared by two lines

    Picture two walkers starting at different places on straight paths.

  10. Use an intersection to find break-even

    Picture selling notebooks at a table.

Rules (10)
Recipes (10)
  • Draw a line by plotting points
    1. 1. Choose input values. If the slope contains a fraction, try multiples of its denominator. Multiples are results of multiplying by whole numbers: for a denominator of 3, use 0 × 3 = 0, 1 × 3 = 3 and 2 × 3 = 6.
    2. 2. Substitute each input into the function to find its output.
    3. 3. Record the pairs in a values picture, then plot each input across and output up.
    4. 4. Draw a straight line through the points and extend it both ways.
    5. 5. If a third point misses the line, recalculate before drawing.
  • Start at the y-intercept and walk the slope
    1. 1. Read b, then substitute 0 to verify the point (0, b).
    2. 2. Read m. Write a whole-number slope over 1.
    3. 3. Choose signed rise and run whose quotient is m.
    4. 4. Start at (0, b), move by that run and rise, and repeat.
    5. 5. Draw the line through the points. Check one point by substitution.
  • Build a line by changing the identity function
    1. 1. Sketch the identity function y = x using (0, 0) and (1, 1).
    2. 2. Read |m|, the size of m without its sign, to decide whether heights stretch or compress.
    3. 3. If m < 0, reflect the heights across the x-axis as part of that multiplication.
    4. 4. Add b to every new height. Positive b moves up; negative b moves down.
    5. 5. Verify a point in the final formula. Multiplication must occur before this stated shift.
  • Read a graph and write its equation
    1. 1. Read the y-intercept if it is shown. Confirm that the first coordinate is 0.
    2. 2. Choose two clearly marked points. Keep their order the same in both subtractions.
    3. 3. Compute rise divided by run and reduce the fraction.
    4. 4. Write the slope and intercept in f(x) = mx + b.
    5. 5. Substitute both points to verify the recovered equation.
  • Find where the line reaches the x-axis
    1. 1. Replace the output f(x) or y with 0. This selects points lying on the x-axis.
    2. 2. Solve the resulting equation for the input.
    3. 3. Substitute that found input into the original function. Its output must be 0.
    4. 4. State the input value and the coordinate point (x, 0).
    5. 5. If m = 0, inspect the constant output instead of dividing by zero.
  • Horizontal and vertical lines
    1. 1. Compare the coordinates of two distinct points.
    2. 2. If their y-values match, keep that output fixed: y = c.
    3. 3. If their x-values match, keep that input fixed: x = c.
    4. 4. Check both given points in the equation.
    5. 5. Do not force a vertical line into y = mx + b.
  • Compare parallel and perpendicular lines
    1. 1. Rewrite each nonvertical equation with y alone so its slope is visible.
    2. 2. Equal slopes and different intercepts mean parallel lines.
    3. 3. Equal slopes and equal intercepts mean coincident lines.
    4. 4. Otherwise multiply the slopes. A product of −1 means perpendicular lines.
    5. 5. Handle a vertical line separately: it is perpendicular to a horizontal line, and parallel to another distinct vertical line.
  • Write a parallel or perpendicular line through a point
    1. 1. Find the original slope from its equation or from two points.
    2. 2. Choose the new slope: same for parallel, negative reciprocal for perpendicular.
    3. 3. Insert the new slope and the required point in point-slope form, or use b = y1 − mx1.
    4. 4. Expand and isolate y if slope-intercept form is wanted.
    5. 5. Plug the supplied point into the final equation and check the slope relationship.
  • Find the point shared by two lines
    1. 1. Graph the two lines to locate or estimate their shared point.
    2. 2. If both outputs are formulas in the same input, set those formulas equal.
    3. 3. Solve for the shared input. Watch for a contradiction or an equality true for every input.
    4. 4. Substitute a found input into one original formula to obtain the output.
    5. 5. Substitute the point into both original equations, then report both coordinates.
  • Use an intersection to find break-even
    1. 1. Define the input quantity and its units; count sold items as nonnegative whole numbers.
    2. 2. Put fixed expense at the cost intercept and per-item expense at the cost slope.
    3. 3. Put selling price at the revenue slope, with revenue 0 before any sales.
    4. 4. Set cost equal to revenue and solve for the quantity.
    5. 5. Plug the quantity into both functions, then report quantity and dollars together.
    6. 6. Compare revenue with cost to tell profit from loss.
    7. 7. If the calculated quantity is between whole items, the model has no exact whole-item break-even. When each sale contributes a positive amount, use the next whole count to reach nonnegative profit.
Traps (10)

Lesson 1 of 10

Draw a line by plotting points

Subject: MathematicsLeans on: Coordinate pairsLeans on: Function notationLeans on: Order of operationsLeans on: Fraction multiplicationLeans on: Signed additionOpen this lesson
Leans on 1Comes back in 0

1 In plain words

Picture a city map. A location needs two instructions: how far across, then how far up. A coordinate pair, such as (2, 5), records those two instructions in that order.

A function is a rule that gives one output for each input. Its graph is a picture of all the input and output pairs. You put the input on the horizontal x-axis and the output on the vertical y-axis.

A linear function gives a straight line. You can mark a few addresses that obey its rule and draw the line through them. Two different addresses locate the line. A third address helps you notice a calculation mistake before you draw.

2 Picture it

(0, 0)(−0, 0)(1, 2)(2, 4)−224−22468(0, 0)(−0, 0)(1, 2)(2, 4)−2−11234−22468
y = 2x.

Reminder

Reminder: Coordinate pairs, Function notation, Order of operations, Fraction multiplication, Signed addition
  • Coordinate pairs. (−2, 3) means left 2, then up 3; the input is first.
  • Function notation. f(3) asks for the output at input 3; if f(x) = 2x, then f(3) = 6.
  • Order of operations. Multiply before adding: 2 × 3 + 1 = 7.
  • Fraction multiplication. 23 × 6 = 123 = 4; multiply the top, then divide.
  • Signed addition. −4 + 5 = 1 because five forward steps undo four backward steps.

3 Why

For f(x) = mx + b, changing x by any amount changes the output by m times that amount. Every step right 1 changes height by m. Repeating that same step traces a straight line, so the graph never changes its slant. Two distinct points determine one straight line. A third calculated point must fall on it if the arithmetic is correct. Connecting only the marked points would leave out other accepted inputs, so an unrestricted linear function extends in both directions.

4 The rule

Graph a linear function by plotting at least two distinct coordinate pairs (x, f(x)) and drawing the entire straight line through them.

A third point checks the arithmetic.

The same idea, five ways

Say it

put an input in, find its output, and mark their address.

Write it

The graph contains every point whose output obeys the function rule.

In math
  • y = f(x)
  • (x, f(x))
  • f(x) = mx + b
Like

A street map locates an address with two directions.

See it
(0, 0)(−0, 0)(1, 2)(2, 4)−224−22468
The same picture again: y = 2x.

The same idea, other ways

As a map

The point (1, 2) means one unit across and two up. For f(x) = 2x, the address (2, 4) also fits, because twice 2 is 4.

(0, 0)(−0, 0)(1, 2)(2, 4)2246
The marked points give addresses on the same straight line.
As a machine

Each chosen input makes one output. Plotting is recording the machine's answers on a map.

3multiply by 2inputoutput6
The machine's answer makes the point (3, 6).

5 How

  1. Choose input values. If the slope contains a fraction, try multiples of its denominator. Multiples are results of multiplying by whole numbers: for a denominator of 3, use 0 × 3 = 0, 1 × 3 = 3 and 2 × 3 = 6.
  2. Substitute each input into the function to find its output.
  3. Record the pairs in a values picture, then plot each input across and output up.
  4. Draw a straight line through the points and extend it both ways.
  5. If a third point misses the line, recalculate before drawing.

Graph from a formula by choosing points

1
Does the coefficient of x have a fractional denominator?
YesChoose multiples of that denominator to keep the products whole.
NoChoose small inputs, including 0.
↓
2
Do all three calculated points lie on one straight line?
YesDraw the line through them.
NoRecheck signs and substitution in each output.
  1. Choose convenient inputs.
  2. Compute one output per input using multiplication before addition.
  3. Plot at least two distinct points and check a third.
  4. Extend the straight line through the points.

6 Worked example

Worked example

Plot points to graph f(x) = −35x + 5

Graph the linear function f(x) = −35x + 5 by plotting points. Choose three inputs, find their outputs, record the coordinate pairs in a values picture, plot them, and draw the line. Use the third point to check the arithmetic before drawing.

Show the steps and the answer
input xoutput f(x)055210−1↓ evaluate: input given, read the output below it
Values picture for f(x) = −35x + 5.
  1. Choose the inputs 0×5=0,1×5=5 and 2×5=10.The slope −35 has denominator 5. Multiplying it by a multiple of 5 cancels the denominator, so every output is a whole number. An input such as x = 1 would give f(1) = −35 + 5 = 225 = 4.4, which is hard to plot accurately.
  2. Substitute x = 0: f(0)=−35×0+5=0+5=5.Replacing x with an input and evaluating gives that input's output. At x = 0 the slope term is 0, so the output is the constant term 5.
  3. Substitute x = 5: f(5)=−35×5+5=−3+5=2.35 × 5 = 155 = 3, so the fraction clears and the output is a whole number.
  4. Substitute x = 10: f(10)=−35×10+5=−6+5=−1.35 × 10 = 305 = 6. Two points are enough to fix the line. This third pair is there to check the arithmetic.
  5. Record the pairs in a values picture: the inputs 0, 5 and 10 have the outputs 5, 2 and −1. This gives the points (0, 5), (5, 2) and (10,−1).Writing each output beside its input keeps the pairs together, and each point is written (input, output).
  6. Draw axes from −6 to 12 across and from −3 to 9 up. Plot each point by going across by the input and up by the output: (0, 5) is 5 up on the y-axis, (5, 2) is 5 across and 2 up, and (10,−1) is 10 across and 1 down.The input is the horizontal coordinate and the output is the vertical one, so a negative output means moving down. The axes leave room to extend the line past the points on both sides.
  7. Lay a ruler through (0, 5) and (5, 2) and look at (10,−1). It sits on the ruler's edge: each move from one point to the next is 5 across and 3 down.Equal steps in input along a line give equal steps in output, and 3 down for every 5 across is the slope −35. If the third point had missed the ruler, the outputs would be recalculated before drawing.
  8. Draw the straight line through the three points. Extend it to the edges of the grid in both directions and put an arrow at each end.The graph of a linear function is a straight line. Also, f has an output for every input, not just 0, 5 and 10, so the line continues both ways.
Answer
The graph is the straight line through (0, 5), (5, 2) and (10, −1), extended in both directions. It crosses the y-axis at (0, 5) and falls 3 units for every 5 units to the right.
Double-check Follow the drawn line one more step to the left of (0, 5): 5 across to the left and 3 up reaches (−5, 8). The formula agrees: f(−5) = −35 × (−5) + 5 = 3 + 5 = 8. The line also crosses the x-axis just past 8, which matches solving −35x + 5 = 0 to get x = 253 ≈ 8.3.

Work to write

  1. Inputs are multiples of 5: x = 0, 5, 10
  2. f(0)=−35×0+5=5
  3. f(5)=−35×5+5=−3+5=2
  4. f(10)=−35×10+5=−6+5=−1
  5. Values picture: x = 0, 5, 10; f(x) = 5, 2, −1
  6. Points (0, 5), (5, 2), (10, −1) plotted; (10, −1) lies on the line through the other two
  7. Straight line drawn through the points and extended both ways

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: for f(x) = 2x, use (2, 2) because the input is 2.
The second coordinate must be the output. Substituting 2 gives f(2) = 4.
✓ Instead: Plot (2, 4). The point (2, 2) belongs to a different rule.

Tips and tricks

  • Choose 0 as one input when possible. Multiplication by 0 leaves the starting value.

7 The trap

Plotting (3, 3) as output first can hide the mistake because both numbers match. Practice with (0, 5): across 0, then up 5. The input always comes first.

Lesson 2 of 10

Start at the y-intercept and walk the slope

Subject: MathematicsLeans on: SubstitutionLeans on: Reducing fractionsLeans on: Subtracting a negativeLeans on: Signs in divisionLeans on: Axis positionOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Picture walking along a ramp drawn on a map. You need a starting address and instructions for each move. The y-intercept is the point where the line meets the upright y-axis. That axis has input 0, so the starting address is (0, b). The slope tells you how the height changes as you move across. Rise is vertical displacement, meaning change in height, negative when you go down. Run is horizontal displacement, meaning change across. A slope of two thirds tells you to go up 2 for every 3 right. A slope of negative two thirds sends you down 2 for every 3 right. Repeating the same move keeps you on the line.

2 Picture it

(0, 5)(7.5, 0)(3, 3)run 2rise −1.33−448−22468(0, 5)(7.5, 0)(3, 3)run 2rise −1.33−4−22468−22468
y = −0.6667x + 5, for x from −4 to 9.

Reminder

Reminder: Substitution, Reducing fractions, Subtracting a negative, Signs in division, Axis position
  • Substitution. At x = 0, 3x + 7 becomes 3 × 0 + 7 = 7.
  • Reducing fractions. 46 = 23 because both top and bottom divide by 2.
  • Subtracting a negative. 4 − (−2) = 6; removing a backward amount adds a forward amount.
  • Signs in division. −23 is negative, while −2−3 is positive.
  • Axis position. A point (0, 5) is on the y-axis because it has no horizontal move.

3 Why

Substitute x = 0 into y = mx + b. The product m × 0 disappears, leaving y = b. This output at input 0 is called the initial value; its graph point is the y-intercept. For two points, subtract their equations: y2 − y1 = m(x2 − x1). Divide by their nonzero horizontal change to obtain the slope formula. This explains why the walk is rise divided by run. You may reverse both directions because a negative divided by a negative gives the same slope. Reversing only one changes the slope.

4 The rule

In y= mx +b, the y-intercept is (0, b) and m=riserun=y2−y1x2−x1, with x2≠x1.

The same idea, five ways

Say it

slope is height change for each change across.

Write it

A linear function has a constant rate of change and starts at output b when the input is 0.

In math
  • y = mx + b
  • b = f(0)
  • m=y2−y1x2−x1
Like

A ramp has a fixed climb for each distance forward.

See it
(0, −1)(2, 0)startright 2, up 1repeatrun 2rise 1−4−2246−4−224
y = 0.5x − 1, for x from −4 to 6.

The same idea, other ways

As a walk

For m = −23, start at (0, 5), go right 3 and down 2 to (3, 3). Reverse both moves to go left 3 and up 2 to (−3, 7).

(0, 5)(7.5, 0)(−3, 7)(3, 3)run 2rise −1.33−4−22462468
y = −0.6667x + 5, for x from −4 to 7.
As a rate

If you pay $2 per mile, three more miles add $6. The rate is 63 = 2. The fixed starting charge is separate from that rate.

3 more miles$2 per mileinputoutput$6 more
The extra output divided by the extra input is the rate.
With small numbers

For y = 2x + 1, input 0 gives output 1. Moving from input 0 to input 1 changes the output from 1 to 3: a rise of 2 for a run of 1.

input xoutput f(x)011325
Every one-unit input increase raises the output by 2.
Why it must be true

The same b is added to both outputs. Subtracting them cancels b, leaving only m times the input change.

y2 − y1 = (mx2 + b) − (mx1 + b)

y2−y1=m(x2−x1)

5 How

  1. Read b, then substitute 0 to verify the point (0, b).
  2. Read m. Write a whole-number slope over 1.
  3. Choose signed rise and run whose quotient is m.
  4. Start at (0, b), move by that run and rise, and repeat.
  5. Draw the line through the points. Check one point by substitution.

Graph using one point and the slope

1
Is m negative?
YesA positive rightward run must have a downward rise.
NoA positive rightward run has an upward rise when m > 0, and no rise when m = 0.
↓
2
Do you need a point to the left?
YesReverse both rise and run.
NoContinue the same rightward move.
  1. Identify the y-intercept (0, b).
  2. Turn m into a signed rise divided by a signed run.
  3. Walk that change at least twice.
  4. Check the plotted outputs in the original equation.

6 Worked example

Worked example

Walk a negative fraction slope from the y-intercept

Graph the line y = −32x + 6 by starting at its y-intercept and walking the slope. State the y-intercept, give a signed rise and run that match the slope, find two more points to the right of the y-axis and one point to the left of it, then draw the line and check one of your points by substitution.

Show the steps and the answer
(−2, 9)(0, 6)(2, 3)(4, 0)−44848
The finished graph: the line through the walked points (−2, 9), (0, 6), (2, 3) and (4, 0).
  1. Read b: in y=−32x+6 the constant term is 6, so b=6. Substitute x=0 to verify: y=−32(0)+6=0+6=6. Plot the y-intercept (0, 6).The y-intercept is the point where x = 0. There the term mx is zero, so y = b. Substituting 0 confirms that (0, 6) is on the line before every later step is built on it.
  2. Read m: the coefficient of x is −32, so m=−32. It is already a fraction, so it needs no rewriting. (Only a whole-number slope needs rewriting: for example, 5 would become 51.)The slope is riserun, so it has to be seen as a top number over a bottom number before it can be walked. The minus sign in front belongs to m and must not be dropped.
  3. Put the minus sign on the top number: −32=−32, so rise =−3 and run =2. On the grid that is 2 units right and 3 units down. The same slope can be written 3−2: 2 units left and 3 units up.The rise is the vertical change and the run is the horizontal change, and their quotient must be m. A negative quotient needs exactly one negative part: −32 and 3−2 both equal −32, but −3−2 = 32, which would make the line climb.
  4. Start at (0, 6) and add the run to x and the rise to y: (0+2,6−3)=(2,3). Repeat from (2, 3): (2+2,3−3)=(4,0). For a point on the left, return to (0, 6) and use run −2, rise 3: (0−2,6+3)=(−2,9).For any two points on the line, y2−y1x2−x1 = m. Each step changes x by the run and y by the rise, so that ratio stays −32 and every landing point is on the line. A second step gives a third point, which makes the line easier to draw accurately.
  5. Draw one straight line through (−2,9), (0, 6), (2, 3) and (4, 0) and extend it past both end points. Check (4, 0) by substitution: −32(4)+6=−6+6=0, which is its y-coordinate.Two points fix a line, so the other points test the walk: if they were not in one straight row, a step went wrong. Substitution tests a point against the equation itself, not against the walk that produced it.
Answer
  • The y-intercept is (0, 6). With rise −3 and run 2, the walk lands on (2, 3) and (4, 0)
  • with rise 3 and run −2 it lands on (−2, 9). The graph is the straight line through these points. It falls 3 units for every 2 units to the right and crosses the x-axis at (4, 0).
Double-check Substitute the other walked points into y = −32x + 6. At x = 2: −32(2) + 6 = −3 + 6 = 3, so (2, 3) is on the line. At x = −2: −32(−2) + 6 = 3 + 6 = 9, so (−2, 9) is on the line. The slope from (0, 6) to (4, 0) is 0−64−0 = −64 = −32, which equals m.

Work to write

  1. y = −32(0) + 6 = 6, so the y-intercept is (0, 6)
  2. m = −32 = −32, so rise = −3 and run = 2
  3. (0 + 2, 6 − 3) = (2, 3) and (2 + 2, 3 − 3) = (4, 0)
  4. (0−2,6+3)=(−2,9)
  5. Line drawn through (−2, 9), (0, 6), (2, 3) and (4, 0)
  6. Check: −32(4) + 6 = −6 + 6 = 0, so (4, 0) is on the line

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

A whole-number slope

You need to draw y = x + 2 from one starting point and a one-unit move.

Show the steps and the answer
(0, 2)(−2, 0)startfirstsecondrun 1rise 1−224−2246
y = x + 2.
  1. At input 0, y=0+2=2, so plot (0, 2).This verifies the y-intercept.
  2. Write the slope 1 as 11. Go right 1 and up 1 to (1, 3), then to (2, 4).Each move has rise divided by run equal to 1.
Answer
The line through (0, 2), (1, 3) and (2, 4).
Double-check At input 2, 2 + 2 = 4, matching the final point.

Rung 2 of 4

A positive fractional slope

You need to draw y = 12x − 1 using whole-number movements.

Show the steps and the answer
(0, −1)(2, 0)startfirstsecondrun 2rise 1−2246−22
y = 0.5x − 1, for x from −3 to 6.
  1. At input 0, y=−1, so plot (0,−1).The product with 0 vanishes.
  2. Use rise 1 and run 2. Move to (2, 0), then (4, 1).The fraction measures the two-unit run, so no fractional coordinate is needed.
Answer
The line through (0, −1), (2, 0) and (4, 1).
Double-check At x = 4, 12 × 4 − 1 = 2 − 1 = 1.

Rung 3 of 4

A negative slope

You need to draw y = −32x + 4 and keep the downward direction correct.

Show the steps and the answer
(0, 4)(2.67, 0)startfirstsecondrun 1rise −1.524−4−2246
y=−1.5x+4.
  1. Input 0 gives output 4. Plot (0, 4).This finds the starting point on the y-axis.
  2. Move right 2 and down 3 to (2, 1), then (4,−2).The signed quotient −32 is the given slope.
Answer
The line through (0, 4), (2, 1) and (4, −2).
Double-check Substitution at 4 gives −6 + 4 = −2, confirming the final point.

Rung 4 of 4

A negative input

OpenStax problem

You need a point to the left of the y-axis on f(x) = −23x + 5.

Show the steps and the answer
(0, 5)(7.5, 0)negative inputstartrun 2rise −1.33−4−2242468
y = −0.6667x + 5, for x from −5 to 5.
  1. Start at (0, 5). Reverse the rightward move: go left 3 and up 2.Changing both directions preserves 2−3 = −23.
  2. The new point is (−3, 7). Substitute −3: f(−3)=−23×(−3)+5=2+5=7.Plugging the found input back in checks that the point is on the original graph.
Answer
(−3,7)
Double-check Between (−3, 7) and (0, 5), the rise is −2 and the run is 3, so the slope is −23.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: a slope of −23 means down 2 and left 3.
Those changes give −2−3 = 23, a positive slope.
✓ Instead: Use down 2 and right 3, or up 2 and left 3.
✗ Not this: Counterexample: y = 2x + 5 starts at (5, 0).
That point is on the horizontal axis. The starting value 5 occurs when x = 0.
✓ Instead: Start at (0, 5). Substitution gives 2 × 0 + 5 = 5.

Tips and tricks

  • Memory cue: rise over run. Say the top movement before the bottom movement.
  • A downward line from left to right must have negative slope; compare the picture with your sign.
  • Each unrestricted linear function has a y-intercept because input 0 is allowed. A context may restrict inputs, so check its stated domain.

7 The trap

Reading −23 as down 3 and right 2. The top is rise, the bottom is run. Write the two movements beside the fraction before plotting.

Problems marked OpenStax come from Precalculus 2e by Jay Abramson, published by OpenStax, under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/precalculus-2e/pages/1-introduction-to-functions.

Lesson 3 of 10

Build a line by changing the identity function

Subject: MathematicsLeans on: Absolute-value barsLeans on: Order of operationsLeans on: DistributionLeans on: Absolute valueLeans on: Coordinate pairsLeans on: Multiplying signed numbersOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Picture a flexible drawing of a ramp. You can make every height twice as large, flatten every height to half its size, turn the drawing upside down, or lift the whole drawing upward. Those changes are transformations. Start with the identity function, f(x) = x, whose output repeats its input. To make f(x) = mx + b, first multiply each height by m, then add b to that new height. Multiplying changes the slant. Adding lifts or lowers the entire line without changing the slant. When m is negative, multiplying also puts each height on the opposite side of the horizontal axis. The order matters because lifting before multiplying would multiply the lift too.

2 Picture it

(0, −3)(6, 0)−4−2246−448(0, −3)(6, 0)−4−2246−448
y = 0.5x − 3, solid, beside y = x, dashed.

Reminder

Reminder: Absolute-value bars, Order of operations, Distribution, Absolute value, Coordinate pairs, Multiplying signed numbers
  • Absolute-value bars. |−3| = 3, |3| = 3 and |0| = 0. Say absolute value of the number; the bars ask for distance from 0.
  • Order of operations. 12 × 2 − 3 = 1 − 3 = −2; multiply before subtracting.
  • Distribution. 2(x − 3) = 2x − 6 because 2 multiplies both terms.
  • Absolute value. |−12| = 12 measures size without sign.
  • Coordinate pairs. Changing (2, 3) to (2, 6) changes height only.
  • Multiplying signed numbers. −2 × (−2) = 4; two negative factors give a positive product.

3 Why

A point (x, x) on the identity graph becomes (x, mx) after its height is multiplied. It then becomes (x, mx + b) after the shift. That is exactly the requested formula. Reversing those operations gives m(x + b) = mx + mb, which usually has a different intercept. Absolute value means size without sign, so |m| controls steepness while the sign of m controls reflection. These descriptions use the same arithmetic that evaluates the function.

4 The rule

To transform y=x into y= mx +b, multiply outputs by m, including a reflection if m < 0, then shift outputs by b.

Stretch if |m| > 1; compress if 0 < |m| < 1.

The same idea, five ways

Say it

multiply the old height, then move it up or down.

Write it

The line y = mx + b is a transformed copy of the identity graph.

In math
  • f(x) = x
  • g(x) = mf(x) + b
  • g(x) = mx + b
  • (x, x) becomes (x, mx + b)
Like

Resize a ramp drawing's heights, turn it over if needed, then slide the drawing.

See it
(0, −3)(6, 0)−4−2246−448
The solid line is flatter than the identity graph and crosses the y-axis three units lower.

The same idea, other ways

As three addresses

At input 2, the identity output is 2. Multiplication by 12 makes it 1. Subtracting 3 makes it −2. The final point is (2, −2).

2multiply by1/2subtract 3firstsecond1−2
Compression occurs before the downward shift.
As a picture

The line y = 12x is flatter than y = x. Moving that whole flatter line down 3 gives y = 12x − 3; its slope remains 12.

(0, −3)(6, 0)−4−2246−448
Both lines have the same slant; the solid one is three units lower.
As an order check

Input 0 is a fast check: multiply 0 by any m, then add b, and the output is b. If your graph starts somewhere else, the stated operations were not followed.

0multiply by 1/2,subtract 3inputoutput−3
The starting output must be the stated vertical shift.

Part 1: Vertical stretch

Picture pulling a drawing taller while keeping its width fixed. A vertical stretch multiplies every height by the same positive factor greater than 1. Each nonzero height moves farther from the x-axis. A height below the axis stays below during this positive multiplication, but its distance from the axis grows.

  • Rule: Multiplication by a positive factor a > 1 stretches heights vertically.
  • Rule: In y = mx, |m| > 1 includes a vertical stretch; if m < 0, reflection also occurs.
  • Rule: |m| = 1 preserves height size. Multiplication by 0 sends all heights to 0, after which adding b gives y = b.
(0, 0)(−0, 0)−4−2246−448
y = 2x, solid, beside y = x, dashed.
Reminder
Reminder: Absolute value
  • Absolute value. |−3| = 3 is the distance of −3 from 0, with no direction sign.
The same idea, five ways
Say it

multiply every height by the same size greater than 1.

Write it

A vertical stretch enlarges output distances from the x-axis while keeping inputs fixed.

In math
  • g(x) = af(x), a > 1
  • (x, y) becomes (x, ay)
  • |−2|=2
Like

A copier changes the drawing's height while its width stays fixed.

See it
(0, 0)(−0, 0)−4−2246−448
The solid line has twice the height at every input.

Worked example

Double the height

You need to transform y = x into y = 2x and show what happens to a point.

Show the steps and the answer
(0, 0)(−0, 0)positive height doublesnegative height doubles−4−2246−448
y = 2x, solid, beside y = x, dashed, with the points (3, 6) and (−3, −6).
  1. The old point at input 3 is (3, 3).The identity output equals its input.
  2. Multiply the height by 2: 2×3=6, so the new point is (3, 6).A vertical stretch changes the second coordinate only.
  3. At input −3 the old point is (−3,−3). Multiply its height by 2: (−3,−3) becomes (−3,−6).A positive stretch preserves which side of the axis the point occupies while doubling its distance from the axis.
Answer
  • y = 2x.
  • The point (3, 3) becomes (3, 6).
  • The point (−3, −3) becomes (−3, −6).
Double-check Substitute x = 3 into the new rule: y = 2 × 3 = 6. For the negative point, 2 × (−3) = −6; its distance grows from 3 to 6 while it stays below the axis.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: multiplying heights by 12 makes the identity line steeper.
Every nonzero height becomes half its size, so a fixed rightward move has a smaller climb.
✓ Instead: It is a vertical compression. The slope becomes 12.
Tips and tricks
  • A size above 1 spreads heights away from the axis; a size between 0 and 1 pulls them closer.

Part 2: Vertical compression

Picture pressing a drawing shorter while leaving its width alone. A vertical compression multiplies each height by a positive factor between 0 and 1. Heights move toward the x-axis without crossing it. Half of a height of 2 is 1; half of a height of −6 is −3. Both points become closer to zero.

  • Rule: Multiplication by 0 < a < 1 compresses heights vertically.
  • Rule: In y = mx, 0 < |m| < 1 includes a compression; a negative m also reflects.
  • Rule: Factor 0 is not an ordinary compression: it collapses every output to 0.
(2, 1)−4−2246−4−2246
y = 0.5x, solid, beside y = x, dashed.
Reminder
Reminder: Fraction multiplication
  • Fraction multiplication. 12 × (−6) = −3, half of the signed amount.
The same idea, five ways
Say it

take the same fractional share of every height.

Write it

A vertical compression shrinks output distances from the x-axis without changing inputs.

In math
  • g(x) = af(x), 0 < a < 1
  • (x, y) becomes (x, ay)
Like

Press a drawing shorter without changing its width.

See it
(2, 1)−4−2246−4−2246
The same picture again: y = 0.5x, solid, beside y = x, dashed.

Worked example

Compress y = x by a factor of 14, then shift up 2

The graph shows the line y = 14x + 2, which passes through (0, 2) and (4, 3). Start with the identity function y = x. Describe, in order, the transformations that turn the graph of y = x into this line. Say whether the heights stretch or compress, whether there is a reflection, and how far and in which direction the line shifts. Track the points (0, 0), (1, 1) and (4, 4) of y = x through each step, then verify a point in the final formula.

(0, 2)(4, 3)−6−4−2246−6−4−2246
The line y = 14x + 2, made by compressing the heights of y = x by a factor of 14 and then shifting up 2.
Show the steps and the answer
  1. Sketch the identity function y=x through (0, 0) and (1, 1), and also mark (4, 4).On y = x every height equals its input, so these points are easy to plot. (4, 4) is added because one quarter of its height is 1, a whole number, which makes the new line easy to read.
  2. Read m=14, so |m|=14. Since 0<14<1, the heights compress, so multiply every height by 14. (0, 0) stays (0, 0), (1, 1) becomes (1,14), and (4, 4) becomes (4, 1).The rule says the heights compress when 0 < |m| < 1. Multiplying by a number between 0 and 1 pulls every point toward the x-axis, so the line gets flatter. It now rises 1 unit for every 4 units to the right instead of 1 for 1. A height of 0 stays 0, so (0, 0) does not move.
  3. Check the sign of m. m=14 is positive, so there is no reflection, and the compressed line still rises from left to right.A reflection across the x-axis is part of the multiplication only when m < 0. A positive multiplier keeps every height on the same side of the x-axis.
  4. Add b=2 to every compressed height. (0, 0) moves to (0, 2), (1,14) moves to (1,94), and (4, 1) moves to (4, 3). Draw the line through (0, 2) and (4, 3).b = 2 is positive, so the whole line moves up 2 units. The 2 is added after the heights have been multiplied, so the multiplier 14 never acts on it.
  5. Verify a point in y=14x+2. For x=4,y=14(4)+2=1+2=3, which matches (4, 3).Every point built by the transformations must satisfy the final formula. The order matters. Shifting first would give y = x + 2, and compressing that gives y = 14(x + 2) = 14x + 12. On that line x = 4 gives 32, not 3, so the compression must come before the shift.
Answer
First compress the heights of y = x vertically by a factor of 14, since |m| = 14 is between 0 and 1. There is no reflection, because m = 14 > 0. Then shift the line up 2 units, since b = 2. The compression sends the points (0, 0), (1, 1) and (4, 4) to (0, 0), (1, 14) and (4, 1). The shift then sends them to (0, 2), (1, 94) and (4, 3).
Double-check Putting x = 1 into y = 14x + 2 gives 14 + 2 = 14 + 84 = 94, which matches (1, 94). The slope from (0, 2) to (4, 3) is 3−24−0 = 14, which equals m. The y-intercept of that line is (0, 2), which equals b. Both tracked points lie on y = 14x + 2, so the description is correct.

Work to write

  1. |m| = 14 and 0 < 14 < 1, so the heights compress by a factor of 14
  2. Compression: (0, 0) → (0, 0), (1, 1) → (1, 14), (4, 4) → (4, 1)
  3. m = 14 > 0, so there is no reflection
  4. b = 2 > 0, so shift up 2 units, after the compression
  5. Shift: (0, 0) → (0, 2), (1, 14) → (1, 94), (4, 1) → (4, 3)
  6. Check: 14(4) + 2 = 1 + 2 = 3, so (4, 3) is on y = 14x + 2
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: halving a negative height makes it more negative.
Half of −6 is −3, whose distance from zero is smaller.
✓ Instead: Positive fractional multiplication preserves the sign and compresses the height.
Tips and tricks
  • Between 0 and 1 means a share smaller than the whole, so distances shrink.

Part 3: Reflection across the x-axis

Think of the horizontal axis as a mirror lying on a table. A vertical reflection moves a point the same distance to the opposite side of that mirror. The across coordinate stays fixed. Multiplication by a negative number includes this turn as well as any stretch or compression.

  • Rule: A vertical reflection sends (x, y) to (x, −y).
  • Rule: In y = mx + b, m < 0 reflects the identity graph before the shift.
reflected (2, −2)reflected (−2, 2)−4−224−4−224
Each solid-line height is the opposite of the dashed identity height at the same input.
Reminder
Reminder: Negative multiplication
  • Negative multiplication. −2 × (−3) = 6 because reversing a backward direction makes it forward.
The same idea, five ways
Say it

keep the across position and reverse the height's sign.

Write it

A vertical reflection exchanges above and below the x-axis.

In math
  • (x, y) becomes (x, −y)
  • y=−f(x)
Like

A horizontal mirror puts a point equally far on the opposite side, exchanging above and below.

See it
(0, 0)−4−2246−448
The heights have opposite signs at each unchanged input.

Worked example

Reflect without changing the size

You need to reflect y = x across the x-axis. Keep each input and reverse only its height.

Show the steps and the answer
reflected (2, −2)reflected (−2, 2)−4−224−4−224
The solid reflected line exchanges above and below at each fixed input.
  1. At input 2 the identity gives (2, 2). Keep x=2 and change y=2 to −2, making (2,−2).A reflection across the horizontal axis changes above to below at the same distance.
  2. At input −2 the old point is (−2,−2). Its reflection is (−2,2).A point starting below the axis moves equally far above it; the input remains −2.
  3. The new rule is y=−x. Draw it through (0, 0) and (2,−2).Every old identity output x has been multiplied by −1, and two distinct points locate the resulting line.
Answer
  • Reflected rule: y = −x.
  • (2, 2) becomes (2, −2).
  • (−2, −2) becomes (−2, 2).
Double-check At x = −2, the new rule gives −(−2) = 2, agreeing with the reflected point. Reflecting it again gives the old point (−2, −2).
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: reflection changes (2, 3) into (−2, 3).
That reverses the horizontal coordinate, so it reflects across the y-axis instead.
✓ Instead: A vertical reflection across the x-axis sends (2, 3) to (2, −3).
Tips and tricks
  • The axis named in a reflection is the mirror. Across the x-axis, x stays fixed.

Part 4: Vertical shift

Think of lifting the entire ramp drawing without bending it. A vertical shift adds the same amount to every height. The difference between any two heights stays the same, so the slope stays the same.

  • Rule: Adding b sends (x, y) to (x, y + b).
  • Rule: b > 0 shifts up; b < 0 shifts down; b = 0 makes no vertical shift.
(0, −3)(6, 0)−4−2246−448
The same picture again: y = 0.5x − 3, solid, beside y = 0.5x, dashed.
Reminder
Reminder: Signed addition
  • Signed addition. 1 + (−3) = −2 means move three downward from 1.
The same idea, five ways
Say it

move every height by the same signed amount.

Write it

A vertical shift changes the intercept while preserving slope.

In math
  • g(x) = f(x) + b
  • (x, y) becomes (x, y + b)
Like

Lift a straight board without tilting it.

See it
(0, −3)(3, 0)−4−2246−448
The solid line has the same slope and every height is three lower.

Worked example

Stretch by 3, then shift down 4: from y = x to y = 3x − 4

Start with the identity function y = x. Describe, in order, the transformations that turn its graph into the graph of y = 3x − 4. Say whether the heights stretch or compress, whether there is a reflection, and how far and in which direction the line shifts. Track the points (0, 0) and (1, 1) through each transformation and give where each one ends up.

(0, −4)(1, −1)−6−4−2246−6−4−2246
Graph of the final line y = 3x − 4 with the points (0, −4) and (1, −1).
Show the steps and the answer
  1. Sketch the identity function y=x by plotting (0, 0) and (1, 1) and drawing the line through them.On y = x each output equals its input, so these two points are easy to locate, and two points fix a line. Tracking them through every change shows where the new line must go.
  2. Read m=3 from y=3x−4. Its size is |m|=3, which is greater than 1, so stretch the heights by a factor of 3. (0, 0) stays at (0,3×0)=(0,0), and (1, 1) moves to (1,3×1)=(1,3). The graph is now y=3x.The coefficient m multiplies every output. When |m| > 1, each height moves farther from the x-axis, which is a vertical stretch and makes the line steeper. Multiplying a height of 0 still gives 0, so the origin stays fixed.
  3. Check the sign of m. Here m=3 is positive, so there is no reflection. The graph stays y=3x through (0, 0) and (1, 3).A reflection across the x-axis is part of the multiplication only when m < 0, because a negative multiplier flips the sign of every height. A positive multiplier keeps each point on the same side of the x-axis.
  4. Read b=−4 and add it to every new height: (0,0)→(0,0+(−4))=(0,−4) and (1,3)→(1,3+(−4))=(1,−1). The line y=3x slides down 4 units and becomes y=3x−4.b is added to the output after the multiplication, so every point moves the same vertical distance. Since b is negative, each point moves down, here by 4 units. Because all points move equally, the steepness stays 3 and only the y-intercept changes, from 0 to −4.
  5. Verify in the final formula. At x=1,y=3(1)−4=−1, which matches (1,−1). At x=0,y=3(0)−4=−4, which matches (0,−4).The tracked points must land on the target line. The order matters. Shifting first and then stretching would give y = 3(x − 4) = 3x − 12, which sends (1, 1) to (1, −3) and then to (1, −9) instead of (1, −1). Multiplying before the shift is what produces y = 3x − 4.
Answer
Stretch the graph of y = x vertically by a factor of 3 (no reflection, since m = 3 > 0), then shift it down 4 units. The point (0, 0) ends at (0, −4), the point (1, 1) ends at (1, −1), and the result is the line y = 3x − 4.
Double-check Both final points satisfy y = 3x − 4: 3(0) − 4 = −4 and 3(1) − 4 = −1. The slope between them is −1−(−4)1−0 = 31 = 3, which matches m. The line crosses the y-axis at −4, which matches b.

Work to write

  1. |m| = 3 > 1, so stretch vertically by a factor of 3
  2. (0, 0) stays at (0, 0) and (1, 1) → (1, 3) after multiplying heights by 3
  3. m = 3 > 0, so no reflection
  4. b = −4, so shift down 4 units
  5. (0, 0) → (0, −4) and (1, 3) → (1, −1)
  6. Check: 3(1) − 4 = −1, so (1, −1) lies on y = 3x − 4
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: subtracting 3 from y = 12x changes its slope to −52.
The subtraction is outside the multiplication and affects every height equally.
✓ Instead: The slope remains 12, and the intercept becomes −3.
Tips and tricks
  • Outside addition moves the whole graph, so it does not change rise over run.

Part 5: A note on left and right shifts

You can slide a graph sideways too. When you move a point right h units, its new input address is the old input plus h. To use that new address in the old rule, subtract h first. This section's standard method needs vertical changes, but the source also mentions sideways changes.

  • Rule: g(x) = f(x − h) shifts the old graph right h units when h > 0; h < 0 shifts it left.
  • Rule: For a line, m(x − h) + b = mx + (b − mh), so a horizontal shift can also be described with a new vertical intercept.
(0, −2)(2, 0)−4−2246−448
y = x − 2, solid, beside y = x, dashed.
Reminder
Reminder: Substitution
  • Substitution. If f(u) = u, then f(x − 2) = x − 2; the whole new input replaces u.
The same idea, five ways
Say it

move each address right, then undo that move when reading the old rule.

Write it

Subtracting a positive amount inside the input shifts right; adding a positive amount shifts left.

In math
  • g(x)=f(x−h)
  • (x, y) becomes (x + h, y)
Like

A relocated address is two blocks farther right, so subtract two to find its old address.

See it
(0, −2)(2, 0)−4−2246−448
The identity point (0, 0) moves right to (2, 0).

Worked example

Recognize a sideways shift

You need to describe g(x) = f(x − 2) when f(x) = x. Then move f(x) = 2x + 5 left 3 and find its new rule.

Show the steps and the answer
(0, −2)(2, 0)−4−2246−448
The same picture a third time: y = x − 2, solid, beside y = x, dashed.
(0, 11)(−5.5, 0)moved (−3, 5)moved (−2, 7)−4−22261014
The solid line is the old line shifted left 3; its slope remains 2.
  1. Replace the old input by x − 2: g(x)=x−2.The identity rule outputs whichever input it receives.
  2. At the moved address x=2,g(2)=2−2=0.This plugs the new address back in to confirm the point moved from (0, 0) to (2, 0).
  3. Moving left 3 uses h=−3, so x−h=x−(−3)=x+3. Write g(x)=f(x+3).The new address must be increased by 3 to recover its old address.
  4. Replace the whole input in 2x + 5: g(x)=2(x+3)+5.The factor 2 acts on the entire substituted input.
  5. Distribute: g(x)=2x+6+5=2x+11.Both parts of x + 3 are multiplied before the outside addition.
  6. The old point at x = 0 is (0, 5). Moving it left 3 gives (−3, 5). Substitute: g(−3)=−6+11=5.Plugging the moved address into the new rule verifies the shift direction.
Answer
  • A shift right 2.
  • For the identity line this also equals a shift down 2.
  • Left-shift case: g(x) = 2x + 11.
  • The old point (0, 5) becomes (−3, 5).
Double-check Both descriptions give the same equation y = x − 2, so their graphs agree. Another old point is (1, 7). It moves to (−2, 7), and 2(−2) + 11 = 7 verifies that point too.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: f(x − 2) always shifts a graph left 2.
The new input 2 must become the old input 0 after subtracting 2.
✓ Instead: It shifts right 2.
Tips and tricks
  • Verify an old point at its moved address when an inside sign feels backward.

5 How

  1. Sketch the identity function y = x using (0, 0) and (1, 1).
  2. Read |m|, the size of m without its sign, to decide whether heights stretch or compress.
  3. If m < 0, reflect the heights across the x-axis as part of that multiplication.
  4. Add b to every new height. Positive b moves up; negative b moves down.
  5. Verify a point in the final formula. Multiplication must occur before this stated shift.

Use transformations in formula order

1
Is |m| greater than 1?
YesStretch vertically by |m|.
NoCompress if 0 < |m| < 1; keep size if |m| = 1; flatten to 0 if m = 0.
↓
2
Is m negative?
YesReflect across the x-axis during multiplication.
NoKeep each height's direction during multiplication.
↓
3
Is b negative?
YesShift down |b| after multiplying.
NoShift up b if positive; do not shift if zero.
  1. Start with y = x.
  2. Multiply its heights by m, interpreting size and sign separately.
  3. Add b to the new heights.
  4. Substitute one input in the final formula and compare.

6 Worked example

Worked example

Stretch, reflect, then shift: building y = −4x + 7 from y = x

The graph shows the line y = −4x + 7, which passes through (0, 7) and (2, −1). Build this line from the identity function y = x, whose graph passes through (0, 0) and (1, 1). List the changes in the order they must be made: say whether the heights stretch or compress and by what factor, whether there is a reflection, and how far and in which direction the line shifts. Follow the points (0, 0) and (1, 1) through every change, and finish by verifying one of the final points in the formula.

(0, 7)(2, −1)−4−2246−448
The finished line y = −4x + 7, falling steeply from left to right through (0, 7) and (2, −1).
Show the steps and the answer
  1. Sketch the identity function y=x through (0, 0) and (1, 1). From y=−4x+7, read m=−4 and b=7.On y = x every height equals its input, so it is the plain line that every other line is built from. Matching y = −4x + 7 to y = mx + b shows what to multiply the heights by (m) and what to add to them (b).
  2. Drop the sign of m to get its size: |−4|=4. Because 4 > 1, the heights stretch by a factor of 4. (0, 0) stays at (0, 0) and (1, 1) rises to (1, 4), so the line is now y=4x.Stretch or compress depends on |m|, not on m. As a number −4 is less than 1, but its size is 4, so the heights get 4 times as far from the x-axis rather than closer to it. A height of 0 times 4 is still 0, which is why the origin does not move.
  3. Since m=−4 is negative, reflect the stretched heights across the x-axis: (1, 4) flips to (1,−4) and (0, 0) stays where it is. The line is now y=−4x.Multiplying by −4 is the same as multiplying by 4 and then changing each height to its opposite, so the reflection is part of the multiplication, not an extra move. Heights that were above the x-axis are now the same distance below it, so the line falls from left to right.
  4. Add b=7 to every height: (0, 0) moves up to (0, 7) and (1,−4) moves up to (1, 3). The line is now y=−4x+7.b is positive, so every point moves up, and all by the same 7 units. Sliding the whole line does not change how steep it is; it only moves where the line crosses the y-axis, from 0 to 7.
  5. Verify a final point in the formula. At x=1: y=−4(1)+7=−4+7=3, which matches (1, 3). At x=0: y=−4(0)+7=7, which matches (0, 7).The formula multiplies by −4 first and adds 7 second, the same order as the changes on the graph, so the tracked points must satisfy it. The order cannot be swapped: adding 7 first and then multiplying gives −4(1 + 7) = −32 at x = 1, which belongs to the line y = −4x − 28, not y = −4x + 7.
Answer
  • Three changes, in this order: (1) stretch the heights of y = x by a factor of 4, because |−4| = 4 > 1
  • (2) reflect them across the x-axis, because m = −4 is negative
  • (3) shift every point up 7, because b = 7 is positive. The point (0, 0) stays at (0, 0) through the stretch and the reflection, then moves up to (0, 7). The point (1, 1) goes to (1, 4), then (1, −4), then (1, 3). The result is the line y = −4x + 7.
Double-check Use (2, −1), the other point stated for the graph, which was not used in the build. On y = x the height at x = 2 is 2. Stretch: 4 × 2 = 8. Reflect: −8. Shift up 7: −8 + 7 = −1, so the point lands at (2, −1), and the formula agrees: −4(2) + 7 = −1. The slope also checks: from (0, 7) to (2, −1) the line drops 8 while moving right 2, and −8 ÷ 2 = −4 = m.

Work to write

  1. m = −4 and b = 7
  2. |m| = |−4| = 4 > 1, so the heights stretch by a factor of 4: y = x becomes y = 4x
  3. m < 0, so reflect across the x-axis: y = 4x becomes y = −4x
  4. b = 7 > 0, so shift up 7: y = −4x becomes y = −4x + 7
  5. (0, 0) ends at (0, 7); (1, 1) goes to (1, 4), then (1, −4), then (1, 3)
  6. Check: −4(1) + 7 = 3, so (1, 3) is on y = −4x + 7

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 3

Stretch only

You need to make y = 3x from y = x.

Show the steps and the answer
(0, 0)(−0, 0)−4−2246−448
y = 3x, solid, beside y = x, dashed.
  1. Multiply every old output by 3; (1, 1) becomes (1, 3).The size 3 is greater than 1, so it stretches vertically.
  2. Keep (0, 0), and draw through (0, 0) and (1, 3).Multiplying height 0 by 3 keeps it 0.
Answer
Stretch vertically by 3.
Double-check At input 2, the old height 2 becomes 6, and 3 × 2 = 6.

Rung 2 of 3

Compress only

You need to make y = 13x from y = x.

Show the steps and the answer
(0, 0)(−0, 0)−4−2246−448
y = 0.3333x, solid, beside y = x, dashed.
  1. Multiply each height by 13; (3, 3) becomes (3, 1).A factor between 0 and 1 pulls each height toward the x-axis.
  2. Draw through (0, 0) and (3, 1).The horizontal input positions stay unchanged.
Answer
Compress vertically by 13.
Double-check The rise is 1 for a run of 3, agreeing with the coefficient.

Rung 3 of 3

Reflection, stretch and shift

You need to make y = −2x + 3 from the identity line.

Show the steps and the answer
(0, 3)(1.5, 0)−4−2246−448
y = −2x + 3, solid, beside y = x, dashed.
  1. Multiply the height 2 at input 2 by −2 to obtain −4.The negative sign reflects and the size 2 stretches.
  2. Add 3 to obtain −1, so the final point is (2,−1).The upward shift comes after multiplying.
  3. The origin becomes (0, 3); draw the line through both final points.The point at input 0 checks the intercept independently.
Answer
Reflect across the x-axis, stretch by 2, then shift up 3.
Double-check Between (0, 3) and (2, −1), slope = −1−32−0 = −42 = −2, and −2 × 2 + 3 = −1.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: shift y = x down 3, then compress by 12 to obtain 12x − 3.
The compression also halves the earlier shift. At input 0 it gives −32, not −3.
✓ Instead: Compress first, then subtract 3. The final output at input 0 is −3.
✗ Not this: Counterexample: y = −2x + 3 is only a stretch by 2.
A positive stretch cannot change positive heights into negative ones.
✓ Instead: Reflect across the x-axis and stretch by 2, then shift up 3.
✗ Not this: Use |−3| = −3 as a vertical scale factor.
Absolute value is a distance from 0, and a distance cannot be negative.
✓ Instead: Use size |−3| = 3 for the stretch, then use the original minus sign for the reflection.

Tips and tricks

  • Memory cue: multiply, then move. That is the order used to evaluate mx + b.
  • Use input 0 to catch an accidentally multiplied shift.
  • Understand, then rebuild it when needed: the transformation description follows the equation's arithmetic; you do not need to memorize each graph.

7 The trap

Doing the stated downward shift first and then halving the heights. That produces 12(x − 3) = 12x − 32, a different line.

Lesson 4 of 10

Read a graph and write its equation

Subject: MathematicsLeans on: SlopeLeans on: SubstitutionLeans on: Solving an equationLeans on: Signed subtractionLeans on: Reducing fractionsOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Picture finding the instructions for a ramp after seeing only its drawing. First find where it crosses the upright axis. That gives its starting height. Next choose two marked addresses and count how far across and how far up you travel between them. Those changes tell you the slope. Put the starting height and slope into y = mx + b. If you are matching several drawings with equations, compare their starting heights first, then their directions and steepness. An increasing function climbs as you look from left to right. A decreasing function descends. A graph with a bigger slope size climbs or descends more for the same distance across.

2 Picture it

(0, 7)(9.33, 0)(4, 4)run 2rise −1.5−224682468(0, 7)(9.33, 0)(4, 4)run 2rise −1.5−2−1123456782468
y = −0.75x + 7, with its slope and intercepts marked.

Reminder

Reminder: Slope, Substitution, Solving an equation, Signed subtraction, Reducing fractions
  • Slope. From (0, 1) to (2, 5), rise 4 divided by run 2 gives m = 2.
  • Substitution. If y = 2x + b and the point is (3, 8), write 8 = 2 × 3 + b.
  • Solving an equation. 8 = 6 + b gives b = 2 by subtracting 6 from both sides; 6 + 2 = 8 checks it.
  • Signed subtraction. 4 − 7 = −3, a downward change.
  • Reducing fractions. 84 = 2, because 8 ÷ 4 = 2.

3 Why

A line with a specified slope and y-intercept has only one possible graph: start at that intercept and repeat the required slope move. Therefore recovering m and b recovers its equation. If the intercept is not visible, any known point supplies the missing starting height through b = y − mx. When comparing steepness in a picture, the axes must use the same scales between graphs. Enlarging one axis alone can make a line appear steeper without changing its slope number.

4 The rule

Read b at (0, b), calculate m=y2−y1x2−x1, then write f(x)= mx +b.

If b is hidden, use b=y1−mx1.

The same idea, five ways

Say it

read the starting height, then measure the climb per step across.

Write it

Two points on a graph let you recover the linear function that produced it.

In math
  • m=y2−y1x2−x1
  • b = y1 − mx1
  • f(x) = mx + b
  • m > 0: increasing
  • m < 0: decreasing
  • m = 0: constant
Like

You infer a road's starting elevation and grade from two map markers.

See it
(0, 7)(9.33, 0)interceptsecond pointrun 2rise −1.5−224682468
y = −0.75x + 7, with its intercepts and slope marked.

The same idea, other ways

From a visible start

A graph through (0, 7) starts at 7. A second point (4, 4) tells you the output falls by 3 while the input rises by 4.

(0, 7)(4, 4)run 2rise −1.52462468
y = −0.75x + 7, with its slope marked.
From a hidden start

If slope is 2 and a point is (3, 8), substitute 8 = 2 × 3 + b. Subtracting 6 gives b = 2, and putting it back gives 8 = 6 + 2.

8 = 2 × 3 + b

b=8−6=2

Check: 8 = 6 + 2

Part 1: Increasing and decreasing directions

Think of walking right along a ramp. If your height grows, the function is increasing. If your height falls, it is decreasing. For a line, the sign of slope tells you which happens. These words always compare outputs while inputs increase.

  • Rule: m > 0 makes a linear function increasing; m < 0 makes it decreasing.
  • Rule: m = 0 gives constant outputs, so the function neither rises nor falls.
(0, −2)(0.667, 0)shared startincreasing outputdecreasing output−22−8−448
y = 3x − 2, solid, beside y = −2x − 2, dashed.
Reminder
Reminder: Signed subtraction
  • Signed subtraction. 1 − (−2) = 3 is an upward change.
The same idea, five ways
Say it

when inputs grow, do the outputs grow or shrink?

Write it

A line's slope sign gives its direction from left to right.

In math
  • m > 0: increasing
  • m < 0: decreasing
  • m = 0: constant
Like

Walking right on a ramp can carry you upward, downward, or at one height.

See it
(0, −2)(0.667, 0)shared startincreasing outputdecreasing output−22−8−448
The same picture again: y = 3x − 2, solid, beside y = −2x − 2, dashed.

Worked example

Read direction from output changes

You need to decide whether y = 3x − 2 rises or falls as you move right, and compare it with y = −2x − 2.

Show the steps and the answer
(0, −2)(0.667, 0)shared startincreasing outputdecreasing output−22−8−448
The same picture a third time: y = 3x − 2, solid, beside y = −2x − 2, dashed.
  1. At inputs 0 and 1, the first rule gives −2 and 1: 3×0−2=−2 and 3×1−2=1.Evaluate by substituting the inputs, multiplying, then subtracting.
  2. The output change is 1−(−2)=3, for input change 1−0=1. The first function is increasing.Its output grows when input grows, so its positive slope describes a rightward climb.
  3. At inputs 0 and 1, the second rule gives −2 and −4. Its output change is −4−(−2)=−2.A negative change means a lower ending height at a larger input.
  4. The second function is decreasing. Its slope is −2 for this one-unit run.Decreasing means outputs get smaller when inputs get larger.
Answer
  • y = 3x − 2: increasing.
  • y = −2x − 2: decreasing.
Double-check The slope signs agree with the measured changes: 3 is positive and −2 is negative.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: A negative output means the function is decreasing.
Direction concerns a change, not a height. For y = 3x − 2 the outputs rise from −2 to 1.
✓ Instead: Compare outputs at increasing inputs, or inspect the slope sign.
Tips and tricks
  • Read direction from left to right, and distinguish output sign from slope sign.

Part 2: Match equations to labeled graphs

Think of identifying roads from their starting elevation and grade. First compare starting heights. When two roads start together, compare whether they climb or descend. If both climb, measure how much each climbs for the same trip across. A graph match needs all these clues to agree.

  • Rule: Match y-intercept, slope sign, then slope size.
  • Rule: Use matching axis scales when comparing steepness by appearance; calculating rise divided by run avoids scale guessing.
(0, −2)(0.667, 0)A startA second−224−661218
y=3x−2.
Reminder
Reminder: Subtracting a negative
  • Subtracting a negative. −1 − (−2) = 1 finds D's rise.
The same idea, five ways
Say it

match the start, direction and climb per step.

Write it

The matching equation must reproduce both marked graph points.

In math
  • y = mx + b
  • b = f(0)
  • m = riserun
Like

Roads may start at one elevation but have different grades.

See it
(0, −2)(0.667, 0)A startA second−224−661218
The same picture again: y = 3x − 2.

Worked example

Match lines that can share an intercept

You need to attach an equation to each labeled line. Line A passes through (0, −2) and (1, 1). Line B passes through (0, 4) and (1, 7). Line C passes through (0, −2) and (1, −4). Line D passes through (0, −2) and (3, −1). Match A, B, C and D to y = 3x − 2, y = 3x + 4, y = −2x − 2, and y = 13x − 2.

Show the steps and the answer
(0, −2)(0.667, 0)A startA second−224−661218
The same picture a third time: y = 3x − 2.
(0, 4)(−1.33, 0)B startB second−224−661218
Line B has slope 3 and starting height 4.
(0, −2)(−1, 0)C startC second−224−661218
Line C falls to the right from starting height −2.
(0, −2)(6, 0)D startD second−224−661218
Line D shares A's intercept but rises only 1 for a run of 3; every panel uses the same scales.
  1. Line B starts at height 4, so it matches y = 3x + 4. Its second point checks the slope: 7−41−0=3.Only that equation has intercept 4. The slope calculation checks that the remaining feature agrees too.
  2. A, C and D all start at −2. Intercept alone cannot distinguish them.The same starting height may belong to several different line directions.
  3. Line C falls to the right: m=−4−(−2)1−0=−2. Match C to y=−2x−2.The negative slope is the one falling option.
  4. Both A and D rise to the right. For A, m=1−(−2)1−0=3. For D, m=−1−(−2)3−0=13.Both have positive slope and intercept −2. Counting rise and run distinguishes their steepness without guessing from the drawing.
  5. Match A to y=3x−2 and D to y=13x−2.Their different slope numbers select different equations even though their intercept and direction match.
Answer
  • A:y=3x−2.
  • B: y = 3x + 4.
  • C:y=−2x−2.
  • D:y=13x−2.
Double-check Check the nonintercept point of each match: 3 × 1 − 2 = 1; 3 × 1 + 4 = 7; −2 × 1 − 2 = −4; 13 × 3 − 2 = −1. Each formula returns its labeled graph's second height.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Two rising graphs with the same intercept must match the same equation.
Their positive slopes can differ. Slopes 3 and 13 both rise but give different heights at the same input.
✓ Instead: Use two marked points to calculate slope, then match the coefficient too.
Tips and tricks
  • State each graph label with its full equation; direction alone is not a complete match.

5 How

  1. Read the y-intercept if it is shown. Confirm that the first coordinate is 0.
  2. Choose two clearly marked points. Keep their order the same in both subtractions.
  3. Compute rise divided by run and reduce the fraction.
  4. Write the slope and intercept in f(x) = mx + b.
  5. Substitute both points to verify the recovered equation.

Recover or match a line equation

1
Is the y-intercept visible and labeled?
YesRead b directly.
NoUse a known point in b = y − mx, then plug b back into that point's equation.
↓
2
Do candidate lines have the same intercept?
YesUse slope sign and size to distinguish them.
NoMatch the intercept before comparing slopes.
  1. Find two readable points and compute slope.
  2. Find b from a visible y-intercept or from b = y − mx.
  3. For matching, compare b, slope sign, then slope size.
  4. Verify the chosen equation at a point other than the intercept.

6 Worked example

Worked example

Writing the equation of a line from its graph

The graph shows a straight line. It crosses the y-axis at the marked point (0, −2) and passes through the marked points (−4, −5) and (4, 1). Write the equation of the line in the form f(x) = mx + b. Read the y-intercept, find the slope from the two marked points (−4, −5) and (4, 1) and reduce it, write the function, and substitute both points to verify it.

(−4, −5)(0, −2)(4, 1)−6−4−2246−6−4−2246
A straight line crossing the y-axis at the marked point (0, −2) and passing through the marked points…
Show the steps and the answer
  1. Read the y-intercept at the marked point (0,−2), where the line crosses the y-axis. Its first coordinate is 0, so b=−2.b is the output when the input is 0, since f(0) = m · 0 + b = b. Confirming that the first coordinate is 0 makes sure the point lies on the y-axis and not merely near it.
  2. Choose the two marked points (−4,−5) and (4, 1) and name them in a fixed order: (x1,y1)=(−4,−5) and (x2,y2)=(4,1).Both points have exact labels, so nothing has to be estimated from the grid. Naming them before subtracting keeps the same order on the top and the bottom of the slope fraction. Mixing the order would flip the sign of the slope.
  3. Compute rise over run: m=y2−y1x2−x1=1−(−5)4−(−4)=68=34.The slope is the change in output divided by the change in input. Subtracting a negative is the same as adding its opposite, so the rise is 1 + 5 = 6 and the run is 4 + 4 = 8. Dividing top and bottom by their common factor 2 reduces 68 to 34. A positive slope fits the graph, which rises from left to right.
  4. Put m=34 and b=−2 into f(x)= mx +b: f(x)=34x+(−2), which is written f(x)=34x−2.In slope-intercept form the coefficient of x is the slope and the constant term is the y-intercept. Adding −2 is the same as subtracting 2.
  5. Substitute both points. f(−4)=34(−4)−2=−3−2=−5, which matches (−4,−5). f(4)=34(4)−2=3−2=1, which matches (4, 1).The slope came from these two points, but b came from a separate reading at (0, −2). Only one line passes through both points, so if both outputs match, the equation is that line. A misread intercept or a slip in the slope would make at least one output miss.
Answer
f(x) = 34x − 2, with slope 34 and y-intercept (0, −2).
Double-check Reversing the order of the points gives the same slope: −5−1−4−4 = −6−8 = 34. The formula for a hidden intercept agrees with the reading: b = y1 − mx1 = −5 − 34(−4) = −5 + 3 = −2. Walking the slope from (0, −2), 4 right and 3 up reaches (4, 1), and 4 left and 3 down reaches (−4, −5). Both points are marked on the graph.

Work to write

  1. b = −2, read from the point (0, −2)
  2. m=1−(−5)4−(−4)=68=34
  3. f(x)=34x−2
  4. f(−4)=34(−4)−2=−3−2=−5
  5. f(4)=34(4)−2=3−2=1

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 3

Graph through the origin

You need the equation through (0, 0) and (1, 1).

Show the steps and the answer
(0, 0)(−0, 0)startsecond−22−2−1123
y = x.
  1. b=0 and m=1−01−0=1.The first point is the intercept and the second gives one up for one right.
  2. Write y=x.Slope 1 and intercept 0 give y = 1x + 0.
Answer
y = x.
Double-check At input 1 the output is 1; at input 0 it is 0.

Rung 2 of 3

A visible nonzero intercept

You need the equation through (0, 2) and (2, 6).

Show the steps and the answer
(0, 2)(−1, 0)startsecond−224−22468
y = 2x + 2.
  1. b=2 and m=6−22−0=42=2.Read the starting value and calculate the common rate.
  2. Write y=2x+2.These are the slope and intercept.
  3. At input 2, 2×2+2=6.Plugging the recovered values back in verifies the second point.
Answer
y = 2x + 2.
Double-check A run of 2 with slope 2 gives a rise of 4, taking output 2 to 6.

Rung 3 of 3

The intercept is hidden

You need the equation through (−1, 1) and (3, 9), even though neither given point is on the y-axis.

Show the steps and the answer
(0, 3)(−1.5, 0)firstsecondfound intercept−22448
y = 2x + 3.
  1. m=9−13−(−1)=84=2.The input change is 4 because subtracting −1 adds 1.
  2. Use (−1,1): 1=2(−1)+b=−2+b. Add 2 to both sides to find b=3.A point fixes the missing starting value.
  3. Plug b back in: 2(−1)+3=1. Write y=2x+3.The recovered intercept must make the point true.
Answer
y = 2x + 3.
Double-check At the other point, 2 × 3 + 3 = 9, so both given addresses fit.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: from (0, 7) and (4, 4), m = 7−44−0 = 34.
The output subtraction runs backward while the input subtraction runs forward. The graph descends to the right, so a positive slope cannot fit.
✓ Instead: Use 4−74−0 = −34, or 7−40−4 = −34.

Tips and tricks

  • When two graphs share an intercept, the larger |m| is steeper if their axes use matching scales.
  • A graph that rises to the right is increasing; one that falls is decreasing. Check the sign before accepting your equation.

7 The trap

Subtracting the output coordinates in one direction and the input coordinates in the opposite direction. Write arrows between the two points, then use that same direction for both differences.

Lesson 5 of 10

Find where the line reaches the x-axis

Subject: MathematicsLeans on: Solving equationsLeans on: Dividing by a fractionLeans on: Axis coordinatesLeans on: Division by zeroLeans on: Negative multiplicationOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Picture a ramp crossing a painted line on the floor. At the crossing, its height is zero. On a coordinate graph, the floor line is the x-axis. An x-intercept is the input where the graph has output 0, and its point looks like (x, 0). To find it, make the output equal to 0 and ask which input produces that output. You are finding where the line reaches the floor, so you do not set the across coordinate to 0. That would find the upright-axis crossing instead. A flat line above or below the floor never reaches it. A line lying on the floor has output 0 everywhere.

2 Picture it

(0, −3)(6, 0)−22468−4−22(0, −3)(6, 0)−22468−4−22
y = 0.5x − 3, with the point (6, 0).

Reminder

Reminder: Solving equations, Dividing by a fraction, Axis coordinates, Division by zero, Negative multiplication
  • Solving equations. 0 = 5x − 10 becomes 10 = 5x, then x = 2; 5 × 2 − 10 = 0 checks it.
  • Dividing by a fraction. 3 ÷ 12 = 3 × 2 = 6 because six halves fit in 3.
  • Axis coordinates. (6, 0) has height 0, so it is on the x-axis.
  • Division by zero. 1 ÷ 0 has no value because 0 times any number is 0, never 1.
  • Negative multiplication. (−34) × (−83) = 2; matching signs give a positive product.

3 Why

Every point on the x-axis has second coordinate 0. A point on the graph also obeys y = mx + b, so a crossing must obey 0 = mx + b. Subtract b to get −b = mx, then divide by m to obtain x = −bm. This division requires m ≠ 0. If m = 0, the output stays at b. A nonzero b never becomes 0, while b = 0 makes every input an intercept.

4 The rule

Set f(x)=0 to find x-intercepts.

For f(x)= mx +b with m≠0,x=−bm and the point is (−bm,0).

The same idea, five ways

Say it

find the input that makes the height zero.

Write it

The x-intercept is where the graph meets the horizontal axis.

In math
  • f(x) = 0
  • mx + b = 0
  • x=−bm,m≠0
  • (x, 0)
Like

The spot where a ramp reaches the floor has no height.

See it
(0, −3)(6, 0)y-interceptx-intercept−22468−4−22
y = 0.5x − 3, with the points (0, −3) and (6, 0).

The same idea, other ways

As a picture

For y = x − 1, the point (1, 0) sits on the horizontal axis. Its output is zero even though its input is not.

(0, −1)(1, 0)2−2−112
y=x−1.
As a reverse question

Evaluating f(6) asks what comes out of input 6. Solving f(x) = 0 reverses the question: the output is 0, so which input must go in?

which x?multiply by 1/2,subtract 3inputoutput0
The desired output is fixed, and the input is unknown.

5 How

  1. Replace the output f(x) or y with 0. This selects points lying on the x-axis.
  2. Solve the resulting equation for the input.
  3. Substitute that found input into the original function. Its output must be 0.
  4. State the input value and the coordinate point (x, 0).
  5. If m = 0, inspect the constant output instead of dividing by zero.

Find an axis crossing

1
Are you finding the x-intercept?
YesSet output y or f(x) equal to 0.
NoFor the y-intercept, set input x equal to 0.
↓
2
Is m = 0?
YesIf b ≠ 0 there is no x-intercept; if b = 0 every input has output 0.
NoSolve for x by subtracting b and dividing by m.
  1. Choose the axis: output 0 for x-axis, input 0 for y-axis.
  2. For an x-intercept, solve mx + b = 0.
  3. Check the found input in the original formula.
  4. Include the 0 coordinate in the answer point.

6 Worked example

Worked example

Where f(x) = 5x + 8 reaches the x-axis

The graph shows the line f(x) = 5x + 8, which passes through the marked points (−2, −2), (−1, 3) and (0, 8). (a) Use the graph and the marked points to estimate where the line reaches the x-axis. Then find the x-intercept exactly by setting f(x) = 0, check it by substitution, and state it both as an x-value and as a point. (b) Keep the y-intercept 8 but change the slope to 0, giving g(x) = 0x + 8. Decide whether the graph of g reaches the x-axis, and explain why the rule x = −bm cannot be used for g.

(−2, −2)(−1, 3)(0, 8)−4−22−448
The line f(x) = 5x + 8, rising from left to right through the marked points (−2, −2), (−1, 3) and (0, 8).
Show the steps and the answer
  1. (a) Estimate from the graph. The marked point (−2,−2) is below the x-axis and (−1,3) is above it, so the line crosses the x-axis between x=−2 and x=−1, nearer to x=−2.The outputs −2 and 3 have opposite signs, so the line must pass through output 0 between those inputs. A line's output changes at a steady rate, so the crossing is nearer the input whose output is closer to 0, and −2 is closer to 0 than 3 is. Knowing the rough size and sign of the answer in advance makes a slip in the algebra easy to spot.
  2. Read the slope and y-intercept from f(x)=5x+8: m=5 and b=8. Since m=5≠0, the line is not horizontal.A line that is not horizontal crosses the x-axis exactly once. The solving below ends with a division by m, which is allowed only when m ≠ 0. A slope of 0 needs the different approach shown in part (b).
  3. Replace the output f(x) with 0: 5x+8=0.Every point on the x-axis has output (height) 0, so the x-intercept is the input that makes the output 0.
  4. Subtract 8 from both sides: 5x=−8.This undoes the + 8 and leaves the x-term by itself. Doing the same thing to both sides keeps the equation true.
  5. Divide both sides by 5: x=−85, which is −1.6 as a decimal.Dividing by 5 undoes the multiplication by 5. The result matches the rule x = −bm with b = 8 and m = 5. It is negative because b and m have the same sign.
  6. Substitute x=−85 into the original function: f(−85)=5(−85)+8=−8+8=0.A point lies on the x-axis only when its output is 0. Getting exactly 0 confirms that no sign or arithmetic slip happened while solving.
  7. Compare with the estimate: −1.6 lies between −2 and −1, and it is nearer to −2.The exact value agrees with the graph. An answer of +1.6 would signal a sign error. For every positive x the output 5x + 8 is greater than 8, so the line is well above the x-axis to the right of the y-axis.
  8. State the result: the x-intercept is x=−85, and the line reaches the x-axis at the point (−85,0).An x-intercept is a point on the x-axis, so its y-coordinate is 0 and its x-coordinate is the input just found. The question asks for both the value and the point.
  9. (b) Inspect g instead of dividing. Its slope is m=0, and g(x)=0x+8 simplifies to g(x)=8, the same output for every input.The rule would give x = −80, a division by zero, which has no value. When m = 0, the constant output alone decides whether the line touches the x-axis.
  10. Replace the output with 0: 8=0. This is false, and it contains no x that could be changed to make it true.Since g(x) equals 8 for every input, no input can make the output 0.
  11. Conclude: g has no x-intercept. Its graph is the horizontal line y=8, which stays 8 units above the x-axis and never meets it.A horizontal line y = k reaches the x-axis only when k = 0. In that case it is the x-axis itself, so every point is on it. Here k = 8, which is not 0.
Answer
(a) x = −85 (that is, −1.6). The line reaches the x-axis at the point (−85, 0). (b) g(x) = 8 is never 0, so the horizontal line y = 8 has no x-intercept. The rule −bm fails for g because m = 0 would mean dividing by zero.
Double-check Substitution: f(−85) = 5(−85) + 8 = −8 + 8 = 0, so (−85, 0) is on the line and on the x-axis. Slope check: from (−85, 0) to (0, 8) the rise is 8 and the run is 85, and 8 ÷ 85 = 8 · 58 = 5, which is the slope of f. Graph check: −1.6 lies between x = −2 and x = −1, where the outputs change sign from f(−2) = −2 to f(−1) = 3. Part (b): g(x) = 8 for every x, and 8 ≠ 0, so no input gives output 0.

Work to write

  1. Estimate: between x = −2 and x = −1, since f(−2) = −2 and f(−1) = 3
  2. m = 5 ≠ 0
  3. 5x + 8 = 0
  4. 5x=−8
  5. x=−85=−1.6
  6. f(−85)=5(−85)+8=−8+8=0
  7. x-intercept: (−85, 0)
  8. g(x) = 0x + 8 = 8 for every x
  9. 8 = 0 is false, so g has no x-intercept

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 2

The intercept is the origin

You need the x-intercept of y = x.

Show the steps and the answer
(0, 0)(−0, 0)origin−22−2−112
y = x.
  1. Set y=0: 0=x, so x=0.The identity output equals its input, so only input 0 gives output 0.
  2. Check the found input: y=0.Substitution verifies the point's zero height.
Answer
(0, 0)
Double-check The identity graph visibly passes through the origin.

Rung 2 of 2

A negative slope and negative intercept

You need the x-intercept of y = −34x − 2.

Show the steps and the answer
(0, −2)(−2.67, 0)(−8/3, 0)−4−22−4−22
y=−0.75x−2.
  1. Set 0=−34x−2, then add 2 to get 2=−34x.This selects zero height and isolates the product.
  2. Multiply by −43: x=−83.The reciprocal of the coefficient is −43, and their product is 1.
  3. Plug back in: −34×(−83)−2=2−2=0.The two negative factors give a positive product; the found input truly reaches the axis.
Answer
(−83,0)
Double-check Starting at (0, −2), moving left 83 at slope −34 raises the output by 2, reaching 0.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: for y = 3x − 6, input 0 gives the x-intercept (0, −6).
The point has output −6, so it is below the x-axis. It is the y-intercept.
✓ Instead: Set y = 0, solve x = 2, and verify 3 × 2 − 6 = 0. The x-intercept point is (2, 0).
✗ Not this: Counterexample: every linear function must have one x-intercept.
For y = 5 the output never becomes 0. For y = 0 it is already 0 at every input.
✓ Instead: A nonzero slope gives one x-intercept. Nonzero constant functions give none; the zero function gives every point on the x-axis.

Tips and tricks

  • Memory cue: at an x-intercept, the other letter y is 0; at a y-intercept, the other letter x is 0.
  • Write both the input and its point if the question's wording is unclear.
  • Put on the cheat sheet: x = −bm requires m ≠ 0. You can rebuild it by solving 0 = mx + b.

7 The trap

Setting x = 0 to find the x-intercept. The axis name tells you which coordinate is allowed to vary: on the x-axis, x varies while y stays 0.

Lesson 6 of 10

Horizontal and vertical lines

Subject: MathematicsLeans on: Coordinate orderLeans on: Subtracting a negativeLeans on: Zero in a fractionLeans on: Function requirementLeans on: Slope formulaOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Picture a shelf and a flagpole. Every place on the shelf has the same height, even when you move across it. A horizontal line does that: y stays fixed while x can vary. Every place on the flagpole has the same across position, even when you move up it. A vertical line does that: x stays fixed while y can vary. These descriptions tell you which letter belongs in each equation. A horizontal line is a function because each input gives one height. A vertical line gives several heights at the same input, so it is a line but not a function of x.

2 Picture it

HOY: Horizontal, 0 slope, Y equation

VUX: Vertical, Undefined slope, X equation

Reminder

Reminder: Coordinate order, Subtracting a negative, Zero in a fraction, Function requirement, Slope formula
  • Coordinate order. In (7, 5), x = 7 and y = 5.
  • Subtracting a negative. 5 − (−3) = 8 is the horizontal distance between those inputs.
  • Zero in a fraction. 08 = 0, while 80 is undefined.
  • Function requirement. One input may give one output: input 7 cannot give both 0 and 5 in a function.
  • Slope formula. Slope = changeinychangeinx; a rise of 0 over a run of 8 gives 0.

3 Why

For a horizontal line through two distinct points, the height change is 0 and the across change is nonzero, so slope = 0 divided by a nonzero number = 0. For a vertical line, the across change is 0 while the height changes. Its slope would divide by 0, which has no value. It also breaks the function requirement of one output per input. The vertical line test records that failure: a vertical probe meets more than one point.

4 The rule

A horizontal line has equation y=c and slope 0.

A vertical line has equation x=c, undefined slope, and is not a function of x.

The same idea, five ways

Say it

horizontal keeps height; vertical keeps across position.

Write it

A constant coordinate identifies a horizontal or vertical line.

In math
  • horizontal: y = c
  • vertical: x = c
  • horizontal: m = 0
  • vertical: slope undefined
Like

A shelf holds one height; a flagpole holds one across position.

See it

Horizontal: y = −4, points (−3, −4) and (5, −4)

Vertical: x = 7, points (7, 0) and (7, 5)

The same idea, other ways

By movement

Walking horizontally changes only x. Walking vertically changes only y. The other coordinate must stay fixed.

square corner
Horizontal and vertical directions form a square corner.
By a rule

The equation y = −4 assigns height −4 to every input. The equation x = 7 permits many heights at one input, so no single output rule can describe it as y = f(x).

705not a function
Input 7 points to more than one output, which fails the function requirement.
LineEquationSlope
Horizontal through (−3, 2) and (5, 2)y = 20
Horizontal through (−3, −4) and (5, −4)y=−40
Vertical through (7, 0) and (7, 5)x = 7undefined

Part 1: Horizontal line

A horizontal line is like a level shelf. Its height is unchanged no matter how far you move left or right. A constant function gives that same output for every input. You can write it as f(x) = c or y = c.

  • Rule: y = c = 0x + c has slope 0.
  • Rule: Its y-intercept is (0, c). If c ≠ 0, it has no x-intercept.
  • Rule: y = 0 is the x-axis itself, so every point on it has output 0.
(0, −4)−4−2246−6−4−22
y=−4.
Reminder
Reminder: Zero multiplication
  • Zero multiplication. 0 × 7 − 4 = −4, which is why a constant function ignores the input.
The same idea, five ways
Say it

every input gets the same height.

Write it

A horizontal line is the graph of a constant function.

In math
  • y = c
  • f(x) = c
  • m = 0
Like

Every spot on a level shelf is the same height.

See it
(0, −4)(−3, −4)(5, −4)−4−2246−6−4−22
y = −4, its points labelled “(−3, −4)” and “(5, −4)”.

Worked example

A level line through two points

You need the line through (−3, −4) and (5, −4).

Show the steps and the answer
(0, −4)firstsecond−4−2246−6−4−22
y = −4, its points labelled “first” and “second”.
  1. Both heights are −4, so write y=−4.The output stays constant while the input changes.
  2. Compute m=−4−(−4)5−(−3)=08=0.There is no vertical change over the nonzero horizontal change.
  3. Check each point: its second coordinate is −4.The equation describes both original addresses.
Answer
  • y=−4.
  • Slope: 0.
Double-check Substituting either input in y = 0x − 4 gives −4, verifying the constant function.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: a horizontal line has undefined slope because it does not rise.
A zero numerator is allowed when the denominator is nonzero.
✓ Instead: Its slope is 0: 08 = 0.
Tips and tricks
  • Memory device HOY: Horizontal, slope 0, equation uses Y. A shelf's fixed height explains the Y.

Part 2: Vertical line

A vertical line is like a flagpole planted at one across position. Heights change but the across position never does. Its equation fixes x. Calling its slope undefined means there is no slope number, not a very large number and not zero.

  • Rule: x = c has undefined slope because the run is 0.
  • Rule: A vertical line fails the vertical line test and is not a function of x.
  • Rule: x = c meets the x-axis at (c, 0). If c ≠ 0, it never meets the y-axis; x = 0 is the y-axis itself.

Vertical line: x = 7

Run between any two points: 0

Reminder
Reminder: Function requirement, Division by zero
  • Function requirement. A rule assigning both 0 and 5 to input 7 is not a function.
  • Division by zero. 50 has no value because no number multiplied by 0 makes 5.
The same idea, five ways
Say it

every height uses the same across position.

Write it

A vertical line fixes the input and permits many outputs.

In math
  • x = c
  • run = 0
  • nonzerorise0 is undefined
Like

Different places up a flagpole are all above its same base.

See it

x = 7

(7, 0), (7, 5)

rise = 5, run = 0

slope: undefined

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: the line through (7, 0) and (7, 5) is y = 7.
Neither point has height 7. The shared number 7 is the first coordinate.
✓ Instead: Write x = 7.
✗ Not this: The vertical line x = 0 has only one point on the y-axis.
Its equation describes the entire y-axis. Both (0, 1) and (0, −2), along with every (0, y), satisfy it.
✓ Instead: Every point of x = 0 lies on the y-axis; it has no unique crossing with that same axis.
Tips and tricks
  • Memory device VUX: Vertical, Undefined slope, equation uses X. The flagpole fixes the across position.

5 How

  1. Compare the coordinates of two distinct points.
  2. If their y-values match, keep that output fixed: y = c.
  3. If their x-values match, keep that input fixed: x = c.
  4. Check both given points in the equation.
  5. Do not force a vertical line into y = mx + b.

Identify the fixed coordinate

1
Do the points have equal y-coordinates?
YesWrite y = that common height; slope is 0.
NoCheck the x-coordinates.
↓
2
Do the points have equal x-coordinates?
YesWrite x = that common input; slope is undefined.
NoUse the ordinary two-point slope method.
  1. Read the coordinates of at least two distinct points.
  2. Keep the repeated coordinate letter and value in the equation.
  3. Compute rise and run if a slope is requested.
  4. Use the function requirement to decide whether it can be y = f(x).

6 Worked example

Worked example

Keep the correct coordinate fixed

You need equations for the horizontal line through (−3, −4) and (5, −4), and the vertical line through (7, 0) and (7, 5).

Show the steps and the answer

Horizontal: y = −4

Vertical: x = 7

  1. For the horizontal pair, both outputs are −4: y=−4.The second coordinate stays fixed, as on a shelf.
  2. Its slope is −4−(−4)5−(−3)=08=0.Zero rise over a nonzero run is zero.
  3. For the vertical pair, both inputs are 7: x=7.The first coordinate stays fixed, as on a flagpole.
  4. Its slope would be 5−07−7=50, so it is undefined.A zero denominator has no division value.
  5. Check the pairs in their equations: the first pair has y=−4, and the second pair has x=7.Each equation must include both given points.
Answer
  • Horizontal equation: y = −4.
  • Horizontal slope: 0.
  • Vertical equation: x = 7.
  • Vertical slope: undefined.
  • The vertical line is not a function of x.
Double-check The horizontal pair has two different inputs with one output each; the vertical pair gives two outputs to input 7. That checks the function distinction.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: any straight line is the graph of a function of x.
A vertical line contains many points with the same input and different outputs.
✓ Instead: Every nonvertical straight line is a graph y = mx + b. Vertical lines require x = c.

Tips and tricks

  • Use HOY and VUX, then check a supplied point to make sure the remembered letter fits.
  • The y-axis x = 0 does not have one special crossing with itself. Every point on it is already on the y-axis.

7 The trap

Writing y = 7 for the vertical line. Say what stays fixed before choosing the letter. Fixed across position means x; fixed height means y.

Lesson 7 of 10

Compare parallel and perpendicular lines

Subject: MathematicsLeans on: Isolating yLeans on: Fraction multiplicationLeans on: Slope and interceptLeans on: Vertical linesLeans on: ReciprocalsOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Picture two straight train tracks and two edges of a square tile. The tracks keep the same direction and never meet. Parallel lines do that. The tile's edges meet at a square corner, called a right angle, which measures 90 degrees, written 90°. Perpendicular lines do that. To compare equations, look at their slopes. Equal slopes keep the same slant. A perpendicular slope comes from turning the slant through a quarter turn, so the up-and-across movements trade roles and one direction changes sign. If two equations have both the same slope and the same starting height, they describe one line twice. Those are coincident lines, meaning the very same line.

2 Picture it

(0, −4)(8, 0)−4−2246−448(0, −4)(8, 0)−4−2246−448
The solid g line and dashed h line have negative reciprocal slopes.

Reminder

Reminder: Isolating y, Fraction multiplication, Slope and intercept, Vertical lines, Reciprocals
  • Isolating y. 6x − 2y = 8 becomes y = 3x − 4 by subtracting 6x and dividing every term by −2.
  • Fraction multiplication. 12 × (−2) = −1 because −22 = −1.
  • Slope and intercept. In y = 2x − 6, m = 2 and b = −6.
  • Vertical lines. x = 7 has no slope number and must be handled separately.
  • Reciprocals. 25 × 52 = 1; reversing one sign makes the product −1.

3 Why

For parallel nonvertical lines, subtracting outputs gives (mx + b1) − (mx + b2) = b1 − b2. Their vertical separation stays constant and nonzero, so they cannot meet. For perpendicular lines, a right-angle turn changes a move right r and up s into a move left s and up r. The new slope is r−s, the negative reciprocal of sr. This argument needs nonzero finite slopes. A horizontal and a vertical line still make a right angle, but the vertical slope is undefined.

4 The rule

Nonvertical lines are parallel when m1=m2 and b1≠b2; coincident when both match.

Lines with finite nonzero slopes are perpendicular when m1m2=−1. Horizontal and vertical lines are perpendicular.

The same idea, five ways

Say it

the same direction and different lines means parallel; a square corner means perpendicular; the same drawing twice means coincident.

Write it

Slopes identify the relationship once vertical-line exceptions are handled.

In math
  • parallel: m1 = m2, b1 ≠ b2
  • coincident: m1 = m2, b1 = b2
  • perpendicular: m2 = −1m1
  • m1m2=−1
Like

Rail tracks keep a gap; square-tile edges make a right angle.

See it
(0, 3)(−1.5, 0)−4−2246−448
These equal-slope lines have different starting heights, so they never meet.

The same idea, other ways

As a fixed gap

For y = x + 1 and y = x − 2, the first output is always 3 larger. Matching slopes make that gap stay fixed.

(0, 1)(−1, 0)−4−2246−448
The lines have the same rise for each run and stay separated.
As a quarter turn

A move right 2, up 1 has slope 12. Turn it through a right angle to get left 1, up 2, with slope −2. The product 12 × (−2) is −1.

right angle
A quarter turn exchanges the across and upright directions.
As a numerical check

Slopes 3 and −13 give product −1. Slopes 3 and −3 give product −9, so opposite signs alone are not enough.

3 × (−13) = −1: perpendicular

3 × (−3) = −9: neither parallel nor perpendicular

Part 1: Parallel lines

Parallel lines keep the same direction and never meet. For nonvertical lines, the starting heights must differ as well as the slopes matching. Distinct vertical lines are also parallel because their fixed across positions differ.

  • Rule: y = mx + b1 and y = mx + b2 are parallel if b1 ≠ b2.
  • Rule: x = a and x = c are parallel if a ≠ c.
(0, 1)(−1, 0)−4−2246−448
The same picture again: y = x + 1, solid, beside y = x − 2, dashed.
Reminder
Reminder: Slope-intercept form
  • Slope-intercept form. In y = 3x − 4, the slope is 3 and the intercept is −4.
The same idea, five ways
Say it

same direction, different lines.

Write it

Parallel lines do not share any point.

In math
  • m1=m2,b1≠b2
  • vertical case: x = a and x = c, a ≠ c
Like

Two straight rails never join.

See it
(0, 1)(−1, 0)−4−2246−448
Equal slants with different intercepts make distinct parallel lines.

Worked example

Equal slopes with a real gap

You need to decide whether y = x + 1 and y = x − 2 are parallel.

Show the steps and the answer
(0, 1)(−1, 0)−4−2246−448
The same picture, shown 4 times now: y = x + 1, solid, beside y = x − 2, dashed.
  1. Both slopes are 1, and their intercepts are 1 and −2.Their directions match but their starting heights differ.
  2. Their output difference is (x+1)−(x−2)=3.A nonzero gap at every input means no shared point.
Answer
They are parallel.
Double-check At x = 0 the gap is 3; at x = 2 the outputs 3 and 0 still differ by 3.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: y = x + 1 and y = 2x + 1 are parallel because they start together.
The slopes differ, and they share (0, 1), so they meet.
✓ Instead: Their equal intercepts do not make them parallel. Compare slopes first.
Tips and tricks
  • Parallel slopes match, then check that the intercepts differ.

Part 2: Coincident lines

Coincident lines are one line described twice, like two transparent copies laid exactly on top of each other. Every point of one is on the other. They are not two separated tracks.

  • Rule: Equal slopes and equal intercepts give coincident lines.
  • Rule: Different-looking equations can describe the same line after simplification.
(0, 3)(−1.5, 0)−4−2246−448
y = 2x + 3, solid, beside y = 2x + 3, dashed.
Reminder
Reminder: Division on both sides
  • Division on both sides. 2y = 4x + 6 becomes y = 2x + 3 after every term divides by 2.
The same idea, five ways
Say it

the same line twice.

Write it

Coincident lines share all their points.

In math
  • m1=m2,b1=b2
  • y = x + 1 and 2y = 2x + 2
Like

Two identical tracings overlap completely.

See it
(0, 1)(−1, 0)−4−2246−448
The dashed copy lies on the solid line because both equations are identical after simplification.

Worked example

Different writing, same line

You need to compare y = 2x + 3 and 2y = 4x + 6.

Show the steps and the answer
(0, 3)(−1.5, 0)−4−2246−448
The same picture again: y = 2x + 3, solid, beside y = 2x + 3, dashed.
  1. Divide every term of the second equation by 2: y=2x+3.Balanced division reveals its slope and intercept.
  2. Both slopes are 2 and both intercepts are 3.They have the same start and the same movement.
Answer
The lines are coincident.
Double-check At any input x, doubling y = 2x + 3 gives 2y = 4x + 6, so each equation produces the other.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: equal slopes always mean two distinct parallel lines.
If the intercepts also match, there is no gap: the equations describe the same line.
✓ Instead: Check intercepts to distinguish parallel from coincident.
Tips and tricks
  • Memory cue: coincide means occupy the same place.

Part 3: Perpendicular lines and negative reciprocals

A negative reciprocal means the flip with its sign reversed. A reciprocal alone is the number that multiplies the old number to make 1. Changing its sign makes the product −1. That is the slope needed for a right-angle meeting when neither slope is zero or undefined.

  • Rule: For nonzero m, the negative reciprocal is −1m.
  • Rule: 25 becomes −52; 3 becomes −13; −16 becomes 6.
  • Rule: A horizontal line and a vertical line are perpendicular without a slope-product calculation.
(0, 0)(−0, 0)−4−224−4−224
Slopes one half and negative two make a right angle.
Reminder
Reminder: Reciprocals, Fraction signs
  • Reciprocals. 25 × 52 = 1 because numerator and denominator both equal 10.
  • Fraction signs. The negative reciprocal of a negative slope is positive: −16 becomes 6.
The same idea, five ways
Say it

flip a nonzero slope, then reverse its sign.

Write it

Perpendicular nonvertical lines have slopes whose product is −1.

In math
  • m2=−1m1
  • pq becomes −qp
  • m1m2=−1
Like

Turning a ramp a quarter turn exchanges rise and run and reverses one direction.

See it
(0, 0)(−0, 0)−4−224−4−224
These lines with slopes 1 and −1 meet at a right angle.

Worked example

Flip and reverse the sign

You need the perpendicular slope when the original slope is 25, and when it is −16.

Show the steps and the answer

25↔−52

−16↔6

Each pair multiplies to −1

  1. For 25, flip to 52, then change the sign to −52.The flip makes a product of 1; changing its sign makes −1.
  2. Check: 25×(−52)=−1010=−1.The product verifies the perpendicular relationship.
  3. For −16, flip to −6, then change its sign to 6. Check (−16)×6=−1.A negative slope has a positive negative reciprocal.
Answer
  • For 25: −52.
  • For −16: 6.
Double-check Applying flip-and-sign again restores each original slope, so the relationship works both directions.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: the perpendicular slope to 3 is −3.
The product is −9, not −1. The sign changed but the reciprocal was missed.
✓ Instead: Write 3 = 31, flip to 13, then change sign to −13.
Tips and tricks
  • Check the product before accepting a perpendicular slope.
  • A picture can distort a right angle if one horizontal unit and one vertical unit have different screen lengths. Use the slope test or equal axis scales.

5 How

  1. Rewrite each nonvertical equation with y alone so its slope is visible.
  2. Equal slopes and different intercepts mean parallel lines.
  3. Equal slopes and equal intercepts mean coincident lines.
  4. Otherwise multiply the slopes. A product of −1 means perpendicular lines.
  5. Handle a vertical line separately: it is perpendicular to a horizontal line, and parallel to another distinct vertical line.

Classify two lines

1
Is either line vertical?
YesIf both equations fix the same x, they are coincident; different fixed x-values mean parallel. If only one is vertical, a horizontal other line is perpendicular and any other line is neither.
NoCompare the slopes.
↓
2
Are the slopes equal?
YesDifferent intercepts mean parallel; equal intercepts mean coincident.
NoMultiply them.
↓
3
Is the product −1?
YesThey are perpendicular.
NoThey are neither parallel nor perpendicular.
  1. Isolate y in each nonvertical equation.
  2. Check equal slopes and then intercepts.
  3. For unequal finite nonzero slopes, multiply and compare with −1.
  4. Check horizontal/vertical pairs separately.

6 Worked example

Worked example

Sort four lines into the pair that never meets and the pair that meets squarely

Four lines are given by a(x) = 3x − 2, b(x) = −3x + 7, c(x) = 13x + 1 and d(x) = 3x + 4. Which two never meet, and which two cross at a right angle?

Show the steps and the answer
(0, −2)(0.667, 0)−4−224−8816
a and d: the same slope, a constant gap of 6.
(0, 7)(2.33, 0)−4−224−8816
b and c: slopes −3 and one third, a product of −1.
  1. Read each slope from the coefficient of x: a has 3, b has −3, c has 13, d has 3.In slope-intercept form the slope is the number multiplying x, and slope is what decides parallel and perpendicular.
  2. a and d share the slope 3 and have different intercepts, −2 and 4.Two lines with the same slope rise at the same rate, so they never meet unless they are the same line; different intercepts rule that out.
  3. Multiply the slopes of b and c: (−3)×13=−1.Two nonvertical lines are perpendicular exactly when their slopes multiply to −1.
  4. Try the other pairs: 3×13=1 and 3×(−3)=−9, neither is −1, and no other pair shares a slope.Checking every pair, not only the likely ones, is what makes the answer complete.
Answer
  • Parallel: a and d.
  • Perpendicular: b and c.
Double-check a(x) − d(x) = −6 for every x, a constant gap, so a and d never meet. The negative reciprocal of −3 is 13, which is c's slope, so b and c meet at a right angle.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

Matching slopes and different starts

You need to decide whether y = 5x + 8 and y = 5x − 3 are parallel, perpendicular, coincident, or neither.

Show the steps and the answer
(0, 8)(−1.6, 0)first startsecond start−22−881624
The equal-slope lines begin at different heights.
  1. Both coefficients of x are 5, so the slopes match.The equations already have y alone, making the slope numbers visible.
  2. The intercepts are 8 and −3, which differ. The lines are parallel.Equal slopes give the same direction; different starting heights make them distinct.
  3. (5x+8)−(5x−3)=8+3=11.The x terms cancel, leaving a nonzero gap at every input.
Answer
  • Parallel.
  • Both slopes are 5; intercepts are 8 and −3.
Double-check At x = 0 the outputs are 8 and −3. At x = 1 they are 13 and 2. Both gaps are 11, agreeing with the constant-gap calculation.

Rung 2 of 4

Different-looking equations of one line

You need to compare y = −47x + 6 with 7y = −4x + 42.

Show the steps and the answer
(0, 6)(10.5, 0)sample shared point−224682468
The dashed and solid graphs overlap because the rewritten equations match.
  1. Divide every term of the second equation by 7: y=−47x+427.Equal division preserves the same line points and isolates y.
  2. 427=6, so the second equation becomes y=−47x+6.Seven groups of 6 total 42, so the constants match too.
  3. The slopes and intercepts both match. These equations are coincident.Matching direction and placement describe the same line, rather than separated parallel lines.
Answer
Coincident: the equations describe the same line.
Double-check At x = 7, the first gives y = −4 + 6 = 2. The original second equation gives 7 × 2 = −4 × 7 + 42 = 14. Multiplying the first formula by 7 reproduces the entire second equation.

Rung 3 of 4

A fraction pair needs both tests

You need to decide whether y = 38x − 5 and y = −83x + 11 are perpendicular.

Show the steps and the answer
(0, −5)(13.3, 0)−8−44812−8−44812
The two slopes are negative reciprocals, which supplies the right-angle test.
  1. The slopes are 38 and −83, and they are unequal.Unequal slopes rule out parallel and coincident lines.
  2. Multiply: 38×(−83)=−2424=−1.The top products and bottom products both equal 24; the signs differ.
  3. The lines are perpendicular.Finite nonzero slopes with product −1 make a right-angle meeting.
Answer
Perpendicular.
Double-check Flipping 38 gives 83, and changing its sign gives −83, exactly the second slope. Opposite signs alone would not have proved the result.

Rung 4 of 4

Isolate y and handle an undefined slope

You need two classifications. First compare 8x + 3y = 29 with y = 38x − 17. Then compare x = 9 with y = −8.

Show the steps and the answer
(0, 9.67)(3.62, 0)−12−6612−16−8816
The isolated first slope is negative eight thirds; its product with three eighths is −1.

x = 9: vertical

y = −8: horizontal

Meeting point: (9, −8)

Perpendicular by directions

  1. Subtract 8x from both sides of 8x + 3y = 29: 3y=29−8x.This removes the x term from beside y so the slope can be exposed.
  2. Divide every term by 3: y=293−83x=−83x+293.Division leaves y alone and must apply to both terms on the other side.
  3. The first pair has slopes −83 and 38. Their product is −2424=−1.This uses the slopes of the rewritten equations, rather than the coefficient 8 before y was isolated.
  4. The first pair is perpendicular.The finite nonzero slope product passes the right-angle test.
  5. The second pair is a vertical line x=9 and a horizontal line y=−8. They meet at (9,−8).One fixes the first coordinate, and the other fixes the second coordinate.
  6. The second pair is also perpendicular. Do not form a slope product.The directions form a square corner, but the vertical line has no slope number to multiply.
Answer
  • First pair: perpendicular.
  • Second pair: perpendicular, with meeting point (9, −8).
Double-check For the first equation, input 1 gives y = 7, and 8 × 1 + 3 × 7 = 29 checks its rewriting. In the second pair, (9, −8) satisfies both fixed-coordinate equations and the directions are horizontal and vertical.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: y = 2x + 3 and y = −2x + 2 must be perpendicular because their slopes have opposite signs.
2 × (−2) = −4, so the turn is not a right angle.
✓ Instead: The negative reciprocal of 2 is −12, not −2.
✗ Not this: Counterexample: multiply the slopes of y = −4 and x = 7 to check perpendicularity.
The vertical slope is undefined, so a slope product cannot be formed.
✓ Instead: Their horizontal and vertical directions form a 90° angle, so they are perpendicular.

Tips and tricks

  • Equal slopes need the intercept check; opposite signs need the product check.
  • State the relationship and the numbers that prove it on an exam.

7 The trap

Changing only the sign or only flipping the fraction for a perpendicular slope. Both moves are needed, and the product must be −1.

Lesson 8 of 10

Write a parallel or perpendicular line through a point

Subject: MathematicsLeans on: Slope from two pointsLeans on: Negative reciprocalLeans on: Point-slope formLeans on: DistributionLeans on: Solving for the interceptLeans on: Multiplying signed numbersOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Picture choosing a road's direction and then moving it until it passes through your house. The direction alone does not pick one road; many separated roads can share it. The house address finishes the choice. For a parallel line, keep the given slope. For a perpendicular line, use its negative reciprocal. Then use the supplied point to find the starting height. Point-slope form is a way to write this immediately: measure every new point's across and upward changes from the supplied point. Those changes must follow the chosen slope. You can leave the answer in that form or expand it to y = mx + b.

2 Picture it

(0, −19)(3.17, 0)(4, 5)246−44812(0, −19)(3.17, 0)(4, 5)123456−44812
y = 6x − 19, solid, beside y = −0.1667x + 5.6667, dashed.

Reminder

Reminder: Slope from two points, Negative reciprocal, Point-slope form, Distribution, Solving for the intercept, Multiplying signed numbers
  • Slope from two points. From (−2, 6) to (4, 5), run = 4 − (−2) = 6 and rise = 5 − 6 = −1.
  • Negative reciprocal. −16 becomes 6; their product is −1.
  • Point-slope form. Through (4, 5) at slope 6: y − 5 = 6(x − 4).
  • Distribution. 6(x − 4) = 6x − 24 because 6 multiplies both terms.
  • Solving for the intercept. 5 = 24 + b gives b = −19; plugging back gives 5 = 24 − 19.
  • Multiplying signed numbers. (−13) × (−3) = 1, so distributing the negative slope can produce a positive constant.

3 Why

If the line must pass through (x1, y1), its slope equation is m = y−y1x−x1 for other points with a different input. Multiplying gives y − y1 = m(x − x1). This equation also includes the supplied point because both changes are 0 there. It is point-slope form. Alternatively substitute that point in y = mx + b and solve for b. Both methods force the chosen slope and the required point to belong to one line.

4 The rule

Choose m equal to the given slope for a parallel line, or m=−1mgiven for a perpendicular line with nonzero finite given slope.

Through (x1,y1), use y−y1=m(x−x1).

The same idea, five ways

Say it

choose the direction, then anchor it at the supplied address.

Write it

One point and one slope determine one nonvertical line.

In math
  • y−y1=m(x−x1)
  • b = y1 − mx1
  • parallel: m = mgiven
  • perpendicular: m = −1mgiven
Like

Slide a road with the correct direction until it passes through your house.

See it
(0, 4)(−1.33, 0)required point−224812
y = 3x + 4, solid, beside y = 3x + 6, dashed, its point labelled “required point”.

The same idea, other ways

From changes

Through (1, 7) at slope 3, every new rise y − 7 equals three times the new run x − 1. That gives y − 7 = 3(x − 1).

y−7=3(x−1)

rise from the point = slope × run from the point

From the starting height

Write y = 3x + b and insert (1, 7): 7 = 3 + b, so b = 4. Plug back in: 3 × 1 + 4 = 7.

(0, 4)(−1.33, 0)found startrequired point224681012
y = 3x + 4, solid, beside y = 3x + 6, dashed, its points labelled “found start” and “required point”.

Part 1: Parallel through a point

Keep the old line's slope, then adjust the starting height until the new line reaches the required address. If that address is already on the old line, this construction gives the old line itself; a distinct parallel line cannot pass through a point of the old line.

  • Rule: A parallel construction uses the same slope.
  • Rule: b = y1 − mx1 selects the intercept that fits the point.
  • Rule: Different intercepts are required for distinct parallel lines.
(0, 4)(−1.33, 0)(1, 7)−224812
y = 3x + 4, solid, beside y = 3x + 6, dashed, its point labelled “(1, 7)”.
Reminder
Reminder: Distribution, Substitution
  • Distribution. 3(x−1)=3x−3.
  • Substitution. The point (1, 7) means use x = 1 and y = 7 together.
The same idea, five ways
Say it

keep the direction and find the starting height.

Write it

A parallel line through a point outside the given line has the same slope and a different intercept.

In math
  • m = mgiven
  • y−y1=m(x−x1)
Like

Move a straight rail sideways without turning it.

See it
(0, 4)(−1.33, 0)(1, 7)−224812
The same picture again: y = 3x + 4, solid, beside y = 3x + 6, dashed, its point labelled “(1, 7)”.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: the parallel answer through (1, 7) is y = 3x + 6.
At x = 1 that equation gives 9, so it misses the required height 7.
✓ Instead: Keep slope 3, but solve for the new intercept 4.
Tips and tricks
  • Same slope does not mean same intercept. Use the point to find the intercept.

Part 2: Perpendicular through a point

Turn the direction through a right angle, then use the address to position the turned line. For an ordinary nonzero slope, the direction change is flip and sign. The supplied point fixes the intercept after that change.

  • Rule: Use the negative reciprocal, then solve for the new intercept.
  • Rule: Perpendicular to y = c through (p, q) is x = p.
  • Rule: Perpendicular to x = c through (p, q) is y = q.
(0, 1)(3, 0)−224−2246
y = −0.3333x + 1, solid, beside y = 3x + 3, dashed.
Reminder
Reminder: Negative reciprocal, Signs
  • Negative reciprocal. 3 = 31 becomes −13.
  • Signs. (−13) × (−3) = 1 because two negative factors give a positive product.
The same idea, five ways
Say it

turn the direction, then fit the address.

Write it

The new line makes a right angle and passes through the required point.

In math
  • mnew = −1mgiven
  • y − y1 = mnew(x − x1)
Like

Turn a street into a cross street that passes through one location.

See it
(0, 1)(3, 0)−224−2246
The same picture again: y = −0.3333x + 1, solid, beside y = 3x + 3, dashed.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: use slope −3 to be perpendicular to slope 3.
The product is −9, not −1.
✓ Instead: Use slope −13, whose product with 3 is −1.
Tips and tricks
  • Check the slope product and the point separately. Either condition can fail on its own.

5 How

  1. Find the original slope from its equation or from two points.
  2. Choose the new slope: same for parallel, negative reciprocal for perpendicular.
  3. Insert the new slope and the required point in point-slope form, or use b = y1 − mx1.
  4. Expand and isolate y if slope-intercept form is wanted.
  5. Plug the supplied point into the final equation and check the slope relationship.

Write the requested related line

1
Is the given line supplied by two points?
YesCalculate its rise and run first. A zero run identifies a vertical line; zero rise with nonzero run identifies a horizontal line.
NoRead its slope after isolating y, or recognize x = c as vertical.
↓
2
Is the given line horizontal or vertical?
YesKeep its direction for parallel or swap directions for perpendicular, then set the required point's fixed coordinate. This completes the construction; do not take a reciprocal.
NoContinue using the original finite nonzero slope.
↓
3
Is the requested nonvertical line parallel?
YesKeep the original slope, then use the point to find b. Check for a different intercept if the line must be distinct.
NoTake the negative reciprocal of the original slope, then use the point to find b.
  1. Find the given slope.
  2. Decide same direction or right-angle direction.
  3. Choose the new slope or the appropriate horizontal/vertical equation.
  4. Anchor the new line at the supplied point.
  5. Check the point and relationship in the original conditions.

6 Worked example

Worked example

Lines through P(−4, −1) parallel and perpendicular to x + 2y = 6

The graph shows the line x + 2y = 6, which crosses the axes at (0, 3) and (6, 0), and the point P(−4, −1), which is not on the line. (a) Write, in slope-intercept form, an equation of the line through P that is parallel to x + 2y = 6. (b) Write, in slope-intercept form, an equation of the line through P that is perpendicular to x + 2y = 6. Check each answer by substituting P and by comparing slopes.

(0, 3)(6, 0)P(−4, −1)−8−448−448
The given line x + 2y = 6, which is y = −12x + 3, crossing the axes at (0, 3) and (6, 0).
Show the steps and the answer
  1. Find the given slope. Solve x+2y=6 for y. Subtract x from both sides to get 2y=−x+6. Divide every term by 2 to get y=−12x+3. So mgiven=−12. The marked points (0, 3) and (6, 0) agree: 0−36−0=−36=−12.In y = mx + b the coefficient of x is the slope, so the equation has to be solved for y first. Rise over run between any two points on the same line gives that same slope.
  2. Choose the new slopes. (a) Parallel: keep the same slope, so m=−12. (b) Perpendicular: m=−1mgiven=−1÷(−12)=2. The reciprocal of −12 is −2, and changing its sign gives 2. Test: (−12)(2)=−1.Parallel lines rise at the same rate, so they share a slope. Two lines with nonzero, finite slopes are perpendicular exactly when the product of their slopes is −1, and the negative reciprocal is the slope that makes that product −1.
  3. Insert each slope and P(−4,−1) into y−y1=m(x−x1). (a) y−(−1)=−12(x−(−4)), which is y+1=−12(x+4). (b) y−(−1)=2(x−(−4)), which is y+1=2(x+4).Point-slope form gives the line with slope m through (x1, y1) directly. Subtracting a negative coordinate is the same as adding, so y − (−1) becomes y + 1 and x − (−4) becomes x + 4.
  4. Expand and isolate y. (a) −12·x=−12x and −12·4=−2, so y+1=−12x−2. Subtract 1 to get y=−12x−3. (b) 2·x=2x and 2·4=8, so y+1=2x+8. Subtract 1 to get y=2x+7.Slope-intercept form is wanted. Distribute the slope over (x + 4), then subtract 1 from both sides so that y stands alone.
  5. Check with P and with the slopes. (a) −12(−4)−3=2−3=−1. The slope −12 matches the given line, and the y-intercept −3 differs from 3. (b) 2(−4)+7=−8+7=−1, and (−12)(2)=−1.Each new line must contain P, so x = −4 has to return y = −1. A parallel answer must keep the slope without being the same line. A perpendicular answer must give a slope product of −1.
Answer
(a) Parallel: y = −12x − 3. (b) Perpendicular: y = 2x + 7.
Double-check Substitute P(−4, −1). For (a), −12(−4) − 3 = 2 − 3 = −1. For (b), 2(−4) + 7 = −8 + 7 = −1. So both lines pass through P. Line (a) has slope −12, the same as the given slope, and its y-intercept is −3 rather than 3, so it is parallel and is not the same line. Line (b) has slope 2, and (−12)(2) = −1, so it is perpendicular. The shortcut b = y1 − mx1 gives the same intercepts: (a) b = −1 − (−12)(−4) = −1 − 2 = −3, and (b) b = −1 − 2(−4) = −1 + 8 = 7. In standard form the answers are x + 2y = −6 and 2x − y = −7. P fits both: −4 + 2(−1) = −6 and 2(−4) − (−1) = −7.

Work to write

  1. 2y = −x + 6, so y = −12x + 3 and mgiven = −12
  2. Parallel: m = −12
  3. Perpendicular: m = −1 ÷ (−12) = 2, since (−12)(2) = −1
  4. (a) y + 1 = −12(x + 4), so y = −12x − 3
  5. (b) y + 1 = 2(x + 4), so y = 2x + 7
  6. Check: −12(−4) − 3 = −1 and 2(−4) + 7 = −1

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 3

Parallel with a fractional slope

You need a line parallel to y = 23x − 1 through (3, 4).

Show the steps and the answer
(0, 2)(−3, 0)point−4−2246−448
y = 0.6667x + 2, solid, beside y = 0.6667x − 1, dashed.
  1. Keep m=23 and write 4=23×3+b=2+b.The point must fit the new slope.
  2. Subtract 2: b=2. Plug back in: 23×3+2=4.This determines and verifies the starting output.
  3. Write y=23x+2.Same slope and different intercepts give the parallel relationship.
Answer
y=23x+2.
Double-check Point-slope form y − 4 = 23(x − 3) expands to y = 23x + 2.

Rung 2 of 3

Perpendicular to a negative slope

You need the perpendicular line to y = −25x + 4 through (2, −1).

Show the steps and the answer
(0, −6)(2.4, 0)point−4−2246−448
y = 2.5x − 6, solid, beside y = −0.4x + 4, dashed.
  1. The negative reciprocal is 52. Substitute −1=52×2+b=5+b.A negative original slope gives a positive perpendicular slope.
  2. Subtract 5 to obtain b = −6. Plug back in: 5−6=−1.The required point selects and verifies the intercept.
  3. Write y=52x−6.The chosen direction is now positioned correctly.
Answer
y=52x−6.
Double-check The slope product (−25) × 52 = −1, and point-slope form y + 1 = 52(x − 2) expands to the same result.

Rung 3 of 3

Horizontal and vertical exceptions

You need the perpendicular line to y = 1 through (−4, 9), and the perpendicular line to x = 7 through that same point.

Show the steps and the answer

Given point: (−4, 9)

Against y = 1: x = −4

Against x = 7: y = 9

  1. Perpendicular to the horizontal y=1 is vertical. Through (−4,9), keep x fixed at −4.Horizontal and vertical directions make a square corner; no reciprocal of zero is needed.
  2. Perpendicular to the vertical x=7 is horizontal. Through (−4,9), keep y fixed at 9.The undefined vertical slope is handled by direction instead of division.
  3. Check the required point has x=−4 and y=9.Both constructed equations must contain that point.
Answer
  • Perpendicular to y = 1: x = −4.
  • Perpendicular to x = 7: y = 9.
Double-check The meeting points are (−4, 1) and (7, 9); each pair is horizontal against vertical, so each angle is 90°.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: changing the slope to 6 while keeping the old intercept automatically makes the line pass through (4, 5).
Slope controls direction, while the intercept controls placement. One condition does not ensure the other.
✓ Instead: Use b = 5 − 6 × 4 = −19 and verify 6 × 4 − 19 = 5.

Tips and tricks

  • Underline the supplied point; it belongs to the requested line.
  • Use point-slope form to avoid losing the point while expanding.
  • If the point is on the old line and distinct parallel lines are requested, no such line exists; the same-slope construction is coincident.

7 The trap

Using the old slope in a perpendicular problem, or using the old intercept after changing the slope. Choose the direction first, then use the new point to find the new intercept.

Lesson 9 of 10

Find the point shared by two lines

Subject: MathematicsLeans on: Exact decimal coordinatesLeans on: Variables on both sidesLeans on: Fraction subtractionLeans on: SubstitutionLeans on: Coordinate orderLeans on: Coincident and parallel linesLeans on: Undoing a coefficientOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Picture two walkers starting at different places on straight paths. A meeting address must belong to both paths at once. A system of linear equations asks you to obey several line rules together. With two lines having different directions, their point of intersection is their shared address. At that input, both rules give the same output. You can find it by setting their output formulas equal, solving for the input, then using that input to find the output. A drawing helps you see the meeting, while algebra gives exact coordinates. Parallel paths never meet. Two descriptions of the same path share every address, so that system has infinitely many solutions.

2 Picture it

(0, −4)(1.33, 0)shared point24−448(0, −4)(1.33, 0)shared point−112345−448
y = 3x − 4, solid, beside y = −x + 5, dashed.

Reminder

Reminder: Exact decimal coordinates, Variables on both sides, Fraction subtraction, Substitution, Coordinate order, Coincident and parallel lines, Undoing a coefficient
  • Exact decimal coordinates. 94 = 225100 = 2.25 and 114 = 275100 = 2.75. Multiply both fraction numbers by 25 to make hundredths.
  • Variables on both sides. 3t − 4 = 5 − t becomes 4t = 9 after adding t and 4.
  • Fraction subtraction. 5−94=204−94=114.
  • Substitution. h(94) means put 94 everywhere t occurs.
  • Coordinate order. The input t comes first and the common output comes second in the point.
  • Coincident and parallel lines. Equal slopes with different intercepts never meet; equal intercepts too mean the same line.
  • Undoing a coefficient. 4t = 9 gives t = 94 by dividing both sides by 4; 4 × 94 = 9 checks it.

3 Why

At a shared point, both equations must give the point's single output y. If y = h(t) and y = j(t), then h(t) = j(t). Solving that equality locates the shared input; substitution finds its height. Different slopes make one input satisfy it. Equal slopes cancel the input terms. Different intercepts then leave a false statement, a contradiction, meaning no solution. Equal intercepts leave a true statement such as 0 = 0, meaning every input on their common line works.

4 The rule

A solution to a system satisfies every equation.

For y=f(x) and y=g(x), solve f(x)=g(x), find y, and check both. Two lines have one, no, or infinitely many shared points.

The same idea, five ways

Say it

find an address that obeys both rules.

Write it

The point of intersection is a solution because it lies on both graphs.

In math
  • y = f(x) and y = g(x)
  • f(x) = g(x)
  • solution: (x, y)
  • no solution: no shared point
  • infinitely many solutions: the same line
Like

A meeting address must be on both people's paths.

See it
(0, 1)(−0.5, 0)shared point (2, 5)242468
y = 2x + 1, solid, beside y = −x + 7, dashed, its point labelled “shared point (2, 5)”.

The same idea, other ways

As a picture

Where the graphs cross, the input position and output height match. That is one address, not two separate answers.

(0, 1)(−0.5, 0)(2, 5)242468
y = 2x + 1, solid, beside y = −x + 7, dashed, its point labelled “(2, 5)”.
As two machines

For input 2, one machine computes 2 × 2 + 1 = 5. The other computes −2 + 7 = 5. Matching outputs make (2, 5) a shared point.

2 under first rule2 under second rule5function
The same numeric input produces the same output under both formulas.
As an equation

Setting 2x + 1 = −x + 7 says the outputs must agree. Adding x and subtracting 1 gives 3x = 6, so x = 2. Plugging 2 into both formulas gives 5.

=2x + 1−x + 7do the same thing to both sides
The equality selects an input where both output expressions balance.

Part 1: One solution

Two lines with different directions cross once. Their one shared address has an input and an output, so finding only the input is unfinished. A graph may give an approximate location unless the crossing coordinates are clearly marked.

  • Rule: Different slopes give one intersection for two nonvertical lines.
  • Rule: A vertical line and any nonvertical line also meet once.
  • Rule: Graph estimates can be rounded; substitution confirms an exact answer.
(0, 1)(−0.5, 0)(2, 5)242468
The same picture again: y = 2x + 1, solid, beside y = −x + 7, dashed, its point labelled “(2, 5)”.
Reminder
Reminder: Substitution, Both-side variables
  • Substitution. At x = 2, 2x + 1 = 5.
  • Both-side variables. 2x + 1 = −x + 7 becomes 3x = 6 after adding x and subtracting 1.
The same idea, five ways
Say it

one shared address.

Write it

The two rules agree at exactly one point.

In math
  • f(x) = g(x) at one input
  • solution: (x, f(x))
Like

Two crossing streets have one crossing.

See it
(0, 1)(−0.5, 0)one solution242468
y = 2x + 1, solid, beside y = −x + 7, dashed, its point labelled “one solution”.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: the system's answer is x = 2, with no output.
The question asks for the shared point, which needs two coordinates.
✓ Instead: Substitute 2 to find y = 5, then report (2, 5).
Tips and tricks
  • Read across for the input and up for the output at the crossing.

Part 2: No solution

Distinct parallel lines are separated paths. Their equations cannot share an address. When you try to equate their outputs, their matching input terms cancel and leave a false statement, called a contradiction.

  • Rule: Equal slopes and different intercepts give no solution.
  • Rule: A contradiction such as 0 = 3 says no input can make the equations true together.
(0, 1)(−1, 0)−4−224−22468
y = x + 1, solid, beside y = x + 4, dashed.
Reminder
Reminder: Subtract on both sides
  • Subtract on both sides. x + 1 = x + 4 becomes 1 = 4 after subtracting x.
The same idea, five ways
Say it

no address obeys both.

Write it

The system has no solution because the graphs never meet.

In math
  • no solution
  • 0 = 3 is a contradiction
Like

A point cannot be on both separated train rails.

See it
(0, 1)(−1, 0)−4−224−22468
The same picture again: y = x + 1, solid, beside y = x + 4, dashed.

Worked example

Recognize a contradiction

You need the shared point, if any, of y = x + 1 and y = x + 4.

Show the steps and the answer
(0, 1)(−1, 0)−4−224−22468
The same picture a third time: y = x + 1, solid, beside y = x + 4, dashed.
  1. Set x + 1 = x + 4 and subtract x: 1=4.The matching slopes cancel, leaving their unequal intercepts.
  2. Subtract 1: 0=3. Report no solution.A false statement cannot hold for any input; there is no value to plug back in.
Answer
No solution.
Double-check At every input, the second output is 3 larger. For example, input 0 gives outputs 1 and 4, and the same gap remains everywhere.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: 0 = 3 means x = 0.
There is no x left in the statement, and 0 does not equal 3.
✓ Instead: No input works. Substituting x = 0 gives unequal outputs 1 and 4.
Tips and tricks
  • When the variable disappears, read the remaining statement instead of inventing a variable value.

Part 3: Infinitely many solutions

Two coincident line equations are two names for one path. Every point on that path obeys both. The system has infinitely many solutions, meaning there is no last solution point, but points away from the line are still not solutions.

  • Rule: Coincident lines have infinitely many solutions.
  • Rule: A true equality such as 0 = 0 after valid simplification means every allowed input on the common line works.
(0, 1)(−1, 0)−4−224−22468
y = x + 1, solid, beside y = x + 1, dashed.
Reminder
Reminder: Coincident lines
  • Coincident lines. Same slope and same intercept mean the same line.
The same idea, five ways
Say it

every point on the shared line works.

Write it

Infinitely many solutions belong to the common line, not to the entire plane.

In math
  • y = x + 1 and 2y = 2x + 2
  • solutions: (x, x + 1) for every real x
Like

Two maps show the exact same road.

See it
(0, 1)(−1, 0)−4−224−22468
The same picture again: y = x + 1, solid, beside y = x + 1, dashed.

Worked example

Recognize the same line twice

You need all shared points of y = x + 1 and 2y = 2x + 2.

Show the steps and the answer
(0, 1)(−1, 0)(2, 3)−4−224−22468
y = x + 1, solid, beside y = x + 1, dashed, with the points (0, 1) and (2, 3).
  1. Divide the second equation by 2 to get y=x+1.Every term divides by the same nonzero number.
  2. Equate outputs: x+1=x+1. Subtract x and 1 to obtain 0=0.This is true for every input, so algebra imposes no further restriction.
  3. Write the solutions as (x,x+1) for every real x.The output must still lie on the common line.
  4. Check x=2: y=3, and 2×3=2×2+2=6.A sample point confirms both original equations.
Answer
Infinitely many solutions: every point (x, x + 1).
Double-check The equations have the same slope 1 and intercept 1, confirming coincidence from their graphs.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: infinitely many solutions means every point in the plane works.
The output still must equal x + 1. The point (0, 0) fails that equation.
✓ Instead: Only points on y = x + 1 work; at input 0 the output must be 1.
Tips and tricks
  • Keep the common line equation when stating infinitely many solutions.

5 How

  1. Graph the two lines to locate or estimate their shared point.
  2. If both outputs are formulas in the same input, set those formulas equal.
  3. Solve for the shared input. Watch for a contradiction or an equality true for every input.
  4. Substitute a found input into one original formula to obtain the output.
  5. Substitute the point into both original equations, then report both coordinates.

Solve a two-line system

1
Does one line have equation x = c?
YesSubstitute c into the other nonvertical line. If both lines are vertical, compare their fixed inputs.
NoEquate their output formulas.
↓
2
Does the input variable disappear?
YesA false equality means no solution; a true equality means the lines coincide.
NoSolve for the input, substitute to find the output, and check both.
  1. Put each nonvertical equation in output form.
  2. Set the formulas equal and solve.
  3. If a variable value remains, find its output and check both equations.
  4. If the variable disappears, decide whether the remaining equality is false or always true.
  5. Use the graph to interpret the result.

6 Worked example

Worked example

Two lines that cross between grid lines

The graph shows the line y = −2x + 1, which passes through (0, 1) and (2, −3). A second line is y = 23x − 3. Sketch the second line on the same axes and estimate where the two lines cross. Then find their shared point exactly, check it in both equations, and explain how you know the lines share no other point.

Show the steps and the answer
(0, 1)(2, −3)−6−4−2246−6−4−2246
The line y = −2x + 1 on axes from −6 to 6, with the points (0, 1) and (2, −3) marked.
  1. Add the second line to the graph. Start at its y-intercept (0,−3) and use slope 23 (up 2 for every 3 to the right) to reach (3,−1), then draw the line. The drawn line y=−2x+1 is above the new line at x=1 and below it at x=2. So they cross between x=1 and x=2, at a height of about −2. Estimate: about (1.5,−2).A shared point lies on both lines, so it is where the two graphs meet. This crossing falls between grid lines, so the graph gives only an estimate. Algebra will find the exact point, and the estimate tells us roughly what to expect.
  2. Both equations are solved for y, so set the right-hand sides equal: −2x+1=23x−3.At the shared point both lines have the same input x and the same output y. So the two formulas for y must give the same value there.
  3. Multiply both sides by 3: −6x+3=2x−9. Add 6x to both sides: 3=8x−9. Add 9 to both sides: 12=8x. Divide both sides by 8: x=128=32.Multiplying by 3 clears the fraction, and doing the same thing to both sides keeps them equal. The x-terms did not cancel, because the slopes −2 and 23 are different. Had they cancelled, a false statement such as 3 = −9 would mean no shared point, and a true one such as 3 = 3 would mean the same line. Here exactly one input works.
  4. Substitute x=32 into the first equation: y=−2(32)+1=−3+1=−2.The shared point lies on both lines, so either original formula gives its y-value. The first has a whole-number slope, which keeps the arithmetic simple.
  5. Check (32,−2) in both original equations. First: −2(32)+1=−3+1=−2✓. Second: 23(32)−3=1−3=−2✓. Report both coordinates: the shared point is (32,−2).A solution of a system must satisfy every equation. The second equation was not used to find y, so it is a real test that catches slips. The point also agrees with the graph estimate of about (1.5, −2).
Answer
The lines share exactly one point, (32, −2), where x = 32 and y = −2. They share no other point because their slopes, −2 and 23, are different, so the equation −2x + 1 = 23x − 3 has only one solution.
Double-check Walk along each line from its y-intercept to x = 32. From (0, 1) with slope −2, the height drops 2(32) = 3, from 1 to −2. From (0, −3) with slope 23, the height rises 23(32) = 1, from −3 to −2. Both lines reach (32, −2), which matches the graph estimate of about (1.5, −2).

Work to write

  1. Graph estimate: the lines cross near (1.5, −2)
  2. −2x+1=23x−3
  3. −6x+3=2x−9
  4. 12 = 8x, so x = 32
  5. y=−2(32)+1=−2
  6. Check: −2(32) + 1 = −2 ✓ and 23(32) − 3 = −2 ✓
  7. Shared point: (32, −2); exactly one, because the slopes −2 and 23 differ

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

A crossing that lands between grid points

The graph shows the line y = 2x − 5, which passes through (0, −5) and (3, 1). A second line, y = −3x + 6, is not drawn. Add the second line to the graph and decide between which two whole-number values of x the lines cross. Then find the shared point exactly, check it in both equations, and report both coordinates as fractions.

(0, −5)(3, 1)−44−44
Graph of the line y = 2x − 5 with the points (0, −5) and (3, 1) marked.
Show the steps and the answer
  1. Draw y=−3x+6. Start at (0, 6) and go down 3 for every 1 to the right: (1, 3), (2, 0), (3,−3). Compare heights with y=2x−5. At x=2 the drawn line is at −1 and the new line is at 0, so the new line is higher by 1. At x=3 the drawn line is at 1 and the new line is at −3, so the new line is lower by 4. The crossing is between x=2 and x=3, much nearer x=2, at a height between −1 and 0: roughly (2.2,−0.5).A shared point lies on both graphs, so it is where the two lines cross. The new line is above at x = 2 and below at x = 3, so it passes through the other line somewhere in between. The crossing is not on a grid point, so the graph gives an estimate only.
  2. Set the two formulas for y equal: 2x−5=−3x+6.At the shared point the same input x gives the same output y on both lines, so the two formulas have equal values there.
  3. Add 3x to both sides: 5x−5=6. Then add 5 to both sides: 5x=11.This collects the x-terms on one side and the plain numbers on the other. The x-terms did not cancel out, so there is no contradiction and no always-true statement: exactly one input works.
  4. Divide both sides by 5: x=115. Leave it as a fraction.11 is not a multiple of 5, so the shared input is not a whole number. The fraction 115 is exact, and it equals 2.2, which fits the sketch: between 2 and 3, nearer 2.
  5. Put x=115 into y=2x−5: y=2(115)−5=225−255=−35.Either original formula gives the output at the shared input. Writing 5 as 255 puts both numbers over the same denominator so they can be subtracted.
  6. Check the point in both equations. First line: 2(115)−5=225−255=−35. Second line: −3(115)+6=−335+305=−35. Both give −35, so the shared point is (115,−35).A solution to a system must satisfy every equation, so the point has to work in the second line too, not only in the one used to find y. A point needs both coordinates, so report the pair.
Answer
The lines cross between x = 2 and x = 3. The shared point is (115, −35), which is (2.2, −0.6) as decimals. It is the only point the two lines share.
Double-check First line: 2(115) − 5 = 225 − 255 = −35. Second line: −3(115) + 6 = −335 + 305 = −35. The outputs match, so the point is on both lines. It also fits the sketch: 2.2 is between 2 and 3, and −0.6 is between −1 and 0.

Work to write

  1. The lines cross between x = 2 and x = 3
  2. 2x−5=−3x+6
  3. 5x = 11
  4. x=115
  5. y=2(115)−5=−35
  6. Check: −3(115) + 6 = −35
  7. Shared point: (115, −35)

Rung 2 of 4

Every point on one line

You need the shared points of y = 2x + 1 and 2y = 4x + 2.

Show the steps and the answer
(0, 1)(−0.5, 0)sample solution−22−4−2246
y = 2x + 1, solid, beside y = 2x + 1, dashed.
  1. Divide the second equation by 2: y=2x+1.This reveals it is the first equation again.
  2. Equate outputs and subtract both terms: 2x+1=2x+1 gives 0=0.Every input makes this equality true.
  3. State points (x,2x+1) for every real x. For x=1,y=3 and both originals give 3=3 and 6=6.All answers lie on the shared line; the sample substitution checks the description.
Answer
Infinitely many solutions: (x, 2x + 1) for every real x.
Double-check Same slope 2 and intercept 1 confirm that the graph is one line drawn twice.

Rung 3 of 4

One fixed input

You need the point satisfying both x = −3 and y = 4x + 10.

Show the steps and the answer

x = −3: fixed input

y=4(−3)+10=−2

Shared point: (−3, −2)

Both equations are true

output at fixed input−4−2−12−6612
The nonvertical rule gives height −2 at input −3.
  1. Read x=−3 from the vertical equation.This equation already supplies the input coordinate of every possible shared point.
  2. Substitute that input into the other rule: y=4(−3)+10=−12+10=−2.The nonvertical equation determines the output at that fixed input.
  3. Write the point (−3,−2).A system solution needs the given input and calculated output together.
  4. Check the first equation: x=−3. Check the second: −2=4(−3)+10.Both original equations must be true at the same address.
Answer
(−3,−2)
Double-check The vertical line holds the across position at −3, while the other line has only one height there, −2. That is why these lines have one shared point.

Rung 4 of 4

Where y = 12x + 8 crosses y = −x + 5

Consider the lines y = 12x + 8 and y = −x + 5. Graph both lines to estimate where they cross. Then find their shared point exactly, check it in both equations, and state how many points the two lines share.

Show the steps and the answer
  1. Graph both lines. y=12x+8 starts at (0, 8) and rises 1 for every 2 steps right, so moving left it passes (−2,7) and (−4,6). y=−x+5 starts at (0, 5) and falls 1 for every step right, so moving left it passes (−1,6) and (−2,7). The lines appear to cross near (−2,7).A graph shows roughly where the lines meet, which gives an estimate to test the algebra against. At x = 0 the first line is higher (8 against 5). Moving left, the first line comes down while the second goes up, so they meet left of the y-axis. A sketch only suggests the point, so algebra must confirm it.
  2. Both equations give y as a formula in x, so set the formulas equal: 12x+8=−x+5.At a shared point the two lines have the same output for the same input. The input we want is the one that makes the two formulas equal.
  3. Multiply every term on both sides by 2: x+16=−2x+10.Doing the same thing to both sides keeps the equation true. Doubling also clears the fraction 12, so the rest of the work uses whole numbers.
  4. Add 2x to both sides to get 3x+16=10. Then subtract 16 from both sides to get 3x=−6.Gathering the x-terms on one side and the constants on the other isolates the unknown.
  5. Divide both sides by 3: x=−2.The x-terms did not cancel because the slopes 12 and −1 differ, so exactly one input works. If the slopes had been equal, x would have dropped out. That would leave either a contradiction such as 16 = 10 (parallel lines, no shared point) or a statement true for every x such as 16 = 16 (the same line, infinitely many shared points).
  6. Substitute x = −2 into the first formula: y=12(−2)+8=−1+8=7.The shared point lies on the first line, so its output is that line's output at x = −2. The second equation stays unused so it can serve as an independent check.
  7. Check (−2,7) in both original equations: 12(−2)+8=−1+8=7, and −(−2)+5=2+5=7. Both give 7, which matches the graph estimate. Report the shared point (−2,7).A solution of a system must satisfy every equation. Testing both equations catches slips such as a sign error in −(−2). The answer is a point, so both coordinates are reported.
Answer
The lines share exactly one point: (−2, 7), that is, x = −2 and y = 7.
Double-check In y = 12x + 8: 12(−2) + 8 = −1 + 8 = 7. In y = −x + 5: −(−2) + 5 = 2 + 5 = 7. Both outputs equal the y-coordinate 7, so (−2, 7) lies on both lines, and it agrees with the graph estimate. The slopes 12 and −1 differ, so the lines cross only once.

Work to write

  1. Graph estimate: the lines cross near (−2, 7)
  2. 12x+8=−x+5
  3. x+16=−2x+10
  4. 3x = −6 (or 32x = −3 without clearing the fraction)
  5. x=−2
  6. y=12(−2)+8=−1+8=7
  7. Check: 12(−2) + 8 = 7 and −(−2) + 5 = 7
  8. Shared point (−2, 7); exactly one, since the slopes 12 and −1 differ

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: set h(t) = 0 and j(t) = 0 to find their intersection.
That finds each line's separate x-intercept, not where their outputs agree. A crossing can occur above or below the x-axis.
✓ Instead: Set h(t) = j(t). Their common output here is 114, not 0.
✗ Not this: Counterexample: an apparent graph crossing gives exact coordinates even when the grid is coarse.
A drawing can show location without enough precision to distinguish nearby fractions.
✓ Instead: Treat an unmarked reading as an estimate, then solve algebraically and check both formulas.
✗ Not this: For x = −3 and y = 4x + 10, set −3 = 4x + 10.
The left number is an input condition, while the expression on the right gives an output. They are not two output formulas.
✓ Instead: Use x = −3 inside the output formula: y = −12 + 10 = −2. The shared point is (−3, −2).

Tips and tricks

  • Memory cue: shared input, shared output. Write both coordinates.
  • A contradiction means no solution; 0 = 0 means return to the common line.
  • Understand, then rebuild it when needed: equal outputs give the system equation. You do not need a separate intersection formula.

7 The trap

Finding the shared input and stopping. A point needs its output too. Also check both original equations; a point that fits only one is not a system solution.

Lesson 10 of 10

Use an intersection to find break-even

Subject: MathematicsLeans on: Linear modelLeans on: Decimal divisionLeans on: SystemsLeans on: SubstitutionLeans on: Parallel linesLeans on: Signed subtractionOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Picture selling notebooks at a table. Before you sell anything, you pay for the table. Each notebook also costs money to make. Cost is all the money you spend. Revenue is all the money customers pay you. The break-even point is where those two amounts match: sales have paid for the expenses, and no profit remains yet. Profit means revenue minus cost, the amount left after expenses. On a graph, quantity goes across and dollars go up. The cost and revenue lines meet at break-even. Their common height is the dollar amount, while the across coordinate tells you how many items you must sell.

2 Picture it

(0, 2.5e+04)(−2.5e+06, 0)break-even3500002.1e+06750022500375005250067500(0, 2.5e+04)(−2.5e+06, 0)break-even3500001.4e+062.45e+063.5e+06750022500375005250067500
y = 0.01x + 25000, solid, beside y = 0.02x, dashed, its point labelled “break-even”.

Reminder

Reminder: Linear model, Decimal division, Systems, Substitution, Parallel lines, Signed subtraction
  • Linear model. A $10 fixed fee plus $3 per item is 10 + 3x.
  • Decimal division. 25,000 ÷ 0.01 = 2,500,000 because multiplying both numbers by 100 makes the divisor 1.
  • Systems. C(x) = R(x) selects a shared output at the same input.
  • Substitution. R(5) = 5 × 5 = 25 when the selling-price rule is R(x) = 5x.
  • Parallel lines. Equal rates and different starting fees keep the same gap at every input.
  • Signed subtraction. 20 − 22 = −2, a deficit of 2; 15 − 14 = 1, an excess of 1.

3 Why

If fixed cost is F and each item costs v to produce, total cost is C(x) = F + vx: the starting expense plus x repeated item expenses. If each sells for p, revenue is R(x) = px. Equating them gives F = (p − v)x. The difference p − v is each sale's contribution toward the fixed expense. Once enough contributions cover F, cost equals revenue. A positive fixed cost cannot be covered by sales when p ≤ v, because each contribution is zero or negative.

4 The rule

C(x)=F+ vx, R(x)= px, and profit P(x)=R(x)−C(x).

Break-even satisfies C(x)=R(x). For F > 0 and p > v, x=Fp−v.

The same idea, five ways

Say it

find how many sales pay for all the expenses.

Write it

At the break-even point, revenue equals cost and profit is zero.

In math
  • C(x) = F + vx
  • R(x) = px
  • C(x) = R(x)
  • P(x)=R(x)−C(x)
  • x=Fp−v,p>v
Like

Each sale puts a little money toward paying back the table fee.

See it
(0, 2.5e+04)(−2.5e+06, 0)break-even3500002.1e+06750022500375005250067500
The same picture again: y = 0.01x + 25000, solid, beside y = 0.02x, dashed, its point labelled “break-even”.

The same idea, other ways

As a shared height

At break-even, the cost and revenue graphs have the same dollar height at the same quantity.

(0, 2.5e+04)(−2.5e+06, 0)(2,500,000, 50,000)3500002.1e+06750022500375005250067500
y = 0.01x + 25000, solid, beside y = 0.02x, dashed, its point labelled “(2,500,000, 50,000)”.
As repeated contributions

If an item sells for $5 and costs $3 to make, each sale leaves $2 toward a $10 setup fee. Five sales contribute 5 × $2 = $10.

5 sales$2 each toward setupinputoutput$10 covered
Per-sale contributions cover the fixed cost.

Part 1: Cost function

Fixed cost is a bill you pay once even if you make no items. Variable cost changes with quantity, such as buying paper for each notebook. A cost function adds those two expenses. In a linear model, per-item production cost is the cost slope, and fixed cost is the initial value.

  • Rule: C(x) = F + vx.
  • Rule: Fixed cost F is paid at quantity 0; variable cost vx grows with quantity.
  • Rule: Production models usually use x ≥ 0, with whole-number quantities for individual items.
(0, 10)(−3.33, 0)fixed cost2468412202836
The cost line starts at $10.
Reminder
Reminder: Order of operations, Initial value
  • Order of operations. 10 + 3 × 4 = 10 + 12 = 22.
  • Initial value. C(0) = 10 is the starting expense before production.
The same idea, five ways
Say it

starting bill plus the bill for each item.

Write it

Total cost combines fixed and variable cost.

In math
  • fixed cost: F
  • variable cost: vx
  • C(x) = F + vx
  • C(0) = F
Like

The table fee plus the paper bill for your notebooks.

See it
(0, 10)(−3.33, 0)fixed cost2468412202836
Cost starts at the fixed expense, then rises by the per-item amount.

Worked example

Build a small cost model

You need the cost rule for a $10 setup fee and $3 per item, then the cost of 4 items.

Show the steps and the answer
(0, 10)(−3.33, 0)4 items, $222468412202836
The cost point combines the setup bill and four item expenses.
  1. Write C(x)=10+3x.The fixed cost is paid once, and per-item cost repeats x times.
  2. C(4)=10+3×4=22.Four item expenses total 12 before adding the setup fee.
Answer
  • C(x) = 10 + 3x.
  • C(4) = $22.
Double-check The separate bills are $10 and $12, and $10 + $12 = $22.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: C(x) = (10 + 3)x when setup is $10 and each item costs $3.
That formula charges the setup fee once per item instead of once total. At 4 items it gives $52.
✓ Instead: Use C(x) = 10 + 3x, which gives $22 at 4 items.
Tips and tricks
  • The fixed bill belongs outside the multiplication by quantity.

Part 2: Revenue function

Revenue is the money coming in from sales before subtracting expenses. If each item sells for the same price, multiply the number sold by that price. Receiving money is different from keeping money; some of the revenue pays the cost.

  • Rule: R(x) = px when each of x items sells for price p.
  • Rule: In this model R(0) = 0 because no sales bring in no money.
(0, 0)(−0, 0)2468412202836
Revenue has zero starting value in this sales model.
Reminder
Reminder: Repeated addition
  • Repeated addition. 5 × 4 is four payments of 5.
The same idea, five ways
Say it

sale price times number sold.

Write it

Revenue records total sales money before expenses.

In math
  • R(x) = px
  • R(0) = 0
Like

The contents of the payment box before paying the bills.

See it
(0, 0)(−0, 0)no sales4 sales, $202468412202836
Revenue starts at 0 and increases by $5 for each sale.

Worked example

Separate sales money from profit

You need revenue from selling 4 items at $5 each.

Show the steps and the answer
(0, 0)(−0, 0)4 sales, $202468412202836
The revenue height gives sales money, not the remaining profit.
  1. Write R(x)=5x.The same selling price repeats for each item.
  2. R(4)=5×4=20.This is sales money before paying production or setup expenses.
Answer
  • R(x) = 5x.
  • R(4) = $20.
Double-check Adding four $5 payments gives $20, the same as multiplication.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: $20 of revenue means $20 of profit.
Profit must subtract the cost. If cost is $22, the remaining amount is negative.
✓ Instead: Profit is $20 − $22 = −$2, meaning a $2 loss.
Tips and tricks
  • Revenue means money in; profit means money left after cost.

Part 3: Break-even, profit and loss

At break-even, all the sales money pays all the bills. Profit is zero. If revenue is larger, the difference is profit. If revenue is smaller, the negative difference records a loss. For item sales, use only quantities that make sense in the situation. Sometimes the graphs meet between two whole counts. You cannot sell part of an individual item, so, when each sale brings in more than it costs to make, the first whole count above that crossing is the first that covers the cost.

  • Rule: Solve C(x) = R(x) to find break-even.
  • Rule: P(x) > 0 means profit; P(x) < 0 means loss; P(x) = 0 means break-even.
  • Rule: With a positive fixed cost and selling price no greater than per-item cost, there is no nonnegative break-even quantity.
  • Rule: A continuous model permits every nonnegative real input, including fractions between whole counts. A fractional break-even input is a crossing in that model. For whole items, there is no exact break-even count unless that input is whole; the next whole count is the first with nonnegative profit when p > v.
(0, 10)(−3.33, 0)break-even2468412202836
The equal height is the shared dollar total.
Reminder
Reminder: System of equations, Signed subtraction
  • System of equations. Cost equals revenue uses the same method as setting two line outputs equal.
  • Signed subtraction. 20 − 22 = −2 records a loss of 2.
The same idea, five ways
Say it

money in minus money spent tells what remains.

Write it

Break-even has no profit and no loss because cost equals revenue.

In math
  • P(x)=R(x)−C(x)
  • P(x) = 0
  • R(x) > C(x): profit
  • R(x) < C(x): loss
Like

You have paid back the table fee when each sale's contribution has added up to it.

See it
(0, 10)(−3.33, 0)break-even2468412202836
At five items, both lines have height $25.

Worked example

A small break-even point

You need the number of $5 sales that cover a $10 setup fee and $3 production cost per item. Then repeat the interpretation if the setup fee is $5 instead of $10.

Show the steps and the answer
(0, 10)(−3.33, 0)(5, 25)2468412202836
The quantity coordinate is 5; the dollar coordinate is 25.
model crossing3 sales revenue24281420
The model crosses between 2 and 3 whole sales; 3 is the first count whose revenue covers cost.
  1. Set 10+3x=5x.The same quantity must make cost and revenue equal.
  2. Subtract 3x: 10=2x. Divide by 2 to find x=5.Each sale contributes $2 toward the fixed fee.
  3. Plug in: C(5)=10+15=25 and R(5)=25.Both original dollar amounts must match at the found quantity.
  4. Compute P(5)=25−25=0.The equality means no money remains after expenses.
  5. For a $5 setup fee, set 5 + 3x = 5x. Subtract 3x to get 5 = 2x and divide by 2: x=52=2.5.Equality finds the continuous-model crossing, even when it falls between actual whole-item counts.
  6. Plug in 2.5: C(2.5)=5+7.5=12.5 and R(2.5)=12.5.Substitution confirms the model's fractional crossing; 2.5 is exact, not rounded.
  7. At 2 whole items, profit is 10−11=−1. At 3, profit is 15−14=1.Only whole sales counts are allowed. Two sales still lose money; the next whole count, 3, covers the expense.
Answer
  • With the $10 setup fee: 5 items.
  • Cost = revenue = $25.
  • Profit = $0.
  • With a $5 setup fee: the model crosses at 2.5 items.
  • Model cost = revenue = $12.50.
  • There is no exact whole-item break-even.
  • Three sales first give nonnegative profit, namely $1.
Double-check Five contributions of $2 total $10, exactly the setup fee.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: the break-even answer is $25 with no quantity.
The dollar coordinate tells the money involved, while the question asks how many sales are needed.
✓ Instead: Report 5 items, where both amounts are $25.
Tips and tricks
  • Label the two coordinates with units so you do not exchange quantity and dollars.

5 How

  1. Define the input quantity and its units; count sold items as nonnegative whole numbers.
  2. Put fixed expense at the cost intercept and per-item expense at the cost slope.
  3. Put selling price at the revenue slope, with revenue 0 before any sales.
  4. Set cost equal to revenue and solve for the quantity.
  5. Plug the quantity into both functions, then report quantity and dollars together.
  6. Compare revenue with cost to tell profit from loss.
  7. If the calculated quantity is between whole items, the model has no exact whole-item break-even. When each sale contributes a positive amount, use the next whole count to reach nonnegative profit.

Build and solve a break-even model

1
Are the cost and revenue formulas already supplied?
YesUse them directly and equate their outputs.
NoBuild them from the fixed fee, production rate and selling price.
↓
2
With positive fixed cost, is p > v?
YesThe contribution p − v is positive; divide F by it.
NoNo nonnegative quantity covers the positive fixed expense under this model.
↓
3
Is the solved quantity a whole number when whole items are required?
YesIt is an exact break-even count; report its quantity and dollar amount.
NoThere is no exact whole-item break-even. With p > v, the next whole count is the first with nonnegative profit; check that count in both formulas.
  1. Identify fixed cost F, per-item cost v and sale price p.
  2. Write C(x) = F + vx and R(x) = px.
  3. Set F + vx = px, then solve for x.
  4. Plug the found quantity into both functions.
  5. Report quantity, common dollar amount and zero profit.
  6. If whole items are required, distinguish an exact whole crossing from a fractional model crossing.

6 Worked example

Worked example

Break-even for a craft-fair bracelet table

A school art club rents a table at a one-day craft fair to sell friendship bracelets. The table rental is a flat $22, the materials for each bracelet cost $2, and the club sells each bracelet for $6. Let x be the number of bracelets sold. The graph shows the club's cost line, which meets the vertical axis at (0, 22) and passes through (8, 38). (a) Write the cost function C(x) and the revenue function R(x), and confirm that C(x) fits both marked points. (b) Sketch the revenue line on the same axes and estimate where the two lines cross. (c) Find the break-even point exactly by setting C(x) = R(x). Check it in both functions, and give both the quantity and the dollar amount. (d) Compare revenue with cost on each side of the break-even point. Bracelets are sold only in whole numbers, so decide whether the club can break even exactly. Then find the fewest bracelets it must sell so that its profit is not negative.

Show the steps and the answer
(0, 22)(8, 38)246810618304254
The cost line C(x) = 22 + 2x for the bracelet table.
  1. Let x= the number of bracelets sold during the fair. Since x counts bracelets, the real sales are whole numbers x=0, 1, 2, 3, …, and both C(x) and R(x) are measured in dollars.Cost and revenue must use the same input and the same money unit before they can be compared, and a club cannot sell a negative or fractional bracelet.
  2. The $22 table fee is owed even if nothing sells, so the cost intercept is F=22. Each bracelet adds $2 of materials, so the cost slope is v=2. This gives C(x)=22+2x. Check it against the graph: C(0)=22 and C(8)=22+2(8)=38. The slope between the marked points is 38−228−0=168=2.A fixed expense is the cost at x = 0, which is where a line meets the vertical axis. A per-item expense is how much the cost rises for each extra item, which is the slope.
  3. Each bracelet brings in $6, and no sales bring in $0, so R(x)=6x. Sketch this line on the same axes through (0, 0), (5, 30) and (10, 60).Revenue is price times quantity, so its line starts at the origin and its slope is the selling price p = 6.
  4. Read the sketch. At x=0 the revenue line sits $22 below the cost line. At x=5 the revenue line is at 30 and the cost line is at 32, so revenue is still lower. At x=6 they are at 36 and 34, so revenue is now higher. The lines cross between 5 and 6 bracelets, at a height a little above $30.Break-even is where the two lines meet, and a graph estimate gives a target that the exact answer must agree with. The $22 gap shrinks by 6 − 2 = $4 for each bracelet, so it takes a little more than 5 bracelets to close it.
  5. Set cost equal to revenue: 22+2x=6x. Subtract 2x from both sides: 22=4x. Divide both sides by 4: x=224=112=5.5.Where the lines intersect they have the same height, so the two expressions are equal there. The result matches the rule x = Fp−v = 226−2 = 5.5, because each bracelet earns $4 toward the $22 fee.
  6. Put x=5.5 into both functions: C(5.5)=22+2(5.5)=22+11=33 and R(5.5)=6(5.5)=33. The lines meet at (5.5, 33). That is 5.5 bracelets, with $33 of cost and $33 of revenue.Equal outputs confirm that 5.5 solves the equation, and the shared output is the dollar coordinate. A break-even point is reported as a quantity together with its dollars.
  7. Profit is P(x)=R(x)−C(x)=6x−(22+2x)=4x−22. For x < 5.5, P(x) < 0, so R(x) < C(x) and the club has a loss. For x > 5.5, P(x) > 0, so R(x) > C(x) and the club has a profit. On the graph, the revenue line lies below the cost line to the left of the crossing and above it to the right.The sign of R(x) − C(x) tells profit from loss, and which line is on top shows the same thing on the graph.
  8. 5.5 lies between the whole counts 5 and 6, so no whole number of bracelets breaks even exactly. At x=5,R(5)=30 and C(5)=32, a $2 loss. At x=6,R(6)=36 and C(6)=34, a $2 profit. Each bracelet adds 6−2= $4 to profit, so every count from 6 upward is profitable. The club must sell at least 6 bracelets.Only whole bracelets can be sold. When each sale contributes a positive amount, profit increases with x, so the next whole count above the break-even quantity is the fewest sales with nonnegative profit.
Answer
C(x) = 22 + 2x and R(x) = 6x meet at (5.5, 33), so the break-even point is 5.5 bracelets, where cost and revenue are both $33. Bracelets are sold whole, so the club cannot break even exactly. Selling 5 bracelets gives a $2 loss ($30 revenue against $32 cost), and selling 6 gives a $2 profit ($36 against $34). The club must sell at least 6 bracelets to avoid a loss.
Double-check Rule: x = Fp−v = 226−2 = 224 = 5.5, the same quantity. Both functions give 33 at x = 5.5, so the dollar coordinate is consistent. Profit: P(x) = 4x − 22 gives P(5.5) = 22 − 22 = 0, P(5) = 20 − 22 = −2 and P(6) = 24 − 22 = 2. These match the $2 loss at 5 bracelets and the $2 profit at 6. The graph estimate, a crossing between 5 and 6 bracelets a little above $30, agrees with (5.5, 33).

Work to write

  1. x = number of bracelets sold; x = 0, 1, 2, …
  2. C(x) = 22 + 2x
  3. R(x) = 6x
  4. 22 + 2x = 6x
  5. 22 = 4x, so x = 224 = 5.5
  6. C(5.5) = 22 + 2(5.5) = 33 and R(5.5) = 6(5.5) = 33
  7. Break-even point (5.5, 33): 5.5 bracelets and $33
  8. x = 5: R(5) = 30 < C(5) = 32, a $2 loss
  9. x = 6: R(6) = 36 > C(6) = 34, a $2 profit
  10. No exact whole-bracelet break-even; sell at least 6 bracelets

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

A small setup bill

You need to find how many sales cover a $6 setup fee when each item costs $2 to make and sells for $5. Assume each item made is sold.

Show the steps and the answer
(0, 6)(−3, 0)2 items, $10242610141822
At two sales, both the expense and sales heights are $10.
  1. Write C(x)=6+2x and R(x)=5x.The one-time bill starts the cost; repeated item costs and sale prices multiply the quantity.
  2. Set 6+2x=5x.This selects a quantity at which money spent equals money received.
  3. Subtract 2x from both sides: 6=3x.Each sale contributes 5 − 2 = 3 dollars toward the setup bill.
  4. Divide by 3: x=2.This finds how many $3 contributions cover the $6 fixed expense.
  5. Check C(2)=6+4=10 and R(2)=5×2=10.Both original rules must return the same dollar amount.
Answer
  • 2 items.
  • Cost = revenue = $10.
  • Break-even point: (2, 10).
  • Profit: $0.
Double-check Two contributions of $3 total $6, independently covering the setup bill.

Rung 2 of 4

Prices with decimals

You need the break-even quantity with an $84 setup fee, production cost $1.50 per item, and sale price $3.25 per item. Assume every item produced is sold.

Show the steps and the answer
(0, 84)(−56, 0)48 items, $1567213549632472120168216
The cost begins at $84; the revenue catches it at 48 items.
  1. Write C(x)=84+1.50x and R(x)=3.25x. Set 84+1.50x=3.25x.A common input must give equal costs and revenue at break-even.
  2. Multiply every term by 100: 8,400+150x=325x.This clears the two-place decimal coefficients and scales the fixed fee too.
  3. Subtract 150x: 8,400=175x.The remaining coefficient corresponds to each sale's $1.75 contribution, measured in cents.
  4. Divide by 175: x=48, because 175×48=8,400.This finds the quantity paying the setup bill.
  5. Check C(48)=84+1.50×48=84+72=156.The original cost formula verifies the total expense.
  6. Check R(48)=3.25×48=156.The original revenue formula gives the same total, so the solved count works.
Answer
  • 48 items.
  • Cost = revenue = $156.
  • Break-even point: (48, 156).
Double-check The contribution route gives 48 × $1.75 = $84, exactly the starting bill. All decimals here are exact prices.

Rung 3 of 4

A fraction is not a sale count

You need the model crossing and the first whole-item count covering costs when setup is $19, production is $4 per item, and sale price is $7. All produced items are sold.

Show the steps and the answer
(0, 19)(−4.75, 0)model crossing7 sales revenue7 items cost2468721354963
The lines meet between 6 and 7 items, while seven whole sales cover the expense.
  1. Write C(x)=19+4x and R(x)=7x, then set 19+4x=7x.The equality selects equal dollar amounts at the same quantity.
  2. Subtract 4x: 19=3x. Divide by 3: x=193=6+13.Each sale contributes $3, and six contributions do not yet cover $19.
  3. At the model input 193,C=19+763=573+763=1333, and R=1333.Equal thirds verify the continuous-model crossing exactly, without rounding.
  4. At 6 items, C(6)=19+24=43 and R(6)=42. Profit is 42−43=−1.The lower whole count has not covered costs.
  5. At 7 items, C(7)=19+28=47 and R(7)=49. Profit is 49−47=2.The next whole count covers costs because each extra sale adds a positive $3 contribution.
Answer
  • Model crossing: (193, 1333).
  • No exact whole-item break-even exists.
  • First whole count covering costs: 7 items.
  • At 7 items: cost $47.
  • At 7 items: revenue $49.
  • At 7 items: profit $2.
Double-check Profit at whole count x is 3x − 19. It is −1 at 6 and 2 at 7, so the first acceptable count is 7, agreeing with both cost/revenue substitutions.

Rung 4 of 4

Sales that cannot cover the bill

You need to decide whether a $21 setup fee can be covered if each item costs $4 to make. Check a $4 sale price, then a $3 sale price. Assume all produced items are sold and x is nonnegative.

Show the steps and the answer
(0, 21)(−5.25, 0)cost at 2revenue at 22468618304254
With equal price and per-item cost, revenue always remains $21 below cost.
(0, 21)(−5.25, 0)cost at 2revenue at 22468618304254
When price is below per-item cost, the loss grows with every allowed sale.
  1. With a $4 sale price, C(x)=21+4x and R(x)=4x. Set 21+4x=4x.Break-even still asks for equal dollar outputs.
  2. Subtract 4x from both sides: 21=0. There is no solution.The contribution is $4 − $4 = $0, so no sale pays any part of the positive setup bill.
  3. Check x=2: cost is 21+8=29, revenue is 8, and profit is −21.The original formulas show the same unpaid setup bill; it remains at every quantity.
  4. With a $3 sale price, use R(x) = 3x. Set 21 + 4x = 3x, then subtract 4x: 21=−x.Each sale now costs $1 more than it brings in.
  5. Divide by −1: x=−21. Reject this input because item quantity must be 0 or greater.The algebraic crossing lies outside the context's domain, so it is not a break-even sales count.
  6. Plug −21 into both algebraic formulas: C(−21)=21−84=−63 and R(−21)=−63. Then check an allowed quantity: C(2)=29 and R(2)=6.The first check verifies the algebra but does not make negative items meaningful. The allowed count still loses money.
  7. For every allowed x, profit is 3x−(21+4x)=−21−x<0.The initial loss of $21 grows as nonnegative quantity grows; no allowed input breaks even.
Answer
  • Sale price $4: no break-even quantity.
  • Sale price $3: no nonnegative break-even quantity.
  • The algebraic crossing at x = −21 is outside the allowed sales domain.
Double-check The contributions are 0 and −1 dollar per item. Neither can pay a positive $21 setup bill, confirming both results directly.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Counterexample: $50,000 at the crossing is the company's profit.
The company also spent $50,000, so none of the sales money is left after cost.
✓ Instead: Profit is $50,000 − $50,000 = $0.
✗ Not this: Counterexample: two telephone plans with the same per-minute rate but different flat fees must eventually cost the same.
Their slopes match and their intercepts differ, so the fee gap stays fixed at every usage amount.
✓ Instead: They are parallel cost lines and do not have an equal-cost quantity.

Tips and tricks

  • Memory cue: break-even means the difference breaks even at 0.
  • Before solving, say what x counts and what each output measures.
  • Understand, then rebuild it when needed: the formula F ÷ (p − v) comes from cost equals revenue; the reason matters more than memorizing the division.
  • Know cold
    Coordinate order: across, then up or down; x comes before y.
    Slope: rise over run.
    Axis crossings: the other coordinate is 0.
    HOY: Horizontal, 0 slope, Y equation. VUX: Vertical, Undefined slope, X equation.
    Parallel: match slopes, compare intercepts. Perpendicular: flip and sign, then check product −1, except horizontal against vertical.
    System solutions: shared input, shared output.
  • Understand, then rebuild it when needed
    Tables come from substituting inputs, so you do not need to memorize individual coordinates.
    Transformation order comes from multiplication before addition.
    An x-intercept comes from solving output = 0.
    A line through a point comes from measuring changes from that point.
    An intersection comes from equal outputs.
    Break-even comes from cost equals revenue.
  • Put on the cheat sheet
    y = mx + b.
    m = y2−y1x2−x1, x2 ≠ x1.
    y − y1 = m(x − x1).
    b = y1 − mx1.
    x-intercept: x = −bm, m ≠ 0.
    Perpendicular slope: −1m, m ≠ 0 and slope finite.
    C(x) = F + vx; R(x) = px; profit = R(x) − C(x).
    Break-even: C(x) = R(x).
    These are also the compact printable formulas for this section. For the closed-book exam, practice rebuilding each from its reason.

7 The trap

Confusing the shared revenue with profit. At break-even both cost and revenue can be large, but profit is their difference, which is 0.