Subsection 10.2.2 Completing the Square
\begin{equation*}
\frac{s-1}{s^2 - 2s + 5}
\end{equation*}
does not align with standard forms. A common approach is to rewrite the denominator in the form \((s - a)^2 + b^2\text{,}\) allowing it to match known transforms like \(L_7\) or \(L_8\text{.}\) This technique, called completing the square, is essential for converting quadratic expressions into forms that are easier to work with in inverse Laplace computations.
Completing the square is particularly useful when the quadratic expression in the denominator has complex roots. As a quick check, recall from
solving quadratic equations that if the discriminant
\begin{equation*}
b^2 - 4ac
\end{equation*}
is negative, the quadratic function has complex roots. This indicates that completing the square is the correct approach, as the following examples will demonstrate.
Example 21. Find the Inverse Laplce Transform.
Solution 1. \(\ds H(s) = \frac{s-1}{s^2 - 2s + 5}\text{.}\) Find \(\ilap{H(s)}\)
The discriminant of the denominator \(s^2 - 2s + 5\) is
\begin{equation*}
b^2 - 4ac = (-2)^2 - 4(1)(5) = 4 - 20 = -16\text{,}
\end{equation*}
which is negative. Therefore, completing the square is necessary:
\begin{align*}
s^2 - 2s + 5 = (s^2 - 2s) + 5 =\amp\ (\ob{s^2 - 2s + 1}^{(s - 1)^2} - 1) + 5 \\
=\amp\ (s - 1)^2 + 4 \text{.}
\end{align*}
Rewriting \(H(s)\) gives:
\begin{equation*}
\frac{s-1}{s^2 - 2s + 5} = \frac{s-1}{(s - 1)^2 + 4},
\end{equation*}
\begin{equation*}
h(t) = \ilap{H(s)} = e^{t}\cos(2t).
\end{equation*}
Solution 2. \(\ds K(s) = \frac{11}{s^2 - 6s + 14}\text{.}\) Find \(\ilap{K(s)}\)
The discriminant of the denominator \(s^2 - 6s + 14\) is:
\begin{equation*}
b^2 - 4ac = (-6)^2 - 4(1)(14) = 36 - 56 = -20\text{,}
\end{equation*}
indicating that completing the square is necessary:
\begin{align*}
s^2 - 6s + 14 = (s^2 - 6s) + 14 =\amp (\ob{s^2 - 6s + 9}^{(s - 3)^2} - 9) + 14 \\
=\amp (s - 3)^2 + 5 \text{.}
\end{align*}
Rewriting \(K(s)\) as:
\begin{equation*}
\frac{11}{s^2 - 6s + 14}
= \ub{\frac{11}{(s - 3)^2 + 5}}_{\large \text{Match with } L_7}
= \frac{11}{\sqrt{5}}\ub{\frac{\sqrt{5}}{(s - 3)^2 + 5}}_{\large \knowl{./knowl/xref/L7.html}{\(L_7\)} (a = 3, b = \sqrt{5})}\text{.}
\end{equation*}
Therefore,
\begin{align*}
k(t) = \ilap{K(s)} =\amp\ \frac{11}{\sqrt{5}}e^{3t}\sin(\sqrt{5}t)\text{.}
\end{align*}
Solution 3. \(\ds P(s) = \frac{s+3}{s^2 + 2s + 10}\text{.}\) Find \(\ilap{P(s)}\)
Completing the square for the denominator of \(P(s)\) gives:
\begin{equation*}
\frac{s+3}{s^2 + 2s + 10} = \frac{s+3}{(s + 1)^2 + 9}\text{.}
\end{equation*}
However, the numerator \(s + 3\) does not match \(s + 1\text{.}\) To resolve this, we rewrite \(3\) as \(1 + 2\) and group terms:
\begin{align*}
\frac{s+3}{s^2 + 2s + 10}
=\amp\ \frac{s + 1 + 2}{(s + 1)^2 + 9}\\
=\amp\ \frac{s+1}{(s + 1)^2 + 9} + \frac{2}{(s + 1)^2 + 9}\\
=\amp\ \ub{\frac{s+1}{(s + 1)^2 + 9}}_{\large \knowl{./knowl/xref/L8.html}{\text{\({\LARGE \vphantom{\int}}L_8\)}}\ (a=-1, b=3)}
+ \frac{2}{3}\ub{\frac{3}{(s + 1)^2 + 9}}_{\large \knowl{./knowl/xref/L7.html}{\text{\({\LARGE \vphantom{\int}}L_7\)}}\ (a=-1, b=3)}\text{,}
\end{align*}
Now, apply the inverse Laplace transform:
\begin{align*}
p(t) =\amp\ \ilap{P(s)}\\
=\amp\ \ilap{ \frac{s+1}{(s + 1)^2 + 9} } + \frac{2}{3}\ilap{ \frac{3}{(s + 1)^2 + 9} }\\
=\amp\ e^{-t}\cos(3t) + \frac{2}{3}e^{-t}\sin(3t)
\end{align*}
Completing the square is a crucial technique when working with quadratic expressions in the denominator of Laplace transforms. It allows for the backward transformations by rewriting the \(s\)-function in a form that aligns with known inverse Laplace transforms. In the next subsection, we will explore another technique: partial fraction decomposition, which helps break down more complex rational functions into simpler parts that can be easily matched to common inverse transforms.
Reading Questions Check-Point Questions
1. To complete the square: \(\quad s^2-s+1 = s^2-s+\fillinmath{X}-\fillinmath{X} + 1\).
2. After completing the square of the denominator: \(\ds\frac{11}{s^2 + 18s + 400} = \frac{11}{(s + 9)^2 + \fillinmath{X}} \).
3. Completing the square is used when the discriminant of the quadratic expression in the denominator is positive.
Completing the square is used when the discriminant of the quadratic expression in the denominator is positive
True.
False. Completing the square is used when the discriminant is negative, indicating complex roots.
False.
False. Completing the square is used when the discriminant is negative, indicating complex roots.
4. The discriminant of the denominator of \(\ds\frac{-19}{s^2-3s+1}\) is \(\fillinmath{X}\).
5. After completing the square of the denominator, \(\ds\frac{11}{s^2 - 6s + 14} = \fillinmath{XXXXX}\).
After completing the square of the denominator, \(\ds\frac{11}{s^2 - 6s + 14} = = \fillinmath{XXXXX}\)
- \(\ds\frac{11}{(s + 3)^2 + 9}\)
Incorrect. This is not the correct result after completing the square.
- \(\ds\frac{11}{(s - 1)^2 + 14}\)
Incorrect. This is not the correct result after completing the square.
- \(\ds\frac{11}{(s - 3)^2 + 5}\)
Correct! This is the correct result after completing the square.
- \(\ds\frac{11}{(s - 2)^2 + 10}\)
Incorrect. This is not the correct result after completing the square.
6. What is the next step to compute \(\ds\ilap{\frac{s-1}{s^2 - 2s + 5}}\text{?}\)
What is the next step to compute \(\ds\ilap{\frac{s-1}{s^2 - 2s + 5}}\text{?}\)
- Factor the denominator
Incorrect. Factoring the denominator is not applicable in this case.
- Complete the square in the denominator
Correct! Completing the square is necessary to match the form in the Laplace transform table.
- Cancel out the \(s\) in the numerator and denominator.
No, canceling out the \(s\) in the the function is not a valid operation.
- Differentiate the entire function
Incorrect. Differentiation is not needed for this problem.
7. What is the next step needed to compute \(\ds\ilap{\frac{s+3}{(s - 1)^2 + 9}}\text{?}\)
- Look-up the inverse Laplace transform in the table.
Incorrect. This function is not directly in the table.
- Factor the denominator.
Incorrect. Factoring the denominator is not necessary at this stage.
- Rewrite the numerator, then split the fraction like so: \(\ds\frac{s-1+4}{(s - 1)^2 + 9} = \frac{s-1}{(s - 1)^2 + 9} + \frac{4}{(s - 1)^2 + 9}\text{.}\)
- Split the fraction directly, like so: \(\ds\frac{s+3}{(s - 1)^2 + 9} = \frac{s}{(s - 1)^2 + 9} + \frac{3}{(s - 1)^2 + 9}\)
Incorrect. The next step is to decompose the function into simpler forms.