Diff Eq Undetermined Coefficients

Click For Summary
SUMMARY

The discussion focuses on solving the differential equation y'' + 2y' + 5y = (e^x)sin(x) using the method of undetermined coefficients. The characteristic equation yields complex roots, leading to the complementary solution y = e^(-x)(C1 cos(2x) + C2 sin(2x)). For the particular solution, the correct assumption is y = A(e^x)sin(x) + B(e^x)cos(x), as the right-hand side only contains sin(x). The participant realizes that including sin(2x) and cos(2x) in the guess for the particular solution is incorrect due to the nature of the forcing function.

PREREQUISITES
  • Understanding of second-order linear differential equations
  • Familiarity with the method of undetermined coefficients
  • Knowledge of characteristic equations and their solutions
  • Basic trigonometric functions and their properties
NEXT STEPS
  • Study the method of undetermined coefficients in detail
  • Practice solving second-order differential equations with complex roots
  • Explore the derivation and application of the complementary solution
  • Review examples of particular solutions for various forcing functions
USEFUL FOR

Students and educators in mathematics, particularly those studying differential equations, as well as anyone seeking to improve their problem-solving skills in this area.

Fernandez
Messages
2
Reaction score
0

Homework Statement


Find the solution for y"+2y'+5y=(e^x)sinx


Homework Equations





The Attempt at a Solution



So far I think I've gotten the solution from the characteristic equation, but I'm having trouble with the particular solution.

For the characteristic equation solution:
y"+2y'+5y=0
r^2+2r+5=0
Using the quadratic formula r= -1(+/-)2i
So y=(e^-x)((C1)cos(2x)+(C2)sin(2x)

For the particular solution I think I'm assuming correctly that y=A(e^x)sin(2x)+B(e^x)cos(2x), or am I not catching a term that can be combined with the complementary solution? Or am I just using the wrong equation all together?
 
Physics news on Phys.org
In this line: y=A(e^x)sin(2x)+B(e^x)cos(2x), you shouldn't have the 2's inside the trig arguments. Since the RHS of the problem statement has only a sin(x), your "guess" should only include trig functions with x as the argument. You are getting the 2's from the Homogeneous Solution, but in this problem, the H solution, does not affect your "guess" of the particular solution.
 
Thanks! I don't know how I overlooked that.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
7
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K