We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Prealgebra

Solving a Formula for a Specific Variable

Learning Outcomes

  • Solve a formula or equation for a specific variable using the properties of equality
In this chapter, you became familiar with some formulas used in geometry. Formulas are also very useful in the sciences and social sciences—fields such as chemistry, physics, biology, psychology, sociology, and criminal justice. Healthcare workers use formulas, too, even for something as routine as dispensing medicine. The widely used spreadsheet program Microsoft ExcelTM relies on formulas to do its calculations. Many teachers use spreadsheets to apply formulas to compute student grades. It is important to be familiar with formulas and be able to manipulate them easily. In some examples, we used the formula [latex]d=rt[/latex]. This formula gives the value of [latex]d[/latex] when you substitute in the values of [latex]r[/latex] and [latex]t[/latex]. But in another example, we had to find the value of [latex]t[/latex]. We substituted in values of [latex]d[/latex] and [latex]r[/latex] and then used algebra to solve for [latex]t[/latex]. If you had to do this often, you might wonder why there isn’t a formula that gives the value of [latex]t[/latex] when you substitute in the values of [latex]d[/latex] and [latex]r[/latex]. We can get a formula like this by solving the formula [latex]d=rt[/latex] for [latex]t[/latex].
To solve a formula for a specific variable means to get that variable by itself with a coefficient of [latex]1[/latex] on one side of the equation and all the other variables and constants on the other side. We will call this solving an equation for a specific variable in general. This process is also called solving a literal equation. The result is another formula, made up only of variables. The formula contains letters, or literals.
Let’s try a few examples, starting with the distance, rate, and time formula we used above.

example

Solve the formula [latex]d=rt[/latex] for [latex]t\text{:}[/latex]
  1. When [latex]d=520[/latex] and [latex]r=65[/latex]
  2. In general.
Solution: We’ll write the solutions side-by-side so you can see that solving a formula in general uses the same steps as when we have numbers to substitute.
1. When d = 520 and r = 65 2. In general
Write the formula. [latex]d=rt[/latex] [latex]d=rt[/latex]
Substitute any given values. [latex]520=65t[/latex]
Divide to isolate t. [latex]\frac{520}{65}=\frac{65t}{65}[/latex] [latex]\frac{d}{r}=\frac{rt}{r}[/latex]
Simplify. [latex]8=t[/latex] [latex]t=8[/latex] [latex]\frac{d}{r}=t[/latex] [latex]t=\frac{d}{r}[/latex]
We say the formula [latex]t=\frac{d}{r}[/latex] is solved for [latex]t[/latex]. We can use this version of the formula any time we are given the distance and rate and need to find the time.   We used the formula [latex]A=\frac{1}{2}bh[/latex] to find the area of a triangle when we were given the base and height. In the next example, we will solve this formula for the height.

example

The formula for area of a triangle is [latex]A=\frac{1}{2}bh[/latex]. Solve this formula for [latex]h\text{:}[/latex]
  1. When [latex]A=90[/latex] and [latex]b=15[/latex]
  2. In general

Answer:

Solution:
1. When A = 90 and b = 15 2. In general
Write the forumla. [latex]A=\frac{1}{2}bh[/latex] [latex]A=\frac{1}{2}bh[/latex]
Substitute any given values. [latex]90=\frac{1}{2}\cdot{15}\cdot{h}[/latex]
Clear the fractions. [latex]\color{red}{2}\cdot{90}=\color{red}{2}\cdot\frac{1}{2}\cdot{15}\cdot{h}[/latex] [latex]\color{red}{2}\cdot{A}=\color{red}{2}\cdot\frac{1}{2}\cdot{b}\cdot{h}[/latex]
Simplify. [latex]180=15h[/latex] [latex]2A=bh[/latex]
Solve for h. [latex]12=h[/latex] [latex]\frac{2A}{b}=h[/latex]
We can now find the height of a triangle, if we know the area and the base, by using the formula [latex-display]h=\frac{2A}{b}[/latex-display]

  Previously, we used the formula [latex]I=Prt[/latex] to calculate simple interest, where [latex]I[/latex] is interest, [latex]P[/latex] is principal, [latex]r[/latex] is rate as a decimal, and [latex]t[/latex] is time in years.

example

Solve the formula [latex]I=Prt[/latex] to find the principal, [latex]P\text{:}[/latex]
  1. When [latex]I=\text{\$5,600},r=\text{4%},t=7\text{years}[/latex]
  2. In general

Answer:

Solution:
1.  I = $5600, r = 4%, t = 7 years 2. In general
Write the forumla. [latex]I=Prt[/latex] [latex]I=Prt[/latex]
Substitute any given values. [latex]5600=P(0.04)(7)[/latex] [latex]I=Prt[/latex]
Multiply rt. [latex]5600=P(0.28)[/latex] [latex]I=P(rt)[/latex]
Divide to isolate P. [latex]\frac{5600}{\color{red}{0.28}}=\frac{P(0.28)}{\color{red}{0.28}}[/latex] [latex]\frac{I}{\color{red}{rt}}=\frac{P(rt)}{\color{red}{rt}}[/latex]
Simplify. [latex]20,000=P[/latex] [latex]\frac{I}{rt}=P[/latex]
State the answer. The principal is $20,000. [latex]P=\frac{I}{rt}[/latex]

  Watch the following video to see another example of how to solve an equation for a specific variable. https://youtu.be/VQZQvJ3rXYg Later in this class, and in future algebra classes, you’ll encounter equations that relate two variables, usually [latex]x[/latex] and [latex]y[/latex]. You might be given an equation that is solved for [latex]y[/latex] and you need to solve it for [latex]x[/latex], or vice versa. In the following example, we’re given an equation with both [latex]x[/latex] and [latex]y[/latex] on the same side and we’ll solve it for [latex]y[/latex]. To do this, we will follow the same steps that we used to solve a formula for a specific variable.

example

Solve the formula [latex]3x+2y=18[/latex] for [latex]y\text{:}[/latex]
  1. When [latex]x=4[/latex]
  2. In general

Answer:

Solution:
1. When x = 4 2. In general
Write the equation. [latex]3x+2y=18[/latex] [latex]3x+2y=18[/latex]
Substitute any given values. [latex]3(4)+2y=18[/latex] [latex]3x+2y=18[/latex]
Simplify if possible. [latex]12+2y=18[/latex] [latex]3x+2y=18[/latex]
Subtract to isolate the y-term. [latex]12\color{red}{-12}+2y=18\color{red}{-12}[/latex] [latex]3x\color{red}{-3x}+2y=18\color{red}{-3x}[/latex]
Simplify. [latex]2y=6[/latex] [latex]2y=18-3x[/latex]
Divide. [latex]\frac{2y}{\color{red}{2}}=\frac{6}{\color{red}{2}}[/latex] [latex]\frac{2y}{\color{red}{2}}=\frac{18-3x}{\color{red}{2}}[/latex]
Simplify. [latex]y=3[/latex] [latex]y=\frac{18-3x}{2}[/latex]

    In the previous examples, we used the numbers in part (a) as a guide to solving in general in part (b). Do you think you’re ready to solve a formula in general without using numbers as a guide?

example

Solve the formula [latex]P=a+b+c[/latex] for [latex]a[/latex].

Answer:

Solution: We will isolate [latex]a[/latex] on one side of the equation.
We will isolate a on one side of the equation.
Write the equation. [latex]P=a+b+c[/latex]
Subtract b and c from both sides to isolate a. [latex]P\color{red}{-b-c}=a+b+c\color{red}{-b-c}[/latex]
Simplify. [latex]P-b-c=a[/latex]
So, [latex]a=P-b-c[/latex]

   

example

Solve the equation [latex]3x+y=10[/latex] for [latex]y[/latex].

Answer:

Solution We will isolate [latex]y[/latex] on one side of the equation.
We will isolate y on one side of the equation.
Write the equation. [latex]3x+y=10[/latex]
Subtract 3x from both sides to isolate y. [latex]3x\color{red}{-3x}+y=10\color{red}{-3x}[/latex]
Simplify. [latex]y=10 - 3x[/latex]

   

example

Solve the equation [latex]6x+5y=13[/latex] for [latex]y[/latex].

Answer:

Solution: We will isolate [latex]y[/latex] on one side of the equation.
We will isolate y on one side of the equation.
Write the equation. [latex]6x+5y=13[/latex]
Subtract to isolate the term with y. [latex]6x+5y\color{red}{-6x}=13\color{red}{-6x}[/latex]
Simplify. [latex]5y=13-6x[/latex]
Divide by 5 to make the coefficient 1. [latex]\frac{5y}{\color{red}{5}}=\frac{13-6x}{\color{red}{5}}[/latex]
Simplify. [latex]y=\frac{13-6x}{5}[/latex]

  In the following video we show another example of how to solve an equation for a specific variable. https://youtu.be/dG0_i8lN2y0

Licenses & Attributions

CC licensed content, Shared previously

  • Find the Base of a Triangle Given Area / Literal Equation. Authored by: James Sousa (Mathispower4u.com). License: CC BY: Attribution.
  • Literal Equations: Solve ax-by=c for y. Authored by: James Sousa (Mathispower4u.com). License: CC BY: Attribution.
  • Question ID 142912, 142894, 142892, 145640, 142895, 145635. Authored by: Lumen Learning. License: CC BY: Attribution. License terms: IMathAS Community License, CC-BY + GPL.
  • Question ID 142895. Authored by: Sousa James. License: CC BY: Attribution. License terms: IMathAS Community License, CC-BY + GPL.

CC licensed content, Specific attribution