Using the annihilator method to solve an ODE

  • Context: MHB 
  • Thread starter Thread starter MarkFL
  • Start date Start date
  • Tags Tags
    Method Ode
Click For Summary

Discussion Overview

The discussion revolves around the application of the annihilator method to solve a specific ordinary differential equation (ODE). Participants explore the steps taken to apply the method, the correctness of the solution, and share their familiarity with the technique.

Discussion Character

  • Technical explanation
  • Exploratory
  • Debate/contested

Main Points Raised

  • One participant presents a detailed working of the annihilator method applied to the ODE \(y''+3y'-10y=xe^x+x+1\), including the derivation of the general solution.
  • Another participant confirms the correctness of the solution and notes that no efficiencies beyond what was done are apparent.
  • A participant expresses unfamiliarity with the annihilator method, indicating a lack of prior exposure to this technique.
  • Further discussion references a textbook by Dennis Zill, suggesting that the annihilator method is part of a broader category of techniques for solving linear ODEs with constant coefficients.
  • One participant recalls familiarity with the author of the textbook mentioned, indicating a connection to their previous studies.

Areas of Agreement / Disagreement

There is a general agreement on the correctness of the solution provided by the first participant. However, there is no consensus on the familiarity with the annihilator method, as some participants express unfamiliarity while others reference its use in educational materials.

Contextual Notes

The discussion highlights the application of the annihilator method specifically for linear ODEs with constant coefficients and the types of functions that can be addressed using this technique. There is an implicit understanding that the method is part of a larger framework of solving ODEs, but specific limitations or assumptions are not explicitly stated.

Who May Find This Useful

This discussion may be useful for students or practitioners interested in methods for solving ordinary differential equations, particularly those exploring the annihilator method and its applications in linear ODEs.

MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
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
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.
 
Thank you, I just wanted to be sure I was doing this correctly and without any unnecessary steps.;)
 
I've never heard of this method.

Coooooool! (Rock)

-Dan
 
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."
 
I though the name Zill was familiar, Dennis G. Zill is the author of my old Calculus textbook.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
10K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
11K
Replies
2
Views
2K