Yet another Calculus question im having trouble with . Find the particular solution to y " = sin(x) given the general solution y = −sin(x) + Ax + B and the initial conditions y(pi/2) = 0 and y '(pi/2) = -2.
not even sure where to start on this one
you make a guess for the particular solution I know the derivative of sin(x) is cos(x) and the derivative of cos(x) is -sin(x) so I might try something like \[ y_p=A sin(x)+Bcos(x)\] for the particular solution
you can call A and B something else since they already being used
I'm given the answer choices do you think they might help?
method of undetermined coefficients...
for a second order ode....
i'v never been thought second order.... are they much different?
yea you will get something like -Asin(x)-Bcos(x)=sin(x) shich means B=0 and -A=1 so A=-1 so we didn't need the cos part of the particular solution
second order odes are easier than first order odes... that's what a ton of ode students say
these area the answer choices by the way −sin(x) +1 + π −sin(x) − 2x + π −sin(x) − 2x − π −sin(x) − 2x + π + 1
it looks like it already gave you the solution
just apply the conditions
what do you mean .... im not even sure what to solve for
\[y=-\sin(x)+Ax+B \\ y(\frac{\pi}{2})=0 \text{ insert this into the solution }\] you will also need to find y' given that and then use the other condition y'(pi/2)=-2
you will wind up with a system of equations
so you mean \[y(\frac{ \pi }{ 2 }) = -1 + Api + B\]
not exactly \[y(\frac{\pi}{2})=-\sin(\frac{\pi}{2})+A(\frac{\pi}{2})+B \\ 0=-1+A(\frac{\pi}{2})+B\]
x will be pi/2 and then that would be = 0 just like freckies put it
now what is y'
do we have to derive -sin(x) + Ax + B before plugging in pi/2?
yes otherwise you are differentiating constants on both sides and wind up with 0=0 which doesn't really help \[y=-\sin(x)+Ax+B \\ y'=-\cos(x)+A+0 \\ y'=-\cos(x)+A\]
now plug in the condition
for y'
yay i found a !!!!!!
go back to the first equation and find B
okay ......aahhh im so exited for some reason !!!
because this was easier than you thought imaginable ?
possibly ... okay so im getting B = -pi +1 is that right?
hmmm... I might be geting pi+1
one sec
no yea your right its -2 not 2 my bad
okay so what now
\[y'(\frac{\pi}{2})=-\cos(\frac{\pi}{2})+A \\ -2=-\cos(\frac{\pi}{2})+A \\ -2 =0+A \\ -2=A \\ 0=-1+A(\frac{\pi}{2})+B \\ 0=-1-2(\frac{\pi}{2})+B \\ 0=-1-\pi+B \\ B=\pi+1\] just wanted to make sure
well as said you already had the solution the conditions just needed to be applied so you found A and B
just plug them back in
into the solution they gave you
\[y=-\sin(x)+Ax+B \\ \text{ we found } A=-2 \\ \text{ and } B=\pi+1 \\ \text{ plug \in and done }\]
holy crap i found it !!! its D AAAAAHH this is ssoo cool !!!
lol you're funny
im such a pro !!!!
okay maybe nmot .... but still !!!
thanks for the help , i really appreciate it!
np
Join our real-time social learning platform and learn together with your friends!