MATH 150 · Mathematics for Economics I
Solving Linear Equations
Learn to isolate an unknown, rearrange economic formulas and solve break-even problems with steps you can check yourself.
Key takeaways
- An equation says two expressions are equal, and solving it means finding the values that make that statement true.
- You may do the same operation to both sides of an equation, as long as you never divide by zero.
- To isolate an unknown, undo the operations around it, usually clearing additions and subtractions before multiplications.
- Economic formulas can be rearranged to solve for any one variable, which often answers a new question for free.
- Always substitute your answer back into the original equation to catch errors.
Omar wants to sell hot cocoa at the winter market. The stall costs $120 for the day. Each cup costs him $1 in cocoa, milk and a paper cup, and he plans to charge $4.
His little sister asks the only question that matters: "How many cups before you stop losing money?"
Omar could guess. Ten cups? He would still be deep in the hole. A hundred? He would be well ahead. He could keep guessing until he hits it, like a game of hot and cold. Or he could write one equation and walk straight to the answer: 40 cups.
Solving equations is the walk-straight-there skill. You will use it to find market prices, break-even points, tax effects and much more.
An equation is a balance
An equation is a statement that two expressions are equal. An expression is a bundle of numbers, variables and operations, such as 4x or 120 + x. Add an equals sign between two of them and you have made a claim.
Picture an old-fashioned balance scale. The left pan and the right pan weigh the same. If you add a five-pound bag to the left, the scale tips. Add the same bag to the right, and balance returns. That is the whole rulebook.
You may:
- add the same amount to both sides,
- subtract the same amount from both sides,
- multiply both sides by the same number (not zero, which would wipe out the information),
- divide both sides by the same number (never zero, which is not allowed at all).
The goal is to get the unknown alone on one side. The unknown is the variable whose value you want. Whatever sits on the other side is your answer, called the solution.
An equation is linear when the unknown appears only to the first power. You will see x and 3x and x/2, but no x² and no x multiplied by itself. It earns the name because its graph is a straight line.
Why not just guess?
Guessing works when numbers are small and friendly. Omar could try 10 cups, then 50, then 35, and close in on the answer. But suppose the stall cost $437 and each cup earned $2.85. Guessing would take a while, and you might settle for "close enough."
Solving also tells you things guessing cannot. It shows whether there is exactly one answer, many answers or none. It shows how the answer depends on each number in the story. If the stall fee doubles, you can see at once that the break-even quantity doubles too, as long as the price and cost per cup stay put. A guess gives you one point. An equation gives you the machinery that produced it.
It helps to say each step aloud in plain words. "I have seven extra on this side, so I take seven off both sides." If you cannot say why a step is allowed, that is usually the step with the mistake in it.
Peeling the layers
Think of the unknown as wrapped in layers, like a gift. Start with x. Multiply by 3. Then add 7. You get 3x + 7. To unwrap, undo the steps in reverse order: first remove the 7, then remove the 3.
3x + 7 = 31
3x = 24 (subtract 7 from both sides)
x = 8 (divide both sides by 3)
Check: 3 × 8 + 7 = 31 Two words in that routine need defining. A coefficient is the number multiplying a variable, like the 3 in 3x. Like terms are pieces with the same variable part, which you can combine: 5x + 2x = 7x.
Parentheses and the distributive rule
Parentheses mean "treat this as a package." To open the package, multiply every item inside by the number outside. This is the distributive rule.
5(x − 2) = 3x + 8
5x − 10 = 3x + 8 (distribute the 5)
2x − 10 = 8 (subtract 3x)
2x = 18 (add 10)
x = 9 (divide by 2)
Check: left 5(9 − 2) = 35, right 3×9 + 8 = 35 Fractions
When fractions clutter the page, multiply both sides by a number that all the bottoms divide into.
x/2 + x/3 = 10
Multiply every term by 6: 3x + 2x = 60
5x = 60
x = 12
Check: 6 + 4 = 10 A worked example: Omar's break-even point
A break-even point is the quantity at which money coming in equals money going out. Below it you lose money. Above it you gain.
Let q be the number of cups.
- Total revenue is the money taken in: 4q.
- Fixed cost is the cost you pay no matter how many you sell: $120 for the stall.
- Variable cost rises with each unit: $1 per cup, so 1q.
- Total cost is fixed plus variable: 120 + q.
Set revenue equal to cost:
4q = 120 + q
3q = 120 (subtract q from both sides)
q = 40 Check it. Revenue at 40 cups is $160. Cost is 120 + 40 = $160. They match.
Left of the crossing, cost is above revenue. Right of it, revenue is above cost.
There is a nice shortcut hiding here. Each cup brings in $4 and costs $1, so it contributes $3 toward the stall fee. And 120 / 3 = 40. The algebra found that $3 for you when you subtracted q.
Now change the question. Omar wants to earn $150 for the day. Earnings are revenue minus cost:
4q − (120 + q) = 150
4q − 120 − q = 150 (the minus sign hits both terms)
3q = 270
q = 90 Ninety cups. If the market gets only 70 visitors who like cocoa, he knows early that the target is a stretch.
What the answer tells you
An answer is the start of a conversation. Omar now knows he needs 90 cups to earn $150. He can turn that into questions he can act on. The market is open for six hours, so 90 cups means 15 an hour, or one every four minutes. Can his single kettle keep up? If not, the plan needs a second kettle, which raises the fixed cost, which changes the equation.
He can also test the price. At $5 a cup, each sale contributes $4, and the target needs (150 + 120) / 4 = 67.5 cups. Nobody buys half a cup, so he must sell 68. Round up when you need to reach a target, because 67 cups would leave him $2 short: 67 × 4 − 120 = 148.
Of course, a higher price may bring fewer buyers. The equation answers how many he needs, not how many will show up. For that second question he needs a demand relationship, and putting the two together is exactly what economists do.
Rearranging formulas
Often you have a formula with several letters and want to solve for a different one. Treat the other letters as if they were numbers.
Profit π (the Greek letter pi, used by economists for profit, not 3.14 here) is:
π = pq − cq − F where p is price, c is cost per unit and F is fixed cost. Suppose you want the quantity that delivers a chosen profit.
π + F = pq − cq (add F to both sides)
π + F = (p − c)q (pull out the common q)
q = (π + F) / (p − c) (divide both sides by p − c) Pulling a shared factor out of several terms is called factoring. Test the result with Omar: π = 150, F = 120, p = 4, c = 1. Then q = 270 / 3 = 90. It matches.
One general formula now answers every version of the question. It also warns you: if p equals c, the bottom is zero, and no quantity works. A cup that earns nothing cannot pay for a stall.
You can also flip a demand relationship. If q = 100 − 10p, then 10p = 100 − q, so p = 10 − q/10. This second form is called inverse demand, and it is the version you usually graph. See lines, slopes and intercepts for what the 10 and the 1/10 mean.
Two unknown sides: comparing plans
Many choices come down to the question, "At what quantity are these two options equal?" Omar is offered a second deal. Instead of paying $120 flat, he can pay $30 for the day plus $1.50 to the market organizer for every cup sold. Which deal is better?
Write the cost of each, including the $1 of ingredients per cup.
- Flat deal: 120 + q
- Per-cup deal: 30 + 2.5q
Set them equal and solve.
120 + q = 30 + 2.5q
90 = 1.5q
q = 60 At 60 cups the two deals cost the same, $180. Now test one point on each side. At 40 cups, the flat deal costs $160 and the per-cup deal costs $130, so per-cup wins. At 80 cups, the flat deal costs $200 and the per-cup deal costs $230, so flat wins.
The solution is a tipping point. It does not say which deal to pick. It says what you need to forecast in order to pick. If Omar expects a slow, rainy day, the per-cup deal protects him. If he expects a crowd, the flat fee is the better buy.
Percent problems become equations
Many word problems from the percentages lesson are linear equations in disguise. Suppose Omar's total bill, including an assumed 8% sales tax, is $54. What was the price before tax?
x + 0.08x = 54
1.08x = 54
x = 50 Translating words into an equation is half the battle. A method that works:
- Name the unknown with a letter and write down its unit.
- Write each quantity in the story using that letter.
- Find the sentence that says two things are equal.
- Solve, check, and answer in a full sentence with units.
The common mistake: losing a sign or half a side
Three slips cause most wrong answers.
Forgetting to distribute a minus sign. In 4q − (120 + q), the result is 4q − 120 − q. Writing 4q − 120 + q gives 5q = 270, or q = 54. Check it: 4 × 54 − (120 + 54) = 216 − 174 = 42, not 150. The check catches it.
Operating on only part of a side. Dividing 3x + 6 = 21 by 3 gives x + 2 = 7, so x = 5. Writing x + 6 = 7 forgets to divide the 6.
Dividing by something that might be zero. From x × (x − 4) = 0 you cannot just divide by x, or you throw away the solution x = 0.
Sometimes the unknown vanishes. If you reach 5 = 5, every value works. If you reach 5 = 8, no value works. In a market model, "no solution" may be telling you that two lines are parallel and never meet.
That last box matters. Algebra can hand you q = −40 without blushing. It is your job to notice that nobody sells minus forty cups.
Words to know
Equation a statement that two expressions have the same value.
Solution a value of the unknown that makes an equation true.
Linear equation an equation in which the unknown appears only to the first power.
Coefficient the number that multiplies a variable.
Distributive rule multiplying a sum by a number means multiplying each term by it.
Break-even point the quantity at which total revenue equals total cost.
Fixed cost a cost that does not change with the quantity produced.
Factoring rewriting an expression by pulling out a factor that its terms share.
Check yourself
- Solve 6x − 5 = 37.
- Solve 4(x + 3) = 2x + 26.
- A stall costs $200, each pretzel costs $2 to make and sells for $7. How many must be sold to break even?
- Using the same pretzel stall, how many sales give a profit of $300?
- Solve the demand equation q = 60 − 3p for p.
- Explain why checking a solution in the original equation is better than checking it in a later line.
Show the answers
- Add 5 to get 6x = 42, so x = 7.
- 4x + 12 = 2x + 26, so 2x = 14 and x = 7.
- 7q = 200 + 2q gives 5q = 200, so q = 40 pretzels.
- q = (300 + 200) / (7 − 2) = 500 / 5 = 100 pretzels.
- 3p = 60 − q, so p = 20 − q/3.
- A later line may already contain a mistake, so a value can satisfy it while failing the equation you were really asked to solve.