Second order differential equations

In summary, the conversation is discussing the solution to the 1-d Schrodinger equation, specifically the 'particle in a box' example. The time-independent equation reduces to d^2y/dx^2 = -k^2y, where k is a constant. The conversation explores different methods for solving this equation, including educated guessing, separation of variables, and using the systematic theory of linear differential equations. Ultimately, the textbook provides the solution using the function y= e^ikx, which can be seen by plugging it into the equation.
  • #1
Just some guy
69
1
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 separates the variables to get (1/y)d^2y = (-k^2)dx^2, but what then?

Cheers,
Just some guy
 
Physics news on Phys.org
  • #2
integrate then solve for y
 
  • #3
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 [tex] y'(x) [/tex] 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 [tex] y(x) = e^{\alpha x} [/tex], 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 [tex] \alpha [/tex], 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:
  • #4
No, you cannot "separate" second order derivatives like that.

A standard method is to recognize that the equation is saying that the second derivative on the left side is just a multiple of the function on the right. You should be able to see immediately that it can't be, for example, a logarithm (whose second derivative is -1/x[/sup]2[/sup]) or most other functions. You might think about an exponential: the derivative of ex is ex, exactly the same as the function itself. To allow for the k, try y= erx where r is some (unknown) number. The derivative of that is rerx and the second derivivative is r2erx. Putting that into the equation gives you r2erx= -k2erx. Since the exponential is never 0, you can divide through by that to get r2= -k2. In order to satisfy that r must be either ki or -ki. Now, you might remember that eikx= cos(kx)+ i sin(kx)- and then realize that, of course, if y= sin(kx), y'= k cos(kx), and y''= -k2sin(kx)= -k2y.
Same for y= cos(kx). That's how your textbook got the result.
 

FAQ: Second order differential equations

What is a second order differential equation?

A second order differential equation is a mathematical equation that involves a function, its first and second derivatives, and an independent variable. It is used to model many physical phenomena in science and engineering.

How do you solve a second order differential equation?

To solve a second order differential equation, you need to find a function that satisfies the equation. This can be done through a variety of methods, such as separation of variables, variation of parameters, or using power series. The specific method used depends on the type of equation and its initial conditions.

What is the difference between a linear and a non-linear second order differential equation?

A linear second order differential equation has the form y'' + p(x)y' + q(x)y = g(x), where p(x) and q(x) are functions of x and g(x) is a known function. A non-linear second order differential equation does not have this specific form and may involve products or powers of the function and its derivatives. Non-linear equations are generally more difficult to solve and may require numerical methods.

What are some real-life applications of second order differential equations?

Second order differential equations are used in many fields of science and engineering, such as physics, chemistry, biology, and economics. They can be used to model motion, heat transfer, population growth, and many other phenomena. For example, the motion of a swinging pendulum can be described by a second order differential equation.

Can second order differential equations be solved analytically?

Some second order differential equations can be solved analytically, meaning that a closed-form solution can be found. However, not all equations can be solved in this way and may require numerical methods. Additionally, even if an analytical solution exists, it may be too complex to be practical or provide useful insights.

Back
Top