---
marp: true
theme: default
html: true
---

# Change a and b in a line

Year 9 Algebra · Changing the rule

<!-- Speaker note: Students change a and b in y = ax + b and say what each controls (AC9M9A06, node 1). About 40 minutes (Predict and Run 8 min · Investigate 12 min · Modify 8 min · Practise and Make 12 min). -->

---

## Today

- I can say what a and b do to a line.
- I can choose a and b to match a situation.
- I can compare two linear rules.

<!-- Speaker note: Before class: Students need Gradient. The one idea: b is where the line starts; a is how steep. Change one at a time. The phone plans are made up for the task. Teacher: Paper: the equal-cost question in Make is worked on paper first. -->

---

## Why it matters

> Two phone plans, same shape of rule. What does each number in the rule actually control?

<!-- Speaker note: A rule like $y = ax + b$ has two numbers you can change. Knowing which does what lets you shape a line to fit a situation. -->

---

<span style="background:#dbeafe; color:#1a1a1a; border:1.5px solid #3b82f6; padding:6px 18px; border-radius:8px; font-size:1em; font-weight:500;">💬 Discussion</span>

## Predict

**A phone plan costs $y = 3x + 7$ dollars for $x$ gigabytes. If the monthly fee goes from 7 to 12 dollars (the rule becomes $y = 3x + 12$), what happens to the graph?**

- The line gets flatter
- The whole line moves up 5, and stays just as steep
- The line gets steeper
- The line moves right 5

<!-- Speaker note: What happens: The whole line moves up 5 and keeps the same steepness. The fee is the number added on at the start, so it sets where the line begins on the y-axis. Take two or three predictions before anyone runs it. -->

<!-- Speaker note: Teacher: show of hands before the board. -->

---

<span style="background:#fef3c7; color:#1a1a1a; border:1.5px solid #f59e0b; padding:6px 18px; border-radius:8px; font-size:1em; font-weight:500;">✍️ Activity</span>

## Try it

{{embed: https://tutorials.learningwaypoints.com/_playground-board/index.html?id=deck%2Fmaths%2Falgebra-9%2Fvary-line%2Fstep-2&code=widget%3A+graph%0Ax%3A+-8%2C+8%0Ay%3A+-5%2C+5%0Agrid%3A+1%2C+1%0Aaxes%3A+x%2C+y%0Aslider+a%3A+-3%2C+3%2C+1%2C+0.5%0Aslider+b%3A+-4%2C+4%2C+0%2C+1%0Aplot%3A+y+%3D+a+x+%2B+b%0A&fresh=1}}

[Open this step in the tutorial](https://tutorials.learningwaypoints.com/maths/algebra-9/vary-line/?full=step-2#step-2)

<!-- Speaker note:  -->

<style scoped>pre, marp-pre { font-size: 0.5em; line-height: 1.25; } section { font-size: 25px; }</style>

---

<span style="background:#dcfce7; color:#1a1a1a; border:1.5px solid #22c55e; padding:6px 18px; border-radius:8px; font-size:1em; font-weight:500;">✅ Check</span>

## What happened?

* The whole line moves up 5 and keeps the same steepness. The fee is the number added on at the start, so it sets where the line begins on the y-axis.

<!-- Speaker note: Reveal after running. Ask who predicted it, and what made them think so. -->

---

<span style="background:#dbeafe; color:#1a1a1a; border:1.5px solid #3b82f6; padding:6px 18px; border-radius:8px; font-size:1em; font-weight:500;">💬 Discussion</span>

## What b does

$$y = 3x + 7$$

1) $x = 0 \Rightarrow y = 7$ — Where the line starts.
2) $x = 1 \Rightarrow y = 10$ — 3 more for each gigabyte.
3) $y = 3x + 12$ — Raise b by 5.
4) $x = 0 \Rightarrow y = 12$ — The start moves up 5, every point moves up 5.
5) $y = 5x + 7$ — Raise a by 2 instead.
6) $x = 0 \Rightarrow y = 7$ — The start stays; the line is steeper.

<!-- Speaker note: Model this live on the board before revealing anything: write each line and say why, pausing to ask the class what comes next. Then click to reveal the lines and compare. Script. Start: write y = 3x + 7 and say "The rule: price per gigabyte 3, fee 7." Line 1: write x = 0 y = 7 and say "Where the line starts." Line 2: write x = 1 y = 10 and say "3 more for each gigabyte." Line 3: write y = 3x + 12 and say "Raise b by 5." Line 4: write x = 0 y = 12 and say "The start moves up 5, every point moves up 5." Line 5: write y = 5x + 7 and say "Raise a by 2 instead." Line 6: write x = 0 y = 7 and say "The start stays; the line is steeper." -->

<style scoped>pre, marp-pre { font-size: 0.5em; line-height: 1.25; } section { font-size: 24px; }</style>

---

<span style="background:#dcfce7; color:#1a1a1a; border:1.5px solid #22c55e; padding:6px 18px; border-radius:8px; font-size:1em; font-weight:500;">✅ Check</span>

## What b does

**For $y = 3x + 7$, what is $y$ when $x = 0$ (no gigabytes used)?**

* Answer: 7

<!-- Speaker note: 3 × 0 + 7 = 7 dollars: the monthly fee, where the line starts. -->

---

<span style="background:#dcfce7; color:#1a1a1a; border:1.5px solid #22c55e; padding:6px 18px; border-radius:8px; font-size:1em; font-weight:500;">✅ Check</span>

## What a does

**In $y = 3x + 7$, what does the $3$ tell you about the graph?**

- The line crosses the x-axis at 3
- y rises by 3 for every 1 across: the steepness
- y is always 3
- The line crosses the y-axis at 3

* Answer: y rises by 3 for every 1 across: the steepness

<!-- Speaker note: The number multiplying x is the gradient: how much y goes up for each 1 across. -->

---

<span style="background:#dcfce7; color:#1a1a1a; border:1.5px solid #22c55e; padding:6px 18px; border-radius:8px; font-size:1em; font-weight:500;">✅ Check</span>

## Find the mistake

**Jo describes what happens when a changes. Click the line where her working goes wrong.**

```
 1  The rule is y = ax + b.
 2  Changing b moves the line up or down.
 3  Changing a moves where the line starts.
 4  So to move the start, I change a.
```

* Answer: line 3

<!-- Speaker note: Line 3: it is b, not a, that moves where the line starts. Changing a tilts the line. -->

---

<span style="background:#fef3c7; color:#1a1a1a; border:1.5px solid #f59e0b; padding:6px 18px; border-radius:8px; font-size:1em; font-weight:500;">✍️ Activity</span>

## Shape the line



- **The fee:** 
- **The price per gigabyte:** 
- **Which is cheaper:** 

<!-- Speaker note: What this step is for: Choosing a and b to hit a target shows each number is a separate control. Hints, in order: Which number sets where the line starts? / Set b equal to the start value. / The line goes up by a for each 1 across. / Go from 14 to 22 in 2 steps. / Compare the two rules at x = 0. / Compare the two rules at x = 4. For students who need more support: A printed table of x and y for each plan. For early finishers: Write a rule for a plan that beats both after 5 gigabytes. The hard part, on purpose: Mixing up which number moves the start and which tilts the line. Ask: what is y when x is 0? When students get stuck: A student says a moves the line up. Ask: What is y when x is 0? Fix: It is b. So b moves the start. -->

---

<span style="background:#dcfce7; color:#1a1a1a; border:1.5px solid #22c55e; padding:6px 18px; border-radius:8px; font-size:1em; font-weight:500;">✅ Check</span>

## Starting point

**For $y = 4x + 9$, where does the line cross the y-axis?**

* Answer: 9

<!-- Speaker note: x = 0 gives y = 9. -->

---

<span style="background:#dcfce7; color:#1a1a1a; border:1.5px solid #22c55e; padding:6px 18px; border-radius:8px; font-size:1em; font-weight:500;">✅ Check</span>

## Steepness

**For $y = 4x + 9$, by how much does y rise for each 1 across?**

* Answer: 4

<!-- Speaker note: The number multiplying x is 4. -->

---

<span style="background:#dcfce7; color:#1a1a1a; border:1.5px solid #22c55e; padding:6px 18px; border-radius:8px; font-size:1em; font-weight:500;">✅ Check</span>

## Review

**Review: solve $5x - 3 = 12$.**

* Answer: 3

<!-- Speaker note: 5x = 15, so x = 3. -->

---

<span style="background:#fef3c7; color:#1a1a1a; border:1.5px solid #f59e0b; padding:6px 18px; border-radius:8px; font-size:1em; font-weight:500;">✍️ Activity</span>

## Make: design a plan



- **Same cost:** 
- **The heavy user:** These plans are made up for the task. **Also used in** - **Subscriptions.** A fee plus a price per use is the same shape for gyms, taxis and streaming. - **Scie

<!-- Speaker note: What this step is for: Returning to the phone plans: choose a and b so one plan beats another past a given point. Hints, in order: Plan A costs 3x + 7. Plan B costs 5x + 1. / Set them equal: 3x + 7 = 5x + 1. -->

---

<span style="background:#dcfce7; color:#1a1a1a; border:1.5px solid #22c55e; padding:6px 18px; border-radius:8px; font-size:1em; font-weight:500;">✅ Check</span>

## Exit ticket

**In y = 2x + 5, what is y when x = 0?**

* 5: the line starts at 5.

<!-- Speaker note: Students answer on paper or a mini whiteboard before the reveal. Anyone who cannot answer needs the main idea again next lesson. Where this leads: Continues AC9M9A06 node 1. Where it leads: Changing the numbers in a quadratic rule. -->
