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, [latex] d [/latex], based on rate, [latex] r [/latex], and time, [latex] t [/latex]. 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 [latex] r>0 [/latex])
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, [latex] A [/latex], of a triangle when we are given the base, [latex] b [/latex], and height, [latex] h [/latex]. 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]:
When [latex]A=90[/latex] and [latex]b=15[/latex]
Algebraically (assuming [latex] b>0 [/latex])
Show Solution
Solution:
1. When [latex] A = 90 [/latex] and [latex] b = 15 [/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]:
When [latex] I=\$5,600 [/latex], [latex] r=4\% [/latex], and [latex] t=7 [/latex] years
Algebraically (assuming [latex] r,t>0 [/latex])
Show Solution
Solution:
1. [latex] I = \$5600 [/latex], [latex] r = 4\% [/latex], [latex] t = 7 [/latex] years
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 [latex] x\ne \dfrac{1}{2} [/latex] and [latex] y\ne \dfrac{3}{2} [/latex].
Show Solution
We will isolate [latex]y[/latex] on one side of the equation. Note that this time the variable [latex] y [/latex] 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 [latex] y [/latex] 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:
where [latex] f’ [/latex] is the observed frequency, [latex] f [/latex] is the emitted frequency, [latex] v [/latex] is the wave velocity, and [latex] v_o [/latex] is the observer’s velocity. Assuming all variables are positive and [latex] f'\ne f [/latex], solve the Doppler effect equation for the indicated variable.
[latex] f [/latex]
[latex] v_o [/latex]
[latex] v [/latex]
Show Solution
1. Since [latex] f [/latex] appears only once, in the denominator of the LHS, once we clear the fractions by multiplying both sides by the LCD, isolating [latex] f [/latex] 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 [latex] v_o [/latex] appears only once, in the numerator of the RHS, once we clear the fractions, isolating [latex] v_o [/latex] 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, [latex] v_o=\dfrac{f’v}{f} - v [/latex].
Note, that after clearing fractions, instead of dividing both sides by [latex] f [/latex], we could have distributed [latex] f [/latex] 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, [latex] v_o=\dfrac{f'v - fv}{f} [/latex]. Note, that [latex] \dfrac{f'v - fv}{f}=\dfrac{f’v}{f} - v [/latex]. (Can you transform the LHS to match the RHS or vice versa?)
3. Using the equation [latex] f'v-fv = fv_o [/latex] from the alternative solution in part 2, we can factor out [latex] v [/latex] on the LHS to obtain [latex] v\left(f'-f\right) = fv_o [/latex], and divide both sides by [latex] f'-f [/latex] to obtain [latex] v=\dfrac{fv_o}{f'-f} [/latex]
Example
Solve the equation [latex]3=\dfrac{2}{t}-\dfrac{5}{z}[/latex] for [latex]z[/latex]. Assume [latex] t,z\ne 0 [/latex] and [latex] t\ne\dfrac{2}{3} [/latex].
Show Solution
If we start with clearing the fractions by multiplying both sides by the LCD, isolating [latex] z [/latex] 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