Do the same thing to both sides
An equation says two things are equal. It stays true if you do the same thing to both sides: add the same number, subtract it, multiply by it, or divide by it (as long as it is not zero).
To solve for , undo what was done to , in reverse order. In , the was multiplied by 3 and then had 5 added. So take away 5 first, then divide by 3.
- 1
- 2
- 3
Rule: Balancing an equation
Whatever you do to one side, do to the other. Undo the operations on the unknown in reverse order. Never divide by something that could be zero.
Try it
Always check an answer by putting it back into the original equation. Both sides should match.
The unknown on both sides
When appears on both sides, first gather every term on one side and every plain number on the other. In , subtract from both sides to get . Then add 3 to get , so .
Clear fractions first
Fractions make every later step harder. Multiply both sides by a number that every denominator divides into, and they disappear. In , both 3 and 4 go into 12:
So and . Multiply every term by 12, including the 7 on the right.
Try it
Check both answers by substitution.
The second line uses Fraction from lesson 0.3.1, so the check is exact rather than a decimal close to 7.
Making a letter the subject
A formula with several letters can be rearranged to give any one of them on its own. That letter is then the subject. The method is the same as solving for ; the other letters are treated like numbers.
Take , the equation of a line (lesson 1.2.1). To make the subject, subtract , then divide by :
Sometimes the letter you want appears in two terms. Gather those terms on one side, then factor the letter out. Here is solved for :
- 1
- 2
- 3
Rule: Making a letter the subject
Clear fractions. Gather the terms containing the letter on one side. Factor the letter out. Divide by what multiplies it, and note that this must not be zero.
Case study 0.3.5 uses exactly this to turn one interest formula into four.
Let SymPy check your algebra
Try it
SymPy rearranges formulas exactly, which makes it a good answer-checker. sp.symbols creates letters, sp.Eq(left, right) builds an equation, and sp.solve makes the chosen letter the subject.
The first run takes a few seconds while SymPy loads. SymPy may print the terms in a different order, such as (-c + y)/m for .
Common mistakes
Try it
- Divide every term. is , not . Both terms on top are divided by 2.
- Moving a term changes its sign. From , subtracting 5 gives , not .
- Multiply every term when clearing fractions, including terms with no fraction.
- Watch for dividing by zero. needs .
The cell checks the first mistake with .
Solving and rearranging
0 of 8 correct
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
How to type answers
- Powers with
^:x^7,2^(1/3),a^-2. - Multiply with
*or by writing side by side:3x^2,2(x+1). ln(x)is the natural log,log(x, 2)is log base 2,eis Euler's number,sqrt(x)is a square root.sin(x),cos(x)andtan(x)take radians; writepifor π andsin(x)^2for sin²x.- Your first answer to each question is saved: it counts towards your score and brings the question back for review.
- Exact answers like
ln(20)/ln(3)are best. Decimals need about 4 significant figures.
Summary card
- Do the same thing to both sides. Undo the operations on the unknown in reverse order.
- Gather the unknown on one side; clear fractions by multiplying every term by a common denominator.
- To make a letter the subject: clear fractions, gather, factor it out, divide. The divisor must not be zero.
- Check every answer by substitution, or with
sp.solve(sp.Eq(left, right), letter).