A formula such as d = st states how several quantities are related. Solving it for one of its letters, for example t = d ÷ s, uses the same steps as solving an equation, with the other letters held fixed like numbers. This lesson proves why those steps are allowed, states the condition that every division brings (the divisor must not be 0), and treats letters that occur twice and letters in a denominator.
Formulas and their letters
A formula is a mathematical description of the relationship between variables.[1] Formulas are also used in the sciences, such as chemistry, physics and biology.[2] Earlier units met several. The distance d covered at a constant speed s in a time t is d = st (Speed, distance and time; textbooks also write r for the rate).[3] The simple interest on a principal P at a rate r per year for t years is I = Prt (Simple interest).[4] And the three kinds of percent problem are one equation, part = (p/100) × whole, solved for a different unknown (Finding the whole from a part).
Each of these lessons found one letter when the others were given as numbers. This lesson does it once and for all: it rewrites the formula so that the wanted letter is given by the others.
To solve a formula for one of its letters is to isolate that letter on one side of the equal sign, with coefficient 1, and to have all the other letters and numbers on the other side.[5] The formula is then said to be solved for that letter[6]; solving it is also called rearranging the formula.[7]
The other side must not contain the letter solved for: P = A − Prt is a true formula but is not solved for P, since computing its right side needs P already.
A train covers 150 kilometers at a constant 60 kilometers per hour. Find the time from d = st. Then solve the formula for t in general.
- With numbers: 150 = 60t. Divide both sides by 60: t = 15060 = 2.5, that is, 2.5 hours.
- In general, the same step with letters:d=stds=stsdivide both sides by s, allowed when s ≠ 0t=dss ÷ s = 1; symmetric property
- Check: with d = 150 and s = 60 the solved formula gives 150 ÷ 60 = 2.5, and 60 × 2.5 = 150.
Answer: 2.5 hours; in general t = ds, for s ≠ 0. Solving a formula in general uses exactly the steps that are used with numbers.[8]
Why the steps are allowed
A formula has several letters, but when it is solved for one of them, say t, the other letters are held fixed: for each choice of their values the formula is an equation in the single variable t, and the theorems of lesson 1.3 apply to it (Properties of equality). The same reasoning that solves equations therefore rearranges formulas;[9] solving a formula is solving an equation whose coefficients are letters.[10]
Let A = B be a formula that is to be solved for the letter t, and let E and M be expressions in the other letters.
- A = B and A + E = B + E (and A − E = B − E) have the same solutions t, for every choice of the other letters at which E has a value.
- A = B and MA = MB (and A ÷ M = B ÷ M) have the same solutions t, for every choice of the other letters at which M has a value other than 0.
Fix values of the other letters. Then E and M are numbers, say e and m, and A = B is an equation in t. The new formulas are this equation with the number e added to or subtracted from both sides, or with both sides multiplied or divided by m. By Theorems 1 and 2 of lesson 1.3 they have the same solutions as A = B; the second needs m ≠ 0.
The condition in part (2) is the condition of lesson 1.3 with a letter in place of a number. So every division by an expression comes with a condition: the expression must not be 0. A rearranged formula is complete only with the conditions of its divisions. The last step of solving is always the same, and the next theorem says exactly what happens there.
Let p and q be expressions in the other letters. For each choice of values of the other letters at which p and q have values:
- if p ≠ 0, the equation pt = q has exactly one solution, t = qp;
- if p = 0 and q = 0, every number t is a solution;
- if p = 0 and q ≠ 0, no number is.
With the values fixed, p and q are numbers. Case (1) is Theorem 2 of lesson 1.4. In cases (2) and (3) the equation is 0t = q, and 0 · t = 0 at every number: it is true everywhere when q = 0 and nowhere otherwise (the edge case a = 0 of lesson 1.4, and lesson 1.9).
| values of d and s | d = st becomes | solutions t | the solved formula d ÷ s |
|---|---|---|---|
| d = 150, s = 60 | 150 = 60t | t = 2.5 | 2.5 |
| d = 90, s = 40 | 90 = 40t | t = 2.25 | 2.25 |
| d = 0, s = 0 | 0 = 0t | every number | no value |
| d = 30, s = 0 | 30 = 0t | none | no value |
The solved formula t = ds holds for s ≠ 0. What does d = st say when s = 0?
- With s = 0 the formula reads d = 0 · t, that is, d = 0 whatever t is.
- If d = 0, every time t fits: an object at speed 0 does not move, however long one waits (case (2) of Theorem 2).
- If d ≠ 0, no time fits: at speed 0 no distance other than 0 is ever covered (case (3)).
Answer: the time cannot be found from the distance when the speed is 0. The lesson Speed, distance and time found the same: its form t = d ÷ s required s > 0.
Formulas solved in two steps
Most formulas need more than one step. As with equations, the letter is isolated by undoing what is done to it, the last operation first: added or subtracted terms are removed from its side, and then its coefficient is divided away (lesson 1.6).
Solve I = Prt for the rate r, and test the result with $2,500 earning $300 in 3 years.
Test: r = 300 ÷ (2,500 × 3) = 300 ÷ 7,500 = 0.04, a rate of 4%. Indeed 2,500 × 0.04 × 3 = 300. The condition says that the rate cannot be found when no money is lent (P = 0) or when no time passes (t = 0); in both cases the interest is 0 at every rate. The lesson Simple interest found rates in the same way, with numbers.
Solve 7x − 2y = 6 for y.
No condition is needed: the only division is by the number −2. The result can also be written y = 72x − 3, by the distributive property. Test: at x = 2 the formula gives y = (14 − 6) ÷ 2 = 4, and 7 · 2 − 2 · 4 = 14 − 8 = 6.
A phone plan costs a fixed fee of F dollars a month plus u dollars for each gigabyte used, so n gigabytes cost C = F + un dollars. Solve for n, and find n for F = 15, u = 2.5 and C = 32.5.
With the numbers: n = (32.5 − 15) ÷ 2.5 = 17.5 ÷ 2.5 = 7 gigabytes. Check: 15 + 2.5 × 7 = 15 + 17.5 = 32.5. If u = 0, the bill is F whatever is used, and n cannot be read off it.
Someone solves y = 5x + 7 for x and writes x = y5 − 7. Test it, and solve correctly.
- Test with numbers: x = 2 gives y = 5 · 2 + 7 = 17 in the original formula. The proposed formula gives 17 ÷ 5 − 7 = 3.4 − 7 = −3.6, not 2. So it is wrong.
- The error: dividing both sides by 5 divides the whole side 5x + 7, both terms (lesson 1.3). Undo the last operation first instead: subtract 7, then divide.
- Test: (17 − 7) ÷ 5 = 2.y=5x + 7y − 7=5xsubtract 7 from both sidesx=y − 75divide both sides by 5; symmetric property
Answer: x = y − 75. A rearranged formula can always be tested this way: choose values, compute the remaining letter from the original formula, and see whether the new formula gives it back.
The average of two numbers a and b is m = a + b2.[11] Solve for b.
No condition: the steps multiply by the number 2 and subtract a, both allowed for all values. Test: a = 3 and b = 11 have the average 7 (the average of two numbers), and 2 · 7 − 3 = 11.
A letter that occurs twice
When the letter to be solved for occurs in two terms, collect those terms on one side and factor the letter out (Factoring out a common factor): by the distributive property, a(b + c) = ab + ac,[12] read from right to left. Then the letter occurs once, with an expression as its coefficient, and Theorem 2 finishes the work.
The amount of a loan or a deposit after t years of simple interest is A = P + Prt (Simple interest). Solve for P.
For a rate and a time that are not negative, rt ≥ 0, so 1 + rt ≥ 1 and the condition always holds. Test: $2,000 at 5% for 3 years gives A = 2,000 + 2,000 × 0.05 × 3 = 2,300, and 2,300 ÷ (1 + 0.15) = 2,300 ÷ 1.15 = 230,000 ÷ 115 = 2,000.
Asked to solve A = P + Prt for P, someone subtracts Prt and answers P = A − Prt. Is that right?
- The equation is true: it is equivalent to the formula (Theorem 1). But P still occurs on the right, so it is not solved for P (the Definition).
- It cannot be used: with A = 2,300, r = 0.05 and t = 3, its right side is 2,300 − 0.15P, which needs the unknown P.
Answer: no. Collect both terms with P on one side and factor P out, as in the previous example.
Solve ax + 5 = cx + 9 for x. When does it have no solution?
When a = c, the third line reads 0 · x = 4: no solution (case (3) of Theorem 2, and lesson 1.9). Test: with a = 5 and c = 3 the formula gives x = 2, and 5 · 2 + 5 = 15 = 3 · 2 + 9.
A letter in a denominator
Theorem 1 multiplies and divides by expressions in the other letters. Sometimes the letter being solved for stands in a denominator, and multiplying by it is the natural step. That is multiplying by an expression that can be 0, which lesson 1.3 showed can add a solution: a value that satisfies the new equation but not the original one is called an extraneous solution.[13] The original formula already excludes the value at which its denominator is 0, and so must the answer.
The average speed of a trip is s = dt, for a time t ≠ 0 (Speed, distance and time). Solve for t.
- At t = 0 the right side has no value, so 0 is never a solution. At every t ≠ 0, multiplying both sides by the number t and dividing back by it are allowed (lesson 1.3), so there s = dt and st = d say the same thing. The solutions of s = dt are the solutions of st = d other than 0.
- If s ≠ 0, st = d has the single solution t = ds (Theorem 2). It is not 0 exactly when d ≠ 0.
- If s ≠ 0 but d = 0, the only solution of st = d is 0, which is excluded: no time fits, since a trip with a nonzero average speed covers some distance.
- If s = 0, the equation st = d reads 0 = d (Theorem 2, cases (2) and (3)). When d ≠ 0 no time fits. When d = 0 every t solves it, so every t ≠ 0 solves s = dt: a trip that covers no distance has the average speed 0, however long it lasts.
Answer: t = ds, for s ≠ 0 and d ≠ 0. If exactly one of s and d is 0, no time fits; if both are 0, every time other than 0 fits, and the formula cannot single one out. Test: 125 kilometers at an average of 50 kilometers per hour take 125 ÷ 50 = 2.5 hours, and 125 ÷ 2.5 = 50.
Formulas with the letter in a denominator lead to rational equations, studied in the unit Rational Expressions, where the excluded values and extraneous solutions are treated in general.
The strategy
To solve a formula for a letter:
- Treat every other letter as a fixed number.
- Collect the terms that contain the letter on one side and everything else on the other, adding or subtracting the same expression on both sides (Theorem 1, part 1).
- If the letter occurs in several terms, factor it out.
- Divide both sides by its coefficient, and state the condition that the coefficient is not 0 (Theorem 1, part 2, and Theorem 2).
- Check that the letter no longer occurs on the other side, and test the result with numbers that satisfy the formula.
Solve for the letter
- Round
- 1
- Score
- 0
- Streak
- 0
Solve the formula for s: which card is right, condition included?
Exercises
Solve d = st for s and state the condition. Then find s for d = 195 and t = 3.
▸ Show solution
Divide both sides by t (allowed when t ≠ 0): s = dt, for t ≠ 0. With d = 195 and t = 3: s = 65. Check: 65 × 3 = 195. If t = 0, the formula says d = 0 whatever s is, and the speed cannot be found.
Solve 2x + 5y = 20 for y, and then for x.
▸ Show solution
For y: subtract 2x, 5y = 20 − 2x; divide by 5: y = 20 − 2x5, which is also 4 − 25x. For x: subtract 5y, 2x = 20 − 5y; divide by 2: x = 20 − 5y2. No condition: the divisions are by the numbers 5 and 2.
Test with x = 5, y = 2 (10 + 10 = 20): (20 − 10) ÷ 5 = 2 and (20 − 10) ÷ 2 = 5.
The part a that is p percent of a whole w is a = p100w. Solve for w, state the condition, and find the whole of which 22 is 55%.
▸ Show solution
Multiply both sides by 100: 100a = pw. Divide by p, allowed when p ≠ 0: w = 100ap, for p ≠ 0. With a = 22 and p = 55: w = 2,200 ÷ 55 = 40. Check: 55% of 40 is 0.55 × 40 = 22.
If p = 0, the part is 0 whatever the whole is, and the whole cannot be found from it.
Someone solves y = x + 43 for x and writes x = 3y + 4. Find the error with a test, and correct it.
▸ Show solution
Multiplying both sides by 3 gives 3y = x + 4, and then 4 must be subtracted, not added: x = 3y − 4. Test: x = 2 gives y = (2 + 4) ÷ 3 = 2; the wrong formula gives 3 · 2 + 4 = 10, the right one 3 · 2 − 4 = 2.
A price p decreased at the rate d (written as a decimal: 0.2 for 20%) becomes S = p − dp. Solve for p, with its condition, and find the original price of an item that costs 57.60 dollars after a 20% decrease. What does the condition exclude?
▸ Show solution
The letter p occurs twice: factor it out, S = p(1 − d). Divide by 1 − d, allowed when d ≠ 1: p = S1 − d, for d ≠ 1. With S = 57.6 and d = 0.2: p = 57.6 ÷ 0.8 = 576 ÷ 8 = 72 dollars. Check: 72 − 0.2 × 72 = 72 − 14.4 = 57.6.
The condition excludes a decrease of 100%: then the new price is 0 whatever the original price was, and the original price cannot be found from it. This is the rule of Reverse percentages, original = new ÷ (1 − d), with its condition.
Solve kx − 3 = 2x + k for x. For which k is there no solution? Can every number be a solution?
▸ Show solution
Subtract 2x and add 3: kx − 2x = k + 3, so (k − 2)x = k + 3 and x = k + 3k − 2, for k ≠ 2. Test with k = 3: x = 6, and 3 · 6 − 3 = 15 = 2 · 6 + 3.
For k = 2 the equation reads 0 · x = 5: no solution. It is never an identity, since that would need both k − 2 = 0 and k + 3 = 0.
Solve y = 3x − 1x + 2 for x. Which value of y does the formula never give?
▸ Show solution
The formula needs x ≠ −2. At every such x, multiplying both sides by the nonzero number x + 2 gives an equation with the same solutions: y(x + 2) = 3x − 1, so xy + 2y = 3x − 1. Collect the terms with x: xy − 3x = −1 − 2y. Factor out x: x(y − 3) = −1 − 2y. Divide by y − 3, allowed when y ≠ 3: x = 2y + 13 − y.
This value is never −2, since (2y + 1) = −2(3 − y) would mean 1 = −6. If y = 3, the equation reads 3(x + 2) = 3x − 1, that is, 6 = −1: no solution, so the formula never gives y = 3. Test: x = 1 gives y = 2 ÷ 3 = 23; then 2y + 1 = 43 + 1 = 73 and 3 − y = 73, so the formula gives x = 1.
Summary
- A formula relates several quantities. Solving it for a letter isolates that letter, with coefficient 1, on one side; the other side contains only the other letters and numbers.
- The steps are those of solving an equation, with the other letters held fixed: adding or subtracting an expression keeps the solutions, and so does multiplying or dividing by an expression that is not 0 (Theorem 1).
- Every division by an expression brings a condition. If p ≠ 0, pt = q gives t = q/p; if p = 0 there is no solution or every number is one (Theorem 2).
- Undo the last operation first: remove added terms, then divide by the whole coefficient. A letter that occurs twice is collected and factored out; a formula with the letter still on the other side is not solved.
- A letter in a denominator excludes the value that makes it 0, and the answer must exclude it too. Test every rearranged formula with numbers that satisfy the original.
Sources
- 1.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 2, “Solving Linear Equations and Inequalities”, section 2.6, “Solve a Formula for a Specific Variable” (“Solve a Formula for a Specific Variable”), p. 268 (the whole topic: pp. 268–272).
“A formula is a mathematical description of the relationship between variables.”
Used for: the definition of a formula. - 2.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 2, “Solving Linear Equations and Inequalities”, section 2.6, “Solve a Formula for a Specific Variable” (“Solve a Formula for a Specific Variable”), p. 268 (the whole topic: pp. 268–272).
“Formulas are also used in the sciences, such as chemistry, physics, and biology.”
Used for: formulas are used in the sciences, such as chemistry, physics and biology (the paragraph also names medicine and spreadsheets). - 3.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 2, “Solving Linear Equations and Inequalities”, section 2.6, “Solve a Formula for a Specific Variable” (“Use the Distance, Rate, and Time Formula”), p. 266 (the whole topic: pp. 266–268).
“For an object moving at a uniform (constant) rate, the distance traveled, the elapsed time, and the rate are related by the formula:”
Used for: the distance covered at a constant speed is given by a formula, d = st (the source writes d = rt, with r for the rate). - 4.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 2, “Solving Linear Equations and Inequalities”, section 2.6, “Solve a Formula for a Specific Variable” (“Solve a Formula for a Specific Variable”), p. 270 (the whole topic: pp. 268–272).
“The formula I = Prt is used to calculate simple interest, I, for a principal, P, invested at rate, r, for t years.”
Used for: the simple interest formula I = Prt, with principal P, rate r and time t in years. - 5.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 2, “Solving Linear Equations and Inequalities”, section 2.6, “Solve a Formula for a Specific Variable” (“Solve a Formula for a Specific Variable”), p. 268 (the whole topic: pp. 268–272).
“To solve a formula for a specific variable means to isolate that variable on one side of the equals sign with a coefficient of 1. All other variables and constants are on the other side of the equals sign.”
Used for: the definition of solving a formula for a letter. - 6.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 2, “Solving Linear Equations and Inequalities”, section 2.6, “Solve a Formula for a Specific Variable” (“Solve a Formula for a Specific Variable”), p. 269 (the whole topic: pp. 268–272).
“We say the formula t = d/r is solved for t.”
Used for: a formula with the letter isolated in this way is said to be solved for that letter. - 7.National Governors Association Center for Best Practices and Council of Chief State School Officers, “Common Core State Standards for Mathematics”, Common Core State Standards Initiative (2010).Section “High School—Algebra, “Creating Equations”, A-CED.4 (p. 65)”. corestandards.org/wp-content/uploads/2023/09/Math_Standards1.pdf · open at the quoted passage.
“Rearrange formulas to highlight a quantity of interest, using the same reasoning as in solving equations.”
Used for: solving a formula for a letter is called rearranging the formula, and it uses the same reasoning as solving equations. - 8.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 2, “Solving Linear Equations and Inequalities”, section 2.6, “Solve a Formula for a Specific Variable” (“Solve a Formula for a Specific Variable”), p. 268 (the whole topic: pp. 268–272).
“We will write the solutions side-by-side to demonstrate that solving a formula in general uses the same steps as when we have numbers to substitute.”
Used for: solving a formula in general uses the same steps as solving it with numbers put in. - 9.National Governors Association Center for Best Practices and Council of Chief State School Officers, “Common Core State Standards for Mathematics”, Common Core State Standards Initiative (2010).Section “High School—Algebra, introduction: “Equations and inequalities” (p. 62)”. corestandards.org/wp-content/uploads/2023/09/Math_Standards1.pdf · open at the quoted passage.
“The same solution techniques used to solve equations can be used to rearrange formulas.”
Used for: the techniques that solve equations also rearrange formulas. - 10.National Governors Association Center for Best Practices and Council of Chief State School Officers, “Common Core State Standards for Mathematics”, Common Core State Standards Initiative (2010).Section “High School—Algebra, “Reasoning with Equations and Inequalities”, A-REI.3 (p. 65)”. corestandards.org/wp-content/uploads/2023/09/Math_Standards1.pdf · open at the quoted passage.
“Solve linear equations and inequalities in one variable, including equations with coefficients represented by letters.”
Used for: linear equations in one variable may have coefficients represented by letters; solving a formula is solving such an equation. - 11.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).Chapter 5, “Decimals”, section 5.5, “Averages and Probability” (“Calculate the Mean of a Set of Numbers”), p. 422 (the whole topic: pp. 421–423).
“The mean is often called the arithmetic average. It is computed by dividing the sum of the values by the number of values.”
Used for: the average of two numbers a and b is their sum divided by 2, (a + b)/2. - 12.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 1, “Foundations”, section 1.9, “Properties of Real Numbers” (“Simplify Expressions Using the Distributive Property”), p. 155 (the whole topic: pp. 155–158).
“If a, b, c are real numbers, then a(b + c) = ab + ac”
Used for: the distributive property a(b + c) = ab + ac, read from right to left to factor out a letter. - 13.Eric W. Weisstein, “Extraneous Solution”, MathWorld, a Wolfram Web Resource.Section “Extraneous Solution”. mathworld.wolfram.com/ExtraneousSolution.html · open at the quoted passage.
“An extraneous solution is a value that satisfies an equation obtained while solving an original equation but does not satisfy the original equation.”
Used for: the definition of an extraneous solution.