Algebra 1 · Algebra 2 · Grades 8, 9

How to Solve Literal Equations and Rearrange Formulas

Quick answer

A literal equation has more than one variable, like A = lw. To solve for one of them, use the same inverse operations you use on numbers, treating every other letter as if it were a number. To solve A = lw for w, divide both sides by l to get w = A divided by l.

What you'll learn

  • Solve a formula for any one of its variables
  • Treat unknown letters as fixed quantities while rearranging
  • Rearrange a formula before substituting numbers, to save repeated work

What a literal equation is

A literal equation is an equation with more than one letter in it. Most formulas are literal equations:

A=lwd=rtC=2πrA = lw \qquad d = rt \qquad C = 2\pi r

Solving one means picking a letter and getting it alone on one side, exactly as you have been doing with xx all along.

The name is unhelpful — “literal” means “with letters”. Nothing new is happening mathematically.

Why it feels harder than it is

Solving 3x=123x = 12 feels safe because you can see the answer coming. Solving A=lwA = lw for ww feels different because there is no number to land on. That difference is psychological, not mathematical.

The trick is to treat every letter you are not solving for as though it were a number you happen not to know yet. In A=lwA = lw, if you are solving for ww, then ll is “some fixed number multiplying ww”. You would divide by it if it were 77, so divide by it when it is ll.

Compare them side by side:

With a numberWith a letter
7w=A7w = A, so w=A7w = \tfrac{A}{7}lw=Alw = A, so w=Alw = \tfrac{A}{l}
w+5=Pw + 5 = P, so w=P5w = P - 5w+b=Pw + b = P, so w=Pbw = P - b

The steps are identical. Only the thing you are dividing by has changed from a digit to a letter.

How to solve a literal equation

  1. Identify the variable you want.
  2. Treat every other letter as a fixed number.
  3. Undo operations in reverse order, doing the same thing to both sides.
  4. If the wanted variable appears in more than one term, collect those terms and factor it out.
  5. Check by substituting simple numbers into both the original and rearranged versions.

Worked examples

Common mistakes

Practice problems

  1. Solve d=rtd = rt for tt.

    Hint

    tt is multiplied by rr. Treat rr as if it were a number.

    Answer

    t=drt = \tfrac{d}{r}

    Full solution

    Divide both sides by rr: t=drt = \tfrac{d}{r}.

    Check: r=60r = 60, t=2t = 2 gives d=120d = 120; rearranged, t=12060=2t = \tfrac{120}{60} = 2

  2. Solve C=2πrC = 2\pi r for rr.

    Answer

    r=C2πr = \tfrac{C}{2\pi}

    Full solution

    rr is multiplied by 2π2\pi, so divide both sides by 2π2\pi: r=C2πr = \tfrac{C}{2\pi}.

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

    Answer

    x=ybmx = \tfrac{y - b}{m}

    Full solution

    Subtract bb: yb=mxy - b = mx. Divide by mm: x=ybmx = \tfrac{y - b}{m}, valid when m0m \neq 0.

  4. Solve A=12bhA = \tfrac{1}{2}bh for hh.

    Hint

    Clear the fraction first by multiplying both sides by 22.

    Answer

    h=2Abh = \tfrac{2A}{b}

    Full solution

    Multiply both sides by 22: 2A=bh2A = bh. Divide by bb: h=2Abh = \tfrac{2A}{b}.

    Check: b=6b = 6, h=4h = 4 gives A=12A = 12; rearranged, h=246=4h = \tfrac{24}{6} = 4

  5. Solve P=2l+2wP = 2l + 2w for ww.

    Answer

    w=P2l2w = \tfrac{P - 2l}{2}

    Full solution

    Subtract 2l2l: P2l=2wP - 2l = 2w. Divide by 22: w=P2l2w = \tfrac{P - 2l}{2}.

  6. Solve V=lwhV = lwh for hh.

    Answer

    h=Vlwh = \tfrac{V}{lw}

    Full solution

    hh is multiplied by both ll and ww, so divide both sides by lwlw: h=Vlwh = \tfrac{V}{lw}.

  7. Solve ax+b=cax + b = c for xx, and state when your answer is valid.

    Answer

    x=cbax = \tfrac{c - b}{a}, valid when a0a \neq 0.

    Full solution

    Subtract bb: ax=cbax = c - b. Divide by aa: x=cbax = \tfrac{c - b}{a}.

    If a=0a = 0 the original equation is b=cb = c, which contains no xx at all, so dividing by aa is not allowed.

  8. The simple interest formula is I=PrtI = Prt. A student wants to know what interest rate rr a loan carries. Rearrange the formula, then find rr when I=120I = 120, P=2000P = 2000 and t=2t = 2.

    Hint

    Rearrange first, substitute second. That is the whole point of the technique.

    Answer

    r=IPtr = \tfrac{I}{Pt}, and r=0.03r = 0.03, i.e. 3%.

    Full solution

    rr is multiplied by PP and tt, so divide both sides by PtPt: r=IPtr = \tfrac{I}{Pt}.

    Substituting: r=1202000×2=1204000=0.03r = \tfrac{120}{2000 \times 2} = \tfrac{120}{4000} = 0.03.

    As a percentage that is 3%3\%. Check: Prt=2000×0.03×2=120Prt = 2000 \times 0.03 \times 2 = 120

Frequently asked questions

Why rearrange the formula instead of plugging in numbers each time?

If you need the same unknown for many different sets of numbers, rearranging once and substituting many times is far less work and gives fewer chances to make an arithmetic error. Science classes rearrange for exactly this reason.

How do I know which letter to treat as the unknown?

The question tells you: 'solve for w' means w is the unknown and every other letter behaves like a fixed number. Circle the letter you are solving for before you start, so you do not drift.

What if the variable I want appears twice?

Collect every term containing it on one side, then factor it out. From ab + ac = d you get a(b + c) = d, so a = d divided by (b + c).

Key terms in this lesson

Variable
A variable is a letter standing in for a number you do not know yet, or one that can change. In x + 3 = 10, the variable x represents the single number that makes the sentence true.

Standards alignment

This lesson covers the following Common Core State Standards for Mathematics.

  • CCSS.MATH.CONTENT.HSA.CED.A.4Creating EquationsRearrange formulas to highlight a quantity of interest, using the same reasoning as in solving equations.