Math Core

Lesson 2.5 · Solving Equations

Literal equations and formulas

The formula d=rtd = rt tells you distance when you know rate and time. But what if you know the distance and the rate and need the time? You could plug in numbers and solve every single time, or you could solve the formula once for tt and have a new formula ready to use. That's what this lesson is about.

Equations with more than one letter

Definition

Literal equation

A literal equation is an equation with two or more variables. A formula is a literal equation that describes a real relationship, such as A=ℓwA = \ell w or d=rtd = rt. To solve for a variable means to rewrite the equation so that variable is alone on one side.

Here's the key fact: solving for a letter uses exactly the same steps as solving for xx in a number equation. The other letters simply stand in for numbers you haven't been told yet. Treat them the way you'd treat a 55 or a −3-3.

A good way to see this is to solve a number version and a letter version side by side.

number equationliteral equation
3x+7=193x + 7 = 19ax+b=cax + b = c
3x=19−73x = 19 - 7ax=c−bax = c - b
x=19−73x = \dfrac{19 - 7}{3}x=c−bax = \dfrac{c - b}{a}

Each step matches. The only difference is that on the right you can't finish the arithmetic, so the answer stays as an expression.

Solving for a variable

  1. Circle or highlight the variable you're solving for. Every other letter acts like a number.
  2. Undo the operations on that variable in reverse order, doing the same thing to both sides.
  3. Stop when the chosen variable is alone. The answer is an expression in the other letters.

Solving formulas

Worked example: Distance, rate and time

Solve d=rtd = rt for tt.

The tt is multiplied by rr. Undo that by dividing both sides by rr:

dr=rtr⟹t=dr.\frac{d}{r} = \frac{rt}{r} \quad\Longrightarrow\quad t = \frac{d}{r}.

Now a trip of d=150d = 150 miles at r=60r = 60 miles per hour takes t=15060=2.5t = \dfrac{150}{60} = 2.5 hours.

Worked example: Perimeter of a rectangle

Solve P=2ℓ+2wP = 2\ell + 2w for ww.

Treat 2ℓ2\ell like a constant term. It's added to 2w2w, so subtract it first, then divide by 22.

P=2ℓ+2wP−2ℓ=2wsubtract 2ℓP−2ℓ2=wdivide by 2\begin{aligned} P &= 2\ell + 2w \\ P - 2\ell &= 2w && \text{subtract } 2\ell \\ \frac{P - 2\ell}{2} &= w && \text{divide by } 2 \end{aligned}

So w=P−2ℓ2w = \dfrac{P - 2\ell}{2}. Check with numbers: a rectangle with ℓ=7\ell = 7 and w=3w = 3 has P=20P = 20. The formula gives w=20−142=3w = \dfrac{20 - 14}{2} = 3. ✓

Common mistake

When you divide, divide the whole side. From P−2ℓ=2wP - 2\ell = 2w, the result is w=P−2ℓ2w = \dfrac{P - 2\ell}{2}, not w=P−2ℓ2w = P - \dfrac{2\ell}{2} (which would be P−ℓP - \ell). Every term on that side gets divided by 22. An equivalent correct answer is w=P2−ℓw = \dfrac{P}{2} - \ell.

Solving for y

In later units you'll often rewrite equations of lines so that yy is alone. This is a literal equation too.

Worked example: Getting y by itself

Solve 3x+2y=123x + 2y = 12 for yy.

3x+2y=122y=12−3xsubtract 3xy=12−3x2divide by 2y=6−32xdivide each term by 2\begin{aligned} 3x + 2y &= 12 \\ 2y &= 12 - 3x && \text{subtract } 3x \\ y &= \frac{12 - 3x}{2} && \text{divide by } 2 \\ y &= 6 - \frac{3}{2}x && \text{divide each term by } 2 \end{aligned}

Both of the last two lines are correct. The form y=−32x+6y = -\dfrac{3}{2}x + 6 (the same thing, reordered) is the one you'll use when you graph lines.

Temperature conversion

Worked example: Celsius to Fahrenheit

The formula C=59(F−32)C = \dfrac{5}{9}(F - 32) converts Fahrenheit to Celsius. Solve it for FF to get a formula that goes the other way.

The last thing done to FF is multiplying by 59\dfrac{5}{9}, so undo that first with the reciprocal.

C=59(F−32)95C=F−32multiply by 9595C+32=Fadd 32\begin{aligned} C &= \frac{5}{9}(F - 32) \\ \frac{9}{5}C &= F - 32 && \text{multiply by } \tfrac{9}{5} \\ \frac{9}{5}C + 32 &= F && \text{add } 32 \end{aligned}

So F=95C+32F = \dfrac{9}{5}C + 32. Test it: water boils at 100∘C100^\circ\text{C}, and 95(100)+32=180+32=212∘F\dfrac{9}{5}(100) + 32 = 180 + 32 = 212^\circ\text{F}. ✓

Tip

Check a rearranged formula with easy numbers. Pick values that make the original equation true, then see whether your new formula gives back the right value. It's the literal-equation version of substituting to check a solution.

One caution: dividing by a letter is only allowed when that letter isn't zero. Writing t=drt = \dfrac{d}{r} assumes r≠0r \ne 0, which makes sense, since a rate of zero would never cover any distance.

Practice

Practice 1

Solve d=rtd = rt for rr.

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 2

Solve 4x+2y=104x + 2y = 10 for yy.

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 3

The area of a triangle is A=12bhA = \dfrac{1}{2}bh. Solve for hh.

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 4

Solve y=mx+by = mx + b for xx.

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 5

The volume of a cylinder is V=πr2hV = \pi r^2 h. Which formula gives hh?

Practice 6

Solve F=95C+32F = \dfrac{9}{5}C + 32 for CC.

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 7

Solve P=2ℓ+2wP = 2\ell + 2w for ww. Then use your formula to find the width of a rectangle with perimeter 4646 m and length 1515 m.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

Solve ax+3=bx+7ax + 3 = bx + 7 for xx. (Assume a≠ba \ne b.)

Enter an expression, e.g. 3x^2 - 2x + 1