2nd order inhomogenous equations

  • Thread starter Thread starter adichy
  • Start date Start date
  • Tags Tags
    2nd order
adichy
Messages
29
Reaction score
0

Homework Statement



Find the general solution to the differential equation
\frac{d^2y}{dx^2} -2*\frac{dy}{dx} +2y =g(x)

where g(x) = −14 cos(2x) − 2 sin(2x)

Homework Equations





The Attempt at a Solution


ive found the homogenous solution which is
y=e^x (ae^ix +be^-ix)

what I am not sure of is for the particular intergral do i do
Csin(2x)+Dcos(2x)+Esin(2x)+Fcos(2x)
or is it just Csin(2x)+Dcos(2x)
please advise

thanks

edit:cant seem to get the latex to come out right basically its d^2y/dx^2 - 2(dy/dx) + 2y=0
 
Last edited:
Physics news on Phys.org
Tip: Use only one pair of tex tags, one at the beginning of the equation and one at the end.
adichy said:

Homework Statement



Find the general solution to the differential equation
\frac{d^2y}{dx^2} -2*\frac{dy}{dx} +2y =g(x)

where g(x) = −14 cos(2x) − 2 sin(2x)

Homework Equations





The Attempt at a Solution


ive found the homogenous solution which is
y=e^x (ae^ix +be^-ix)
You can also write this as y = ex(A cos(x) + B sin(x))
adichy said:
what I am not sure of is for the particular intergral do i do
Csin(2x)+Dcos(2x)+Esin(2x)+Fcos(2x)
or is it just Csin(2x)+Dcos(2x)
For your particular solution, use yp = Csin(2x)+Dcos(2x)
adichy said:
please advise

thanks

edit:cant seem to get the latex to come out right basically its d^2y/dx^2 - 2(dy/dx) + 2y=0
 
I would start with a particular solution of:
<br /> P.I.=A\cos 2x+B\sin 2x<br />
and the general solution is:
<br /> y=Ce^{\lambda_{1}x}+De^{\lambda_{2}x}<br />
where the lambda are solutions of:
<br /> \lambda^{2}-2\lambda+2=0<br />
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top