Module 4: Rational Expressions, Functions, and Equations
4.6 Formulas
Learning outcome
Solve a given formula for a specified 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 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.
A common formula is [latex]\require{color}d=rt[/latex] for calculating distance, $$d$$, based on rate, $$r$$, and time, $$t$$. 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 isolate that variable 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. The formula contains letters that represent variables, also called literals. We will mainly use the term variables in this book.
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[/latex]:
When [latex]d=520[/latex] and [latex]r=65[/latex]
Algebraically (assuming $$r>0$$)
Show 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]
We say the formula [latex]t=\dfrac{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 can use the formula [latex]A=\dfrac{1}{2}bh[/latex] to find the area, $$A$$, of a triangle when we are given the base, $$b$$, and height, $$h$$. In the next example, we will solve this formula for the height.
example
The formula for the area of a triangle is [latex]A=\dfrac{1}{2}bh[/latex]. Solve this formula for [latex]h[/latex]:
We can now find the height of a triangle, if we know the area and the base, by using the formula [latex]h={\Large\frac{2A}{b}}[/latex].
The formula [latex]I=Prt[/latex] is used to calculate simple interest, where [latex]I[/latex] is interest, [latex]P[/latex] is principal, [latex]r[/latex] is annual interest rate as a decimal, and [latex]t[/latex] is time in years.
example
Solve the formula [latex]I=Prt[/latex] for the principal, [latex]P[/latex]:
Watch the following video to see another example of how to solve an equation for a specific variable.
In algebra, we often 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 equation [latex]3x+2y=18[/latex] for [latex]y[/latex]:
In the previous examples, we used the numbers in part 1 as a guide to solving algebraically in part 2. From now on we will only solve a formula in general.
example
Solve the formula [latex]P=a+b+c[/latex] for [latex]a[/latex].
Show Solution
We will isolate [latex]a[/latex] on one side of the equation.
In the following video we show another example of how to solve an equation for a specific variable.
In the following examples, the variable that we will be solving for will appear more than once in the equation and/or it will be in a denominator of a rational expression.
example
Solve the equation [latex]x=\dfrac{y+1}{2y-3}[/latex] for [latex]y[/latex]. Assume $$x\ne \dfrac{1}{2}$$ and $$y\ne \dfrac{3}{2}$$.
Show Solution
We will isolate [latex]y[/latex] on one side of the equation. Note that this time the variable $$y$$ that we ought to solve for is present in two places in the equation. Thus, isolating it on one side of the equation is not straightforward. We will follow the intuition in terms of “what we see” and “what seems to be the most natural next step” until only one instance of $$y$$ is left in the equation.
[latex]\begin{align} x &= \frac{y+1}{2y-3}\\[5pt] x {\color{red}\: \cdot\: (2y-3)} &= \frac{y+1}{{\color{red}\cancel{\color{black}{(2y-3)}}}\cdot 1}{\color{red}\: \cdot\: \dfrac{\cancel{(2y-3)}\cdot 1}{1}} && \color{blue}{\textsf{clear the fraction}}\\[5pt] \underset{\large{\color{red}{-y}}}{2xy}-\underset{\large{\color{red}{+3x\mathstrut}}}{3x} &= \underset{\large{\color{red}{-y}}}{y}+\underset{\large{\color{red}{+3x\mathstrut}}}{1} && \color{blue}{\textsf{distribute $x$ and isolate $y$-terms}}\\[5pt] 2xy-1y &= 3x+1\\[5pt] y(2x-1) &= 3x+1 && \color{blue}{\textsf{factor out $y$}}\\[5pt] {\color{red}{\dfrac{{\color{black}{y\cdot\: }}\cancel{\color{black}{(2x-1)}}}{\cancel{(2x-1)} \cdot 1}}} &= {\color{red}{\dfrac{{\color{black}{3x+1}}}{2x-1}}} && \color{blue}{\textsf{divide to isolate $y$}}\\[5pt] y &= \frac{3x+1}{2x-1} \end{align}[/latex]
Example
When an observer moves relative to a wave source, the frequency observed changes. The Doppler effect equation accounts for this:
$$\displaystyle\frac{f’}{f} = \frac{v + v_o}{v}$$
where $$f’$$ is the observed frequency, $$f$$ is the emitted frequency, $$v$$ is the wave velocity, and $$v_o$$ is the observer’s velocity. Assuming all variables are positive and $$f’\ne f$$, solve the Doppler effect equation for the indicated variable.
$$f$$
$$v_o$$
$$v$$
Show Solution
1. Since $$f$$ appears only once, in the denominator of the LHS, once we clear the fractions by multiplying both sides by the LCD, isolating $$f$$ should be straightforward. (Note that since we have an equality of two single rational expressions, we can refer to clear the fractions by cross-multiplying. Please refer to this description to review cross-multiplying.)
2. Since $$v_o$$ appears only once, in the numerator of the RHS, once we clear the fractions, isolating $$v_o$$ should be straightforward.
[latex]\begin{align} \frac{f’}{f} &= \frac{v + v_o}{v}\\[5pt] f'\cdot v &= f\cdot \left(v+v_o\right) && \color{blue}{\textsf{clear the fractions}}\\[5pt] {\color{red}{\dfrac{{\color{black}{f'v}}}{f}}} &= {\color{red}{\dfrac{\cancel{\color{black}{f}}{\color{black}{\: \cdot\: \left(v+v_o\right)}}}{\cancel{f} \cdot 1}}} && \color{blue}{\textsf{divide to isolate $v + v_o$}}\\[5pt] \frac{f’v}{f} {\color{red}{\: -\: v}} &= v + v_o {\color{red}{\: -\: v}} && \color{blue}{\textsf{subtract $v$ to isolate $v_o$}}\\[5pt] \frac{f’v}{f} - v &= v_o \end{align}[/latex]
So, $$v_o=\dfrac{f’v}{f} – v$$.
Note, that after clearing fractions, instead of dividing both sides by $$f$$, we could have distributed $$f$$ on the RHS and proceeded from there:
[latex]\begin{align} f'\cdot v &= f\cdot \left(v+v_o\right)\\[5pt] f'\cdot v &= f\cdot v + f\cdot v_o && \color{blue}{\textsf{distribute $f$}}\\[5pt] \underset{\large{\color{red}{-fv}}}{f'v} &= \underset{\large{\color{red}{-fv}}}{fv} + fv_o && \color{blue}{\textsf{subtract $fv$ to isolate $fv_o$}}\\[5pt] {\color{red}{\frac{{\color{black}{f'v - fv}}}{f}}} &= {\color{red}{\frac{\cancel{\color{black}{f}}{\color{black}{\: \cdot\: v_o}}}{\cancel{f} \cdot 1}}} && \color{blue}{\textsf{divide to isolate $v_o$}}\\[5pt] \frac{f'v - fv}{f} &= v_o \end{align}[/latex]
So, $$v_o=\dfrac{f’v – fv}{f}$$. Note, that $$\dfrac{f’v – fv}{f}=\dfrac{f’v}{f} – v$$. (Can you transform the LHS to match the RHS or vice versa?)
3. Using the equation $$f’v-fv = fv_o$$ from the alternative solution in part 2, we can factor out $$v$$ on the LHS to obtain $$v\left(f’-f\right) = fv_o$$, and divide both sides by $$f’-f$$ to obtain $$v=\dfrac{fv_o}{f’-f}$$
Example
Solve the equation [latex]3=\dfrac{2}{t}-\dfrac{5}{z}[/latex] for [latex]z[/latex]. Assume $$t,z\ne 0$$ and $$t\ne\dfrac{2}{3}$$.
Show Solution
If we start with clearing the fractions by multiplying both sides by the LCD, isolating $$z$$ on one side of the equation should be straightforward.
Prealgebra. Provided by: OpenStax. License: CC BY: Attribution. License Terms: Download for free at http://cnx.org/contents/caa57dab-41c7-455e-bd6f-f443cda5519c@9.757
Licenses and Attributions
CC licensed content, Shared previously
Prealgebra. Provided by: OpenStax. License: CC BY: Attribution. License Terms: Download for free at http://cnx.org/contents/caa57dab-41c7-455e-bd6f-f443cda5519c@9.757