# Open Resources for Community College Algebra

## Section2.5Isolating a Linear Variable

In this section, we solve for a variable in a linear equation even when there are other variables present. The process is not really new, but there is a little more abstraction as we track those other variables through each step.

### Subsection2.5.1Solving for a Variable

The formula of calculating a rectangleās area is $$A=\ell w\text{,}$$ where $$\ell$$ stands for the rectangleās length and $$w$$ stands for its width. When a rectangleās length and width are given, this formula lets us calculate the rectangleās area.
What if we know a rectangleās area and length, but we need to calculate its width?
Well, if a rectangleās area is 12 m2, and its length is 4 m, we could substitute these values into the area formula and then we have only one variable left, $$w\text{,}$$ and we can solve for it:
\begin{align*} \substitute{12}\amp=\substitute{4}w\\ \divideunder{12}{4}\amp=\divideunder{4w}{4}\\ 3\amp=w\implies w=3 \end{align*}
We can go through the same steps without using specific numbers for $$A$$ and $$\ell\text{:}$$
\begin{align*} \substitute{A}\amp=\substitute{\ell}w\\ \divideunder{A}{\ell}\amp=\divideunder{\ell w}{\ell}\\ \frac{A}{\ell}\amp=w\implies w =\frac{A}{\ell} \end{align*}
Now we have an equation where $$w$$ is islated. For example if we want to find the width when $$A=12$$ and $$\ell=4\text{,}$$ we have a formula: $$w=\frac{A}{\ell}=\frac{12}{4}=3\text{.}$$ This formula can be used again: what if $$A=100$$ and $$\ell=20\text{?}$$ Or if $$A=23.47$$ and $$\ell=2.71\text{?}$$ This formula, $$w=\frac{A}{\ell}\text{,}$$ is a handy alternative to the original formula $$A=\ell w$$ for situations where $$w$$ is the unknown value.
Note that when solving for $$A\text{,}$$ we divided each side of the equation by $$\ell\text{.}$$ Why exactly? We were trying to isolate $$w\text{,}$$ and $$w$$ was being multiplied by $$A\text{.}$$ Itās key to understand that we applied the opposite action (dividing by $$A$$) to what was happening to our target variable (it was being multiplied by $$A$$). We will think in terms of āun-doingā actions as we continue.

#### Example2.5.2.

Solve for $$R$$ in $$P=R-C\text{.}$$ (This is the relationship in economics between profit, revenue, and cost.)
To solve for $$R\text{,}$$ we notice what is happening to $$R$$ in this equation: $$C$$ is subtracted from $$R\text{.}$$ To undo this, we add $$C$$ to each side. As we track our steps below, weāll emphasize which variable it is that we are trying to isolate. With more than one variable here, it can be easy to lose track of which one you are trying to solve for.
In other words, revenue is the sum of profit and cost.

#### Example2.5.3.

Solve for $$x$$ in $$y=mx+b\text{.}$$ (This is a lineās equation in slope-intercept form, which we study thoroughly in SectionĀ 3.5.)
Explanation.
In the equation $$y=mx+b\text{,}$$ we see that $$x$$ is multiplied by $$m$$ and then $$b$$ is added to that. Think of $$x$$ as a birthday present, enclosed in a box, and then placed in a gift bag. To get your gift, you need to āundoā those containers in the opposite order: take it out of the bag, then open the box. We need to undo multiplying by $$m$$ and adding $$b$$ in the opposite order. So we will start by subtracting $$b\text{:}$$
\begin{align*} y\amp=m\attention{x}+b\\ y\subtractright{b}\amp=m\attention{x}+b\subtractright{b}\\ y-b\amp=m\attention{x} \end{align*}
And then dividing by $$m\text{:}$$
\begin{align*} \divideunder{y-b}{m}\amp=\divideunder{m\attention{x}}{m}\\ \frac{y-b}{m}\amp=\attention{x}\amp\implies x\amp=\frac{y-b}{m} \end{align*}

#### Warning2.5.4.

In ExampleĀ 3, each side was divided by $$m\text{.}$$ Itās not uncommon for students to have $$y-b=mx$$ and write something like $$\frac{y}{m}-b=\frac{mx}{m}\text{,}$$ but this is incorrect. If you are going to divide by something as a step in the process, you will need to divide the two sides of the equation.

#### Example2.5.5.

Solve for $$b$$ in $$A=\frac{1}{2}bh\text{.}$$ (This is the area formula for a triangle.)
Explanation.
As we studied in SectionĀ 3, when an equation has fractions, a helpful first step is to clear denominators. So here we will multiply by $$2$$ on each side.
\begin{align*} \multiplyleft{2}A\amp=\multiplyleft{2}\frac{1}{2}\attention{b}h\\ 2A\amp=\attention{b}h \end{align*}
Now our target variable is being multiplied by $$h\text{,}$$ so we apply the opposite action, dividing by $$h\text{:}$$
\begin{align*} \divideunder{2A}{h}\amp=\divideunder{\attention{b}h}{h}\\ \frac{2A}{h}\amp=\attention{b}\amp\implies b\amp=\frac{2A}{h} \end{align*}

#### Checkpoint2.5.6.

Solve for $$y$$ in $$2x+5y=10\text{.}$$ (This is a linear equation in standard form, studied more in SectionĀ 3.7.)
Explanation.
To solve for $$y\text{,}$$ we first isolate $$5y$$ by subtracting $$2x$$ from each side of the equation. After that, we can divide each side by $$5$$ to finish solving for $$y\text{:}$$
\begin{equation*} \begin{aligned} 2x+5\attention{y}\amp=10\\ 2x+5\attention{y}\subtractright{2x}\amp=10\subtractright{2x}\\ 5\attention{y}\amp=10-2x\\ \divideunder{5\attention{y}}{5}\amp=\divideunder{10-2x}{5}\\ y\amp=\frac{10-2x}{5} \end{aligned} \end{equation*}

#### Example2.5.7.

Solve for $$F$$ in $$C=\frac{5}{9}(F-32)\text{.}$$ (This represents the relationship between temperature in degrees Celsius and degrees Fahrenheit.)
Explanation.
There is more than one way to do this, but we will follow the guidance that weāve already developed in this textbook. Our first step will be to clear the denominator:
\begin{align*} C\amp=\frac{5}{9}(\attention{F}-32)\\ \multiplyleft{9}C\amp=\multiplyleft{9}\frac{5}{9}(\attention{F}-32)\\ 9C\amp=5(\attention{F}-32) \end{align*}
Now what is happening to our target variable $$F\text{?}$$ It has $$32$$ subtracted from it, and then that result is multiplied by $$5\text{.}$$ So we will do the opposite actions in the opposite order: divide by $$5$$ and then add $$32\text{.}$$

#### 1.

Suppose you want to solve the equation $$mq+b=T$$ for $$q\text{.}$$ What would be wrong with dividing on each side by $$m$$ to get $$\frac{mq}{m}+b=\frac{T}{m}\text{?}$$

#### 2.

How do you undo dividing by $$R\text{?}$$

#### 3.

What is one reason why we might take a formula like $$P=IV$$ and find it useful to solve for $$I$$ and write $$I=\frac{P}{V}\text{?}$$

### Exercises2.5.3Exercises

#### Skills Practice

##### Solving for a Variable.
###### 1.
1. Solve $$x+9=11$$ for $$x\text{.}$$
2. Solve $$y + b = n$$ for $$y\text{.}$$
###### 2.
1. Solve $$y-1=1$$ for $$y\text{.}$$
2. Solve $$x-c=1$$ for $$x\text{.}$$
###### 3.
1. Solve $$-y+1=-9$$ for $$y\text{.}$$
2. Solve $$-t+p=n$$ for $$t\text{.}$$
###### 4.
1. Solve $$3r = 12$$ for $$r\text{.}$$
2. Solve $$ay=B$$ for $$y\text{.}$$
###### 5.
1. Solve $$\frac{r}{3}=10$$ for $$r\text{.}$$
2. Solve $$\frac{x}{m}=a$$ for $$x\text{.}$$
###### 6.
1. Solve $$4t+3=11$$ for $$t\text{.}$$
2. Solve $$yr+x=a$$ for $$r\text{.}$$
###### 7.
1. Solve $$ty = A$$ for $$t\text{.}$$
2. Solve $$ty = A$$ for $$y\text{.}$$
###### 8.
1. Solve $$t+x = q$$ for $$t\text{.}$$
2. Solve $$t+x = q$$ for $$x\text{.}$$
###### 9.
1. Solve $$Cx+y=q$$ for $$y\text{.}$$
2. Solve $$Cx+y=q$$ for $$C\text{.}$$
###### 10.
1. Solve $$t=ar+p$$ for $$r\text{.}$$
2. Solve $$t=ar+p$$ for $$a\text{.}$$
###### 11.
1. Solve $$6=\frac{1}{2} b \cdot 4$$ for $$b\text{.}$$
2. Solve $$A=\frac{1}{2} b \cdot h$$ for $$b\text{.}$$
###### 12.
Solve these linear equations for $$y\text{.}$$
1. $$\displaystyle \frac{y}{5}+4=6$$
2. $$\displaystyle \frac{y}{r}+4=B$$
###### 13.
Solve this linear equation for $$x\text{.}$$
\begin{equation*} y=mx-b \end{equation*}
###### 14.
Solve this linear equation for $$x\text{.}$$
\begin{equation*} y=-mx+b \end{equation*}
###### 15.
Solve this linear equation for $$r\text{.}$$
\begin{equation*} C=2 \pi r \end{equation*}
###### 16.
Solve this linear equation for $$h\text{.}$$
\begin{equation*} V= \pi r^{2} h \end{equation*}
###### 17.
Solve this linear equation for $$t\text{.}$$
\begin{equation*} \frac{t}{r}+q=p \end{equation*}
###### 18.
Solve this linear equation for $$x\text{.}$$
\begin{equation*} \frac{x}{9}+r=C \end{equation*}
###### 19.
Solve this linear equation for $$r\text{.}$$
\begin{equation*} b=A-\frac{9r}{t} \end{equation*}
###### 20.
Solve this linear equation for $$x\text{.}$$
\begin{equation*} Ax+By=C \end{equation*}
###### 21.
Solve this linear equation for $$y\text{.}$$
\begin{equation*} Ax+By=C \end{equation*}
###### 22.
Solve the linear equation for $$y\text{.}$$
$${-24x-4y}={-12}$$
###### 23.
Solve the linear equation for $$y\text{.}$$
$${-3x-y}={-13}$$
###### 24.
Solve the linear equation for $$y\text{.}$$
$${-7x-8y}={-96}$$
###### 25.
Solve the linear equation for $$y\text{.}$$
$${2x-8y}={11}$$
###### 26.
Solve the linear equation for $$y\text{.}$$
$${-53x+89y}={278}$$