Algebra › Section B · Solving linear equations and inequalities › Topic B.3

Solving a formula for one variable

A formula is an equation with many letters, and you rarely get to choose which one you need. Solving a formula for a chosen variable is the same balance skill as before, with one new mindset: every other letter becomes a number.

Formulas are equations with many letters

A literal equation is an equation with two or more letters, and a formula is a literal equation that states a real relationship: the perimeter of a rectangle \(P = 2l + 2w\), the distance travelled at steady speed \(d = rt\), the temperature conversion \(F = \frac{9}{5}C + 32\). Formulas usually arrive solved for one letter, but life asks for the others. Given the perimeter and the length of a rectangle, you want the width; given a distance and a speed, you want the time. The fix is always the same: solve the formula for the variable you actually need, once, and reuse it forever.

The key mindset: letters become numbers

Solving a formula for a chosen variable uses exactly the balance moves from the equation strategy, with one rule that changes everything: treat the target variable as the unknown and every other letter as an ordinary number. In \(P = 2l + 2w\), solving for \(w\) means \(w\) plays the role of \(x\), while \(P\) and \(l\) behave like constants, no different from 7 or \(-3\). The balance principle does not care whether a symbol is a letter or a digit: whatever you do to one side, you do to both, and the solution set survives. Students who hesitate here are usually just forgetting that letters can be treated as numbers.

Worked example: the perimeter formula

Solve \(P = 2l + 2w\) for \(w\). The term \(2l\) is added, so subtract it from both sides: \(P - 2l = 2w\). The coefficient is 2, so divide both sides by 2:

w = \frac{P - 2l}{2}

The whole right side is divided by 2, not just the \(P\). Checking with a concrete case: a rectangle with length 9 and width 5 has perimeter \(2(9) + 2(5) = 28\). Feed \(P = 28\) and \(l = 9\) into the solved formula: \(w = \frac{28 - 18}{2} = 5\). The formula returns the width we started with.

Worked example: temperature conversion

The conversion \(F = \frac{9}{5}C + 32\) is solved for Fahrenheit. Solve it for \(C\): subtract 32 from both sides to get \(F - 32 = \frac{9}{5}C\), then multiply both sides by \(\frac{5}{9}\), the reciprocal of the coefficient:

C = \frac{5}{9}(F - 32)

The brackets matter: the 32 is subtracted before scaling. Normal body temperature is 98.6°F, so \(C = \frac{5}{9}(98.6 - 32) = \frac{5}{9}(66.6) = 37\), which is the familiar 37°C. Water boils at 212°F: \(C = \frac{5}{9}(180) = 100\), the familiar 100°C. Two known cases landing on known values is a strong check that the rearrangement is right.

Formulas with fraction coefficients

Fraction coefficients clear exactly as in ordinary equations: multiply both sides by the denominator. The area formula \(A = \frac{1}{2}bh\) solves for \(h\) by multiplying both sides by 2, giving \(2A = bh\), then dividing by \(b\): \(h = \frac{2A}{b}\). Notice what happened: the coefficient \(\frac{1}{2}\) became the multiplier 2 on the other side, and the other letters travelled together. A triangle with area 24 and base 6 has height \(\frac{48}{6} = 8\), and checking, \(\frac{1}{2}(6)(8) = 24\).

Using a solved formula

Once a formula is solved for your variable, using it is one substitution. From \(d = rt\), solving for time gives \(t = \frac{d}{r}\). A drive of 150 miles at a steady 60 miles per hour takes \(\frac{150}{60} = 2.5\) hours. Solving first, then substituting, is more efficient than substituting first whenever you will repeat the same calculation with different numbers, because the algebra is done once and the rest is arithmetic. This is how spreadsheets and calculators use formulas: each column is a solved variable waiting for inputs.

Worked example: angles of a triangle

The angles of a triangle always total \(180^{\circ}\). The second angle of a triangle is \(30^{\circ}\) more than the first, and the third is \(10^{\circ}\) less than three times the first. Find all three. Let \(x\) be the first angle; the others are \(x + 30\) and \(3x - 10\). The angle sum is the balance sentence: \(x + (x + 30) + (3x - 10) = 180\). Combine: \(5x + 20 = 180\), so \(5x = 160\) and \(x = 32\). The angles are \(32^{\circ}\), \(62^{\circ}\) and \(86^{\circ}\), and checking, \(32 + 62 + 86 = 180\). The formula did the translating; the solving was routine.

Solving the Pythagorean theorem for a leg

The Pythagorean theorem, \(a^2 + b^2 = c^2\) for the legs \(a, b\) and hypotenuse \(c\) of a right triangle, can be solved for any variable. For the leg \(a\): subtract \(b^2\), then take the square root,

a = \sqrt{c^2 - b^2}

A 13-foot ladder leans against a wall with its foot 5 feet from the base; the height it reaches is the vertical leg: \(\sqrt{13^2 - 5^2} = \sqrt{169 - 25} = \sqrt{144} = 12\) feet. Only the positive root counts, because a length cannot be negative, which is the check every geometry answer must pass.

Common mistakes to avoid

The most common error is dividing only part of a side: from \(P - 2l = 2w\) the whole left side gets divided by 2, and writing \(w = \frac{P}{2} - 2l\) leaves the \(2l\) undivided. The correct split is \(w = \frac{P}{2} - l\), because the division reaches every term. Second, forgetting to reverse the order of operations: undo addition before multiplication, exactly as with numbers. Third, sign slips when moving letter terms across the equals sign. And always test a rearranged formula on a case where you already know the answer, like water boiling; one known case catches most algebra slips.

Key takeaways

A formula is a literal equation; solving it for a chosen variable means treating that variable as the unknown and every other letter as a number, then applying the same balance moves as always. Clear fraction coefficients by multiplying by the denominator, keep brackets around sums that are scaled, and prefer solving first, then substituting, when the calculation will repeat. Geometry formulas work the same way: angle sums, perimeters and the Pythagorean theorem all become equations first. Always test the rearranged formula on a case with a known answer before trusting it.

Flashcards

Flashcard

Literal equation

An equation with two or more letters

A formula is one that states a real relationship.

Test your understanding

Question 1 of 5

Solve P = 2l + 2w for w.

Question 2 of 5

Using C = (5/9)(F - 32), what is 212°F in Celsius?

Question 3 of 5

Solve A = (1/2)bh for h.

Question 4 of 5

Solve d = rt for r.

Question 5 of 5

The length of a rectangle is 6 more than twice the width, and the perimeter is 96. What is the width?

← Previous topicNext topic →