Solve the second order DE \[y^{\prime\prime}+4y=\cos2x\]
\[y_c^{\prime\prime}+4y_c=0\]\[m^2+4=0\]\[m=\pm2i\] \[y_c=A\cos2x+B\sin {2x}\]
\[y_p^{\prime\prime}+4y_p=\cos2x\] \[y_p=C\cos2x+D\sin2x\]\[y_p^\prime=-2C\sin2x+2D\cos2x\]\[y_p^{\prime\prime}=-4C\cos2x-4D\sin2x\]
or was i ment to multiply by x for some reason?
The particular solution your looking for is yp= Ax sin(2x) because you are driving the system at its resonant frequency(cos (2x) is a solution of the homogeneous equation.)
can you explain further
Hi Everyone! How are you all?
i was just following a table
ohhh okay
hi there
do you know of a better table?
@UnkleRhaukus I want to say you that you must try again by your own self. When we try to solve any differential equation then complementary solution is much easy to find without any problem just like algebra. But for particular solution there are several methods to find this part. I recommend you to use "Variation of Parameters", the most powerful method to find particular solution.
Use Variation of Parameters. If you get command on this method then you will never get help for others.
yeaa UNK you were right since the particular solution is already in the form of the of the complimentary you need to multiply by x
\[y _{p}= x(Ccos(2x)+Dsin(2x))\]
since Acos(2x) was already in the compliment
Then you distribute the x. Take derivatives like you did before. There will be a few product rules. Plug the derivatives back in to the diff. You should get C =0 D = 1/4
Here's a quick and dirty derivation. Start with the problem \[y \prime \prime + 4 y = \cos (\Omega x)\] a particular solution(remember that there is an infinite set of particular solutions ,not just one) is then \[y _{p}= (\cos \Omega x -\cos 2x) / (4-\Omega^2)\] If \[\Omega = 2\] , this is indeterminate (0/0) so apply L'hopital's rule as \[ \Omega -> 2\] to get \[y _{p}= x \sin(2x)/4\]
woah that method looks cool... In my diffs class we never learned that method.
\[y_p=x(C\cos2x+D\sin2x)\] \[y_p^\prime=x(-2C\sin2x+2D\cos2x)+C\cos2x+D\sin2x\] \[y_p^{\prime\prime}=(-2C\sin2x+2D\cos2x)+x(-4Cx\cos2x-4Dx\sin2x)\]\[\qquad\qquad-2C\sin2x+2D\cos 2x\]
looks good...
\[y_p^{\prime\prime}=4(-C\sin2x+D\cos2x)+4x(-Cx\cos2x-Dx\sin2x)\]
\[\small(-4C\sin2x+4D\cos2x)+x(-4Cx\cos2x-4Dx\sin2x)+4x(C\cos2x+D\sin2x)=\cos2x\]
oh good, i might be ok from here, ill let you know if i get stuck again,
yea these sometimes get hairy, haha gotta love diffs
\[(-4C-4Dx^2+4Dx)\sin2x+(4D-4Cx^2+4Cx)\cos2x=\cos2x\] \[(C+Dx^2-Dx)=0;\qquad (D-Cx^2+Cx)=1\] \[C+Dx(x+1)=0;\qquad D-Cx(x+1)=1\] \[D=1+Cx(x+1);\qquad C+\left(1+Cx\left(x+1\right)\right)x\left(x+1\right)=0\]
how am ment to solve for these constants?
Usually a bunch of the terms cancel
\[(-4C\sin2x+4D\cos2x)+x(-4Cx\cos2x-4Dx\sin2x)+4x(C\cos2x+D\sin2x)=\cos2x\]
\[\small(-4C\sin2x+4D\cos2x)+x(-4Cx\cos2x-4Dx\sin2x)+4x(C\cos2x+D\sin2x)=\cos2x\]
i dunno where to cancel
there's probably a little error let me go back through real quick
You were good righht up to the check mark. There shouldn't be any terms with an x^2, just solve the equation you had at that point. (the coeffs of sin and cos need to vanish separately.)
\[\small(-4C\sin2x+4D\cos2x)+x(-4Cx\cos2x-4Dx\sin2x)+4x(C\cos2x+D\sin2x)=\cos2x\] silly me , this step is easy \[(-4C\sin2x+4D\cos2x)=\cos2x\]
It's always the little things that mess us up....
\[y'' _{p} = -4Cxcos(2x) +4Dcos(2x) -4Dxsin(2x)-4Csin(2x)\]
=)
\[-4C=0;\qquad 4D=1\]\[C=0;\qquad D=\frac 14\]\[y_p=\frac x4\cos2x\]
not quite.....
ah im out of of phase for some reason
go pack tp yp, what does D multiply?
oh haha
\[y_p=x(C\cos2x+D\sin2x)\] \[y_p=\frac x4\sin2x\]
\[y=y_c+y_p\] \[{y (x)= A\cos2x+B\sin2x}+\frac{1}4x\sin2x\quad \Large\color\red\checkmark\]
Thank you all ever so much ,
YES!
Join our real-time social learning platform and learn together with your friends!