# Second order differential equations

hi,

I have a question showing the 'particle in a box' example of the 1-d schrodinger equation, and given the initial conditions (walls of infinite potential, zero potential inside the box) the time-independent equation reduces to d^2y/dx^2 = -k^2y, where k is a constant - my text just gives me the answer to this equation and I'm wondering whether it's possible to be solved? My mathematics only goes as far as solving simple first-order differential equations so I'm a bit lost here - I assume one seperates the variables to get (1/y)d^2y = (-k^2)dx^2, but what then?

Cheers,
Just some guy

integrate then solve for y

Physics Monkey
Homework Helper
First let me assure you that the equation can be solved, in fact it has the same structure as another equation you have surely seen before: Newton's 2nd Law for a harmonic oscillator.

How can you proceed then?

Well, the most basic approach is educated guessing. Can you think of any functions that are closed under differentiation. That is, do you know some functions that you can differentiate twice and get something like themselves back.

Separation of variables isn't directly applicable, but you can play games under the integral and make progress. A better way to approach the problem is to multiply both sides by $$y'(x)$$ and see what you can do.

The systematic theory of linear differential equations with constant coeffecients gives you a prescription for the solution. You assume a solution of the form $$y(x) = e^{\alpha x}$$, and plug this "solution" into your differential equation (for the motivation behind this procedure, think about what I said above). It isn't hard to convince yourself that this reduces the differential equation in y to an algebraic equation in $$\alpha$$, one which can be solved in this case easily. Don't forget that there is more than one solution (why?).

Other more advanced methods exist including Laplace transform methods and Green's function methods, but they are a bit of overkill for so simple a problem (but fun nevertheless).

I've given you some general sketches of possible methods, see if you can apply one and find the solution. Hope this helps.

Last edited:
HallsofIvy