Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Solve a Literal Equation for a Variable

A literal equation is a formula with several letters. To solve for one of them, treat every other letter as if it were a known number and use exactly the same moves as for a linear equation.

Recognize the task

"Solve P=2l+2wP = 2l + 2w for ww", "make CC the subject of F=95C+32F = \frac{9}{5}C + 32", "solve A=12h(b1+b2)A = \frac{1}{2}h(b_1 + b_2) for hh". Test: more than one letter, and one of them is named as the target.
The lesson calls these literal equations and formulas; the moves are the properties of equality.

Steps

StepOn P=2l+2wP = 2l + 2w, solve for ww
1Circle the target letter. Every other letter is now a constant.target ww; PP and ll are constants
2Undo additions and subtractions around the target. Move the other terms to the other side.Addition property of equality ↗P−2l=2wP - 2l = 2w
3Undo the multiplication or division on the target. Divide both sides by its coefficient, which may be a letter or an expression.Multiplication property of equality ↗w=P−2l2w = \frac{P - 2l}{2}
4If the target appears in two terms, factor it out first. Collect both terms on one side, factor out the target, then divide by the bracket.not needed here

Worked examples

Example 1 · temperature conversion

basic
F=95C+32  ⇒  F−32=95CF = \tfrac{9}{5}C + 32 \;\Rightarrow\; F - 32 = \tfrac{9}{5}C
subtract 3232
C=59(F−32)C = \tfrac{5}{9}(F - 32)
multiply by 59\frac{5}{9}

Example 2 · area of a trapezoid

divide by a bracket
A=12h(b1+b2)  ⇒  2A=h(b1+b2)A = \tfrac{1}{2}h(b_1 + b_2) \;\Rightarrow\; 2A = h(b_1 + b_2)
multiply by 22
h=2Ab1+b2h = \frac{2A}{b_1 + b_2}

Example 3 · the target in two terms

factor it out
ax+b=cx+d  ⇒  ax−cx=d−bax + b = cx + d \;\Rightarrow\; ax - cx = d - b
collect the xx terms
x(a−c)=d−b  ⇒  x=d−ba−cx(a - c) = d - b \;\Rightarrow\; x = \frac{d - b}{a - c} for a≠ca \neq c
factor, divide

See it happen

Replace each other letter with a number, say P=20P = 20, l=6l = 6, and solve: 20−12=2w20 - 12 = 2w, w=4w = 4. The literal answer P−2l2\frac{P - 2l}{2} is that same computation with the numbers left as letters, and plugging 2020 and 66 into it gives 44 again.

Common mistakes

Dividing only one term

✗ w=P2−2lw = \frac{P}{2} - 2l
✓ w=P−2l2=P2−lw = \frac{P - 2l}{2} = \frac{P}{2} - l

Target left on both sides

✗ x=d−b+cxax = \frac{d - b + cx}{a}
✓ collect and factor: x=d−ba−cx = \frac{d - b}{a - c}

Dividing by an expression that can be zero

✗ x=d−ba−cx = \frac{d - b}{a - c} with no condition
✓ state a≠ca \neq c; when a=ca = c the equation has no or infinitely many solutions