# 4.3: Solving Linear Equations in One Variable

- Page ID
- 19646

Learning Outcomes

- Solve linear equations for the variable.

It is a common task in algebra to solve an equation for a variable. The goal will be to get the variable on one side of the equation all by itself and have the other side of the equation just be a number. The process will involve identifying the operations that are done on the variable and apply the inverse operation to both sides of the equation. This will be managed in the reverse of the order of operations.

Example \(\PageIndex{1}\)

Solve the following equation for \(x\).

\[3x+4=11 \label{EQ1.1}\]

**Solution**

We begin by looking at the operations that are done to \(x\), keeping track the order. The first operation is "multiply by 3" and the second is "add 4". We now do everything backwards. Since the last operation is "add 4", our first step is to subtract 4 from both sides of Equation \ref{EQ1.1}.

\[3x \cancel{+ 4} \color{Cerulean}{ \cancel{-4}} \color{black} =11 \color{Cerulean}{ -4} \nonumber\]

which simplifies the equation

\[3x = 7 \nonumber\]

Next, the way to undo "multiply by 3" is to divide both sides by 3. We get

\[ \dfrac{\cancel{3}x}{\color{Cerulean}{\cancel{3}}} \color{black}= \dfrac{7}{\color{Cerulean}{3}} \nonumber\]

or

\[x=\dfrac{7}{3} \nonumber\]

Example \(\PageIndex{2}\)

The rectangle above is a diagram for a uniform distribution from 2 to 9 that asks for the first quartile. The area of the smaller red rectangle that has base from 2 to Q1 and height 1/7 is 1/4. Find Q1.

**Solution**

We start by using the area formula for a rectangle:

\[\text{Area} = \text{Base} \times \text{Height} \label{EQ1}\]

We have:

- Area = \(\frac{1}{4}\)
- Base = \(Q1-2\)
- Height = \(\frac{1}{7}\)

Plug this into Equation \ref{EQ1} to get:

\[\frac{1}{4}=\left(Q1-2\right)\left(\frac{1}{7}\right) \label{EQ2}\]

We need to solve for \(Q1\). First multiple both sides of Equation \ref{EQ2} by 7 to get:

\[ \begin{align} \color{Cerulean}{7} \color{black} \left(\dfrac{1}{4}\right) &= \color{Cerulean}{\cancel{7}} \color{black} \left(Q1-2\right) \cancel{ \left(\frac{1}{7}\right)} \nonumber \\[5pt] \dfrac{7}{4} &=Q1-2 \label{EQ4} \end{align}\]

Now add 2 to both sides of Equation \ref{EQ4} to get:

\[ \begin{align*} \dfrac{7}{4} \color{Cerulean} +2 \color{black} & =Q1 \cancel{-2} \color{Cerulean}{\cancel{+2}} \\[5pt] \dfrac{7}{4}+2&=Q1 \end{align*}\]

or

\[Q1=\frac{7}{4}+2 \nonumber\]

Putting this into a calculator gives:

\[Q1=3.75 \nonumber\]

Example \(\PageIndex{3}\): z-score

The z-score for a given value \(x\) for a distribution with population mean \(\mu \) and population standard deviation \(\sigma \) is given by:

\[z=\frac{x-\mu}{\sigma} \nonumber\]

An online retailer has found that the population mean sales per day is $2,841 and the population standard deviation is $895. A value of \(x\) is considered an outlier if the z-score is less than -2 or greater than 2. How many sales must be made to have a z-score of 2?

**Solution**

First we identify each of the given variables. Since the population mean is 2,841, we have:

\[\mu=2841 \nonumber \]

We are told that the population standard deviation is 895 meters, so:

\[\sigma=895 \nonumber \]

We are also given that the z-score is 2, hence:

\[z=2 \nonumber \]

Now we put the numbers into the formula for the z-score to get:

\[2=\frac{x-2841}{895} \nonumber \]

We can next switch the order of the equation so that the \(x\) is on the left hand side of the equation:

\[\frac{x-2841}{895}=2 \nonumber \]

Next, we solve for \(x\). First multiply both sides of the equation by 895 to get

\[x-2841=2\left(895\right)=1790 \nonumber \]

Finally, we can add 2841 to both sides of the equation to get \(x\) by itself:

\[x=1790+2841=4631 \nonumber \]

We can conclude that if the day's sales is at $4631, the z-score is 2.

Exercise

The rectangle below is a diagram for a uniform distribution from 5 to 11 that asks for the 72^{nd} percentile. The area of the smaller red rectangle that has base from 5 to the 72^{nd} percentile, \(x\), and height 1/6 is 0.72. Find \(x\).