MHB Solving an ODE: Seeking c so y'(0)=0

  • Thread starter Thread starter mariask
  • Start date Start date
  • Tags Tags
    Ode
Click For Summary
To solve the ordinary differential equation y'+5.6y=9.5cos(2x)+2.4sin(2x) with the condition y'(0)=0, the general solution includes a homogeneous part, y=Ce^{-5.6x}, and a particular solution of the form y=Acost(2x)+Bsin(2x). By substituting this form into the equation, two equations are derived: -2A+5.6B=2.4 and 2B+5.6A=9.5, which can be solved for A and B. The complete solution is then y=Ce^{-5.6x}+Acost(2x)+Bsin(2x). Finally, substituting y' into the condition y'(0)=0 allows for the determination of the constant C in relation to B.
mariask
Messages
1
Reaction score
0
so I am trying to solve this equation y'+5.6y=9.5cos(2x)+2.4sin(2x) . I want the c in order to y'(0)=0. I am really lost
 
Physics news on Phys.org
Do you know how to do the method of undetermined coefficients? Please let us know what you've done.

-Dan
 
mariask said:
so I am trying to solve this equation y'+5.6y=9.5cos(2x)+2.4sin(2x) . I want the c in order to y'(0)=0. I am really lost
There is NO "c" in what you wrote! Do you mean the constant in the solution? It isn't necessarily called "c"!

The general solution to the associated homogenous equation, y'+5.6y= 0, is [math]y= Ce^{-5.6x}[/math]. To find a solution to the entire equation, let [math]y= Acos(2x)+ Bsin(2x)[/math]. Then [math]y'= -2Asin(2x)+ 2Bcos(2X)[/math] and the [math]y'+ 5.6y= -2Asin(2x)+ 2Bcos(2x)+ 5.6Acos(2x)+5.6Bsin(2x)= (-2A+ 5.6B)sin(2x)+ (2B+ 5.6A)cos(2x)= 2.4sin(2x)+ 9.5cos(2x)[/math].

Since this to be true for all x, we must hav -2A+ 5.6B= 2.4 and 2B+ 5.6A= 9.5.

Solve those two equations for A and B. Then the solution to the entire equation is [math]y= Ce^{-5.6x}+ Acos(2x)+ Bsin(2x)[/math] for those A and B. Then [math]y'= -0.56Ce^{-5.6x}- 2Asin(2x)+ 2Bcos(2x)[/math] so that [math]y'(0)= -0.56C+ 2B= 0[/math]. [math]C= (2/0.56)B[/math] where B was found before.
 
Last edited:

Similar threads

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