mastree

Straight-line graphs, and how many answers

What this lesson covers

  • Multiplying or dividing by a negative number reverses an inequality.
  • The constant rate of change of a linear graph is the vertical change (how far it goes up or down) divided by the horizontal change (how far it moves sideways).
  • Finding square roots of numbers and solving quadratic equations are related but have some differences. Any positive real number has two square roots: one positive (the principal square root) and one negative (e.g. for 16, 4 and −4). The square root operation √ refers specifically to the principal square root (e.g. √16 = 4). There are 0, 1, or 2 real-number solutions to x² = a, where a is a number.
  • The zero product property states that if two expressions multiply to be zero, then at least one expression must be zero (e.g. if ab = 0 then either a or b is 0, or if (x − a)(x − b) = 0 then either (x − a) = 0 or (x − b) = 0).
Key idea

A line only has two properties

  • Where it crosses the y-axis, and how steep it is.
  • There is nothing else a straight line can be.
  • y = mx + c is those two facts written down.
PartWhat it isMeaning
y = mx + cthe whole line
cwhere it crosses ythe starting height
mthe gradienthow steep, and which way
That is alla straight line hasnothing else to know
Key idea

Gradient is rise over run

  • Pick any two points on the line. How far up, how far across.
  • Up four and across two gives a gradient of two.
  • Any other pair of points gives the same answer. That is what straight means.
IdeaWorkingGives
Gradientrise ÷ run
From (1,3) to (3,7)up 4, across 24 ÷ 2 = 2
Any two pointsgive the same answerthat is straightness
So m = 2up 2 for every 1 across
Key idea

Try it: rise over run

Worked example

Reading a line off a graph

  • This line crosses the y-axis at one, so c is one.
  • From there it goes up two for every one across.
  • So m is two, and the equation is y equals two x plus one.
Reading a line off a graph
Worked example

Drawing one without a table

  • Start at c. That is your first point, on the y-axis.
  • Then use m as an instruction: up two, across one.
  • Do it twice more and join them. No table of values.
StepDoingPoint
y = 2x + 1c is 1start at (0,1)
m is 2up 2, across 1(1,3)
Againup 2, across 1(2,5)
Join themno table needed
Worked example

Comparing steepness

  • y equals x climbs one for every one across.
  • y equals two x climbs twice as fast. y equals four x, faster again.
  • The bigger the size of m, the steeper the line.
LineGradientWhat it does
y = xm = 1up 1 each step
y = 2xm = 2twice as steep
y = 4xm = 4steeper again
Bigger size of msteeper linesign is direction
Worked example

When the gradient is negative

  • y equals minus three x plus eight starts at eight.
  • Then it falls three for every one across.
  • A negative gradient always means a falling line.
When the gradient is negative
Key idea

Same gradient, parallel lines

  • Two lines with the same m climb at the same rate.
  • So they never meet, however far you draw them.
  • Different c just moves one of them up or down the page.
Key idea

Graphing calculator

Worked example

Where gradients come from outside maths

  • A tradesperson charges sixty dollars to turn up.
  • Then forty-five dollars an hour. That rate is the gradient.
  • y equals forty-five x plus sixty, and three hours is 195 dollars.
In the jobIn the equationValue
Call-out fee $60that is ccost at zero hours
$45 an hourthat is mthe rate
y = 45x + 60the whole job
Three hours135 + 60$195
Key idea

Sixteen has two square roots

  • Four squared is sixteen. And minus four squared is also sixteen.
  • So both of them are square roots of sixteen.
  • But the root sign means the positive one only.
StatementWhy
16 has two square roots4 and −4
Because4² = 16 and (−4)² = 16
But √16 means 4the sign means the positive one
So x² = 16 has two answerswhile √16 is one number
Worked example

How many answers does x squared equal a have?

  • If a is positive, two answers, one of each sign.
  • If a is zero, exactly one answer.
  • If a is negative, none at all.
EquationAnswersWhich
x² = 25two5 and −5
x² = 0one0
x² = −4nonenothing squares negative
Check the sign of abefore you solve
Key idea

Multiplying to zero

  • If two numbers multiply to zero, one of them is zero.
  • There is no other way to do it. No near misses.
  • That fact is what makes a factorised quadratic solvable.
IfThen
ab = 0then a = 0 or b = 0
No other wayto multiply to zero
(x − 3)(x + 5) = 0so one bracket is 0
Givingx = 3 or x = −5
Worked example

Using it

  • x minus three, times x plus five, equals zero.
  • So either the first bracket is zero or the second one is.
  • x is three, or x is minus five.
Key idea

Why a negative reverses an inequality

  • Two is less than three. Nobody disputes that.
  • Multiply both by minus one: minus two and minus three.
  • Minus two is bigger. The order flipped, so the sign must.
StepResult
2 < 3plainly true
Times both by −1−2 and −3
Now −2 > −3the order swapped
So the sign must turnevery time you do that
Key idea

Try it: how many answers?

Summary

What to take away

  • Seven lines: four about lines, three about answers.
A straight line has two propertieswhere it crosses, how steep
cthe y-intercept
mthe gradient, rise over run
Bigger size of msteeper line
x² = atwo answers, one, or none
√ means the positive rootonly
If two things give 0one of them is 0

Common mistakes

  • Gradient from (1, 4) to (5, 16) is (16 − 4) ÷ (1 − 5) = −3
    Subtract in the same order top and bottom: (16 − 4) ÷ (5 − 1) = 12 ÷ 4 = 3.
  • Gradient is run over rise, so up 4 and across 2 gives ½.
    Gradient is rise ÷ run, up over across, so up 4 and across 2 gives 4 ÷ 2 = 2.
  • x² = 49 has one answer: x = 7
    There are two answers, 7 and −7, because both square to 49; only the √ sign means just the positive root.
  • y = −3x + 8 rises 3 for every 1 across.
    A negative gradient means the line falls: it goes down 3 for every 1 across, starting at 8 on the y-axis.
Your turn

Your turn: eight questions

  • Do all eight.
  • Question 1 gives you a point that is already on the y-axis.
  • Question 4 wants how many, and what they are.
1

Gradient 3, through (0, −2). Equation?

2

Gradient through (1, 4) and (5, 16)?

3

Solve (x − 7)(x + 2) = 0.

4

How many answers has x² = 49?

5

A Wellington plumber charges y = 80x + 50 dollars for x hours. What does the 80 tell you?

6

What is √81?

7

Which line is steepest: y = 2x + 5, y = −6x + 1, y = 4x − 3 or y = x + 10?

8

Which line is parallel to y = 5x − 2?

Show answer

1. y = 3x − 2. The point given is on the y-axis, so its y-value is c directly, and the gradient is m. 2. 3. The rise is 16 − 4, which is 12, and the run is 5 − 1, which is 4. Twelve over four is three. Subtract in the same order on the top and the bottom or the sign comes out wrong. 3. x = 7 or x = −2. One of the two brackets has to be zero. 4. Two: 7 and −7. Both square to 49. Writing only 7 is the standard slip, and it happens because √49 is 7, but the question asked which numbers square to 49, which is a different question. 5. $80 for every hour worked. It is the gradient, the rate; the 50 is the call-out fee at zero hours. 6. 9. 81 has two square roots, 9 and −9, but the √ sign means the positive one only. 7. y = −6x + 1. Its m has size 6, the biggest; the minus sign only means it falls. 8. y = 5x + 7. Parallel lines have the same gradient, here 5; a different c just moves it up the page.

Worked example

The answers

  • y equals three x minus two.
  • Twelve over four, so the gradient is three.
  • x is seven, or x is minus two.
  • Two answers: seven and minus seven.
Try it

Graphing Lines

Full screen · PhET Interactive Simulations, University of Colorado Boulder, CC BY 4.0

Challenge

1

The points A(−1, 2), B(3, 10) and C(k, 20) all lie on the same straight line. Find k, and find where the line crosses the x-axis.

Hint

Use A and B to get the gradient, then find c. Every point on the line fits y = mx + c, including C.

Answer

k = 8, and the line crosses the x-axis at (−2, 0)

Step by step
  1. From A to B the line goes up 10 − 2 = 8 and across 3 − (−1) = 4, so m = 8 ÷ 4 = 2.
  2. Put A into y = 2x + c: 2 = 2 × (−1) + c, so c = 4. The line is y = 2x + 4.
  3. C is on the line, so 20 = 2k + 4. That gives 2k = 16 and k = 8.
  4. On the x-axis y = 0, so 0 = 2x + 4 and x = −2.
Full working
  1. m = (10 − 2) ÷ (3 − (−1)) = 8 ÷ 4 = 2rise over run, same order top and bottom
  2. 2 = 2 × (−1) + c, so c = 4put A in
  3. y = 2x + 4the line
  4. 20 = 2k + 4, so 2k = 16, k = 8C is on the line
  5. 0 = 2x + 4, so x = −2y = 0 on the x-axis
  6. k = 8; crosses the x-axis at (−2, 0)
2

Plumber A charges a $60 call-out fee plus $45 an hour. Plumber B charges a $90 call-out fee plus $35 an hour. Write each cost as a straight-line rule, find the job lengths for which B is cheaper, and say how much B saves on a 7-hour job.

Hint

The call-out fee is c and the hourly rate is m. B is cheaper when B's cost is less than A's: write that as an inequality and solve it.

Answer

A: y = 45x + 60, B: y = 35x + 90. B is cheaper for jobs longer than 3 hours; on a 7-hour job B saves $40.

Step by step
  1. The rate is the gradient and the call-out fee is the starting height, so A is y = 45x + 60 and B is y = 35x + 90.
  2. B is cheaper when 35x + 90 < 45x + 60.
  3. Take 35x and 60 off both sides: 30 < 10x, so x > 3.
  4. At exactly 3 hours both cost $195, which is where the two lines cross.
  5. For 7 hours: A costs 315 + 60 = $375 and B costs 245 + 90 = $335. B saves $40.
Full working
  1. A: y = 45x + 60, B: y = 35x + 90m is the rate, c is the call-out fee
  2. 35x + 90 < 45x + 60B cheaper than A
  3. 30 < 10xtake 35x and 60 off both sides
  4. x > 3divide by 10, a positive number, so no flip
  5. A: 45 × 7 + 60 = 375, B: 35 × 7 + 90 = 335the 7-hour job
  6. B cheaper for more than 3 hours; saves $40 on 7 hours
3

Consider the equation (x − 2)² = k − 5. For which values of k does it have two solutions, exactly one solution, or no solutions? Then solve it when k = 21.

Hint

Think of (x − 2) as one number. A square can be positive, zero, or never negative. What does that say about k − 5?

Answer

Two solutions if k > 5, one if k = 5 (x = 2), none if k < 5. When k = 21: x = 6 or x = −2.

Step by step
  1. Treat x − 2 as a single number being squared. A square is never negative.
  2. If k − 5 is positive (k > 5), x − 2 has two square roots, one of each sign: two solutions.
  3. If k − 5 = 0 (k = 5), then x − 2 = 0, so x = 2 is the only solution.
  4. If k − 5 is negative (k < 5), nothing squares to it, so there are no solutions.
  5. When k = 21: (x − 2)² = 16, so x − 2 = 4 or x − 2 = −4. That gives x = 6 or x = −2.
Full working
  1. (x − 2)² = k − 5like x² = a, with x − 2 in place of x
  2. k − 5 > 0, so k > 5two solutions
  3. k − 5 = 0, so k = 5one solution, x = 2
  4. k − 5 < 0, so k < 5no solutions, a square is never negative
  5. k = 21: (x − 2)² = 16, so x − 2 = 4 or −4both square roots of 16
  6. x = 6 or x = −2

More challenge problems

Practice

Practise this

Worksheet with answersWithout answersDownload PDF
Report a mistake

More in Algebra