You are choosing a phone plan. Plan A costs 30 dollars a month plus 5 dollars for each gigabyte (GB) of data. Plan B costs 45 dollars a month plus 2 dollars per GB. Plan A starts cheaper, but its cost climbs faster. So which is the better deal? The honest answer is "it depends on how much data you use", and math lets you say exactly where the answer flips. Each plan is a linear relation: Plan A is and Plan B is , where is the number of GB and is the monthly cost in dollars. Comparing them means finding the amount of data where they cost the same, and knowing which plan wins on each side of it.
Comparing with a table
List both costs for the same inputs and watch the gap. At 0 GB, Plan A is 15 dollars cheaper. Each extra GB adds 5 dollars to A but only 2 dollars to B, so A's lead shrinks by 3 dollars per GB. After GB the lead is gone.
| Data g (GB) | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|---|
| Plan A: 5g + 30 | 30 | 35 | 40 | 45 | 50 | 55 | 60 | 65 | 70 |
| Plan B: 2g + 45 | 45 | 47 | 49 | 51 | 53 | 55 | 57 | 59 | 61 |
| Cheaper plan | A | A | A | A | A | same | B | B | B |
Comparing with a graph
Graph both relations on the same axes. The point where the lines cross is the point of intersection. It is the one point that lies on both lines, so at that input both relations give the same output. Here it is : at 5 GB, both plans cost 55 dollars. To the left of it, Plan A's line is lower, so A is cheaper. To the right, Plan B's line is lower, so B is cheaper. A graph is quick and shows the whole story at a glance, but reading an intersection that falls between grid lines is only an estimate.
Solving with equations
For an exact answer, use the fact that at the intersection the two costs are equal. Set the two expressions equal to each other and solve the equation for , then substitute into either equation to get the cost. Substituting into the other equation as well is a free check: both must give the same value.
Lines that never meet, and lines that are the same
Two lines with different slopes cross at exactly one point. Two lines with the same slope but different -intercepts are parallel: they never meet, so one relation stays ahead by the same amount forever. For example, if two water tanks drain at 20 L per minute and one starts with 500 L while the other starts with 300 L, the first always holds 200 L more. Setting leads to , which is false, and that is how the algebra tells you there is no solution. If the lines have the same slope and the same -intercept, they are the same line, and every point is shared. Finally, check that an intersection makes sense in context: a crossing at a negative time or at 2.5 concert tickets may not be a real-world answer.
| Method | Good for | Watch out for |
|---|---|---|
| Table of values | Seeing the gap shrink or grow step by step | The crossing may fall between two rows |
| Graph | Seeing which option is lower everywhere at once | Reading a crossing between grid lines is only an estimate |
| Equations | An exact break-even value, even a decimal | Remember to find the shared value and to interpret both sides |