Break Second order ODE into a system of first order ODE's

Click For Summary

Homework Help Overview

The discussion revolves around breaking a second-order ordinary differential equation (ODE) related to a pendulum into a system of first-order ODEs suitable for application within the Crank-Nicholson method. The specific equation involves terms like damping and gravitational effects represented by sine functions.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • The original poster attempts to define variables for the ODE but struggles with the non-linear term involving sine. Some participants suggest using small angle approximations to simplify the sine function. Others question the appropriateness of the Crank-Nicholson method for this type of ODE, considering alternatives like the Runge-Kutta method.

Discussion Status

Participants are exploring various methods and interpretations of the problem. Some have provided insights into the challenges posed by the non-linearity of the equation, while others are considering the constraints imposed by the homework requirements to use the Crank-Nicholson method. There is a recognition of the need for iterative techniques, such as Newton's method, to address the complexities involved.

Contextual Notes

Participants note that the problem is constrained by the requirement to use the Crank-Nicholson method as specified in the design brief, despite the challenges it presents for a second-order non-linear ODE.

Trenthan
Messages
50
Reaction score
0

Homework Statement



I haven't done this for several years and have forgotten. Kicking myself now over it since it looks like something so simple but i cannot figure it out... I need to break this second order ODE into a system of first order ODE's in matrix form to use within a crank nicolson method.

\frac{d\Theta^{2}}{dt^{2}} + c\frac{d\Theta}{dt} + \frac{g}{L}sin(\Theta) = 0



The Attempt at a Solution



let
\phi_{1} = \Theta
\frac{\phi_{1}}{dt} = \phi_{2}
\frac{\phi_{2}}{dt} = -c\phi_{2} - \frac{g}{L}sin{\phi_{1}}


now problem being the \sin{\phi}, how do i take the phi out! K is meant to be the coefficients of the terms infront of phi, but in this case its within the sin :S



\left[ {\begin{array}{cc}<br /> \frac{\phi_{1}}{dt} \\<br /> \frac{\phi_{2}}{dt} \\<br /> \end{array} } \right]<br /> = <br /> \left[ {\begin{array}{cc}<br /> 0 &amp; 1 \\<br /> unknown &amp; -c \\<br /> \end{array} } \right]<br /> <br /> <br /> \left[ {\begin{array}{cc}<br /> \phi_{1} \\<br /> \phi_{2} \\<br /> \end{array} } \right]<br />

Cheers Trent
 
Last edited:
Physics news on Phys.org
This is a non-linear DE, hence the difficulties

If theta was very small you could use the small angle approximation to linearise the equation
sin(\theta(t))\approx \theta(t)
 
unfortunately its not, we are modelling a pendulum which is lubricated well** :(
 
we have been instructed to use Crank-Nicholson for some stupid reason in our design brief.

Im looking up other methods iterative techniques such as Newtons method which may be applied within the method...

Any suggestions or thoughts...?
 
i haven't used it but eve4rything i see on crank-nicholson is for 2d (x,t) differential equations, so not really sure how it applies here
 
All good

Using the Crank-Nicholson approach, and than applying Newtons law, which involves taking the jacobian etc and solving for the residue to be zero works.

Thanks for your time and help lanedance
 

Similar threads

Replies
4
Views
2K
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
1K
Replies
5
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K