How to get a particular solution.

Click For Summary
SUMMARY

The discussion focuses on solving the initial value problem represented by the differential equation y'' + y = 2cos(x) - 3sin(x). The key to finding the particular solution, yp, involves using the method of variation of constants after solving the homogeneous equation. The correct form for yp is identified as yp(x) = Axsin(x) + Bxcos(x), where A and B are determined by substituting yp back into the original equation and equating coefficients. This method effectively transforms the non-homogeneous equation into a solvable form.

PREREQUISITES
  • Understanding of second-order linear differential equations
  • Familiarity with the method of variation of constants
  • Knowledge of homogeneous and particular solutions
  • Proficiency in applying differential operators
NEXT STEPS
  • Study the method of variation of constants in detail
  • Learn how to solve homogeneous linear differential equations
  • Practice equating coefficients in differential equations
  • Explore the application of differential operators in solving ODEs
USEFUL FOR

Students and professionals in mathematics, particularly those studying differential equations, as well as educators looking to enhance their teaching methods in this area.

Cafka
Messages
6
Reaction score
0
I have a "Solve the initial value problem" It is:

y'' + y = 2cosx - 3sinx

I know how to do everything except for get yp. I know it has to be something so when i substitute yp into the left hand side of the equation, i get the right hand side, 2cosx - 3sinx.

By this definition i would think yp = Acosx - Bsinx, where A = 2 and B = 3. But that doesn't seem right.

Can anyone help me out?

Thank you.
 
Physics news on Phys.org
Yeah,use Lagrange's method of variation of constants...Solve the homogenous ODE and then make the 2 constants (associated with the 2 independent solution spanning the solutions space) become functions of "x"...


Daniel.
 
For the equation:

y^{''}+y=2Cos[x]-3Sin[x]

Whenever the right-hand side is a particular solution of a linear homogeneous equation, then you can apply that differential operator to both sides of the above equation to collapse it into a homogeneous one:

Since RHS is a particular solution to homogeneous equation (in operator notation):

(D^2+1)y=0

Applying this opearator to both sides of the original equation leads to:

(D^2+1)(D^2+1)R=0

Solution of this one is:

y(x)=c_1Sin[x]+c_2Cos[x]+AxSin[x]+BxCos[x]

but:

Well, read the book to fill in the details, but then just substitute:

y_p(x)=AxSin[x]+BxCos[x]

into the original equation, equate coefficients. You're done.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K