Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Could anyone explain to me how do we solve this second order linear differential equation ($\kappa = \text{constant}$):

$$\frac{d^2 f(x)}{dx^2}=\kappa^2 f(x)$$

It is said that general solution is:

$$f(x) = Ae^{\kappa\, x} + Be^{-\kappa\, x}$$

But how do we get it?

share|cite|improve this question
Actually this differential equation is linear. – roger Mar 29 '13 at 20:04
do you know about separation of variables? – Lost1 Mar 29 '13 at 20:06
But it doesnt have 1st derivative? – 71GA Mar 29 '13 at 20:16
@71GA Saying that a differential equation is linear is not saying that it only involves first order derivatives. It's saying that if you have two (or more) solutions then their addition is also a solution. That's why you need initial conditions to specify which solution is the solution for your (specific) problem, i.e., in the case of your question, specify the constants $A$ and $B$. – PML Mar 29 '13 at 20:28
@roger: This is probably better as a comment as opposed to an answer. Regards – Amzoti Mar 29 '13 at 20:29
up vote 3 down vote accepted

Assume that our solution is in the form of $f(x)=e^{c x}$ after you put into first equation you get

$c^2 e^{c x}-\kappa^2 e^{c x}=0$

If you take $e^{c x}$ out of bracket, you get

$e^{c x} (c^2-\kappa^2)=0$

or $c^2=\kappa^2$

Now you should express $c$ as $\pm\kappa$ and insert into first equation, and of course multiply each variant by some constant $A_1$, $A_2$ and add.

share|cite|improve this answer
@71GA could you read this solution? i mean symbols – dato datuashvili Mar 29 '13 at 20:26
I am not quite sure where your first equation originates from. Did you use $k$ instead of $\kappa$? – 71GA Mar 29 '13 at 21:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.