How to use of the method of undetermined coefficients

Click For Summary
SUMMARY

The method of undetermined coefficients (MUC) is utilized for solving linear ordinary differential equations (ODEs) where the non-homogeneous term is composed of exponential, trigonometric, or polynomial functions. The guess solution for a non-homogeneous term Q, such as 5 cos(3x) + 2 sin(3x) + 3x - 9, involves combining individual solutions for each component: A cos(3x) + B sin(3x) for the trigonometric part and Cx + D for the polynomial part. If the right-hand side includes a function already present in the homogeneous solution, the guess must be multiplied by x to ensure linear independence. This method is ineffective for non-standard functions like ln(x) or tan(x), which require the variation of parameters technique.

PREREQUISITES
  • Understanding of linear ordinary differential equations (ODEs)
  • Familiarity with homogeneous and non-homogeneous equations
  • Knowledge of exponential, trigonometric, and polynomial functions
  • Basic skills in solving differential equations using characteristic equations
NEXT STEPS
  • Study the method of variation of parameters for non-standard functions
  • Learn about characteristic equations and their role in solving ODEs
  • Explore advanced techniques for solving higher-order linear differential equations
  • Practice solving differential equations with mixed function types in the non-homogeneous term
USEFUL FOR

Students and professionals in mathematics, engineering, and physics who are learning or applying techniques for solving ordinary differential equations, particularly those interested in the method of undetermined coefficients.

johnlemar_09
Messages
2
Reaction score
0
Correct me if I'm wrong. :)

I'm starting to learn basics of the ordinary differential equations, and I have some troubles understanding the concept and method as a whole. I understand when to use the method of undetermined coefficients (MUC) as opposed from variation of parameters.

Suppose we have the equation

P = Q

Where P is all the y's with primes and derivatives, etc., while Q is all the terms with no primes, just x only.

Now, I know that when Q is composed of exponential term, the guess solution will be of the form exponential too, like f(x) = Ae^kx. If Q contains sine or cosines, then we will use f(x) = A sin kx + B cos kx, where k also corresponds the constant along the sines and cosines of Q. If we have a polynomial for Q, then we will also use a polynomial as the guess solution.

But how about for combination?
1. Exponential + Trigonometric functions
2. Polynomial + Algebraic functions.

For example, what is the guess solution if Q is, say, 5 cos 3x + 2 sin 3x + 3x - 9?

Thanks.
 
Physics news on Phys.org
Because your differential equation is linear, for sums on the right side, try sums: if your "right hand side" is, as in your example, 5 cos(3x)+ 2 sin(3x)+ 3x- 9 try Acos(3x)+ B sin(3x)+ Cx+ D
You can also "separate" them and do each part separately (that's the key property of linear problems). For example, looking at 5 cos(3x)+ 2 sin(3x) you would try A cos(3x)+ B sin(3x) and for 3x- 9 you would try Ax+ B (not the same A and B, of course). Once you had determined those numbers, add the results.

More generally:

If your "right hand side" involves e^{kx} then try Ae^{kx}.

If your "right hand side" involves either sin(kx) or cos(kx) try A cos(kx)+ B sin(kx)

If your "right hand side" involves x^n try A_nx^n+ A_{n-1}x^{n-1}+ \cdot\cdot\cdot+ A_1x+ A_0. In other words, a polynomial of order n.

If your "right hand side" involve a product of those types, use a product of the suggested forms. For example, if the "right hand side" is x^3e^2x try (Ax^3+ Bx^2+ Cx+ D)e^{2x}. If the "right hand side is x^2 cos(4x) try (Ax^2+ Bx+ C)(Dcos(x)+ E sin(x)).

If your "right hand side" involves a function that is already a solution to the associated homogenous equation, multiply the proper form by x.

For example, the differential equation y&#039;&#039;- 3y&#039;+ 2y= 3e^{2x}[/tex] has characteristic equation r^2- 3r+ 2= (r+ 2)(r+ 1)= 0 and so has e^{x} and e^{2x} as solutions to its associated homogenous equation, y&#039;&#039;- 3y&#039;+ 2y= 0, so we would try a function of the form Axe^{2x}. The differential equation y&amp;#039;&amp;#039;- 4y&amp;#039;+ 4= e^{2x} has characteristic equation r^2- 4r+ 4= (r- 2)^2= 0 and so has e^{2x} and xe^{2x} as solutions. We would multiply xe^{2x} by x and try a function of the form Ax^2e^{2x} to get that right hand side.<br /> <br /> Of course, you can only do that when the right hand side involves only function that we would &quot;expect&quot; as solutions to a homogeneous linear d.e. with constant coefficients- exponentials, sine and cosine, polynomials, and products of them. If your right hand side was not of that form but were, say, ln(x) or tan(x), &quot;undetermined coefficients&quot; does not work and you would have to try &quot;variation of parameters&quot;.
 
Last edited by a moderator:
Thanks, HallsofIvy! I finally found a way to solve this kind of problem! Thanks again!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K