Sin+cos solution undetermined coeff. de

  • Thread starter Thread starter EvLer
  • Start date Start date
AI Thread Summary
The discussion revolves around solving the differential equation y'' + 16y = 24 cos(4x) using the method of undetermined coefficients. The user correctly identifies the homogeneous solution as y = c1e^(i4x) + c2e^(-i4x) and proposes a particular solution of the form y = x(Acos(4x) + Bsin(4x)). After differentiating and substituting back into the equation, they find that the coefficients lead to A = 0 and B = 3, resulting in the particular solution y(p) = 3x sin(4x). The user concludes that their solution aligns with another's, revealing that the book's answer was incorrect.
EvLer
Messages
454
Reaction score
0
This looks like a very simple one, but i ran out of ideas. I do not get the answer and unlikely will get it without some help:

y'' + 16y = 24 cos(4x)

I found homogeneous solution:

y = c1ei4 + c2e-i4

I haven't re-written it using euler's formula yet.
So, for particular solution the general form is:

y = x(Acos(4x) + Bsin(4x))

I differentiated it and plugged into the DE and here's what i have:

-8Asin(4x) + 8Bcos(4x) + xsin(4x)*[16A - 16B] + xcos(4x)*[16B - 16A] = 24cos(4x);

It seems like last two terms need to go away, but then A = B and to get rid of the sin A = 0! the answer is totally different though.
Where am i going wrong?

Thanks for any hints.

EDIT: or would yp = x2(Acos(4x) + Bsin(4x))
I'm confused... :confused: i can't work it out with x2 either ...
 
Last edited:
Physics news on Phys.org
I find the last two terms do cancel

y = x(Acos(4x) + Bsin(4x))

y' = Acos(4x) + Bsin(4x) + x (-4Asin(4x) + 4Bcos(4x))

y" = -4Asin(4x) + 4Bcos(4x) -4Asin(4x) + 4Bcos(4x) + x (-16Acos(4x) - 16Bsin(4x))

Putting back into the equation y" + 16y = 24cos(4x) gives

-4Asin(4x) + 4Bcos(4x) -4Asin(4x) + 4Bcos(4x) + x (-16Acos(4x) - 16Bsin(4x))

+ 16 ( x(Acos(4x) + Bsin(4x)) ) = 24 cos(4x)

Here we are left with

-8Asin(4x) + 8Bcos(4x) = 24 cos(4x)

so B = 3 and A = 0

so a

y(p) = 3x sin(4x)
 
Thanks for reply.
that was my "other" solution. Good thing it matched yours. Come to find out: the book answer was wrong :mad:
 
Kindly see the attached pdf. My attempt to solve it, is in it. I'm wondering if my solution is right. My idea is this: At any point of time, the ball may be assumed to be at an incline which is at an angle of θ(kindly see both the pics in the pdf file). The value of θ will continuously change and so will the value of friction. I'm not able to figure out, why my solution is wrong, if it is wrong .
TL;DR Summary: I came across this question from a Sri Lankan A-level textbook. Question - An ice cube with a length of 10 cm is immersed in water at 0 °C. An observer observes the ice cube from the water, and it seems to be 7.75 cm long. If the refractive index of water is 4/3, find the height of the ice cube immersed in the water. I could not understand how the apparent height of the ice cube in the water depends on the height of the ice cube immersed in the water. Does anyone have an...

Similar threads

Back
Top