Equations
On this page
An equation is a statement that two expressions are equal. is an equation with no unknowns, while contains a variable, an unknown number we want to find. Solving an equation means finding every value of the variable that makes the statement true. This note relies on the operations from "Numbers & Arithmetic".
The Balance Principle
Every technique for solving equations comes from one idea: an equation is a balance scale. Whatever you do to one side, you must do to the other, and the scale stays level.
Formally, if , then , , , and for any . The restriction on division matters: dividing both sides by is not allowed, and dividing both sides by an expression that might be can silently lose solutions.
Isolate The Variable
The goal is always to get the variable alone on one side. To do that, undo the operations applied to it in reverse order, like unwrapping a present: the last layer put on comes off first. In , the was first multiplied by and then was added, so you first subtract and then divide by .
| Operation on | Undo it with | Example | Solution |
|---|---|---|---|
| on both sides | |||
| on both sides | |||
| on both sides | |||
| on both sides |
Solving Linear Equations
A linear equation in one variable has the variable only to the power . Most need several steps, and you can solve them mechanically with the reverse-order rule.
Multi Step Example
Solve .
Always Check
Substitute your answer into the original equation. It takes ten seconds and catches most mistakes:
Equations With Fractions
When the variable is divided by a number, treat the division like any other operation. Solve : subtract to get , then multiply by to get . Check: .
Translating Words Into Equations
"A number increased by 7 equals 18" becomes , so . The translation is the real skill: "increased by" is , "times" is , "is" or "equals" is .
Common Mistakes In Linear Equations
| Mistake | Wrong | Right |
|---|---|---|
| Operating on one side only | , so | |
| Incomplete distribution | ||
| Skipping the check | trusting the first answer | substitute back into the original |
Equations With Powers
To undo a power, take the matching root of both sides. The catch is that even powers lose the sign information, so there can be two solutions.
Even Powers Give Two Answers
Both and equal , so
Forgetting the is one of the most common mistakes. If represents something that cannot be negative, like a length, you discard the negative root afterwards, but you have to make that decision consciously.
Odd Powers Give One Answer
An odd power keeps the sign, so there is exactly one real solution:
Equations With Roots
To undo a root, raise both sides to the matching power. Squaring removes a square root:
Rational Exponents
A rational exponent is a root in disguise, so undo it by raising both sides to the reciprocal exponent. This works because by the power of a power rule.
| Equation | Raise both sides to | Result |
|---|---|---|
Strictly, also has the solution , because . The even numerator hides the sign, just like does. Courses often restrict rational exponents to , which removes this case.
Extraneous Solutions
Squaring both sides is not a reversible step. If then , but only tells you . So squaring can introduce extraneous (fake) solutions that satisfy the squared equation but not the original one. Whenever you square to remove a radical, you must check every candidate in the original equation.
Worked Example
Solve .
A square root is never negative, so the right side must satisfy , meaning . Now square both sides:
Check both candidates in the original equation:
| Candidate | Left | Right | Valid? |
|---|---|---|---|
| No, extraneous | |||
| Yes |
So the only solution is . The graph shows where the fake one comes from: squaring also solves , the mirrored branch.
Checking Solutions In Code
A quick numerical check is the programmer's version of substituting back. Floating point needs a tolerance instead of ==.
import math
def lhs(x): return math.sqrt(x + 4)
def rhs(x): return x - 2
for candidate in (0, 5):
ok = math.isclose(lhs(candidate), rhs(candidate))
print(candidate, lhs(candidate), rhs(candidate), "valid" if ok else "extraneous")The same method solves : the condition is , squaring gives , candidates are (fails, ) and (works, ).
Worked Exercises
These exercises follow the order of the topics above.
Linear
. . . .
Powers And Roots
. . . . .
Rational Exponents
. (and if negative is allowed).
Applied
A rectangle has length cm and width cm. The perimeter is cm, and the area is cm².
Quick Recap
- An equation is a balance: apply the same operation to both sides (never divide by ).
- Isolate the variable by undoing operations in reverse order.
- Always check by substituting into the original equation.
- Even powers give solutions, odd powers give one.
- Undo a root by raising to its power, undo by raising to .
- Squaring is not reversible: it can create extraneous solutions, so checking is mandatory for radical equations. Use the sign condition (a root is ) to reject candidates quickly.