2nd order differential equation

Click For Summary

Homework Help Overview

The discussion revolves around solving a second-order differential equation of the form d²y/dx² + 4dy/dx + 8y = 4sin(2x) - 12cos(2x) with initial conditions y(0)=1 and y'(0)=-6. Participants are exploring the methods for finding both the complementary and particular solutions.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • The original poster attempts to solve the differential equation by finding the auxiliary equation and the complementary solution, followed by a particular solution using assumed forms involving trigonometric functions. Some participants question the correctness of the coefficients obtained for the particular solution.

Discussion Status

The discussion is ongoing, with the original poster expressing difficulty in verifying their solution against the initial conditions and the differential equation itself. Some participants have pointed out potential errors in the calculation of coefficients for the particular solution and the form of the homogeneous solution.

Contextual Notes

Participants are working under the constraints of the initial conditions provided and are examining the validity of their solutions based on these conditions. There is a focus on ensuring that the proposed solutions satisfy the original differential equation.

james.farrow
Messages
44
Reaction score
0
I have the following equation

d^2y/dx^2 +4dy/dx +8y = 4sin(2x) - 12cos(2x) y(0)=1 & y'(0)=-6

For the auxillary equation I have (m + 2)^2 = sqrt -4

which gives m=-2-2i & m=-2+2i

Which gives y=e^-2x(Ccos(-2x) + Dsin(-2x))

Now to tackle particular integral.

Try y=acos(2x) + bsin(2x)

After differentiatiing twice and equating I have a=-5 and b=-9


Finally I get y=e^-2x(Ccos(-2x) + Dsin(-2x)) - 5cos(2x) -9sin(2x)

After aplying the initial conditions my final answer is

y=6e^-2xcos(-2x) - 18e^-2sin(-2x) - 5cos(2x) - 9sin(2x)


In all my working it is only e that is raised to the power of -2x, I know it looks like the whole statement is raised but it isnt, the e^-2x is multiplied by the trig expression.

James
 
Physics news on Phys.org
What's your question? You can check your solution yourself by confirming that for your solution,
1. y(0) = 1 and y'(0) = -6, and
2. y'' + 4y' + 8y = 4sin(2x) - 12cos(2x)
 
That's just it! I've tried putting my solution back in n it doesn't work... I'm going to have another go at it but I can't see where I've gone wrong!
 
Your particular solution -5cos(2x)-9sin(2x) is wrong. It doesn't solve y''+4y'+8y=4*sin(2x)-12*cos(2x). There's something wrong with how you got 'a=-5 and b=-9'.
 
You made a mistake on you calculation of the coefficients of your particular solution. I get a = -1, b = -1.

Also, the solution to the homogeneous equation should be yp = e-2x(C*cos(2x) + D*sin(2x)). You have cos(-2x) and sin(-2x).
 

Similar threads

  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K