Sitonce
Country: US
Show exams for United States Hong Kong
Sign in

Solving Literal Equations for a Variable

Updated 6 min read
Key takeaway

To solve a literal equation for a variable, treat the other letters as constants and use inverse operations to isolate the target.

More key points
  • Preserve equality by applying each operation to both sides, factor the target variable when it appears more than once, and note any values that make a denominator zero.
On this page8 sections
  1. The core idea: undo the operations around the target
  2. Move terms, then divide
  3. When the target appears more than once
  4. Variables in denominators
  5. A reliable step-by-step process
  6. Worked checks
  7. Mistakes to watch for
  8. Exam takeaway

A literal equation is an equation whose quantities are represented by letters. Solving it for a particular variable means rewriting the relationship so that variable is alone on one side. For example, the distance formula d = rt is already solved for d, but can be rearranged to r = d/t or t = d/r. The letters not being isolated are treated like known constants while you work. The same equality rules used for numerical equations still apply.

The core idea: undo the operations around the target

Look at the target variable and identify what is being done to it. If it is multiplied by a quantity, divide both sides by that quantity. If a quantity is added, subtract it from both sides. If the target appears in a denominator, multiply both sides by that denominator and then isolate the variable. Work in reverse order of the operations, much like undoing layers around a number. Every operation must preserve equality.

Consider C = 2πr, the circumference formula for a circle. To solve for r, divide both sides by 2π: r = C/(2π). The letters C and π are not variables to solve for in this step; they are quantities treated as fixed. Do not replace π with 3.14 unless a numerical approximation is requested. Keeping the exact expression often avoids rounding error.

Move terms, then divide

When the target is part of a sum, first move the other terms away. Suppose A = bh/2 and you need h. Multiply both sides by 2 to clear the fraction: 2A = bh. Then divide by b: h = 2A/b. The order matters because dividing before clearing the fraction can create unnecessary complexity, though a correct sequence of equivalent operations will lead to the same result.

For a formula such as y = mx + b, solve for x by subtracting b from both sides: y − b = mx. Then divide by m: x = (y − b)/m. The expression is valid only when m ≠ 0. If m equals zero, the original equation becomes y = b and may have no solution for x or every x, depending on y. A denominator introduced during rearrangement carries a restriction that should not be ignored.

When the target appears more than once

If the target variable occurs in multiple terms, gather those terms using the distributive property and factoring. For example, solve P = 2l + 2w for l. Subtract 2w from both sides: P − 2w = 2l. Divide by 2: l = (P − 2w)/2, which can also be written l = P/2 − w. This common perimeter rearrangement is a useful check that the target has been isolated correctly.

Now consider Q = ax + bx, where x appears twice. Factor x: Q = x(a + b). Then divide by a + b: x = Q/(a + b), provided a + b is not zero. A frequent mistake is to divide only one of the terms by its coefficient or to cancel a symbol across addition. Cancellation is valid with a common factor, not across a sum. Factoring makes the common multiplier visible before division.

Variables in denominators

Suppose y = a/x and you need x. Multiply both sides by x: xy = a. Then divide by y: x = a/y, assuming y ≠ 0. The original equation also required x ≠ 0 because it appeared in a denominator. Preserve both domain restrictions when they matter. If the context gives positive lengths or times, those contextual conditions may narrow the mathematically possible values further.

For a more involved example, solve 1/f = 1/u + 1/v for v. First combine the right-hand fractions: 1/f = (u + v)/(uv). Cross-multiply to get uv = f(u + v) = fu + fv. Put the terms containing v together: uv − fv = fu. Factor v: v(u − f) = fu. Divide to obtain v = fu/(u − f), provided u − f ≠ 0. This problem rewards careful fraction handling and collecting the target terms on the same side.

A reliable step-by-step process

  1. Circle the variable named in the instruction. Treat every other symbol as a constant for this rearrangement.
  2. Simplify obvious structure first: combine like terms, distribute when needed, or factor a common target variable.
  3. Undo addition and subtraction before multiplication and division when that sequence exposes the target cleanly.
  4. Clear complex fractions by multiplying both sides by a common denominator, while recording values that make the denominator zero.
  5. Move all terms containing the target to one side, factor the target, and divide by its remaining coefficient or factor.
  6. Substitute the rearranged expression back into the original equation or check it with convenient numerical values.
  7. State restrictions such as a denominator not being zero. In applied problems, also respect conditions such as positive time, length, or quantity.

Worked checks

Solve the simple-interest formula for time

The simple-interest relationship is I = Prt, where I is interest, P principal, r annual rate as a decimal, and t time in years. To isolate t, divide both sides by Pr: t = I/(Pr). Check by substituting: Pr × I/(Pr) = I, as long as P and r are nonzero. If r is entered as 5 rather than 0.05 for a 5% rate, the formula may be rearranged correctly but the numerical result will be wrong. Algebra and unit interpretation both matter.

Solve a weighted-average formula for one score

Suppose a course average is G = (w1s1 + w2s2)/(w1 + w2), and you want to find s2. Multiply by the total weight: G(w1 + w2) = w1s1 + w2s2. Subtract w1s1: G(w1 + w2) − w1s1 = w2s2. Divide by w2: s2 = [G(w1 + w2) − w1s1]/w2, assuming w2 is nonzero. Multiplying first prevents the target from being trapped inside a fraction.

Mistakes to watch for

  • Changing one side without applying the same operation to the other side.
  • Cancelling terms across addition, such as reducing x in (x + 3)/x to 3. Only common factors can cancel.
  • Forgetting parentheses when dividing a sum. From y − b = mx, the result is x = (y − b)/m, not y − b/m.
  • Treating a coefficient as if it were a separate variable to solve for. State clearly which symbol is the target.
  • Losing restrictions when dividing by a letter expression. A denominator must be nonzero.
  • Rounding constants too early. Keep exact forms such as 2π until the problem asks for a decimal.

Exam takeaway

A literal equation is solved with the same balance principle as a one-variable numerical equation. Decide which letter is the target, undo operations around it, factor when it appears in more than one term, and check denominators. The strongest final check is substitution into the original relationship: the target expression should make both sides equal without violating any restrictions.

Common questions

Are the other letters variables when solving a literal equation?

They are symbols, but treat them as fixed quantities while isolating the requested variable. Their values may be supplied later.

Can I cancel a variable from a sum?

No. Cancellation requires a common factor in the entire numerator and denominator. Factor first when possible; do not cancel across addition or subtraction.

Should I include restrictions in the answer?

Yes, when division creates a condition. For example, x = a/b requires b ≠ 0. Applied settings may also impose limits such as positive lengths or rates.