# 2.4: Solving Formulas for a Specific Variable

- Page ID
- 45784

### Learning outcome

- Solve any given formula for a specific variable

Though mathematical, formulas are the backbone of understanding content form many areas of study. They are 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 Excel^{TM} 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.

A common formula is for calculating distance based on rate and time. This formula gives the value of when you substitute in the values of and . But what if you have to find the value of . We would need to substitute in values of and and then use algebra to solve for . If you had to do this often, you might wonder why there isn’t a formula that gives the value of when you substitute in the values of and . We can get a formula like this by solving the formula for .

**To solve a formula for a specific variable** means to get that variable by itself with a coefficient of 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 for

- When and
- Algebraically

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 and | 2. Algebraically | |

Write the formula. | ||

Substitute any given values. | ||

Divide to isolate t. | ||

Simplify. |

We say the formula is solved for . We can use this version of the formula any time we are given the distance and rate and need to find the time.

### Try it

An interactive or media element has been excluded from this version of the text. You can view it online here: http://pb.libretexts.org/afm-2/?p=112

We can use the formula to find the area of a triangle when we are 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 . Solve this formula for

- When and
- Algebraically

[reveal-answer q=”190834″]Show Answer[/reveal-answer]

[hidden-answer a=”190834″]

Solution:

1. When A = 90 and b = 15 | 2. Algebraically | |

Write the forumla. | ||

Substitute any given values. | ||

Clear the fractions. | ||

Simplify. | ||

Solve for h. |

We can now find the height of a triangle, if we know the area and the base, by using the formula

[/hidden-answer]

### try it

An interactive or media element has been excluded from this version of the text. You can view it online here: http://pb.libretexts.org/afm-2/?p=112

Previously, we used the formula to calculate simple interest, where is interest, is principal, is rate as a decimal, and is time in years.

### example

Solve the formula to find the principal,

- When
- Algebraically

[reveal-answer q=”542986″]Show Answer[/reveal-answer]

[hidden-answer a=”542986″]

Solution:

1. I = $5600, r = 4%, t = 7 years | 2. Algebraically | |

Write the forumla. | ||

Substitute any given values. | ||

Multiply r ⋅ t. | ||

Divide to isolate P. | ||

Simplify. | ||

State the answer. | The principal is $20,000. |

[/hidden-answer]

### try it

An interactive or media element has been excluded from this version of the text. You can view it online here: http://pb.libretexts.org/afm-2/?p=112

Watch the following video to see another example of how to solve an equation for a specific variable.

Later in this class, and in future algebra classes, you’ll encounter equations that relate two variables, usually and . You might be given an equation that is solved for and you need to solve it for , or vice versa. In the following example, we’re given an equation with both and on the same side and we’ll solve it for . To do this, we will follow the same steps that we used to solve a formula for a specific variable.

### example

Solve the formula for

- When
- Algebraically

[reveal-answer q=”908211″]Show Answer[/reveal-answer]

[hidden-answer a=”908211″]

Solution:

1. When x = 4 | 2. Algebraically | |

Write the equation. | ||

Substitute any given values. | ||

Simplify if possible. | ||

Subtract to isolate the y-term. | ||

Simplify. | ||

Divide. | ||

Simplify. |

[/hidden-answer]

In the previous examples, we used the numbers in part (a) as a guide to solving algebraically 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 for .

[reveal-answer q=”872233″]Show Answer[/reveal-answer]

[hidden-answer a=”872233″]

Solution:

We will isolate on one side of the equation.

We will isolate a on one side of the equation. | ||

Write the equation. | ||

Subtract b and c from both sides to isolate a. | ||

Simplify. |

So,

[/hidden-answer]

### try it

### example

Solve the equation for .

[reveal-answer q=”923766″]Show Answer[/reveal-answer]

[hidden-answer a=”923766″]

Solution

We will isolate on one side of the equation.

We will isolate y on one side of the equation. | ||

Write the equation. | ||

Subtract 3x from both sides to isolate y. | ||

Simplify. |

[/hidden-answer]

### try it

### example

Solve the equation for .

[reveal-answer q=”259834″]Show Answer[/reveal-answer]

[hidden-answer a=”259834″]

Solution:

We will isolate on one side of the equation.

We will isolate y on one side of the equation. | |

Write the equation. | |

Subtract to isolate the term with y. | |

Simplify. | |

Divide by 5 to make the coefficient 1. | |

Simplify. |

[/hidden-answer]

### try it

In the following video we show another example of how to solve an equation for a specific variable.

- Prealgebra.
**Provided by**: OpenStax.**License**:*CC BY: Attribution*.**License Terms**: Download for free at http://cnx.org/contents/caa57dab-41c...cda5519c@9.757