1D · LESSON 31

Gradient and y = mx + c

Interactive key guide

Casio fx-991EX calculator help

Guided examples on an illustrated fx-991EX keypad. This is not a full calculator. The fx-991CW uses a different layout.

Work out 3/4 + 1/8, then show the decimal.

Start in Calculate mode with natural textbook input. The stacked fraction key is not the ÷ key.

Step 1 of 12

Press the stacked fraction key to insert the first template.

fx-991EXScientific calculator
Display
▯

Reference: Casio user’s guide and fx-991EX quick start.

BIG QUESTION

How does one equation show both the starting cost and how fast it rises?

Imagine two taxi fares in Doha. Company A charges QAR 10 to start, then QAR 2 per kilometre. Company B charges QAR 4 per kilometre with no starting fee. At 3 km, B costs less. At 10 km, A costs less. The fares are made up for this lesson.

Company A’s fare is C = 2d + 10. Which number tells you how much one more kilometre adds? Which tells you the cost at zero kilometres? Make a prediction before you read on.

LEARNING GOALS

Learning goals

  • Find the gradient of a straight line from two points.
  • Identify the gradient and the coordinates of the y-intercept in y = mx + c.
  • Explain what gradient and intercept mean in a situation.
RETRIEVAL

Quick question

Three identical notebooks and a QAR 4 delivery charge cost QAR 25. Find one notebook’s price and verify the total.

Check your solution

Let p be the notebook price. 3p + 4 = 25, so p = 7. Check: 3 × 7 + 4 = QAR 25.

Revisit how a one-off charge differs from a repeated price when forming an equation. Setting up equations from a situation

BRING FORWARD

Connect to what you know

Starting at A(−2, 1), move to B(4, 7). What are the horizontal and vertical changes?

Check your thinking

The horizontal change is 4 − (−2) = 6 and the vertical change is 7 − 1 = 6.

If you used 4 + (−2), mark the start and finish on an axis. A change is finish minus start; keep the same point order on both axes.

In a coordinate pair (x, y), the first number tells you how far across to go and the second tells you how far up or down. A conversion graph uses the same scale throughout each axis. On a straight line, the same increase across gives the same change up or down.

Use signed coordinates to distinguish a position from a change. Coordinates in four quadrants and midpoints

Try another: From P(−3, 5) to Q(2, −5), find both changes.

Check your retry

Horizontal change 2 − (−3) = 5; vertical change −5 − 5 = −10.

I DO · EXPLANATION

I do: Watch the method

Gradient = change in y divided by change in x

Gradient describes how much y changes for each increase of one in x. Move from left to right so the change in x is positive. Subtract the two y-values in the same order as the two x-values, then divide the change in y by the change in x.

On a straight line, the increase across and the change in height grow in the same ratio. A larger triangle on the same line gives the same gradient. Descending lines have a negative gradient; horizontal lines have gradient zero. Vertical lines have no defined gradient because the change in x is zero.

In y = mx + c, m multiplies x. Increasing x by one therefore adds m to y. At x = 0, the mx term is zero, so y = c. That makes the point (0, c) the y-intercept.

WORKED EXAMPLE 1

Read the rise and run

Line y = 2x + 1. A dashed horizontal segment goes from (0, 1) to (3, 1) and a dashed vertical segment goes from (3, 1) to (3, 7).0123450246810(0, 1)(3, 7)Run 3Rise 6xy
The line rises 6 units while x increases by 3 units.
  1. Choose (0, 1) and (3, 7). Both are exactly on the line. Points far apart reduce the effect of a small reading error.

  2. Change in y = 7 − 1 = 6. Change in x = 3 − 0 = 3. Subtract coordinates in the same order.

  3. Gradient = 6 ÷ 3 = 2. The vertical change is 2 for every 1 across. Check: (4, 9) is one across and two up from (3, 7).

WORKED EXAMPLE 2

Read the equation

  1. In y = 3x + 5, the gradient is 3. For each extra 1 in x, the term 3x increases by 3.

  2. At x = 0, y = 3 × 0 + 5 = 5. The y-intercept is (0, 5). Every point on the y-axis has x-coordinate 0.

  3. In y = 4 − 2x, rewrite as y = −2x + 4. The gradient is −2 and the intercept is (0, 4). The line falls 2 for every 1 across.

WORKED EXAMPLE 3

Write the equation from the gradient and intercept

  1. The gradient is 6, so m = 6. This is the coefficient of x.

  2. The line crosses the y-axis at (0, 2), so c = 2. At x = 0, only the constant is left.

  3. Now write the equation. Check your intercept with x = 0.

    Show the step

    Write y = 6x + 2. Check: putting in x = 0 gives y = 2. Substitute the values of m and c into y = mx + c.

WORKED EXAMPLE 4

Compare the taxi fares

Distance in kilometres is on the horizontal axis and cost in riyals on the vertical axis. Company A starts at QAR 10, company B starts at zero, and the lines meet at 5 kilometres and QAR 20.0246810010203040(5, 20)Company ACompany BDistance / kmCost / QAR
B starts lower and rises faster. The fares meet at 5 km.

For A, start at (0, 10), then add QAR 2 for every kilometre. For B, start at (0, 0), then add QAR 4 per kilometre.

For a 3 km trip, A charges 10 + 2 × 3 = QAR 16; B charges 4 × 3 = QAR 12. At 10 km, A costs QAR 30 and B costs QAR 40. A’s smaller gradient is why it gets cheaper relative to B as the distance increases.

CHOOSE THE METHOD

Choose a comparison that tests the fare

Taxi A charges C = 3d + 8, with distance d in kilometres and cost C in riyals. Taxi B charges C = 5d.

Which fare has the steeper graph? Does that make it dearer for every journey? Choose distances that test the claim.

Check your method

B has gradient 5 rather than 3, so its cost rises faster per kilometre. But at 1 km, A costs QAR 11 and B QAR 5; at 5 km, A costs QAR 23 and B QAR 25. A larger gradient alone does not determine which fare is dearer because the starting charges differ.

WE DO · GUIDED PRACTICE

We do: Practise together

Try each one. Use a hint whenever you need it. Nothing here is marked.

Guided check 1

Work out the gradient of the line through (0, −1) and (2, 5).

Guided check 2

Write down the gradient and y-intercept of y = 7 − x.

Show hint 1

Put the x term first.

Show hint 2

The coefficient of −x is −1. For the intercept, use x = 0.

Check the reasoning

Gradient −1; y-intercept (0, 7).

Writing y = −x + 7 makes the negative gradient clear. Setting x to zero leaves 7.

Guided check 3

Write the equation of a line with gradient 4 and y-intercept (0, −3).

Show hint 1

Start with y = mx + c.

Show hint 2

Use m = 4 and c = −3.

Check the reasoning

y = 4x − 3

At zero, the equation gives −3. Increasing x by one increases y by four.

Guided check 4

Explain what the gradient means for Company B’s fare, C = 4d.

Show hint 1

d is measured in kilometres and C in riyals.

Show hint 2

Compare C at d = 1 and d = 2.

Check the reasoning

Each extra kilometre adds QAR 4.

The fare increases by QAR 4 when the distance increases by 1 km. The gradient is 4 QAR per kilometre, not QAR 4 in total.

Interactive investigation

Separate rate from starting price

Predict: If you remove the fixed fare, what changes on the graph: the starting value, the slope, or both?

COMMON MISTAKE

Test the claim

Divide the across change by the up change.

Check the reasoning

Find the change in y per unit of x, so divide the vertical change by the horizontal change. Use axis values, not squares, when the axis scales differ.

YOU DO · EXAM PRACTICE

You do: Exam practice

Answer these original practice questions on paper first. Mark your work with the mark scheme. Your answers are not saved.

BUILD THE METHOD

Scaffolded questions

Question 1 · 2 marks

Write down (a) the gradient and (b) the coordinates of the y-intercept of y = 5x − 2.

Show hint 1

Compare with y = mx + c.

Show hint 2

For (b), use x = 0 and write the answer as a pair.

Show the mark scheme
CreditMark
(a) 5.B1
(b) (0, −2).B1
Show the worked solution

The coefficient of x is 5. At x = 0 the equation gives y = −2, so the point is (0, −2).

Question 2 · 2 marks

Work out the gradient of line L. It passes through (0, 3) and (4, 11).

A straight line rises through the marked grid intersections (0, 3) and (4, 11), with x on the horizontal axis and y on the vertical axis.01234502468101214(0, 3)(4, 11)xy
Two labelled points on line L.

Interactive key guide

Casio fx-991EX calculator help

Show hint 1

Use the two marked grid intersections.

Show hint 2

The y-values increase by 11 − 3. Divide by 4 − 0.

Show the mark scheme
CreditMark
Uses (11 − 3) ÷ (4 − 0) or an equivalent ratio.M1
2.A1
Show the worked solution

The rise is 8 and the run is 4, so the gradient is 8 ÷ 4 = 2.

Question 3 · 2 marks

Write down the equation of the straight line with gradient −3 that passes through (0, 4).

Show hint 1

Use y = mx + c.

Show hint 2

The coefficient is negative; the constant is the y-coordinate when x = 0.

Show the mark scheme
CreditMark
An equation of the form y = mx + c with m = −3.B1
An equation of the form y = mx + c with c = 4.B1
Show the worked solution

Use m = −3 and c = 4: y = −3x + 4. At x = 0 it gives 4, and from there one step right gives y = 1.

Question 4 · 3 marks

Company A charges C = 2d + 10 and Company B charges C = 4d, where C is in QAR and d is in km. (a) Write down Company A’s starting fee. (b) Work out the distance at which the charges are equal.

Show hint 1

The starting fee is at d = 0.

Show hint 2

The fares are equal when 2d + 10 = 4d. Subtract 2d from both sides.

Show the mark scheme
CreditMark
(a) QAR 10.B1
(b) Sets up 2d + 10 = 4d or uses the intersection of the correct graphs.M1
5 km.A1
Show the worked solution

A starts at QAR 10. Equating the fares gives 10 = 2d, so d = 5 km. Check: both fares are QAR 20 at that distance.

APPLY IT

Challenging questions

Question 5 · 3 marks

Find the gradient and the coordinates of the y-intercept of 2y = 6x − 8.

Show hint 1

Divide every term by 2 to make y the subject.

Show the mark scheme
CreditMark
Divides all terms by 2, or uses an equivalent coordinate method.M1
Gradient 3.A1
Y-intercept (0, −4).A1
Show the worked solution

Divide by 2 to get y = 3x − 4. The gradient is 3. When x = 0, y = −4, so the intercept is (0, −4).

Question 6 · 3 marks

The line 3x + y = 12 crosses the x-axis at P. (a) Find the coordinates of P. (b) Find the gradient of the line.

Show hint 1

On the x-axis, y = 0. For the gradient, make y the subject.

Show the mark scheme
CreditMark
(a) (4, 0).B1
(b) Rearranges to y = −3x + 12 or uses the change between two correct points.M1
−3.A1
Show the worked solution

At y = 0, 3x = 12, so P is (4, 0). Rearranging gives y = −3x + 12, with a gradient of −3.

STRETCH AND CHALLENGE

Stretch

Question 7 · 4 marks

Two mobile plans charge C = 0.5g + 30 (P) or C = 2g + 6 (Q), where g is monthly data in GB and C is the monthly cost in QAR. (a) Explain what the 2 means. (b) Show that the costs are equal at 16 GB. (c) Without working out both costs, give a reason why one plan is cheaper at 20 GB. Name the plan.

Interactive key guide

Casio fx-991EX calculator help

Show hint 1

Once the plans meet, which cost rises more for each extra GB?

Show the mark scheme
CreditMark
(a) Plan Q adds QAR 2 per extra GB.B1
(b) Substitutes 16 in both equations.M1
Both give QAR 38.A1
(c) P. From the equal cost at 16 GB, Q rises faster than P.B1
Show the worked solution

The 2 is a rate of QAR 2 per GB. At 16 GB, P gives 0.5 × 16 + 30 = 38, and Q gives 2 × 16 + 6 = 38. At more than 16 GB the lines start from that same price, but Q rises faster. P is cheaper at 20 GB.

KEY TERMS

Key terms

Gradient
The change in y divided by the change in x.
Y-intercept
The point where the graph crosses the y-axis. Its x-coordinate is zero.
Coefficient
The number multiplying a variable. In −2x, the coefficient of x is −2.
Constant term
The term that does not change when x changes. In y = 3x + 5 the constant term is 5.
COMMON MISTAKES

Common misconceptions

Claim: The last number in y = 3x + 5 is the gradient.
Correction: Only the 3 multiplies x, so each extra 1 in x adds 3. The 5 is the value at x = 0.
Claim: The intercept in y = mx + c is on the x-axis.
Correction: At x = 0, the point lies on the y-axis. To find an x-intercept, instead set y = 0.
Claim: A graph that falls to the right has a positive gradient.
Correction: The change in x is positive but the change in y is negative, so the gradient is negative.
EXAM ADVICE

Exam advice

For “Write down”, give the requested value or coordinate pair directly. For “Work out”, show the two coordinate differences and the division. That calculation shows your method even if the arithmetic slips.

KEY IDEA

Summary

In C = 2d + 10, the 10 is the cost at zero kilometres. The 2 adds QAR 2 for every kilometre. B starts cheaper, but its cost rises twice as fast. The two graphs meet at 5 km; beyond that, A is cheaper. A straight-line equation uses its intercept to show where it starts on the y-axis and its gradient to show how it changes.

Return to your prediction. What would you keep, and what would you change?

Next, use a table of x-values to plot graphs. Equal changes in y signal a straight line; changing differences give you a reason to look for a curve.

Use the intercept to distinguish direct proportion from a price with a fixed charge. Direct proportion

Tick when you have worked through it. It shows on My progress and is saved on this device only.