Gap in fundamental knowledge of differential equations

oldstudent
Messages
4
Reaction score
0
This is a question where the answer is given but I don't understand how to derive it.

The answer to the homogeneous eq. is: A cosh(x) + B sinh(x) with no explanation of how it is arrived at and the given answer then goes on to describe how the non-homogeneous part is solved.

Diff. eq. :
d^2y/dx^2 - y = x^2

My solution:
the homogeneous eq. is: p^2 - 1 = 0
and since its the diff. of two squares the roots are +1 and -1

so my solution is; y (char) = Ae^x + Be^-x Equation 1

I know that sinh x = (e^x - e^-x)/2 & cosh x = (e^x + e^-x)/2

and I know how the complex root solutions are manipulated to give a solution in terms of the trig functions. I assumed from the aforementioned that it ought to be obvious to me how to transform Eq. 1 because the two "introductory" books I've looked at just say it's related to the eq.
d^2y/dx^2 + y = 0. I guess since it doesn't have complex roots it wouldn't have occurred to me to modify the solution further and I haven't yet "seen" how to go about it.

I would be most grateful if someone could explain.
 
Physics news on Phys.org
Both your solution and the book's solution to the homogeneous equation are correct, but the arbitary constants in the solutions are different, so it would be better to call your arbitrary constants A' and B'.

Do you see how the solutions are the same?
 
Since cosh x= \frac{e^x+ e^{-x}}{2} and sinh x= \frac{e^x- e^{-x}}{2}, adding the two equations, e^x= cosh x+ sinh x, and subtracting e^{-x}= cosh x- sinh x. If you substitute those into Ae^x+ Be^{-x} you get the book's solution with, as George Jones said, different constants.

By the way, cosh x and sinh x have the nice property that cosh 0= 1 and sinh 0= 0. Of course (cosh x)'= sinh x and (sinh x)'= cosh x. In particular, if y(x) is a solution to that equation, then y(x)= y(0)cosh x+ y'(0)sinh x.
 
Many thanks to you, George and Halls of Ivy, for your help.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top