### Learning outcome

- Solve any given formula for a specific variable

Though mathematical, formulas are the backbone of understanding content from 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 [latex]d=rt[/latex] for calculating distance based on rate and time. This formula gives the value of [latex]d[/latex] when you substitute in the values of [latex]r[/latex] and [latex]t[/latex]. But what if you have to find the value of [latex]t[/latex]. We would need to substitute in values of [latex]d[/latex] and [latex]r[/latex] and then use 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]

- When [latex]d=520[/latex] and [latex]r=65[/latex]
- 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 [latex]d = 520[/latex] and [latex]r = 65[/latex] | 2. Algebraically | |

Write the formula. | [latex]d=rt[/latex] | [latex]d=rt[/latex] |

Substitute any given values. | [latex]520=65t[/latex] | |

Divide to isolate t. |
[latex]{\Large\frac{520}{65}}={\Large\frac{65t}{65}}[/latex] | [latex]{\Large\frac{d}{r}}={\Large\frac{rt}{r}}[/latex] |

Simplify. | [latex]8=t[/latex]
[latex]t=8[/latex] |
[latex]{\Large\frac{d}{r}}=t[/latex]
[latex]t={\Large\frac{d}{r}}[/latex] |

We say the formula [latex]t={\Large\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.

### Try it

We can use the formula [latex]A=\Large\frac{1}{2}\normalsize bh[/latex] 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 [latex]A=\Large\frac{1}{2}\normalsize bh[/latex]. Solve this formula for [latex]h\text{:}[/latex]

- When [latex]A=90[/latex] and [latex]b=15[/latex]
- Algebraically

### try it

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]

- When [latex]I=\text{\$5,600},r=\text{4%},t=7\text{years}[/latex]
- Algebraically

### try it

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 [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]

- When [latex]x=4[/latex]
- Algebraically

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 [latex]P=a+b+c[/latex] for [latex]a[/latex].

### try it

### example

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

### try it

### example

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

### try it

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