Using the annihilator method to solve an ODE

  • MHB
  • Thread starter MarkFL
  • Start date
  • Tags
    Method Ode
In summary, the conversation revolved around the topic of using the annihilator method to solve a given ODE. The speaker presented their working and requested feedback to ensure correctness and efficiency. Another person in the conversation expressed their interest and lack of prior knowledge on the method. The expert summarizer confirms that the method was correctly applied and mentions that it falls under the category of "Undetermined Coefficients".
  • #1
MarkFL
Gold Member
MHB
13,288
12
Recently I was sent an ODE with the instructions to solve using the annihilator method which I have not used in over 15 years. This is my working, and I was hoping for feedback to see if I have correctly and efficiently applied the method.

Here is my working:

We are given the ODE:

(1) $\displaystyle y''+3y'-10y=xe^x+x+1$

Since $\displaystyle (D-1)^2$ annihilates $\displaystyle xe^x$ and $\displaystyle D^2$ annihilates $\displaystyle x+1$ then:

$\displaystyle A\equiv (D(D-1))^2$

annihilates $\displaystyle xe^x+x+1$.

Therefore, applying $\displaystyle A$ to both sides of (1) yields:

$\displaystyle A[y''+3y'-10y]=A[xe^x+x+1]$

$\displaystyle (D(D-1))^2(D^2+3D-10)[y]=0$

(2) $\displaystyle (D(D-1))^2(D+5)(D-2)[y]=0$

The auxiliary equation associated with (2) is:

$\displaystyle r^2(r-1)^2(r+5)(r-2)=0$

which has the roots:

$\displaystyle r=-5,\,0,\,1,\,2$ where the roots $\displaystyle r=0,\,1$ are repeated roots, i.e., of multiplicity 2.

Hence, a general solution to (2) is:

(3) $\displaystyle y(x)=c_1+c_2x+c_3e^x+c_4xe^x+c_5e^{2x}+c_6e^{-5x}$

Now, recall that a general solution to (1) is of the form $\displaystyle y(x)=y_h(x)+y_p(x)$. Since every solution to (1) is also a solution to (2), then $\displaystyle y(x)$ must have the form displayed on the right-hand side of (3). But, we recognize that:

$\displaystyle y_h(x)=c_5e^{2x}+c_6e^{-5x}$

and so there must exist a particular solution of the form:

$\displaystyle y_p(x)=c_1+c_2x+c_3e^x+c_4xe^x$

In order to substitute this into (1), we must first compute:

$\displaystyle y_p'(x)=c_2+c_3e^x+c_4e^x(x+1)$

$\displaystyle y_p''(x)=c_3e^x+c_4e^x(x+2)$

and so we find:

$\displaystyle (c_3e^x+c_4e^x(x+2))+3(c_2+c_3e^x+c_4e^x(x+1))-10(c_1+c_2x+c_3e^x+c_4xe^x)=xe^x+x+1$

Collecting like terms, we may write:

$\displaystyle (-6c_4)xe^x+(5c_4-6c_3)e^x+(-10c_2)x+(3c_2-10c_1)=(1)xe^x+(0)e^x+(1)x+(1)$

Equating coefficients yields:

$\displaystyle -6c_4=1\,\therefore\,c_4=-\frac{1}{6}$

$\displaystyle 5c_4-7c_3=0\,\therefore\,c_3=-\frac{5}{36}$

$\displaystyle -10c_2=1\,\therefore\,c_2=-\frac{1}{10}$

$\displaystyle 3c_2-10c_1=1\,\therefore\,c_1=-\frac{13}{100}$

Thus, we have:

$\displaystyle y_p(x)=-\frac{13}{100}-\frac{1}{10}x-\frac{5}{36}e^x-\frac{1}{6}xe^x$

and so, the general solution to (1) is:

$\displaystyle y(x)=c_1e^{2x}+c_2e^{-5x}-\frac{13}{100}-\frac{1}{10}x-\frac{5}{36}e^x-\frac{1}{6}xe^x$
 
Physics news on Phys.org
  • #2
The answer is correct. And the method used is annihilator, so you seem to have done it the way you wanted. There aren't any efficiencies that I see available more than what you've already done.
 
  • #3
Thank you, I just wanted to be sure I was doing this correctly and without any unnecessary steps.;)
 
  • #4
I've never heard of this method.

Coooooool! (Rock)

-Dan
 
  • #5
topsquark said:
I've never heard of this method.

Coooooool! (Rock)

-Dan

Check out Dennis Zill's A First Course in Differential Equations, Section 4.5. Annihilator and superposition are two methods classified as "Undetermined Coefficients". They work on ODE's which are linear with constant coefficients, and where the RHS "consists of finite sums and products of constants, polynomials, exponential functions $e^{ax}$, sines, and cosines."
 
  • #6
I though the name Zill was familiar, Dennis G. Zill is the author of my old Calculus textbook.
 

FAQ: Using the annihilator method to solve an ODE

What is the annihilator method and how does it work?

The annihilator method is a technique used to solve certain types of ordinary differential equations (ODEs) that involve the product of a function and its derivatives. It involves finding a specific function, called the annihilator, that when applied to both sides of the equation, results in a simpler equation that can be easily solved.

When is the annihilator method useful?

The annihilator method is useful when solving ODEs that involve the product of a function and its derivatives, such as equations with terms like y' or y''. It is also helpful when the equation is difficult to solve using other methods like separation of variables or integrating factors.

Can the annihilator method be used for all types of ODEs?

No, the annihilator method is only applicable for specific types of ODEs, namely those that involve the product of a function and its derivatives. It cannot be used for all types of ODEs and other techniques may be more suitable for different types of equations.

Are there any limitations or drawbacks to using the annihilator method?

One limitation of the annihilator method is that it can only be used for certain types of ODEs, as mentioned previously. Additionally, it may not always result in an easily solvable equation and may require additional steps or methods to fully solve the ODE.

Can the annihilator method be used for higher-order ODEs?

Yes, the annihilator method can be extended to solve higher-order ODEs by finding the appropriate annihilators for each term in the equation. However, as the order of the ODE increases, the complexity of finding the annihilators also increases, making the method more difficult to apply.

Similar threads

Replies
2
Views
1K
Replies
2
Views
2K
Replies
2
Views
1K
Replies
9
Views
2K
Replies
1
Views
1K
Replies
3
Views
2K
Replies
5
Views
2K
Back
Top