Skip to main content
Logo image

Chapter Algebra

Section Like-Terms

You have attempted of activities on this page.

Section Quadratic equations

We will be solving quadratic equations as we solve differential equations. If we want to solve a quadratic equation like \(ax^2 + bx + c = 0,\) there are several different methods we might use, including:
  1. factoring
  2. quadratic formula, \(\ds x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\)
  3. completing the square
Most students prefer the first two methods, which is fine. We will end up completing the square later in the semester, so if you want to review that method now, you’ll reap the benefits later!
Solve the following quadratic equations. Note: It’s OK if the solutions are complex or imaginary.
  1. \(\ds 4x^2 + 12x + 9 = 0 \qquad\)
    Solution.
    You might solve via factoring:
    \begin{align*} 4x^2 + 12x + 9 \amp = 0 \\ (2x + 3)(2x + 3) \amp = 0 \\ 2x+3 = 0 \amp \quad\text{or}\quad 2x+3 = 0 \\ x = -\frac{3}{2}, \amp \quad\text{or}\quad x = -\frac{3}{2} \\ \amp \\ \Rightarrow x = -\frac{3}{2} \text{ (double root)} \amp \end{align*}
    Alternately, you might use the quadratic formula:
    \begin{align*} x \amp = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \\ \amp = \frac{-12 \pm \sqrt{12^2 - 4(4)(9)}}{2(4)} \\ \amp = \frac{-12 \pm \sqrt{144 - 144}}{8} \\ \amp = \frac{-12 \pm \sqrt{0}}{8} \qquad (\sqrt{0} \text{ implies a double root}) \\ \amp = -\frac{12}{8} \\ \amp = - \frac{3}{2} \end{align*}
    You could even complete the square:
    \begin{align*} 4x^2 + 12x + 9 \amp = 0 \\ 4x^2 + 12x \amp = -9 \\ x^2 + 3x \amp = -\frac{9}{4} \\ x^2 + 3x + \frac{9}{4} \amp = -\frac{9}{4} + \frac{9}{4}\\ \left(x + \frac{3}{2}\right)^2 \amp = 0 \\ x + \frac{3}{2} \amp = \pm\sqrt{0} \\ x \amp = -\frac{3}{2} \text{ (double root) } \end{align*}
    Answer.
    \begin{equation*} x = -\frac{3}{2} \mbox{ (double root)} \end{equation*}
  2. \(\ds 2x^2 - 9x - 35 = 0 \qquad\)
    Solution.
    You might solve via factoring:
    \begin{align*} 2x^2 - 9x - 35 \amp = 0 \\ (2x + 5)(x - 7) \amp = 0 \\ 2x+5 = 0 \amp \quad\text{or}\quad x-7 = 0 \\ x = -\frac{5}{2}, \amp \quad\text{or}\quad x = 7 \\ \amp \\ \Rightarrow x = -\frac{5}{2}, 7 \amp \end{align*}
    Alternately, you might use the quadratic formula:
    \begin{align*} x \amp = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \\ \amp = \frac{-(-9) \pm \sqrt{(-9)^2 - 4(2)(-35)}}{2(2)} \\ \amp = \frac{9 \pm \sqrt{81 + 280}}{4} \\ \amp = \frac{9 \pm \sqrt{361}}{4} \\ \amp = \frac{9 \pm 19}{4} \\ \amp = \frac{9 + 19}{4}, \frac{9 - 19}{4} \\ \amp = \frac{28}{4}, \frac{-10}{4} \\ \amp = 7, -\frac{5}{2} \end{align*}
    You could even complete the square:
    \begin{align*} 2x^2 - 9x - 35 \amp = 0 \\ 2x^2 - 9x \amp = 35 \\ x^2 - \frac{9}{2}x\amp = \frac{35}{2} \\ x^2 - \frac{9}{2}x + \left( \frac{9}{4} \right)^2 \amp = \frac{35}{2} + \left(\frac{9}{4}\right)^2 \\ \left(x - \frac{9}{4}\right)^2 \amp = \frac{280}{16} + \frac{81}{16} \\ \left(x - \frac{9}{4}\right)^2 \amp = \frac{361}{16} \\ x - \frac{9}{4} \amp = \pm \sqrt{\frac{361}{16}} \\ x - \frac{9}{4} \amp = \pm \frac{19}{4} \\ x \amp = \frac{9}{4} \pm \frac{19}{4} \\ x \amp = \frac{9}{4} + \frac{19}{4}, \frac{9}{4} - \frac{19}{4} \\ x \amp = \frac{28}{4}, - \frac{10}{4} \\ x \amp = 7, - \frac{5}{2} \end{align*}
    Answer.
    \begin{equation*} x = -\frac{5}{2}, 7 \end{equation*}
  3. \(\ds x^2 - 4x + 13 = 0 \qquad\)
    Solution.
    This one doesn’t factor easily... You might use the quadratic formula:
    \begin{align*} x \amp = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \\ \amp = \frac{-(-4) \pm \sqrt{(-4)^2 - 4(1)(13)}}{2(1)} \\ \amp = \frac{4 \pm \sqrt{16 - 52}}{2} \\ \amp = \frac{4 \pm \sqrt{-36}}{2} \\ \amp = \frac{4 \pm 6i}{2} \\ \amp = 2 \pm 3i \\ \amp = 2 + 3i, 2 - 3i \end{align*}
    You could even complete the square:
    \begin{align*} x^2 - 4x + 13 \amp = 0 \\ x^2 - 4x \amp = -13 \\ x^2 - 4x + 4 \amp = -13 + 4 \\ (x-2)^2 \amp = -9 \\ x - 2 \amp = \pm \sqrt{-9} \\ x - 2 \amp = \pm 3i \\ x \amp = 2 \pm 3i \\ \amp = 2 + 3i, 2 - 3i \end{align*}
    Answer.
    \begin{equation*} x = 2 \pm 3i \end{equation*}
  4. Name at least two methods for solving quadratic equations.
    Answer.
    factoring, using the quadratic formula, completing the square
  5. How many solutions does a quadratic equation have?
    Answer.
    There are three possible outcomes when solving a quadratic equation:
    1. two distinct real roots
    2. one repeated real root (i.e., a double root)
    3. complex conjugate roots

✳️ Solving Quadratic Equations.

The solution to the quadratic equation
\begin{equation} a x^2 + b x + c = 0\tag{47} \end{equation}
is given by the quadratic formula:
\begin{equation} x = \frac{-b \pm \sqrt{\color{blue} b^2 - 4ac}}{2a}\text{.}\tag{48} \end{equation}
Notes:
  1. The \(\pm\) gives two solutions, say \(x_1\) and \(x_2\text{.}\)
  2. \(x_1\) and \(x_2\) are also known as the roots of \(\ a x^2 + b x + c\text{.}\)
  3. The value, \({\color{blue} b^2 - 4ac} \ \text{,}\) under the root in is called the discriminant.
  4. Equation (47) can be written as \(\quad\ds (x - x_1)(x - x_2) = 0 \text{.}\)
  5. If \({\color{blue} b^2 - 4ac > 0}\text{,}\) then \(x_1\) and \(x_2\) are different real numbers.
  6. If \({\color{blue} b^2 - 4ac = 0}\text{,}\) then \(x_1\) and \(x_2\) are the same real number (repeated).
  7. If \({\color{blue} b^2 - 4ac < 0}\text{,}\) then \(x_1\) and \(x_2\) are complex and can be written as
    \begin{equation*} x_1 = \alpha + \beta i, \quad x_2 = \alpha - \beta i\text{.} \end{equation*}
You have attempted of activities on this page.

Section Completing the Square

✳️ Completing the Square.

Completing the square is a tool to rewrite a quadratic expression like \(x^2 + bx + c\) into the form:
\begin{gather*} \left(x - \frac{b}{2}\right)^2 + \text{a number} \end{gather*}
The strategy is as follows:
\begin{align*} x^2 + bx + c \amp = \ub{x^2 + bx + \os{(\large \text{half of } b)^2}{\boxed{\left(\frac{b}{2}\right)^2}}}_{\Large \left(x - \frac{b}{2}\right)^2} - \ub{\os{(\large \text{half of } b)^2}{\boxed{\left(\frac{b}{2}\right)^2}} + c}_{\Large\text{a number}} \end{align*}
\begin{equation*} x^2 + bx = \ub{x^2 + bx + \left(\frac{b}{2}\right)^2}_{\left(x + \frac{b}{2}\right)^2} - \left(\frac{b}{2}\right)^2 = \left(x + \frac{b}{2}\right)^2 - \left(\frac{b}{2}\right)^2\text{.} \end{equation*}
Let’s walk through a few examples to illustrate how completing the square can simplify the inverse Laplace transform process.

🌌 Example 304. Complete the Square of each Quadratic.

Solution 1. \(x^2 + 6x + 10\)
Since \((\text{half of } b)^2 = (6/2)^2 = 9\text{,}\) we add and substract \(9\text{.}\)
\begin{equation*} x^2 + 6x + 10 = x^2 + 6x + \boxed{9} - \boxed{9} + 10 = (x + 3)^2 + 1. \end{equation*}
Solution 2. \(x^2 - 4x + 13\)
Since \((\text{half of } b)^2 = (4/2)^2 = 4\text{,}\) we add and substract \(4\text{.}\)
\begin{equation*} x^2 - 4x + 13 = x^2 - 4x + \boxed{4} - \boxed{4} + 13 = (x - 2)^2 + 9. \end{equation*}
Solution 3. \(x^2 + 8x + 20\)
Since \((\text{half of } b)^2 = (8/2)^2 = 16\text{,}\) we add and substract \(16\text{.}\)
\begin{equation*} x^2 + 8x + 20 = x^2 + 8x + \boxed{16} - \boxed{16} + 20 = (x + 4)^2 + 4. \end{equation*}
Complete the square for each of the following expressions. Verify by expanding your expression.
  1. \(x^2 + 8x + 28 \qquad\)
    Solution.
    \begin{align*} x^2 + 8x + 28 \amp = (x^2 + 8x + 16) - 16 + 28 \\ \amp = (x+4)^2 - 16+28 \\ \amp = (x+4)^2 + 12 \end{align*}
    Answer.
    \((x+4)^2 + 12 \)
  2. \(x^2 - 12x \qquad\)
    Solution.
    \begin{align*} x^2 - 12x \amp = (x^2 - 12x + 36) - 36 \\ \amp = (x-6)^2 - 36 \end{align*}
    Answer.
    \((x-6)^2 - 36 \)
  3. \(2x^2 - 8x - 7 \qquad\)
    Solution.
    \begin{align*} 2x^2 - 8x - 7 \amp = (2x^2 - 8x) - 7 \\ \amp = 2(x^2 - 4x) - 7 \\ \amp = 2(x^2 - 4x + 4 - 4) - 7 \\ \amp = 2(x^2 - 4x + 4) - 8 - 7 \\ \amp = 2(x-2)^2 - 8 - 7 \\ \amp = 2(x-2)^2 - 15 \end{align*}
    Answer.
    \(2(x-2)^2 - 15 \)
  4. \(4x^2 + 8x - 65 \qquad\)
    Solution.
    (Needs to be written)
    \begin{align*} \amp = \\ \amp = \\ \amp = \end{align*}
    Answer.
  5. \(-2x^2 + 20x -47 \qquad\)
    Solution.
    (Needs to be written)
    \begin{align*} \amp = \\ \amp = \\ \amp = \end{align*}
    Answer.
  6. \(-x^2 - 16x - 57 \qquad\)
    Solution.
    \begin{align*} -x^2 - 16x - 57 \amp = -(x^2 +16x) - 57 \\ \amp = -(x^2 +16x + 64 - 64) - 57 \\ \amp = -(x^2 + 16x + 64) + 64 -57 \\ \amp = -(x+8)^2 + 64 - 57 \\ \amp = -(x+8)^2 + 7 \end{align*}
    Answer.
    \(-(x+8)^2 + 7 \)
You have attempted of activities on this page.

Section Writing the Equation of a Line in Point-Slope Form

When asked for the general form for the equation of a line, most people give the familiar
\begin{equation*} y = mx + b \end{equation*}
β€”the slope-intercept form. This is a great form, but there is another equally useful one, easy to remember if we recall the slope formula. Given two points \((x_1, y_1)\) and \((x, y)\text{,}\) the slope of the line between them is:
\begin{equation*} m = \frac{y - y_1}{x - x_1} \end{equation*}
Rearranging gives:
\begin{equation*} m(x - x_1) = y - y_1 \end{equation*}
or, more commonly written:
\begin{equation*} y - y_1 = m(x - x_1). \end{equation*}
Sometimes it’s useful to go one step further and solve for \(y\) by adding \(y_1\) to both sides:
\begin{equation*} y = m(x - x_1) + y_1. \end{equation*}

🌌 Example 305. Writing a Line from Two Points.

Given the points \((3, 7)\) and \((-1, 2)\text{,}\) (i) write the equation of the line through the points in point-slope form, and then (ii) solve for the dependent variable \(y\text{.}\)
Solution.
First, compute the slope:
\begin{align*} m \amp = \frac{2 - 7}{-1 - 3} = \frac{5}{4} \end{align*}
Now write the point-slope form:
\begin{align*} y - y_1 \amp = m(x - x_1) \end{align*}
(i) Using either point:
\begin{align*} y - 7 \amp = \frac{5}{4}(x - 3) \quad \text{OR} \quad y - 2 = \frac{5}{4}(x + 1) \end{align*}
(ii) Solve for \(y\text{:}\)
\begin{align*} y \amp = \frac{5}{4}(x - 3) + 7 \quad \text{OR} \quad y = \frac{5}{4}(x + 1) + 2 \end{align*}

🌌 Example 306. Practice Writing Equations of Lines.

Use the given points to: (i) write the equation, in point-slope form, of the line through the points, and then (ii) solve for the dependent variable \(y\text{.}\)
You have attempted of activities on this page.

Section Finding a point on a line

Example: Consider the line \(L\) with equation
\begin{equation*} y - 3 = -2(x-5). \end{equation*}
Find the coordinates of the point that lies on \(L\) and that has \(x\)-value \(x = 6.\)
Answer.
\(x = 6\)\(y\)
\begin{align*} y - 3 \amp = -2(6-5)\\ y-3 \amp = -2\\ y \amp = 1 \end{align*}
\((6,1)\text{.}\)
Use the given equation of the line in point slope form to find the point on that line with the given $x$-value.
  1. \(y - 1 = 3(x - 9),\) \(x = 2\)
    Solution.
    We simply substitute in \(x = 2\) and then solve for the \(y\)-coordinate:
    \begin{align*} y - 1 \amp = 3(2 - 9)\\ y - 1 \amp = -21\\ y \amp = -20 \end{align*}
    So the desired point is \((2,-20)\text{.}\)
    Answer.
    \begin{equation*} (2,-20) \end{equation*}
  2. \(y + 3 = \frac{1}{2}(x - 1),\) \(x = 2\)
    Solution.
    We simply substitute in \(x = 2\) and then solve for the \(y\)-coordinate:
    \begin{align*} y + 3 \amp = \frac{1}{2}(2 - 1)\\ y + 3 \amp = \frac{1}{2}\\ y \amp = \frac{1}{2} - 3\\ y \amp = -\frac{5}{2} \end{align*}
    So the desired point is \(\ds \left(2,-\frac{5}{2}\right)\text{.}\)
    Answer.
    \begin{equation*} \left(2,-\frac{5}{2}\right) \end{equation*}
  3. \(y + 1 = 7x,\) \(x = -1\)
    Solution.
    We simply substitute in \(x = -1\) and then solve for the \(y\)-coordinate:
    \begin{align*} y + 1 \amp = 7(-1)\\ y + 1 \amp = -7\\ y \amp = -8 \end{align*}
    So the desired point is \((-1,-8)\text{.}\)
    Answer.
    \begin{equation*} (-1,-8) \end{equation*}
You have attempted of activities on this page.

Section Trigonometric Identities

✳️ Pythagorean Identities.

The following trigonometric identities are useful in solving differential equations:
\(\sin^2(\theta) + \cos^2(\theta) = 1 \)
\(1 + \tan^2(\theta) = \sec^2(\theta) \)
\(1 + \cot^2(\theta) = \csc^2(\theta) \)
You have attempted of activities on this page.

Section Exponential and Logarithmic Functions

Recall the following rules for exponential and logarithmic functions.

✳️ Exponential Rules.

General Natural (\(a=e\))
\(E_1:\)
\begin{gather*} \ds (ab)^x = a^x \cdot b^x \end{gather*}
\begin{gather*} \ds (eb)^x = e^x \cdot b^x \end{gather*}
\(E_2:\)
\begin{gather*} \ds a^x \cdot a^y = a^{x+y} \end{gather*}
\begin{gather*} \ds e^x \cdot e^y = e^{x+y} \end{gather*}
\(E_3:\)
\begin{gather*} \ds (a^x)^y = a^{xy} \end{gather*}
\begin{gather*} \ds (e^x)^y = e^{xy} \end{gather*}
\(E_4:\)
\begin{gather*} \ds a^{-x} = \frac{1}{a^x} \end{gather*}
\begin{gather*} \ds e^{-x} = \frac{1}{e^x} \end{gather*}

✳️ Logarithmic Rules.

General Natural (\(a=e\))
\(L_1:\)
\begin{gather*} \ds \log_b (b^x) = x \end{gather*}
\begin{gather*} \ds \ln(e^x) = x \end{gather*}
\(L_2:\)
\begin{gather*} \ds b^{\log_b(x)} = x \end{gather*}
\begin{gather*} \ds e^{\ln(x)} = x \end{gather*}
\(L_3:\)
\begin{gather*} \ds \log_b(1) = 0 \end{gather*}
\begin{gather*} \ds \ln(1) = 0 \end{gather*}
\(L_4:\)
\begin{gather*} \ds \log_b(xy) = \log_b(x) + \log_b(y) \end{gather*}
\begin{gather*} \ds \ln(xy) = \ln(x) + \ln(y) \end{gather*}
\(L_5:\)
\begin{gather*} \ds \log_b\left(\frac{\ds x}{\ds y}\right) = \log_b(x) - \log_b(y) \end{gather*}
\begin{gather*} \ds \ln\left(\frac{\ds x}{\ds y}\right) = \ln(x) - \ln(y) \end{gather*}
Let’s look at a couple of examples, starting with an equation containing exponentials.

🌌 Example 307.

Solve for \(x\text{:}\) \(\ds \quad e^{3x+z} - e^z = y\)
Solution.
We might begin by isolating the exponential that contains \(x\) and then taking the natural log of both sides.
\begin{align*} e^{3x+z} - e^z \amp = y\\ e^{3x+z} \amp = y + e^z\\ \knowl{./knowl/xref/ln_rule_01.html}{\text{\(\overset{L_1}{\hookrightarrow}\qquad\)}} \ln\big(e^{3x+z}\big) \amp = \ln\big(y + e^z\big)\\ 3x + z \amp = \ln\big(y + e^z\big)\\ 3x \amp = \ln\big(y + e^z\big) - z\\ x \amp = \frac{1}{3}\ln\big(y + e^z\big) - \frac{1}{3}z \end{align*}
It’s worth noting that we cannot break up that log on the right hand side. There’s no "rule" that helps when we have addition inside a logarithm.
There is another way to approach this if notice that \(z\) appears inside both exponential terms.
\begin{align*} \knowl{./knowl/xref/exp_rule_02e.html}{\text{\(\overset{E_2}{\hookrightarrow}\qquad\)}} e^{3x+z} - e^z \amp = y\\ e^{3x}\cdot e^{z} - e^z \amp = y\\ e^z(e^{3x} - 1) \amp = y\\ e^{3x} - 1 \amp = \frac{y}{e^z} \knowl{./knowl/xref/exp_rule_04e.html}{\text{\(\qquad\overset{E_4}{\hookleftarrow}\)}}\\ e^{3x} - 1 \amp = ye^{-z}\\ e^{3x} \amp = ye^{-z} + 1\\ \knowl{./knowl/xref/ln_rule_01.html}{\text{\(\overset{L_1}{\hookrightarrow}\qquad\)}} \ln\big( e^{3x} \big) \amp = \ln \big( ye^{-z} + 1\big)\\ 3x \amp = \ln \big( ye^{-z} + 1 \big)\\ x \amp = \frac{1}{3}\ln\big(ye^{-z}+1\big) \end{align*}
The answers may look different, but they are equivalent and both are correct.
Now let’s look at an example involving logarithms.

🌌 Example 308.

Solve for \(x\text{:}\) \(\ds \quad \ln(x+y) = 5 + \ln(z)\)
Solution.
We’ll carefully apply the rules above. We want to get our hands on \(x\text{,}\) and right now its inside a logarithm. In order to undo that, we’ll exponentiate both sides.
\begin{align*} \ln(x+y) \amp = 5 + \ln(z)\\ \knowl{./knowl/xref/ln_rule_02.html}{\text{\(\overset{L_2}{\hookrightarrow}\qquad\)}} e^{\ln(x+y)} \amp = e^{\big(5 + \ln(z)\big)} \knowl{./knowl/xref/exp_rule_02e.html}{\text{\(\qquad\overset{E_2}{\hookleftarrow}\)}}\\ x + y \amp = e^{5} \cdot e^{\ln(z)} \knowl{./knowl/xref/ln_rule_02.html}{\text{\(\qquad\overset{L_2}{\hookleftarrow}\)}}\\ x \amp = e^{5}z - y \end{align*}
Now you should try. Be careful!
Use algebra and the rules above to solve for \(x\) in each of the following equations.
  1. \(e^{x+y} = 12\)
    Solution.
    \begin{align*} e^{x+y} \amp = 12 \\ \ln(e^{x+y}) \amp = \ln(12) \\ x+y \amp = \ln(12) \\ x \amp = \ln(12) - y \end{align*}
    Answer.
    \begin{equation*} x = \ln(12) - y \end{equation*}
  2. \(e^{x+y} + e^x= 12\)
    Solution.
    \begin{align*} e^{x+y} + e^x \amp = 12 \\ e^x\cdot e^y + e^x \amp = 12 \\ e^x(e^y + 1) \amp = 12 \\ e^x \amp = \frac{12}{e^y + 1} \\ \ln(e^x) \amp = \ln \left( \frac{12}{e^y + 1} \right) \\ x \amp = \ln \left( \frac{12}{e^y + 1} \right),\qquad \text{or} \\ \amp = \ln(12) - \ln(e^y + 1) \end{align*}
    Answer.
    \begin{align*} x \amp = \ln\left( \frac{12}{e^y + 1} \right), \qquad \text{or}\\ \amp = \ln(12) - \ln(e^y + 1) \end{align*}
  3. \(e^x = 1 \qquad\)
    Solution.
    \begin{align*} e^x \amp = 1 \\ \ln(e^x) \amp = \ln(1) \\ x \amp = 0 \end{align*}
    Answer.
    \begin{equation*} x = 0 \end{equation*}
  4. \(\ln x = 3\ln z \qquad\)
    Solution.
    \begin{align*} \ln x \amp = 3\ln z \\ e^{\ln x} \amp = e^{3\ln z} \\ e^{\ln x} \amp = e^{\ln (z^3)} \\ x \amp = z^3 \end{align*}
    Answer.
    \begin{equation*} x = z^3 \end{equation*}
  5. \(y + \ln x = 4 \qquad\)
    Solution.
    \begin{align*} y + \ln x \amp = 4 \\ \ln x \amp = 4 - y \\ e^{\ln x}\amp = e^{4 - y} \\ x \amp = e^{4-y} \end{align*}
    Answer.
    \begin{equation*} x = e^{4-y} \end{equation*}
  6. \(\ln y + \ln x = 4 \qquad\)
    Solution.
    \begin{align*} \ln y + \ln x \amp = 4 \\ \ln x \amp = 4 - \ln y \\ e^{\ln x} \amp = e^{4 - \ln y} \\ x \amp = e^{4 - \ln y} \\ \amp = e^4 \cdot e^{-\ln y} \\ \amp = e^4 \cdot e^{\ln (y^{-1})} \\ \amp = e^4 \cdot y^{-1} \\ \amp = e^4 \cdot \frac{1}{y} \\ \amp = \frac{e^4}{y} \end{align*}
    Answer.
    \begin{equation*} x = \frac{e^4}{y} \end{equation*}
  7. \(\ln x = 8\ln y + 5 \qquad\)
    Solution.
    \begin{align*} \ln x \amp = 8\ln y + 5 \\ e^{\ln x} \amp = e^{8\ln y + 5} \\ x \amp = e^{8\ln y}\cdot e^5 \\ \amp = e^{\ln (y^8)}\cdot e^5 \\ \amp = y^8\cdot e^5 \\ \amp = e^5 y^8 \end{align*}
    Answer.
    \begin{equation*} x = e^5 y^8 \end{equation*}

πŸ“™ Definition 309. Euler’s Formula.

For any real number \(\theta\text{,}\) we have
\begin{equation*} e^{i \theta} = \cos(\theta) + i \sin(\theta) \end{equation*}
where \(i\) is the imaginary unit, defined as \(i = \sqrt{-1}\text{.}\)
As a result of this formula, we also have
\begin{equation*} e^{a+ib} = e^a \cdot e^{ib} = e^a \cdot (\cos(b) + i \sin(b)) \end{equation*}
You have attempted of activities on this page.

Section Subscript Notation

We usually use parentheses to indicate a function, as we see in the examples below:
\begin{equation*} f(x) = x^2 + 3x + 2, \mbox{ or } g(x) = x^5 \sin(x). \end{equation*}
Recall that we can use that rule on things other than just \(x.\) For example,
\begin{align*} f(7) \amp = 7^2 + 3\cdot 7 + 2 = 72\\ \amp \\ f(-1.3) \amp = (-1.3)^2 + 3 \cdot (-1.3) + 2 = -0.21\\ \amp\\ f(w) \amp = w^2 + 3w + 2\\ \amp\\ f(x+5) \amp = (x+5)^2 + 3(x+5) + 2\\ \amp = x^2 + 10x + 25 + 3x + 15 + 2\\ \amp = x^2 + 13x + 42 \end{align*}

Subscript notation.

Subscript notation is just an alternate notation we use for functions when the input values (i.e. the domain) consists of numbers like \(n = 0, 1, 2, 3, \ldots\) Here’s an example of subscript notation:
Suppose \(a_n = n^2 + 3n + 2.\)
Notice that this is much like the function \(f(x),\) except we would never evaluate this function at \(-1.3\)(because -1.3 is negative and is not an integer).
We can evaluate this function at any nonnegative integer, though, as below:
\begin{align*} a_0 \amp = 0^2 + 3\cdot 0 + 2 = 2\\ a_1 \amp = 1^2 + 3\cdot 1 + 2 = 6\\ a_{13} \amp = 13^2 + 3\cdot 13 + 2 = 210\\ a_{200} \amp = 200^2 + 3\cdot 200 + 2 = 40602 \end{align*}
Given the definition of a function in subscript notation, find the value of the given term.
  1. If \(a_n = 2n-5,\) evaluate \(a_4.\)
    Solution.
    \begin{equation*} a_4 = 2(4) - 5 = 3 \end{equation*}
    Answer.
    \begin{equation*} a_4 = 3 \end{equation*}
  2. If \(x_n = -12,\) evaluate \(x_{41}.\)
    Solution.
    \begin{equation*} x_{41} = -12 \end{equation*}
    Answer.
    \begin{equation*} x_{41} = -12 \end{equation*}
  3. If \(y_n = (n+1)!,\) evaluate \(y_3.\)
    Solution.
    \begin{equation*} y_{3} = (3+1)! = 4! = 24 \end{equation*}
    Answer.
    \begin{equation*} y_{3} = 24 \end{equation*}
You have attempted of activities on this page.

Section Function Notation

Function notation is a cornerstone of mathematics and science because it allows us to describe relationships between variables in a compact and precise way. While seemingly simple, its power lies in its flexibility and depth. If you’ve studied calculus, you’re familiar with the concept of a function, but reviewing its nuances can help unlock a deeper understanding of differential equations and mathematical modeling.
A function, in essence, is a rule that assigns to each input value exactly one output value. For example, the function \(f(x) = x^2\) takes any input \(x\text{,}\) squares it, and returns the result. The notation \(f(x)\) doesn’t just give the value of the function for a specific \(x\text{;}\) it also reminds us of the relationship between the input and output.
In the context of differential equations, function notation often appears alongside derivatives, such as \(f'(x)\) or \(\frac{dy}{dx}\text{.}\) These expressions indicate the rate of change of a function and are critical for describing real-world phenomena like motion, population growth, or heat transfer.

🌌 Example 310. Simple Function Example.

Suppose \(f(x) = 2x + 3\text{.}\) What is \(f(4)\text{?}\)
To evaluate, substitute \(x = 4\) into the function:
\begin{equation*} f(4) = 2(4) + 3 = 11. \end{equation*}
This tells us that when the input is 4, the output of the function is 11.
Function notation also allows us to describe more complex relationships. For instance, in the differential equation \(\frac{dy}{dx} = f(x) \cdot g(y)\text{,}\) we use functions \(f(x)\) and \(g(y)\) to represent how the rate of change of \(y\) depends separately on \(x\) and \(y\text{.}\) Each function is flexible enough to represent anything from a simple polynomial to a more intricate expression involving trigonometric or exponential terms.

🌌 Example 311. Function Composition and Relationships.

Consider two functions: \(f(x) = \sin(x)\) and \(g(y) = e^y\text{.}\) The composition of these functions, written as \(g(f(x))\text{,}\) represents the output of \(g\) when \(f(x)\) is used as its input. That is:
\begin{equation*} g(f(x)) = e^{\sin(x)}. \end{equation*}
This compact notation conveys a lot of information and is frequently used in modeling.
Function notation is especially powerful when combined with initial conditions in differential equations. For example, if we know that \(\frac{dy}{dx} = 3x\) and \(y(0) = 5\text{,}\) we can interpret \(y(x)\) as a function that satisfies both the differential equation and the initial condition. Here, \(y(0) = 5\) tells us that when \(x = 0\text{,}\) the output of the function \(y\) is 5.

🌌 Example 312. Function Notation in Initial Value Problems.

Solve the initial value problem:
\begin{equation*} \frac{dy}{dx} = 2x, \quad y(1) = 4. \end{equation*}
Start by finding the general solution:
\begin{equation*} y(x) = x^2 + C. \end{equation*}
Then, use the initial condition \(y(1) = 4\) to determine \(C\text{:}\)
\begin{equation*} 4 = 1^2 + C \quad \Rightarrow \quad C = 3. \end{equation*}
Thus, the particular solution is:
\begin{equation*} y(x) = x^2 + 3. \end{equation*}
To summarize, function notation is not just a way to write formulas, it is a powerful language for describing relationships, modeling systems, and solving problems. Mastering function notation ensures a smoother understanding of differential equations and opens the door to a deeper appreciation of how mathematics connects to the real world.
Function notation is a critical tool in mathematics, especially when working with differential equations. It allows us to concisely express relationships between variables, their rates of change, and how these relationships evolve over time or in different contexts. However, interpreting function notation requires careful attention to what each part of the equation represents.
Consider the following equation:
\begin{equation*} \frac{d^n y}{dt^n} + a(t)y = k(t). \end{equation*}
At first glance, this equation may seem intimidating, but it is simply a mathematical way to describe how a function \(y(t)\) behaves. Let’s break it down piece by piece.

Key Components of Function Notation.

1. The Function: In this equation, \(y = y(t)\) is a function of \(t\text{,}\) meaning its value depends on the variable \(t\text{.}\) For instance, \(y(t)\) might represent a population at time \(t\text{,}\) the temperature at a certain moment, or the position of an object.
2. Derivatives: The term \(\frac{d^n y}{dt^n}\) represents the \(n\)th derivative of \(y\) with respect to \(t\text{.}\) Derivatives measure how \(y(t)\) changes as \(t\) changes. For example:
  • \(\frac{dy}{dt}\) is the first derivative and represents the rate of change of \(y\text{.}\)
  • \(\frac{d^2y}{dt^2}\) is the second derivative and measures how the rate of change itself is changing.
3. Coefficients and Functions: The terms \(a(t)\) and \(k(t)\) are functions of \(t\text{.}\) They act as "modifiers" that influence the behavior of \(y(t)\text{.}\) For example:
  • \(a(t)y\) scales \(y\) by a factor that depends on \(t\text{.}\)
  • \(k(t)\) represents an external input or forcing term that drives the system.
These terms make the equation more flexible and realistic for modeling real-world systems.

Interpreting an Equation.

To better understand function notation, let’s examine an example:
\begin{equation*} \frac{d^2y}{dt^2} + 5\frac{dy}{dt} + 6y = 10e^{-t}. \end{equation*}
This is a second-order differential equation where:
  • \(\frac{d^2y}{dt^2}\) is the second derivative of \(y\text{,}\) representing acceleration or curvature in the system.
  • \(5\frac{dy}{dt}\) adds a damping term proportional to the first derivative (rate of change).
  • \(6y\) scales the function \(y(t)\) by a constant factor.
  • \(10e^{-t}\) is an external input that decays over time, influencing \(y(t)\text{.}\)
Together, these terms describe a system whose behavior depends on how \(y\) and its derivatives interact with both internal factors (like \(5\frac{dy}{dt}\)) and external forces (\(10e^{-t}\)).
When you encounter equations like this, focus on identifying the structure:
  • What is the highest-order derivative? This tells you the order of the equation.
  • Are there any coefficients (like \(5\) or \(6\)) or functions (like \(e^{-t}\)) that modify the behavior of \(y(t)\text{?}\)
  • Is there an external forcing term (e.g., \(k(t)\)) driving the system?
By answering these questions, you can build an intuition for how the equation models a real-world phenomenon.

🌌 Example 313. Breaking Down an Equation.

Let’s analyze:
\begin{equation*} \frac{dy}{dx} = 3x^2y. \end{equation*}
This is a first-order differential equation where:
  • \(\frac{dy}{dx}\) represents how \(y\) changes with respect to \(x\text{.}\)
  • \(3x^2\) is a coefficient that depends on \(x\text{,}\) scaling \(y\text{.}\)
  • The product \(3x^2y\) shows that the rate of change of \(y\) depends on both \(x\) and the current value of \(y\text{.}\)
This form is separable, as we can rewrite it as:
\begin{equation*} \frac{1}{y} \, dy = 3x^2 \, dx. \end{equation*}
Recognizing this structure helps us know how to approach solving the equation.
Understanding function notation is key to reading, interpreting, and solving differential equations. By breaking down each term and identifying its role, you can gain a clear picture of how an equation models a system’s behavior. Whether you’re dealing with a simple equation like \(\frac{dy}{dx} = x\) or a complex one like \(\frac{d^n y}{dt^n} + a(t)y = k(t)\text{,}\) function notation provides a powerful framework for understanding and solving mathematical problems.
You have attempted of activities on this page.

Section Solving Polynomial Equations

Higher-degree polynomial equations have the form
\begin{align*} \text{degree 3:} \quad \amp a\ r^3 + b\ r + c\ r + d = 0, \\ \text{degree 4:} \quad \amp a\ r^4 + b\ r^3 + c\ r^2 + d\ r + e = 0, \\ \text{degree 5:} \quad \amp a\ r^5 + b\ r^4 + c\ r^3 + d\ r^2 + e\ r + f = 0, \\ \amp \vdots \end{align*}
and it turns out that these equations can always be factored into simpler polynomials. In particular, a polynomial of degree \(n\) can always be factored into \(n\) linear factors:
\begin{align*} \text{degree 3:} \quad \amp (r - r_1)(r - r_2)(r - r_3) = 0, \\ \text{degree 4:} \quad \amp (r - r_1)(r - r_2)(r - r_3)(r - r_4) = 0, \\ \text{degree 5:} \quad \amp (r - r_1)(r - r_2)(r - r_3)(r - r_4)(r - r_5) = 0, \\ \amp \vdots \end{align*}
where \(r_1, r_2, r_3, ...\) are the solutions and can be real or complex.
 13 
This fact is known as the Fundamental Theorem of Algebra.
 14 
A "complex" solution is one that can contain \(\sqrt{-1}\) (imaginary part).
For example, the equation \(x^2 = -4\) has two complex solutions since
\begin{align*} x \amp = \pm \sqrt{-4} \\ \amp = \pm \sqrt{4\cdot -1} \\ \amp = \pm \sqrt{4}\cdot \sqrt{-1} \\ \amp = \pm 2\ i \end{align*}
While knowing this is powerful, the process of factoring them can be quite challenging. However, there are some special forms and strategies that can help. A few are summarized below.

✳️ Techniques for Solving Higher-Degree Polynomials.

Recognizing Special Forms
Some polynomials can be factored using special patterns. Common forms include:
  • Common Factoring: \(ax^n + bx^{n-1} = x^{n-1}(ax + b)\)
  • Difference of Squares: \(a^2 - b^2 = (a - b)(a + b)\)
  • Sum/Difference of Cubes: \(a^3 \pm b^3 = (a \pm b)(a^2 \mp ab + b^2)\)
Recognizing these forms can help simplify the factorization process.
Known Factors
If you know one factor, then you can β€œdivide-out” the polynomial by this factor. For example, suppose we know that \(x = 1\) is a root of the polynomial
\begin{equation*} x^3 - 6x^2 + 11x - 6 = 0\text{.} \end{equation*}
Then, we know that \((x - 1)\) is a factor, so
\begin{equation*} x^3 - 6x^2 + 11x - 6 = (x - 1)p(x) \end{equation*}
where \(p(x)\) is some second-degree polynomial you multiply by \((x - 1)\) to get our original polynomial. We can find \(p(x)\) by dividing both sides by \(x - 1\text{,}\) like so
\begin{equation*} p(x) = \frac{x^3 - 6x^2 + 11x - 6}{x - 1} \os{\knowl{./knowl/xref/poly-div.html}{how?}}{=} x^2 - 5x + 6 \end{equation*}
Therefore,
\begin{align*} x^3 - 6x^2 + 11x - 6 \amp = (x - 1)(x^2 - 5x + 6)\\ \amp = (x - 1)(x - 2)(x - 3) \end{align*}
Possible Rational Roots
There is a theorem that tells us potential fractional roots of the polynomial. If \(r = \frac{p}{q}\) is a solution, then \(r\) must be of the form
\begin{equation*} r = \pm \frac{\text{factor of } a_0}{\text{factor of } a_n}\text{.} \end{equation*}
This gives us a list of possible solutions to test. For example, if we have the polynomial
\begin{equation*} 2x^3 - 3x^2 - 11x + 6 = 0 \end{equation*}
then the possible factors of \(a_0 = 6\) are \(1, 2, 3, 6\) and the possible factors of \(a_n = 2\) are \(1, 2\text{.}\) Therefore, the possible fractional solutions are
\begin{equation*} \pm \frac{\text{factor of 6}}{\text{factor of 2}} = \pm \frac11, \pm \frac12, \pm \frac21, \pm \frac22, \pm \frac31, \pm \frac32, \pm \frac61, \pm \frac62 \end{equation*}
We can test each of these values to find up to 3 solutions. Once we find one, we can use the previous technique to help find more.
Use Technology
Factoring higher-order polynomials can be very difficult to do by and this is one skill that may be better suited for a computer. There are many software packages that can factor polynomials for you. For example, the Wolfram Alpha website will do it with ease.

🌌 Example 314.

Completely factor and solve the following characteristic equations
  1. \(\displaystyle 4\ r^2 - 9 = 0 \)
  2. \(\displaystyle r^2 - 3 = 0 \)
  3. \(\displaystyle r^3 + 3\ r^2 - 4\ r = 0 \)
  4. \(\displaystyle r^5 + 10\ r^4 = 0 \)
  5. \(\displaystyle r^4 - 100\ r^2 = 0 \)
  6. \(\displaystyle r^5 - 4\ r^3 = 0 \)
  7. \(\displaystyle r^4 - 32 = 0 \)
Solution.
The degree of each equation tells you how many factors you should have.
  1. \(4\ r^2 - 9 = 0 \)
    \((2\ r + 3)(2\ r - 3) = 0 \) \(\leftarrow\) difference of squares
    \(2\ r + 3 = 0, \quad 2\ r - 3 = 0 \) \(\leftarrow\) set each factor to 0
    \(\ds r_1 = -\frac32, \quad r_2 = \frac32 \) \(\leftarrow\) solutions
  2. \(r^2 - 3 = 0 \)
    \((r + \sqrt{3})(r - \sqrt{3}) = 0 \) \(\leftarrow\) difference of squares
    \(\ds r_1 = -\sqrt{3}, \quad r_2 = \sqrt{3} \) \(\leftarrow\) solutions
  3. \(r^3 + 3\ r^2 - 4\ r = 0 \)
    \(r\ (r^2 + 3\ r - 4) = 0 \) \(\leftarrow\) common factor
    \(r\ (r + 4)(r - 1) = 0 \) \(\leftarrow\) standard quadratic factoring
    \(\ds r_1 = 0, \quad r_2 = -4, \quad r_3 = 1 \) \(\leftarrow\) solutions
  4. \(r^5 + 10\ r^4 = 0 \)
    \(r^4\ (r + 10) = 0 \) \(\leftarrow\) common factor
    \(\ds r_1 = 0\ (\text{4 repeats}), \quad r_2 = -10 \) \(\leftarrow\) solutions
    Technically, \(r^4 = (r-0)^4\) and represents 4 repeated factors.
  5. \(r^4 - 100\ r^2 = 0 \)
    \(r^2\ (r^2 - 100) = 0 \) \(\leftarrow\) common factor
    \(r^2\ (r + 10)(r - 10) = 0 \) \(\leftarrow\) difference of squares
    \(\ds r_1 = 0\ (\text{2 repeats}), \quad r_2 = -10, \quad r_3 = 10 \) \(\leftarrow\) solutions
  6. \(r^5 - 4\ r^3 = 0 \)
    \(r^3\ (r^2 - 4) = 0 \) \(\leftarrow\) common factor
    \(r^3\ (r + 2)(r - 2) = 0 \) \(\leftarrow\) difference of squares
    \(\ds r_1 = 0\ (\text{3 repeats}), \quad r_2 = -2, \quad r_3 = 2 \) \(\leftarrow\) solutions
  7. \(r^4 - 25 = 0 \)
    \((r^2 + 5)(r^2 - 5) = 0 \) \(\leftarrow\) difference of squares
    \((r^2 + 5)(r - \sqrt{5})(r + \sqrt{5}) = 0 \) \(\leftarrow\) difference of squares
    \(r^2 + 5 = 0, \quad r - \sqrt{5} = 0, \quad r + \sqrt{5} = 0 \) \(\leftarrow\) set each factor to 0
    \(\ds r_1 = -i\sqrt{5}, \quad r_2 = i\sqrt{5}, \quad r_3 = -\sqrt{5}, \quad r_4 = \sqrt{5} \) \(\leftarrow\) solutions
An important concept to remember is that any polynomial can be factored into the product of linear factors, allowing for complex solutions. This is known as the Fundamental Theorem of Algebra. However, factoring higher-degree polynomials can sometimes be challenging and may require the use of technology, such as computer algebra systems or graphing calculators, to find complex or irrational roots.
By combining these techniques, we can solve for the roots of any higher-degree polynomial. Once we have the roots, we can construct the general solution to the higher-order LHCC equation.
For a higher-order LHCC equation like:
\begin{equation} a_n y^{(n)} + a_{n-1} y^{(n-1)} + \cdots + a_1 y' + a_0 y = 0\text{,}\tag{49} \end{equation}
the characteristic equation is the polynomial equation we just discussed. Finding the roots \(r_1, r_2, \ldots, r_n\) of this polynomial gives us the general solution:
\begin{equation*} y = C_1 e^{r_1 x} + C_2 e^{r_2 x} + \cdots + C_n e^{r_n x}\text{,} \end{equation*}
where \(C_1, C_2, \ldots, C_n\) are constants determined by initial conditions.
Let’s see an example to solidify these concepts.

🌌 Example 315. Solving a Third-Degree Polynomial Equation.

Find the general solution to the third-order LHCC equation:
\(y''' - 6y'' + 11y' - 6y = 0 \)
Solution.
First, write down the characteristic equation:
\begin{gather*} r^3 - 6r^2 + 11r - 6 = 0 \text{.} \end{gather*}
Factoring the polynomial, we get:
\begin{equation*} (r - 1)(r - 2)(r - 3) = 0\text{.} \end{equation*}
Therefore, the roots are \(r = 1, 2, 3\text{.}\)
Since we have three distinct real roots, the general solution to the LHCC equation is:
\begin{equation*} y = C_1 e^{x} + C_2 e^{2x} + C_3 e^{3x}\text{,} \end{equation*}
where \(C_1, C_2, C_3\) are constants determined by initial conditions.

Polynomail Division.

Use polynomial divison to compute
\begin{equation*} \frac{x^3 - 6x^2 + 11x - 6}{x-1} =\ ? \end{equation*}
\(x^2\) \(-\) \(5x\) \(+\) \(6\)
\(x-1\) \(x^3\) \(-\) \(6x^2\) \(+\) \(11x\) \(-\) \(6\)
\(x^3\) \(-\) \(x^2\)
\(-5x^2\) \(+\) \(11x\) \(-\) \(6\)
\(-5x^2\) \(+\) \(5x\)
\(6x\) \(-\) \(6\)
\(6x\) \(-\) \(6\)
\(0\)
Therefore,
\begin{equation*} \frac{x^3 - 6x^2 + 11x - 6}{x-1} = x^2 - 5x + 6\text{.} \end{equation*}
You have attempted of activities on this page.

Section Rational Functions

Rational functions are a fundamental concept in algebra and calculus, and they play a significant role in differential equations. A rational function is defined as the ratio of two polynomials.

πŸ“™ Definition 316. Rational Function.

A rational function is a function that is the division of two polynomials.
For example, the following are rational functions in the variables \(s\text{,}\) \(x\text{,}\) and \(t\text{,}\) respectively:
\begin{equation*} \frac{s^2 + 3s + 2}{s - 1}, \quad \frac{2x^3 - 5x + 7}{x^2 - 4}, \quad \frac{1}{t^2 + 1}\text{.} \end{equation*}
You have attempted of activities on this page.

Section Partial Fraction Decomposition

Partial fraction decomposition is a method used to express a rational function as a sum of simpler fractions. This process is especially useful when solving integrals and applying inverse Laplace transforms. The following steps outline the process to find the partial fraction decomposition of a rational function.
Check the Degree of the Numerator and Denominator
Ensure the degree of the numerator is less than the degree of the denominator. If the numerator has a degree greater than or equal to the denominator, first perform polynomial long division to reduce the degree of the numerator.
Factor the Denominator
Factor the denominator into irreducible linear or quadratic factors.
  • Linear factors: Expressions of the form \((s - a)\text{.}\)
  • Irreducible quadratic factors: Expressions of the form \((s^2 + bs + c)\) where the discriminant \(b^2 - 4ac\) is negative.
Set up the Partial Fraction Decomposition
Based on the factors of the denominator, write the decomposition:
  • For each linear factor \((s - a)\text{,}\) include a term of the form
    \begin{equation*} \frac{A}{s - a}\text{.} \end{equation*}
  • For repeated linear factors \((s - a)^n\text{,}\) include terms like:
    \begin{equation*} \frac{A_1}{s - a} + \frac{A_2}{(s - a)^2} + \dots + \frac{A_n}{(s - a)^n}. \end{equation*}
  • For irreducible quadratic factors \((s^2 + bs + c)\text{,}\) include a term of the form
    \begin{equation*} \frac{Bs + C}{s^2 + bs + c}\text{.} \end{equation*}
  • For repeated quadratic factors \((s^2 + bs + c)^n\text{,}\) include terms like:
    \begin{equation*} \frac{B_1s + C_1}{s^2 + bs + c} + \frac{B_2s + C_2}{(s^2 + bs + c)^2} + \dots + \frac{B_ns + C_n}{(s^2 + bs + c)^n}. \end{equation*}
Solve for the Constants
Multiply both sides of the equation by the common denominator and expand to eliminate fractions. Group terms by powers of \(s\) and set up a system of equations to solve for the unknown constants \(A\text{,}\) \(B\text{,}\) and \(C\text{.}\)
Final Result
Once the constants are found, write the final partial fraction decomposition. This decomposition can now be used for further calculations such as integrals or inverse Laplace transforms.

✳️ Reference: Partial Fraction General Form Terms.

For each type of factor in the denominator, add the following terms to the partial fraction decomposition:
Factor Type
Factor
Term(s) In General Form
Linear
\((s - a)\)
\(\ds\frac{A}{s - a}\)
Repeated Linear
\((s - a)^n\)
\(\ds\frac{A_1}{s - a} + \frac{A_2}{(s - a)^2} + \dots + \frac{A_n}{(s - a)^n}\)
Irreducible Quadratic
\((s^2 + bs + c)\)
\(\ds\frac{Bs + C}{s^2 + bs + c}\)
Repeated Quadratic
\((s^2 + bs + c)^n\)
\(\ds\frac{B_1s + C_1}{s^2 + bs + c} + \dots + \frac{B_ns + C_n}{(s^2 + bs + c)^n}\)

🌌 Example 317.

Find the partial fraction decomposition form for each.
  1. \(\ds\frac{8x^2 - 51x + 41}{x^2 - 6x + 5}\)
    Solution.
    First, factor the denominator:
    \begin{equation*} x^2 - 6x + 5 = (x - 5)(x - 1). \end{equation*}
    The denominator has the following factors:
    Hence, the FORM of the partial fraction decomposition is:
    \begin{equation*} u(x) = \frac{A}{x-5} + \frac{B}{x-1}. \end{equation*}
  2. \(\ds\frac{17x - 11}{x^2(x-3)} \qquad\)
    Solution.
    Since the denominator is already factored, we see that the denominator has the following factors:
    Hence, the FORM of the partial fraction decomposition is:
    \begin{equation*} g(x) = \frac{A}{x} + \frac{B}{x^2} + \frac{C}{x-3}. \end{equation*}
  3. \(\ds\frac{x+12}{(x^2 - 4)^2} \qquad\)
    Solution.
    Here we need to finish factoring the denominator:
    \begin{equation*} h(x) = \frac{x+12}{(x^2 - 4)^2} = \frac{x+12}{[(x-2)(x+2)]^2} = \frac{x+12}{(x-2)^2(x+2)^2} \end{equation*}
    Now we see that the denominator has the following factors:
    Hence, the FORM of the partial fraction decomposition is:
    \begin{equation*} h(x) = \frac{A}{x-2} + \frac{B}{(x-2)^2} + \frac{C}{x+2} + \frac{D}{(x+2)^2}. \end{equation*}
  4. \(\ds\frac{3x-14}{(x+1)(x^2 + 2x + 1)} \qquad\)
    Solution.
    Here we need to finish factoring the denominator:
    \begin{equation*} r(x) = \frac{3x-14}{(x+1)(x^2 + 2x + 1)} = \frac{3x-14}{(x+1)(x+1)(x+1)} = \frac{3x-14}{(x+1)^3} \end{equation*}
    Now we see that \((x+1)\) (which is linear), is a factor (three times) of the denominator. Hence, the FORM of the partial fraction decomposition is:
    \begin{equation*} r(x) = \frac{A}{x+1} + \frac{B}{(x+1)^2} + \frac{C}{(x+1)^3}. \end{equation*}

🌌 Example 318.

Find the partial fraction decomposition of
\begin{equation*} \frac{5s + 3}{(s - 1)(s^2 + s + 1)}\text{.} \end{equation*}
Solution.
Factor the denominator as
\begin{equation*} (s - 1)(s^2 + s + 1)\text{.} \end{equation*}
The partial fraction decomposition is:
\begin{equation*} \frac{5s + 3}{(s - 1)(s^2 + s + 1)} = \frac{A}{s - 1} + \frac{Bs + C}{s^2 + s + 1}. \end{equation*}
Multiply through by \((s - 1)(s^2 + s + 1)\) and solve for \(A\text{,}\) \(B\text{,}\) and \(C\text{.}\)
\begin{equation*} 5s + 3 = A(s^2 + s + 1) + (Bs + C)(s - 1). \end{equation*}
Expanding and comparing coefficients, we find:
\begin{equation*} A = 5, \quad B - A = 0, \quad C - B = 3. \end{equation*}
Therefore, the partial fraction decomposition is:
\begin{equation*} \frac{5s + 3}{(s - 1)(s^2 + s + 1)} = \frac{5}{s - 1} + \frac{5s - 2}{s^2 + s + 1}. \end{equation*}

Exercises Exercises

General Form.

Find the FORM of the partial fraction decomposition for each of the following. Make sure you completely factor each denominator before determining the decomposition. You need not find the values of the coefficients \(A,\) \(B,\) etc.

Partial Fraction Decomposition.

Find the partial fraction decomposition for each of the following rational functions.
You have attempted of activities on this page.

Section Piecewise Defined Functions

We will encounter piecewise defined functions in differential equations when we think about some physical phenomenon. For example, we might consider the vibration of an airplane wing that is struck by some external object or a circuit that is initially open and then we close the circuit and the current immediately starts flowing. Both of these scenarios would require a piecewise defined function because there is a moment in time when something about the physical system changes.
As such, we need to remember how piecewise defined functions work. Consider the function
\begin{equation*} g(t) = \left\{ \begin{array}{ll} 0, \amp t \lt 1 \\ t^2, \amp 1 \le t \lt 2 \\ -t+1, \amp 2 \le t \lt 6 \\ 0, \amp t \ge 6. \\ \end{array} \right. \end{equation*}
If we want to evaluate the function at a particular \(t\)-value, we use the restrictions on the right to point us to which piece of the function definition we should use. For example, if we want to know \(g(3)\text{,}\) then we look over at that right side and see that 3 falls into the interval \(2 \le t \lt 6,\) so we use the corresponding function, \(-t+1\text{.}\) Thus, \(g(3) = -3 + 1 = -2.\)
If we want to graph, we also use those restrictions. When \(t \lt 1\text{,}\) or equivalently when \(t\) is in the interval \((-\infty, 1),\) we know that the graph of \(g\) will look like the horizontal line \(y=0\text{;}\) on the interval \([1, 2),\) the graph will look like the graph of the parabola \(y = t^2\text{;}\) etc.
In the plots below you can see the entire graphs of the functions, dotted, with a solid segment that will be part of the piecewise function \(g\text{.}\)
Now we are prepared to assemble the pieces and generate the graph of the piecewise-defined function
\begin{equation*} g(t) = \left\{ \begin{array}{ll} 0, \amp t \lt 1 \\ t^2, \amp 1 \le t \lt 2 \\ -t+1, \amp 2 \le t \lt 6 \\ 0, \amp t \ge 6 \\ \end{array} \right.\text{.} \end{equation*}
If you’d like more of a review feel free to look at VMI’s precalculus text, here
 15 
drive.google.com/file/d/12b2cwH7afXhsYSDb-QCWKmFK2QCq7UfY/view
Now you try some.
Sketch each of the following piecewise defined functions.
  1. \(\displaystyle \ds f(t) = \left\{ \begin{array}{ll} 0, \amp t \lt 0 \\ 5-t, \amp 0 \le t \lt 3 \\ 2, \amp t \ge 3 \\ \end{array} \right.\)
    Answer.
  2. \(\displaystyle \ds h(t) = \left\{ \begin{array}{ll} \sin t, \amp t \lt \pi \\ 0, \amp t \ge \pi \\ \end{array} \right.\)
    Answer.
  3. \(\displaystyle \ds w(t) = \left\{ \begin{array}{ll} -t, \amp t \lt 1 \\ t^2+1, \amp 1 \le t \lt 2 \\ e^{-t}, \amp t \ge 2 \\ \end{array} \right.\)
    Answer.
You have attempted of activities on this page.

Section Recursive functions

We often use subscript notation when the function is a recursive function, where we rely on knowing previous values in order to compute the next value, as in the example below. Example: Suppose \(a_{n+1} = 3a_{n} + 2\) and \(a_0 = 3.\)
  1. [(a)] Find the value of \(a_1.\)
    Answer.
    \(a\)\(n+1,\)\(a\)\(n\)\(a\)\(n=0,\)\(a_0 = 3.\)\(a\)\(n = 1\)
    \begin{align*} a_1 \amp = 3a_0 + 2\\ \amp = 3\cdot 3 + 2\\ \amp = 11. \end{align*}
  2. [(b)] Find the value of \(a_4.\) Answer: If we use the formula above, with \(n = 3,\) then we have
    \begin{equation*} a_{4} = 3a_{3} + 2. \end{equation*}
    It looks like we actually need to know the value of \(a_3\text{...}\)and it turns out that in order to know the value of \(a_3\) we actually need to know the value of \(a_2\text{...}\)which requires that we know the value of \(a_1\)--which we already found. So here goes:
    \begin{align*} a_2 \amp = 3a_1 + 2\\ \amp = 3\cdot 11 + 2\\ \amp = 35\\ \amp\\ a_3 \amp = 3a_2 + 2\\ \amp = 3\cdot 35 + 2\\ \amp = 107\\ \amp\\ a_4 \amp = 3a_3 + 2\\ \amp = 3\cdot 107 + 2\\ \amp = 323. \end{align*}
The bottom line with recursive functions is that if we know \(a_0,\) we can find \(a_1,\) and then we can find \(a_2,\) and so on. But if we want to know \(a_{17},\) for example, we need to know ALL of the previous \(a\)-values \(a_0, a_1, a_2, \ldots , a_{16}\text{.}\)
Answer.
Now you try:
Given the definition of a recursive function in subscript notation, find the value of the given term.
  1. If \(a_{n+1} = a_n - 2\) and \(a_0 = 16,\) evaluate \(a_3.\)
    Solution.
    \begin{align*} n = 0: a_1 \amp = a_0 - 2\\ \amp = 16 - 2\\ \amp = 14\\ \amp\\ n = 1: a_2 \amp = a_1 - 2\\ \amp = 14 - 2\\ \amp = 12\\ \amp\\ n = 2: a_3 \amp = a_2 - 2\\ \amp = 12 - 2\\ \amp = 10 \end{align*}
    Answer.
    \begin{equation*} a_3 = 10 \end{equation*}
  2. If \(y_{n+1} = \sin(y_n)\) and \(y_0 = 0,\) evaluate \(y_4.\)
    Solution.
    \begin{align*} n = 0: y_1 \amp = \sin(y_0)\\ \amp = \sin(0)\\ \amp = 0\\ \amp\\ n = 1: y_2 \amp = \sin(y_1)\\ \amp = \sin(0)\\ \amp = 0\\ \amp\\ n = 2: y_3 \amp = \sin(y_2)\\ \amp = \sin(0)\\ \amp = 0\\ \amp\\ n = 3: y_4 \amp = \sin(y_3)\\ \amp = \sin(0)\\ \amp = 0 \end{align*}
    Answer.
    \begin{equation*} y_4 = 0 \end{equation*}
  3. If \(x_{n+1} = x_n^2 - x_n\) and \(x_0 = 5,\) evaluate \(x_2.\)
    Solution.
    \begin{align*} n = 0: x_1 \amp = x_0^2 - x_0\\ \amp = 5^2 - 5\\ \amp = 20\\ \amp\\ n = 1: x_2 \amp = x_1^2 - x_1\\ \amp = 20^2 - 20\\ \amp = 380 \end{align*}
    Answer.
    \begin{equation*} x_2 = 380 \end{equation*}
You have attempted of activities on this page.

Section Interrelated functions

In differential equations, we will encounter functions involving subscripts that are interrelated. Let’s look at an example like that. Example: Suppose:
\begin{align*} x_{n+1} \amp = x_n + 0.5,\\ y_{n+1} \amp = [y_n\cdot (x_n)^2 + 1]x_{n+1} + y_n,\\ x_0 \amp = 3, \mbox{ and}\\ y_0 \amp = 2. \end{align*}
Find the values of \(y_1\) and \(y_2.\)
Answer.
\(y_1.\)
\begin{equation*} y_1 = [y_0\cdot (x_0)^2 + 1]x_1 + y_0. \end{equation*}
\(x_0\)\(y_0,\)\(x_1.\)
\begin{align*} x_1 \amp = x_0 + 0.5\\ \amp = 3 + 0.5\\ \amp = 3.5 \end{align*}
\(y_1:\)
\begin{align*} y_1 \amp = [y_0\cdot (x_0)^2 + 1]x_1 + y_0\\ \amp = [2\cdot 3^2 + 1](3.5) + 2\\ \amp = 68.5 \end{align*}
\(x_2:\)
\begin{align*} x_2 \amp = x_1 + 0.5\\ \amp = 3.5 + 0.5\\ \amp = 4 \end{align*}
\(y_2:\)
\begin{align*} y_2 \amp = [y_1\cdot (x_1)^2 + 1]x_2 + y_1\\ \amp = [68.5\cdot 3.5^2 + 1](4) + 68.5\\ \amp = 3429 \end{align*}
  1. Find \(y_2\) given the following information about \(x_n\) and \(y_n.\)
    \begin{align*} x_{n+1} \amp = x_n + 1, \amp x_0 \amp = 2\\ y_{n+1} \amp = 3\cdot x_{n+1} + y_n \amp y_0 \amp = -3 \end{align*}
    Solution.
    \begin{align*} n = 0: x_1 \amp = x_0 +1\\ \amp = 2 +1\\ \amp = 3\\ \amp\\ y_1 \amp = 3\cdot x_1 + y_0\\ \amp = 3\cdot 3 + (-3)\\ \amp = 6\\ \amp\\ n = 1: x_2 \amp = x_1 + 1\\ \amp = 3 +1\\ \amp = 4\\ \amp\\ y_2 \amp = 3\cdot x_2 + y_1\\ \amp = 3\cdot 4 + 6\\ \amp = 18 \end{align*}
    Answer.
    \begin{equation*} y_2 = 18 \end{equation*}
  2. Find \(y_2\) given the following information about \(x_n\) and \(y_n.\)
    \begin{align*} x_{n+1} \amp = x_n + 1, \amp x_0 = 0\\ y_{n+1} \amp = [x_n+y_n]^2\cdot[x_{n+1} - x_n] + y_n \amp y_0 = 2 \end{align*}
    Solution.
    \begin{align*} n = 0: x_1 \amp = x_0 +1\\ \amp = 0 +1\\ \amp = 1\\ \amp\\ y_1 \amp = [x_0+y_0]^2\cdot[x_1 - x_0] + y_0\\ \amp = [0 + 2]^2\cdot[1 - 0] + 2\\ \amp = 6\\ \amp\\ n = 1: x_2 \amp = x_1 + 1\\ \amp = 1 +1\\ \amp = 2\\ \amp\\ y_2 \amp = [x_1+y_1]^2\cdot[x_2 - x_1] + y_1\\ \amp = [1+6]^2\cdot[2 - 1] + 6\\ \amp = 55 \end{align*}
    Answer.
    \begin{equation*} y_2 = 55 \end{equation*}
  3. Find \(y_2\) given the following information about \(x_n\) and \(y_n.\)
    \begin{align*} x_{n+1} \amp = x_n + 2, \amp x_0 = -1\\ y_{n+1} \amp = [3x_n - y_n^2]\cdot 2 + y_n \amp y_0 = -6 \end{align*}
    Solution.
    \begin{align*} n = 0: x_1 \amp = x_0 +2\\ \amp = -1 +2\\ \amp = 1\\ \amp\\ y_1 \amp = [3x_0 - y_0^2]\cdot 2 + y_0\\ \amp = [3\cdot (-1) - (-6)^2]\cdot 2 + (-6)\\ \amp = [-3-36]\cdot 2 - 6\\ \amp = (-39)\cdot 2 - 6\\ \amp = -78 - 6\\ \amp = -84\\ \amp\\ n = 1: x_2 \amp = x_1 + 2\\ \amp = 1 +2\\ \amp = 3\\ \amp\\ y_2 \amp = [3x_1 - y_1^2]\cdot 2 + y_1\\ \amp = [3\cdot1 - (-84)^2]\cdot 2 + (-84)\\ \amp = [3 - 7056]\cdot 2 - 84\\ \amp = (-7053)\cdot 2 - 84\\ \amp = -14106 - 84\\ \amp = -14190 \end{align*}
    Answer.
    \begin{equation*} y_2 = -14190 \end{equation*}
You have attempted of activities on this page.

Section Units, Mass, Volume, Concentration

We’re about to start working on applications involving mixing solutions in tanks. That means we need to be mindful of units (for example--we can’t add miles and kilograms), mass balance, and volumes. We also can develop some intuition that will be helpful when we tackle more complicated questions.
  1. Consider the equation \(s \cdot X = d,\) where \(s\) is a speed and has units of miles/hour. The variable \(d\) represents distance and has units miles. What units must the variable \(X\) have?
    Solution.
    In order to make the unit analysis work,
    \begin{equation*} \ub{s}_{\frac{\text{mi}}{\text{hr}}}\cdot \ub{X}_{?} = \ub{d}_{\text{mi}}, \end{equation*}
    we would need \(X\) to have units of hours.
    Answer.
  2. Consider the equation \(A = B \cdot C,\) where \(A\) has units of moles/hour and \(B\) has units of gallons/hour. What must the units of \(C\) be?
    Solution.
    In order to make the unit analysis work,
    \begin{equation*} \ub{A}_{\frac{\text{moles}}{\text{hr}}} = \ub{B}_{\frac{\text{gal}}{\text{hr}}} \cdot \ub{C}_{?}, \end{equation*}
    we would need \(C\) to have units of moles/gallon.
    Answer.
    moles/gallon
  3. Consider the equation \(M - N\cdot P = Z,\) where \(M\) has units of ft\(\cdot\)lb/sec, \(N\) has units of ft, \(P\) has units of lb/sec. What must the units of \(Z\) be?
    Solution.
    In order to make the unit analysis work,
    \begin{equation*} \ub{M}_{\frac{\text{ftlb}}{\text{sec}}} - \ub{N}_{\text{ft}} \cdot \ub{P}_{\frac{\text{lb}}{\text{sec}}} = \ub{Z}_{?}, \end{equation*}
    we would need \(Z\) to have units of ft\(\cdot\)lb/sec.
    Answer.
    ft\(\cdot\)lb/sec
  4. Consider the tank below, which has salt water solutions (also called brines) entering via two input lines (A and B) and has one output line (C).
  5. If the tank level does not change, what volumetric flow rate must be leaving via the output line C?
    Solution.
    Brine is entering the tank at volumetric flow rate
    \begin{equation*} 4 \text{L/min} + 10 \text{L/min} = 14 \text{L/min}. \end{equation*}
    Since the tank level does not change, brine must leave at the same rate, 14 L/min.
    Answer.
    14 L/min
  6. The concentration (in kg/L) of salt in each brine solution is shown in the figure. At what rate (in kg/min) is salt entering the tank?
    Solution.
    Salt is entering the tank via inlet A at a rate
    \begin{equation*} 4 \frac{\text{L}}{\text{min}} \times 6 \frac{\text{kg}}{\text{L}} = 24 \frac{\text{kg}}{\text{min}}. \end{equation*}
    Similarly, salt enters via inlet B at a rate
    \begin{equation*} 10 \frac{\text{L}}{\text{min}} \times 4 \frac{\text{kg}}{\text{L}} = 40 \frac{\text{kg}}{\text{min}}. \end{equation*}
    Altogether, then, salt enters at a rate of 64 kg/min.
    Answer.
    64 kg/min
  7. Consider the tank below, which has liquid entering via two input lines (A and B) and has one output line (C).
  8. If the tank level does not change, what volumetric flow rate must be entering via the input line B?
    Solution.
    Brine is leaving the tank at volumetric flow rate 10 gal/sec. Inlet A contributes 4 gal/sec, which means that if the tank level is to remain constant, inlet B must contribute 6 gal/sec.
    Answer.
    6 gal/sec
  9. The concentration (in lb/gal) of salt in each brine solution is shown in the figure. Assuming the tank level doesn’t change, at what rate (in lb/sec) is salt entering the tank?
    Solution.
    Salt is entering the tank via inlet A at a rate
    \begin{equation*} 4 \frac{\text{gal}}{\text{sec}} \times 0.5 \frac{\text{lb}}{\text{gal}} = 2 \frac{\text{lb}}{\text{sec}}. \end{equation*}
    Similarly, salt enters via inlet B at a rate
    \begin{equation*} 6 \frac{\text{gal}}{\text{sec}} \times 4 \frac{\text{lb}}{\text{gal}} = 24 \frac{\text{lb}}{\text{sec}}. \end{equation*}
    Altogether, then, salt enters at a rate of 26 lb/sec.
    Answer.
    26 lb/sec
  10. Consider the tank below, which has liquid entering via two input lines (A and B) and has one output line (C).
  11. What happens to the level of the tank over time? Be specific.
    Solution.
    Liquid is entering at a rate of 7+10 = 17 L/min. It leaves at a rate of 12 L/min. That means that the amount of liquid in the tank increases at a rate of 5 L/min.
    Answer.
    increases (volume increases at a rate of 5 L/min)
  12. If the tank has a capacity of 1500 L, and is empty at time \(t = 0\) minutes, write a function \(V(t)\) for volume of liquid in the tank at time \(t\) minutes.
    Solution.
    Since the amount of liquid in the tank increases at a rate of 5 L/min, we have
    \begin{align*} V(t) \amp = \ub{\text{(initial volume)}}_{L} + \ub{\text{(rate)}}_{\frac{\text{L}}{\text{min}}} \times\ub{\text{(time)}}_{\text{min}} \\ \amp = 0 + 5t \end{align*}
    Since the capacity of the tank is 1500 L, this equation only works for \(0 \le t \le 300\) minutes.
    Answer.
    \begin{equation*} V(t) = 5t, \hspace{1cm} 0 \le t \le 300 \end{equation*}
  13. Consider the tank below, which has liquid entering via one input line (A) and is drained via one output line (B).
  14. Suppose the tank initially contains 50 L of water that is dark red due to food coloring and that the liquid entering the tank is pure water. Imagine that we allow the pure water to enter the tank and the mixed solution to drain out of the tank for a really long time; you can think about it happening for years, if it helps. What color would you expect the water in the tank to be after a really long time?
    Solution.
    Over time we would expect that the water in the tank is almost identical to the incoming fluid. Therefore, we expect the tank be clear (i.e., pure water).
    Answer.
    clear (i.e., pure water)
  15. Suppose the tank initially contains 50 L of pure water and that the liquid entering the tank is water that is dark red due to food coloring. Imagine that we allow the dark red water to enter the tank and the mixed solution to drain out of the tank for a really long time; you can think about it happening for years, if it helps. What color would you expect the water in the tank to be after a really long time?
    Solution.
    Over time we would expect that the water in the tank is almost identical to the incoming fluid. Therefore, we expect the tank to have dark red water--the same as the incoming water.
    Answer.
    dark red (same as incoming water)
  16. Consider the tank below, which has liquid entering via an input line (A) and is drained via one output line (B).
    Suppose the tank initially contains 50 gallons of a salt water solution (also called a brine) with concentration 6 lb/gal, and that the liquid entering the tank is pure water.
  17. How much salt is initially in the tank?
    Solution.
    Initially we have
    \begin{equation*} 50 \text{ gal }\times 6 \frac{\text{lb}}{\text{gal}} = 300 \text{ lb.} \end{equation*}
    Answer.
  18. Imagine that we allow the pure water to enter the tank and the mixed solution to drain out of the tank for a really long time; you can think about it happening for years, if it helps. What concentration of salt do you expect there to be in the tank after a long time?
    Solution.
    Initially we have salt in the tank, but over time, no salt is added but the solution is drained, so more and more salt leaves the tank. Over time we would expect that the concentration of salt would decrease to 0 lb/gal.
    Answer.
    0 lb/gal
  19. How much salt do you expect to be in the tank after a long time? (Note that this is a slightly different question than the previous question.)
  20. Consider the tank below, which has liquid entering via one input line (A) and is drained via one output line (B).
    Suppose the tank initially contains 50 L of a brine with concentration 6 kg/L, and that the liquid entering the tank is a brine with concentration 8 kg/L.
  21. Imagine that we allow the brine to enter the tank and the mixed solution to drain out of the tank for a really long time; you can think about it happening for years, if it helps. What concentration of salt do you expect there to be in the tank after a long time?
    Solution.
    Over time we would expect that the fluid in the tank is almost identical to the incoming fluid. Therefore, we expect the concentration of salt to be 8 kg/L.
    Answer.
  22. How much salt do you expect to be in the tank after a long time? (Note that this is a slightly different than asking about the concentration of salt. Hint: use units!)
    Solution.
    Since we expect the concentration to be 8 kg/L, and there are 50 L of solution in the tank (which doesn’t change because the volumetric flow rate in is equal to the volumetric flow rate out), then we expect there will be
    \begin{equation*} 8 \frac{\text{kg}}{\text{L}} \times 50 \text{ L} = 400 \text{ kg}. \end{equation*}
    Answer.
You have attempted of activities on this page.
You have attempted of activities on this page.