We often need to solve an equation for one variable when the other parts are letters instead of numbers.
1
Solving Equations Without Arithmetic
Suppose we want to solve an equation made entirely of letters for x:
mx+b=y
Before solving with letters, watch what happens to the numbers when we solve 2x+3=11 for x without doing any arithmetic.
Solving Equations Without Arithmetic
2x+3x=11=?
Text solution
Subtract b from both sidesSince we don't know what number y−b is, we leave the subtraction written out to cancel +b on the left side.
mx=y−b
Divide both sides by m, assuming m=0Dividing the entire right side by m undoes the multiplication on x.
x=my−b
Leaving the operations uncalculated gives a formula for x in terms of y,b, and m, following the exact same steps as x=211−3.
2
Unwrapping Layers from the Outside In
When several letters are attached to x, it can be hard to tell which operation to undo first. Compare solving for x in these two equations:
y=ax+bandy=ax+b
Unwrapping Layers from the Outside In
yyx=ax+b=ax+b=?
Text solution
For y=ax+b, the fraction bar covers only x:
Subtract the outer +b from both sidesBecause x is divided by a first and b is added last, we undo the outer +b first.
y−b=ax
Multiply both sides by aMultiplying the whole left side y−b by a undoes the inner division by a.
x=a(y−b)
Now for y=ax+b, where the fraction bar covers the whole top:
Multiply both sides by aBecause b is added to x first and the whole sum is divided by a last, we clear the denominator first.
ay=x+b
Subtract b from both sidesWith the fraction gone, subtracting b gets x by itself.
x=ay−b
So changing where the fraction bar ends reverses the order of the steps and changes the solution from x=a(y−b) to x=ay−b.
Extending the fraction bar over +b swaps the inner and outer layers around x, so you undo the two operations in the opposite order.
Where the fraction bar ends decides which operation is on the outside, flipping the order of the steps that get the unknown alone.
3
Variables in the Denominator
In both equations above, x was sitting on top of the fraction. Now suppose the variable we want to solve for is in the denominator. In these examples, assume a=0, and remember that x=0 because it is a denominator.
y=xaandy=xa+b
Variables in the Denominator
yyx=xa=xa+b=?
Text solution
Subtract the outer +b from both sidesWe undo the +b outside the fraction before dealing with the denominator.
y−b=xa
Multiply both sides by xDividing by a would leave x1 with x still on the bottom, so instead we multiply by x to bring it up out of the denominator.
x(y−b)=a
Divide both sides by y−bSince y−b=xa and a=0, we know y−b=0. Dividing by y−b gets x by itself.
x=y−ba
Multiplying by the denominator moves x up to the numerator, turning the equation into a multiplication that can be undone in one step.
4
Rearranging Formulas
Instead of plugging numbers into a formula and doing the algebra over and over for each new case, we can rearrange the formula once for the measurement we need. Here we want to solve the triangle area formula for the height h:
A=21bh
Rearranging Formulas
Text solution
Multiply both sides by 2Multiplying bh by 21 is the same as dividing by 2, so multiplying both sides by 2 clears the fraction.
2A=bh
Divide both sides by bDividing by the base b leaves the height h alone.
h=b2A
This rearranges the area formula for h, so you can plug in the triangle's area A and base b and immediately get the height h.
5
When the Variable Appears Twice
In the equations so far, we could undo the operations around a single occurrence of the variable. Here, the variable appears in two separate terms, so we first factor it out.
ax+bx=candA=P+Prt
Here we want to solve the first equation for x, and the simple interest formula for the starting principal P.
When the Variable Appears Twice
ax+bxx=c=?
Text solution
For ax+bx=c:
Factor x out of both termsJust as 3x+5x=(3+5)x, factoring x out combines the two x terms into a single x.
(a+b)x=c
Divide both sides by a+b, assuming a+b=0With x written only once and multiplied by a+b, dividing by a+b gets x by itself.
x=a+bc
Now for A=P+Prt, where the first P has no other letter attached to it:
Write P as 1P and factor P outBecause the first term is 1P, factoring P out front leaves 1+rt inside the parentheses rather than rt alone.
A=P(1+rt)
Divide both sides by 1+rt, assuming 1+rt=0Dividing by the whole 1+rt in parentheses gets P by itself.
P=1+rtA
Factoring combines the two P terms into a single P, so a single division finishes the problem.
Moving bx across the equals sign leaves x split across both sides as ax=c−bx, while factoring x out combines both terms into a single x in (a+b)x=c.
Subtracting an x term across the equals sign leaves x in two places, while factoring combines both copies into a single x that we can solve for. Assume a+b=0.
6
Converting Units Like Variables
Units multiply, divide, and cancel across a fraction bar just like algebra variables. Here we use unit cancellation to convert 60 miles per hour into feet per second(1 mile=5,280 feet), and an area of 1 ft2 into in2.
Converting Units Like Variables
1 hour60 miles=?secondfeet
Text solution
First, for 60 miles per hour to feet per second:
Write "per" as a fraction bar and multiply by 1 mile5280 feetBecause miles is on top, placing 1 mile on the bottom cancels miles and leaves feet on top.
Multiply by 60 minutes1 hour and 60 seconds1 minuteBecause hour starts on the bottom, placing 1 hour on top cancels it, and placing 1 minute on top cancels minutes.
Every unit cancels except feet on top and seconds on the bottom, showing that a car going 60 miles per hour travels 88 feet in 1 second.
Now for converting a squared unit, 1 ft2 to in2:
Write ft2 as ft⋅ft and multiply by 1 ft12 in twice. Multiplying once cancels only one ft and leaves foot-inches, so we multiply by 1 ft12 in twice to cancel both ft units.
1 ft⋅ft×1 ft12 in×1 ft12 in=144 in2
So 1 square foot is 144 square inches, matching a 12 in by 12 in square.
When you multiply conversion fractions, matching units cancel only when they sit on opposite sides of the fraction bar. For example, flipping the miles-to-feet fraction in the speed conversion leaves foot⋅secondmiles2 instead of secondfeet.
Canceling matching units across the fraction bar automatically puts each number on top to multiply or on the bottom to divide.
7
Checking Formulas with Units
Because units follow the same algebra as the letters, we can plug units into a formula to catch errors in a rearrangement. Here we use units to test whether solving d=rt for time gives t=dr or t=rd, and to check why the terms in the cylinder surface area formula S=2πr2+2πrh can be added.
Checking Formulas with Units
dt=rt=?
Text solution
To test t=dr versus t=rd with distance d in miles and rate r in miles/hour:
Check the units of drDividing miles/hour by miles cancels miles and leaves hour on the bottom of the fraction, showing that dr is upside down.
milesmiles/hour=hour1
Flip the formula to t=rd and simplify the unitsDividing miles by miles/hour flips the fraction in the denominator and puts hour on top, matching the time t on the left.
miles/hourmiles=miles×mileshour=hour
Now for the surface area formula S=2πr2+2πrh with r and h measured in inches:
Check the units of each added termBoth r2 and rh multiply inches by inches to give in2, matching the area unit in2 of S.
in2S=in⋅in=in22πr2+in⋅in=in22πrh
Because every added piece has the same area unit (in2), the units in the formula match. A formula that added r+r2 would try to add in+in2, which is impossible.
Key concepts
When solving an equation with letters for a specific variable, start by checking where that letter sits and how many times it appears:
Written once in the numerator: unwrap from the outside in
Circle the letter, see what happens to it first and second, and undo the outer layer first. In y=ax+b,+b is outside the fraction so you subtract b first to get x=a(y−b); in y=ax+b, the long fraction bar makes ÷a the outer layer so you multiply by a first to get x=ay−b.
In the denominator: multiply by the denominator
In y=xa, do not divide by a, which leaves ay=x1 with x still on the bottom. Multiply both sides by x to bring it up to the numerator (xy=a), then divide by y to get x=ya.
Written in two terms: factor it out
In ax+bx=c, moving bx across the equals sign leaves x split on both sides (ax=c−bx). Instead, factor x out so it is written only once: (a+b)x=c, giving x=a+bc. When a term is the variable by itself, write a 1 in front so it doesn't disappear: A=P+Prt=P(1+rt), giving P=1+rtA. (When the variable appears in only one term, like h in A=21bh, there is nothing to factor. Just unwrap directly to get h=b2A.)
Units act like variables
Write "per" as a fraction bar and set up each conversion fraction so matching units sit on opposite sides and cancel: 36 in×12 in1 ft=3 ft. For squared or cubed units like ft2=ft⋅ft, multiply by the conversion fraction once for each ft(1 ft2×1 ft12 in×1 ft12 in=144 in2). You can also plug units into a formula to check it: an upside-down unit like hour1 from t=dr tells you to flip the fraction to t=rd, and any terms added or subtracted must represent the same kind of quantity, converted to the same unit first (in2+in2, never in+in2).
8
Practice
1
Solve mx−b=y for x. Assume m=0.
Which operation on x is the outer layer: multiplying by m, or subtracting b?
Undo the outer −b first by adding b to both sides (be careful not to subtract b, which would give y−b, or divide by m first without dividing b, which often leads to my+b):
mx=y+b
Divide both sides by m:
x=my+b
Answerx=my+b
2
Solve y=ax−b for x.
Does the fraction bar cover −b, or only x? Undo the outer operation first.
Add b to both sides to undo the outer −b:
y+b=ax
Multiply both sides by a. Make sure to multiply the entire side y+b by a, not just y (multiplying only y is a common mistake that gives ay+b):
x=a(y+b)
Answerx=a(y+b)
3
Solve y=ax−b for x.
Look at the long fraction bar. What happens to x−b as a whole?
Because the fraction bar covers the whole top, dividing by a is the outer layer. Multiply both sides by a first (incorrectly canceling the numerator's −b by adding b treats −b as the outer layer and gives the wrong answer a(y+b)):
ay=x−b
Add b to both sides:
x=ay+b
Answerx=ay+b
4
The volume of a pyramid is V=31Bh, where B is the area of the base and h is the height. Solve the formula for B.
Multiplying by 31 is the same as dividing by what number?
Because multiplying by 31 is dividing by 3, multiply both sides by 3 to clear the fraction (dividing by 3 instead of multiplying is a common mistake that gives 3hV):
3V=Bh
Divide both sides by h:
B=h3V
AnswerB=h3V
5
Solve y=xa−b for x. Assume a=0 and y+b=0.
Unwrap the outer −b first, then look at where x is sitting in the fraction.
Add b to both sides to undo the outer −b:
y+b=xa
Because x is in the denominator, multiply both sides by x to bring it up to the numerator (don't divide by a, which leaves x1=ay+b, and don't multiply a by y+b to get a(y+b)):
x(y+b)=a
Divide both sides by y+b:
x=y+ba
Answerx=y+ba
6
Solve ax−bx=c for x. Assume a=b.
x appears in two terms on the left. How can you rewrite the left side so x is written only once?
Factor x out of both terms on the left side (adding bx to the other side gives ax=c+bx and x=ac+bx, which leaves x on both sides instead of getting it by itself):
(a−b)x=c
Divide both sides by a−b:
x=a−bc
Answerx=a−bc
7
The total cost T of an item with sales tax rate r is given by T=p+pr, where p is the original price. Solve the formula for p.
How many p's is the first p on the right side? Write that number in front of p before factoring p out.
Write the first p as 1p so it doesn't disappear when you factor p out (dropping the 1 and writing T=p(r) is a common mistake that leads to rT):
T=1p+pr
T=p(1+r)
Divide both sides by 1+r:
p=1+rT
Answerp=1+rT
8
Convert 15 miles per hour into feet per second(1 mile=5,280 feet).
Start with 1 hour15 miles and multiply by conversion fractions for miles to feet, hours to minutes, and minutes to seconds so each old unit cancels on the opposite side of the fraction bar.
Put 1 mile on the bottom to cancel miles, then put 1 hour and 1 minute on top to cancel hour and minutes on the bottom (be careful not to put 60 minutes on top or stop after dividing by 60 once, which converts only to feet per minute and gives 1,320):
A rug has an area of 4 square yards(4 yd2). Given that 1 yard=3 feet, what is its area in square feet (ft2)?
Write yd2 as yd⋅yd. How many times do you need to multiply by 1 yd3 ft to cancel both yards?
Because yd2=yd⋅yd, multiply by 1 yd3 ft twice so both yd units cancel (multiplying by the conversion fraction only once leaves 12 yd⋅ft, so we still need to convert the remaining yd to ft):
4 yd⋅yd×1 yd3 ft×1 yd3 ft=36 ft2
Answer36 ft2
10
Density is D=Vm, where mass m is in grams (g), volume V is in cubic centimeters (cm3), and density D is in g/cm3. Assume D=0. A student solves for volume and writes V=mD. What unit does mD give, and what is the correct formula for V?
Plug g/cm3 for D and g for m into mD and see where cm3 ends up after g cancels.
Plug the units into mD (watch where cm3 is sitting: canceling g does not bring cm3 up to the numerator; it stays in the denominator as cm31):
gg/cm3=cm31
Because cm3 is on the bottom of the fraction, the formula V=mD is upside down. Multiplying both sides of D=Vm by V gives DV=m, and dividing by D gives V=Dm.
Answercm31 (cubic centimeters is in the denominator); V=Dm
11
For a cylinder with radius r measured in inches and surface area S measured in square inches (in2), a student writes the formula S=2πr2+2πr. Use units to explain why this formula cannot be correct.
Find the unit of 2πr2 and the unit of 2πr when r is in inches. Can those two units be added together?
Check the units of both terms on the right side (don't stop after checking 2πr2: the second term 2πr is missing the height h, so it has only one inches unit):
in⋅in=in22πr2+in2πr
Answer2πr2 has units of in2 (area) while 2πr has units of inches (length), and you cannot add a length to an area.