Did you know that an operator, in the mathematical sense, is a means of converting one function into another?
Just like the integration operation converts an integrable function into a new one.
Now, imagine using the letter \(\mathrm{D}\) to represent the differentiation operation. In this case, \(\mathrm{D}\) becomes the differential operator.
Let’s examine this further.
If \(y\) is an nth-order differentiable function, then.
\begin{align*}
\begin{aligned}
& D^{0} y=y \\
& D^{1} y=\frac{d y}{d x}=y^{\prime} \\
& D^{2} y=\frac{d^{2} y}{d x^{2}}=y^{\prime \prime} \\
& \vdots \\
& D^{n} y=\frac{d^{n} y}{d x^{n}}=y^{(n)}
\end{aligned}
\end{align*}
With this understanding, let’s explore how differential operators can be applied similarly to polynomials.
Applying Differential Operators
Evaluate \(\left(D^{2}-3 D+6\right)\left(3 x^{4}+e^{5 x}+\cos x\right)\)
First, we will recognize that the first parentheses contain the differential operators, and the second is the function that we wish to differentiate.
Therefore, we will distribute the differential operators as follows.
\begin{align*}
D^{2}\left(3 x^{4}+e^{5 x}+\cos x\right)-3 D\left(3 x^{4}+e^{5 x}+\cos x\right)+6\left(3 x^{4}+e^{5 x}+\cos x\right)
\end{align*}
Now we will take the appropriate derivatives.
\begin{equation}
D^2\left(3 x^4+e^{5 x}+\cos x\right) \Leftrightarrow \frac{d^2 y}{d x^2}\left(3 x^4+e^{52}+\cos x\right)
\end{equation}
\begin{equation}
= 36 x^2+25 e^{5 x}-\cos x
\end{equation}
\begin{equation}
-3 D\left(3 x^4+e^{5 x}+\cos x\right) \Leftrightarrow-3\left[\frac{d y}{d x}\left(3 x^4+e^{5 x}+\cos x\right)\right]
\end{equation}
\begin{equation}
= -3\left[12 x^3+5 e^{5 x}-\sin x\right]
\end{equation}
\begin{equation}
=-36 x^3-15 e^{5 x}+3 \sin x
\end{equation}
\begin{equation}
6\left(3 x^4+e^{5 x}+\cos x\right) = 18 x^4+6 e^{5 x}+6 \cos x
\end{equation}
Lastly, we combine like terms.
\begin{equation}
\left(36 x^2+25 e^{5 x}-\cos x\right)+\left(-36 x^3-15 e^{5 x}+3 \sin x\right)+\left(18 x^4+6 e^{5 x}+6 \cos x\right)
\end{equation}
\begin{equation}
18 x^4-36 x^3+36 x^2+16 e^{5 x}+5 \cos x+3 \sin x
\end{equation}
Okay, but now it’s time to ask ourselves why we need differential operators.
Uses of Differential Operators
There are countless reasons why differential operators are valuable, as we will see later when discussing Laplace Transforms, but for this lesson, we will dive into two main uses:
- The first is an alternative method for solving a nonhomogeneous differential equation using undetermined coefficients – the Annihilator Approach.
- And the second is that we can combine differential operators with the Elimination Method for Solving Systems of Linear Differential Equations.
The Annihilator Approach for Nonhomogeneous Differential Equations
The Annihilator Method transforms a nonhomogeneous differential equation into a homogeneous equation by applying a differential operator on both sides.
Here’s how it works:
- First, we will change the DE into one with differential operators.
- Then, we will find the complementary (homogeneous) solution, \(y_{h}\).
- Next, we choose an annihilator for \(Q(x)\), similar to how we made a “guess” with the method for undetermined coefficients.
\begin{equation}
\begin{array}{l|l}
\text { If } Q(x) \text { is… } & \text { Then let the annihilator } A(x) \text { be… } \\
\hline x^m+x^{m-1}+\cdots+x+a_0 & D^{m+1} \\
\hline e^{r x} & D-r \\
\hline x^m e^{r x} & (D-r)^{m+1} \\
\hline \cos (\beta x) \text { or } \sin (\beta x) & D^2+\beta^2 \\
\hline x^m \cos (\beta x) \text { or } \quad x^m \sin (\beta x) & \left(D^2+\beta^2\right)^{m+1} \\
\hline e^{r x} \cos (\beta x) \text { or } \quad e^{r x} \sin (\beta x) & \left(D^2-r\right)^2+\beta^2
\end{array}
\end{equation}
\begin{align*}
x^{m} e^{r x} \cos (\beta x) \quad \text { or } \quad x^{m} e^{r x} \sin (\beta x) \quad \mid\left[\left(D^{2}-r\right)^{2}+\beta^{2}\right]^{m+1}
\end{align*}
- Then we form the general solution by applying the annihilator to both sides, obtaining another homogeneous equation, and removing any function that already appears in the complementary function.
- Lastly, we proceed with the method of undetermined coefficients for our newly acquired particular solution.
While this may seem like a lot of work, the process and methodology will aid us in future lessons.
In fact, the annihilator approach is very similar to the method of variation of parameters, which we will see in our next video, and the ability to transform one function into another is the goal of Laplace Transforms.
So, while it may be tedious, it has a purpose. I promise!
Solving Systems of Linear Differential Equations by Elimination
Alright, so not only can differential operators help us solve nonhomogeneous differential equations, but they can assist us in solving systems of linear differential equations by elimination.
The premise is that we will combine our knowledge of algebraic principles of elimination of variables with our skills and knowledge of solving homogeneous and nonhomogeneous differential equations to solve systems by elimination.
Example: Using the Elimination Method with Differential Operators
For example, solve the following system using Differential Operators
\begin{align*}
\left\{\begin{array}{c}
\frac{d x}{d t}+\frac{d y}{d t}=e^{t} \\
-\frac{d^{2} x}{d t^{2}}+\frac{d x}{d t}+x+y=0
\end{array}\right.
\end{align*}
First, we will change our system of DEs into operator notation.
\begin{align*}
\left\{\begin{array} { c }
{ D x + D y = e ^ { t } } \\
{ – D ^ { 2 } x + D x + x + y = 0 }
\end{array} \quad \text { or } \left\{\begin{array}{c}
D x+D y=e^{t} \\
-\left(D^{2}-D-1\right) x+y=0
\end{array}\right.\right.
\end{align*}
Looking at our two equations, let’s eliminate the y-term by multiply the first equation by -1 and the second by \(D\).
\begin{align*}
\begin{gathered}
-1\left[D x+D y=e^{t}\right] \\
D\left[-\left(D^{2}-D-1\right) x+y=0\right]
\end{gathered}
\end{align*}
Now we will add these equations together just like we would when solving a system using the elimination method.
\begin{align*}
\begin{aligned}
& (-D x-D y)+\left[-\left(D^{3}-D^{2}-D\right) x+D y\right]=-e^{t}+0 \\
& -D x-D^{3} x+D^{2} x+D x=-e^{t}
\end{aligned}
\end{align*}
Okay, so now we just need to simplify a bit.
\begin{align*}
\begin{aligned}
& -D^{3} x+D^{2} x=-e^{t} \\
& -\left(D^{3}-D^{2}\right) x=-e^{t} \\
& \left(D^{3}-D^{2}\right) x=e^{t}
\end{aligned}
\end{align*}
Alright! Next, we need to solve for our homogenous \(x_{h}\) solution: \(\left(D^{3}-D^{2}\right) x=0\)
\begin{align*}
\begin{aligned}
& r^{3}-r^{2}=0 \\
& r^{2}(r-1)=0 \\
& r=0(\text { twice }), r=1
\end{aligned}
\end{align*}
Which means our homogenous solution for \(\mathrm{x}\) is
\begin{align*}
\begin{aligned}
& x_{h}=c_{1} e^{0 t}+c_{2} t e^{0 t}+c_{3} e^{t} \\
& x_{h}=c_{1}+c_{2} t+c_{3} e^{t}
\end{aligned}
\end{align*}
Now we need to find our particular solution, \(x_{p}\), by using Undermined Coefficients and making a suitable guess for \(e^{t}\)
\begin{align*}
x_{p}=A e^{t}
\end{align*}
But this matches one of our homogeneous solution terms, so let’s multiply by \(\mathrm{t}\)
\begin{align*}
x_{p}=A t e^{t}
\end{align*}
Now, we take the necessary derivatives (i.e., you will need to use the product rule) \(x_{p}=A t e^{t}\)
\begin{equation}
D x_p=A t\left(e^t\right)+A e^t=A(t+1) e^t
\end{equation}
\begin{equation}
D^2 x_p=A(t+1)\left(e^t\right)+e^t(A)=A(t+2) e^t
\end{equation}
\begin{equation}
D^3 x_p=A(t+2)\left(e^t\right)+e^t(A)=A(t+3) e^t
\end{equation}
Next, we substitute back into our differential equation
\begin{align*}
\begin{aligned}
& \left(D^{3}-D^{2}\right) x=e^{t} \\
& D^{3} x-D^{2} x=e^{t} \\
& \left(A(t+3) e^{t}\right)-\left(A(t+2) e^{t}\right)=e^{t} \\
& A t e^{t}+3 A e^{t}-A t e^{t}-2 A e^{t}=e^{t} \\
& A e^{t}=e^{t} \\
& A=1
\end{aligned}
\end{align*}
So, our particular solution for \(\mathrm{x}\) is \(x_{p}=t e^{t}\)
Lastly, it’s time to write the general solution for \(\mathrm{x}\), knowing that \(x(t)=x_{h}+x_{p}\)
\begin{align*}
\begin{aligned}
& x(t)=\left(c_{1}+c_{2} t+c_{3} e^{t}\right)+\left(t e^{t}\right) \\
& x(t)=c_{1}+c_{2} t+c_{3} e^{t}+t e^{t}
\end{aligned}
\end{align*}
Now, it’s time to find the general solution for \(\mathrm{y}\). Remember, the second equation is of the form \(-\frac{d^{2} x}{d t^{2}}+\frac{d x}{d t}+x+y=0\), so, this means we will need to take two derivatives of our \(x(t)\) solution.
\begin{equation}
x=c_1+c_2 t+c_3 e^t+t e^t
\end{equation}
\begin{equation}
D x=c_2+c_3 e^t+t e^t+e^t
\end{equation}
\begin{equation}
D^2 x=c_3 e^t+t e^t+2 e^t
\end{equation}
Plug these equations back into our second differential equation and solve for \(\mathrm{y}\).
\begin{align*}
\begin{aligned}
& -\frac{d^{2} x}{d t^{2}}+\frac{d x}{d t}+x+y=0 \\
& -\left(c_{3} e^{t}+t e^{t}+2 e^{t}\right)+\left(c_{2}+c_{3} e^{t}+t e^{t}+e^{t}\right)+\left(c_{1}+c_{2} t+c_{3} e^{t}+t e^{t}\right)+y=0 \\
& y=-c_{1}-c_{2}-c_{3} e^{t}-3 e^{t}-2 t e^{t}
\end{aligned}
\end{align*}
And our general solution to the system of differential equations are:
\begin{equation}
x(t)=c_1+c_2 t+c_3 e^t+t e^t
\end{equation}
\begin{equation}
y(t)=-c_1-c_2-c_3 e^t-3 e^t-2 t e^t
\end{equation}
Wow! That was crazy, right?!
Good thing there’s a trick to finding the particular solution that we’ll explore in the video.
Next Steps
As you delve into this topic and explore the associated learning materials, you can expect to unlock a wealth of knowledge and benefits. Here’s what you’ll gain from the experience:
- Gain a deeper understanding of differential operators and their applications in various mathematical scenarios, boosting your problem-solving skills.
- Learn the Annihilator Approach, a valuable method for solving nonhomogeneous differential equations, which will expand your repertoire of techniques for tackling complex equations.
- Discover how to use differential operators to solve systems of linear differential equations by elimination, enabling you to handle even more intricate mathematical systems.
- Gain hands-on experience with examples and tips, ensuring that you not only understand the theory but can also apply it in practice.
- Build a strong foundation for future lessons on Laplace Transforms and other advanced mathematical topics, setting you up for success in your studies.
It’s action-packed, so let’s get to it.
Video Tutorial w/ Full Lesson & Detailed Examples
Get access to all the courses and over 450 HD videos with your subscription
Monthly and Yearly Plans Available
Still wondering if CalcWorkshop is right for you?
Take a Tour and find out how a membership can take the struggle out of learning math.