0
$\begingroup$

Just want to quickly check that I have got this right: Am I right in thinking that the solution of $\dfrac{d^2y}{dx^2} = \sin(y)$ is $y(x) = 2 \arctan\left[\exp\left(\dfrac{x^2}{2}+ax+b\right)\right]$ where $a$, $b$ are constants of integration?

Thanks guys.

  • 1
    It may be hard (impossible, even) to solve a differential equation, but it's easy to check whether a given function is a solution: you just pop it into the equation, and you see whether it works. Did you do this?2011-08-14
  • 0
    @Gerry: I tried differentiating the expression but I wasnt sure if it was just that I couldnt group the terms to give the correct form or if i was wrong... Now I see that it is the latter...2011-08-14

1 Answers 1

6

Quick question, quick answer:

No, that doesn't look right. That's the pendulum equation, and its general solution contains a Jacobi elliptic function (not expressible in elementary functions).

  • 0
    Thanks, Hans. Where have I gone wrong? :( What I did was $csc(y) \frac{dy}{dx} = x+a$ then $log \left(tan\left(y/2 \right) \right) = (1/2) x^2 + ax + b$ ...?2011-08-14
  • 0
    @scoobs: The first integration is wrong; $\csc(y(x)) \, y''(x)$ isn't the derivative of $\csc(y(x)) \, y'(x)$.2011-08-14