Differential equation help *question below* will give medal
So I've been working on this problem. I'm completed the first part of it and ended up with \[y= Ae ^{4x}+Be ^{-x}-cosx\] Is this correct? I'm not sure how to go about the second part of it with finding the equation of the curve given that it passes through the origin...
I just checked with Wolfram Alpha, and saw that it's supposed to be \[y= Ae ^{4x}+Be ^{-x}-sinx\] :/
That n in the question should be x -.- So when x=pi
you are given that it passes through origin, and another point. Thus you are given two points (0,0) and (pi, e^(-pi) - e^(4pi)) So you can find A and B in your general solution
can i see your work for the first part a)
Sure. Can I upload a picture of it?
ok
Here it is
Oh here it is rotated
checking :) , the CF part is obviously correct
:D
looks like you did it right
y = acos(x) + b(sin(x) you found that a = 0, b = -1 y = -1 sin x
Yes
y = CF + IP = Ae^(4x) + B(e^-x) + (-sin x )
:) Now do I substitute the given values into the original equation given?
correct, substitute (0,0) and (pi, e^(-pi) - e^(4pi))
Alrighty. Let me do that
Will I end up with two equations to solve for A and B?
yes
Substituting (0,0) I ended up with 0=A+B
for the second point you should get $$ \Large e^{-\pi} -e^{4\pi} = Ae^{4\pi} + B e^{-\pi} - \sin(-\pi) $$
Yes, I did get that
ok now sin(-pi) = 0
for the second point you should get $$ \Large{ e^{-\pi} -e^{4\pi} = Ae^{4\pi} + B e^{-\pi} - \sin(-\pi) \\ \therefore \\ e^{-\pi} -e^{4\pi} = Ae^{4\pi} + B e^{-\pi} +0 } $$
so A has to equal to -1, and B has to equal to 1 . do you see?
by equating coefficients
Yes, wow..I didn't even realize haha. Now I see it
Thank you so much! :)
and you can substitute the particular solutions as well into wolfram, see if that checks out
One question, on the answer sheet, the answer is: \[y=e ^{4x}-e ^{x}-sinx\] But if we substitute A=-1 and B=1 the answer would be different
I guess the answer sheet is wrong,then?
yes your answer sheet is wrong
Thank you!
hmmm
we can be absolutely sure if we plug in the solution in the original differentiation equation
you said the answer sheet gave you this? $$\Large y=e ^{4x}-e ^{\color{red}{-}x}-sinx$$
Yes
No, no - for -e^x
oh
\[\Large y=e ^{4x}-e ^{\color{red}{}x}-sinx\]
ok checking \[\Large y=e ^{4x}-e ^{x}-sinx\]
Yes, that's what the answer sheet says
plugging that solution into maple (computer software) gives me: y '' - 3y ' -4y = 6*exp(x)+5*sin(x)+3*cos(x)
if y = exp(4*x)-exp(x)-sin(x) then y '' - 3y ' -4y = 6*exp(x)+5*sin(x)+3*cos(x)
if y = -exp(4*x)+exp(-x)-sin(x); then y '' - 3y ' -4y = 5 sin(x) + 3 cos(x)
but, this is interesting
Alrighty. Then the answer sheet has an error
if y = exp(4*x)-exp(-x)-sin(x); then y '' - 3y ' -4y = 5 sin(x) + 3 cos(x)
hmm
so your answer sheet has a small typo, should be -x, in the exponent there. its interesting we got a different solution (agrees with wolfram),
Haha yep!
the solution should be unique
okie
they both satisfy x=0 , y = 0
Ok I did a little more work, the (unique) solution is $$ \Large{ y=-e ^{4x}+e ^{-x}-sinx\\ } $$ this is because the solution y(pi) = exp(-pi) - exp(4pi) is only satisfied by this. it is not satisfied by y = e^(4x) - e^(-x) - sin (x)
nor is it satisfied by y = e^(4x) - e^(-x) - sin (x) I am confident this is the solution as you stated the problem above.
unless we copied the initial conditions wrong
you should not get two different solutions if you have two initial conditions for 2nd order differential equation
I see what you're trying to say. Thank you!
Join our real-time social learning platform and learn together with your friends!