What variable is a function of? can not possibly equal since this is a number, not a function.
Hi!
I just started up some repetition but got stuck when I looked at my techers answers.
I have this equation: x´´ + (k/m)x = 0
Then I get from the auxilliary solution that: x = Acos(sqrt(k/m))
However my teacher has written: x = Acos(sqrt(k/m)+a)
So he has some phase-constant a, and here is my question.
I see that this isnt that strange but how did it enter? Can someone show it to mathematically? Logically I think it makes sence but I'd like to see how.
Thanks for answers.
x is a function of time, because the DE is the equation of motion for a mass on a spring undergoing simple harmonic motion. There should be 's multiplying the square roots inside the trig functions.
I don't know what your "auxiliary" solution is; however, without initial conditions, it is incorrect. Your teacher's answer is correct. You can either write the homogeneous solution as
, with the phase angle, or as
It can be shown that these two approaches are equivalent.
Incidentally, I should point out that in the physics world, at least, there is a convention that primes are usually reserved for spatial derivatives, and dots are usually reserved for temporal derivatives.
Use the addition of angles formula for the cosine. You'll absorb the cos(a) and sin(a) into the A and B constants of integration, and then you're done. Going the other way, you can simply re-define the A and B of the second equation to have the cos(a) and sin(a) that you need, use the addition of angles formula and simplify into the first equation. Incidentally, the A in the second equation is not the same A as in the first equation. You just need to have two constants (the two constants of integration you should always get for a second-order ODE).
It all comes down to the addition of angles formula for the cosine.