Skip to content
Family Table Math
Auto

Comparing Linear Relations

Which phone plan is cheaper? When will your little brother catch up to you on his bike? Questions like these compare two linear relations. The key is to find the moment when they’re equal: before that point one relation is ahead, and after it the other one is. You can find that point with a table, a graph, or a little algebra.

Suppose two relations are written as y=ax+by = ax + b and y=cx+dy = cx + d. The most important point is where they have the same yy-value for the same xx-value. On a graph, that’s where the two lines cross: the point of intersection.

In a real situation, the point of intersection tells you when two plans cost the same, when two people are at the same place, or when two amounts of money are equal.

Make a table for each relation using the same xx-values, side by side. Look for the xx-value where the yy-values match. Watch which relation is bigger before and after that point.

Tables are quick, but they only show the values you calculate. If the relations are equal at x=4.5x = 4.5 and you only checked whole numbers, you’ll see them “switch places” between 44 and 55 without hitting the exact point.

Graph both lines on the same grid. The point where they cross is the point of intersection. On one side of it, one line is lower; on the other side, the other line is lower. A graph shows the whole picture at a glance, but reading the exact point can be tricky, so check it with algebra.

Comparing with algebra: the comparison method

Section titled “Comparing with algebra: the comparison method”

If both relations are solved for yy, the yy-values are equal at the intersection, so set the two expressions equal to each other:

ax+b=cx+dax + b = cx + d
  1. Solve this equation for xx (see solving linear equations).
  2. Substitute that xx into either equation to find yy.
  3. Check the point in the other equation.
  4. Say what the point means in the situation.

If two relations have the same rate of change but different initial values, their lines are parallel. They never cross, so the relations are never equal: the one that starts higher stays higher forever. When you try the comparison method, the xx-terms cancel and you’re left with something false, like 40=2540 = 25.

If they have the same rate of change and the same initial value, they’re really the same relation, and the lines lie on top of each other.

In Grade 10 you’ll study this in more depth as solving linear systems by graphing.

Example 1: Two phone plans, with a table and a graph

Section titled “Example 1: Two phone plans, with a table and a graph”

Plan A costs $25 a month plus $5 per GB of data. Plan B costs $10 a month plus $8 per GB. Which plan is cheaper, and when?

Solution. Let gg be the data used (in GB) and CC the monthly cost (in dollars).

Plan A: C=5g+25Plan B: C=8g+10\text{Plan A: } C = 5g + 25 \qquad \text{Plan B: } C = 8g + 10

Make a table:

gg (GB)0011223344556677
Plan A ($)25253030353540404545505055556060
Plan B ($)10101818262634344242505058586666

Both plans cost $50 at 55 GB. Before that, Plan B is cheaper; after that, Plan A is cheaper. The graph shows the same thing.

Plan A, C = 5g + 25, and Plan B, C = 8g + 10, cross at (5, 50). Plan B is cheaper below 5 GB and Plan A is cheaper above 5 GB 1 2 3 4 5 6 7 8 9 10 20 30 40 50 60 70 80 90 0 (5, 50) Plan A: C = 5g + 25 Plan B: C = 8g + 10 B is cheaper A is cheaper data used, g (GB) monthly cost, C ($)
The plans cost the same at (5,50)(5, 50). Plan B starts cheaper, but its higher rate of change makes it more expensive after 55 GB.

Answer: Plan B is cheaper if you use less than 55 GB a month. Plan A is cheaper if you use more than 55 GB. At exactly 55 GB, both cost $50.

Example 2: Two gyms, with the comparison method

Section titled “Example 2: Two gyms, with the comparison method”

Gym X charges a $60 joining fee plus $25 per month. Gym Y has no joining fee but charges $35 per month. After how many months is the total cost the same? Which gym is cheaper for a year?

Solution. Let mm be the number of months and CC the total cost in dollars.

Gym X: C=25m+60Gym Y: C=35m\text{Gym X: } C = 25m + 60 \qquad \text{Gym Y: } C = 35m

Set the expressions equal and solve:

25m+60=35m60=10msubtract 25m6=mdivide by 10\begin{aligned} 25m + 60 &= 35m \\ 60 &= 10m && \text{subtract } 25m \\ 6 &= m && \text{divide by } 10 \end{aligned}

Find the cost: C=35(6)=210C = 35(6) = 210. Check in the other equation: 25(6)+60=150+60=21025(6) + 60 = 150 + 60 = 210. ✓

The two gyms cost the same, $210, after 66 months. Before that, Gym Y is cheaper (no joining fee). After that, Gym X is cheaper (lower monthly rate).

For a year (m=12m = 12): Gym X costs 25(12)+60=36025(12) + 60 = 360 dollars and Gym Y costs 35(12)=42035(12) = 420 dollars. Gym X is cheaper by $60.

Lin is walking to the library at 8080 m per minute, and she is already 600600 m from home. At that moment, her brother leaves home on his bike, riding the same way at 200200 m per minute. When and where does he catch up?

Solution. Let tt be the time in minutes and dd the distance from home in metres.

Lin: d=80t+600Brother: d=200t\text{Lin: } d = 80t + 600 \qquad \text{Brother: } d = 200t

He catches up when they are the same distance from home:

200t=80t+600120t=600subtract 80tt=5divide by 120\begin{aligned} 200t &= 80t + 600 \\ 120t &= 600 && \text{subtract } 80t \\ t &= 5 && \text{divide by } 120 \end{aligned}

Distance: d=200(5)=1000d = 200(5) = 1000. Check: 80(5)+600=400+600=100080(5) + 600 = 400 + 600 = 1000. ✓

He catches up after 55 minutes, 10001000 m (or 11 km) from home.

Lin's line d = 80t + 600 starts at 600 m; her brother's line d = 200t starts at 0. They cross at (5, 1000) 1 2 3 4 5 6 7 200 400 600 800 1000 1200 1400 1600 0 (5, 1000) Lin: d = 80t + 600 brother: d = 200t time, t (min) distance from home, d (m)
Lin has a 600600 m head start, but her brother gains 120120 m every minute, so he catches up at (5,1000)(5, 1000).

Here’s another way to see it: the brother gains 200−80=120200 - 80 = 120 m on Lin every minute. To close a 600600 m gap takes 600÷120=5600 \div 120 = 5 minutes.

Ana has $40 saved and adds $15 every week. Ben has $25 saved and also adds $15 every week. When will they have the same amount?

Solution. Let ww be the number of weeks and SS the savings in dollars.

Ana: S=15w+40Ben: S=15w+25\text{Ana: } S = 15w + 40 \qquad \text{Ben: } S = 15w + 25

Try the comparison method:

15w+40=15w+2540=25subtract 15w\begin{aligned} 15w + 40 &= 15w + 25 \\ 40 &= 25 && \text{subtract } 15w \end{aligned}

That’s false, no matter what ww is. So there’s no point of intersection: they will never have the same amount. Both save at the same rate, so their lines are parallel, and Ana stays $15 ahead every single week.

Stopping at the point of intersection. "g=5g = 5" isn’t a complete answer to “which plan is cheaper?”. Say what happens on each side of the intersection: Plan B is cheaper below 55 GB, Plan A above.

Assuming the lower rate is always cheaper. Plan A has the lower rate ($5 per GB vs $8), but it’s more expensive for small amounts of data because of its higher starting fee. You need both the rate and the initial value.

Forgetting to find yy. After solving for xx, substitute back to find yy (the cost, the distance, the amount). Then check it in the other equation to catch mistakes.

Trusting a rough graph too much. If the lines cross at (4.6,37.8)(4.6, 37.8), a hand-drawn graph might suggest (5,38)(5, 38). Use the graph to see the big picture, and use algebra for the exact point.

Thinking “no solution” means you made a mistake. If the xx-terms cancel and you get a false statement like 40=2540 = 25, the lines are parallel and the relations are never equal. That’s a real answer.

Mixing units. If one plan charges per minute and another per hour, or one price is in cents and the other in dollars, convert first so both relations use the same units.

1. (Warm-up) Use the comparison method to find the point of intersection of y=3x+4y = 3x + 4 and y=x+10y = x + 10.

Solution3x+4=x+102x=6x=3\begin{aligned} 3x + 4 &= x + 10 \\ 2x &= 6 \\ x &= 3 \end{aligned}

Then y=3+10=13y = 3 + 10 = 13. Check: 3(3)+4=133(3) + 4 = 13. ✓ The point of intersection is (3,13)(3, 13).

2. (Warm-up) Make a table of values for y=2x+1y = 2x + 1 and y=4x−5y = 4x - 5 for x=0,1,2,3,4x = 0, 1, 2, 3, 4. Where do the lines meet?

Solution
xx0011223344
y=2x+1y = 2x + 11133557799
y=4x−5y = 4x - 5−5-5−1-133771111

The yy-values match at x=3x = 3, so the lines meet at (3,7)(3, 7).

3. (Warm-up) Will the lines y=6x+2y = 6x + 2 and y=6x−1y = 6x - 1 ever meet? Explain.

Solution

No. They have the same slope (66) but different yy-intercepts (22 and −1-1), so they’re parallel. The first line is always 33 units above the second.

4. (Core) Bowling Alley A charges $4 for shoes plus $6 per game. Bowling Alley B includes shoes but charges $8 per game.

  • (a) For how many games do they cost the same? What is that cost?
  • (b) Which is cheaper for 55 games?
Solution

(a) Let gg be the number of games. A: C=6g+4C = 6g + 4. B: C=8gC = 8g.

6g+4=8g⇒4=2g⇒g=26g + 4 = 8g \quad\Rightarrow\quad 4 = 2g \quad\Rightarrow\quad g = 2

Cost: 8(2)=168(2) = 16. Check: 6(2)+4=166(2) + 4 = 16. ✓ They both cost $16 for 22 games.

(b) A: 6(5)+4=346(5) + 4 = 34 dollars. B: 8(5)=408(5) = 40 dollars. Alley A is cheaper for 55 games.

5. (Core) Car rental company P charges $45 per day plus $0.20 per kilometre. Company Q charges $30 per day plus $0.35 per kilometre. For a one-day rental:

  • (a) At what distance do they cost the same?
  • (b) Which company is cheaper for a 250250 km trip, and by how much?
Solution

(a) Let kk be the distance in kilometres. P: C=0.20k+45C = 0.20k + 45. Q: C=0.35k+30C = 0.35k + 30.

0.20k+45=0.35k+3015=0.15kk=100\begin{aligned} 0.20k + 45 &= 0.35k + 30 \\ 15 &= 0.15k \\ k &= 100 \end{aligned}

Cost: 0.20(100)+45=650.20(100) + 45 = 65. Check: 0.35(100)+30=650.35(100) + 30 = 65. ✓ They both cost $65 at 100100 km.

(b) P: 0.20(250)+45=50+45=950.20(250) + 45 = 50 + 45 = 95 dollars. Q: 0.35(250)+30=87.5+30=117.50.35(250) + 30 = 87.5 + 30 = 117.5 dollars. Company P is cheaper by 117.50−95=22.50117.50 - 95 = 22.50, so by $22.50.

6. (Core) Candle A is 3030 cm tall and burns down 22 cm per hour. Candle B is 2020 cm tall and burns down 11 cm per hour. They’re lit at the same time. When are they the same height, and how tall are they then?

Solution

Let tt be the time in hours and hh the height in centimetres. A: h=30−2th = 30 - 2t. B: h=20−th = 20 - t.

30−2t=20−t10=tadd 2t, subtract 20\begin{aligned} 30 - 2t &= 20 - t \\ 10 &= t && \text{add } 2t \text{, subtract } 20 \end{aligned}

Height: 20−10=1020 - 10 = 10. Check: 30−2(10)=1030 - 2(10) = 10. ✓ After 1010 hours, both candles are 1010 cm tall. (After that, Candle A is shorter, and it burns out first, at 1515 hours. Candle B lasts 2020 hours.)

7. (Core) Sara runs at 44 m/s. Her younger brother runs at 2.52.5 m/s, and she gives him a 6060 m head start in a 150150 m race.

  • (a) If the race were long enough, when and where would Sara catch him?
  • (b) Who wins the 150150 m race?
Solution

(a) Let tt be the time in seconds and dd the distance from the start line in metres. Sara: d=4td = 4t. Brother: d=2.5t+60d = 2.5t + 60.

4t=2.5t+60⇒1.5t=60⇒t=404t = 2.5t + 60 \quad\Rightarrow\quad 1.5t = 60 \quad\Rightarrow\quad t = 40

d=4(40)=160d = 4(40) = 160. Check: 2.5(40)+60=1602.5(40) + 60 = 160. ✓ Sara would catch him after 4040 s, 160160 m from the start.

(b) The catch-up point is at 160160 m, past the 150150 m finish line, so her brother wins. Check the finish times: Sara needs 150÷4=37.5150 \div 4 = 37.5 s. Her brother needs 2.5t+60=1502.5t + 60 = 150, so 2.5t=902.5t = 90 and t=36t = 36 s. He finishes first.

8. (Challenge)

  • (a) Find the value of bb so that y=3x+by = 3x + b and y=x+7y = x + 7 meet when x=2x = 2.
  • (b) Find the value of aa so that y=ax+1y = ax + 1 and y=4x−3y = 4x - 3 never meet.
Solution

(a) At x=2x = 2, the second line has y=2+7=9y = 2 + 7 = 9. The first line must also pass through (2,9)(2, 9):

9=3(2)+b⇒b=39 = 3(2) + b \quad\Rightarrow\quad b = 3

So b=3b = 3. Check: 3(2)+3=93(2) + 3 = 9. ✓

(b) The lines never meet if they’re parallel, which means the same slope with different yy-intercepts. The yy-intercepts are already different (11 and −3-3), so a=4a = 4.

9. (Challenge) Kai has $200 and spends $15 per week. Mia has $50 and saves $10 per week. After how many weeks will they have the same amount? How much will each have?

Solution

Let ww be the number of weeks and MM the money in dollars. Kai: M=200−15wM = 200 - 15w. Mia: M=50+10wM = 50 + 10w.

200−15w=50+10w150=25wadd 15w, subtract 50w=6\begin{aligned} 200 - 15w &= 50 + 10w \\ 150 &= 25w && \text{add } 15w \text{, subtract } 50 \\ w &= 6 \end{aligned}

Kai: 200−15(6)=200−90=110200 - 15(6) = 200 - 90 = 110. Mia: 50+10(6)=50+60=11050 + 10(6) = 50 + 60 = 110. ✓

After 66 weeks, they each have $110. The gap of $150 closes by 15+10=2515 + 10 = 25 dollars a week, and 150÷25=6150 \div 25 = 6.