Converting 2nd Order ODE to 1st Order ODE

  • Thread starter Thread starter johnwalton84
  • Start date Start date
  • Tags Tags
    2nd order Ode
AI Thread Summary
The discussion focuses on converting a second order ODE into a pair of first order ODEs. The position function x(t) is represented by x1 = x and x2 = dx/dt, leading to the equations dx1/dt = x2 and dx2/dt = -x1 - αsin(x2). The nonlinear nature of the second equation makes it challenging to solve analytically, suggesting the use of numerical methods like the Runge-Kutta method for evaluation. Participants emphasize the importance of substitution and the implications of the nonlinear term in the second equation. This transformation allows for direct application in numerical routines.
johnwalton84
Messages
16
Reaction score
0
I'm stuck as to where to start with this question:

The position function x(t) in a certain nonlinear system is described by the second order ODE:

< equation.gif >

Transform this ODE into a pair of first order ODEs for x1=x and x2=dx/dt. (Note that x2 represents the velocity in this system.)


I've thought about calculating the homogeneous equation and then the particular integral, but (a) how is this done with a sin(dx/dt) on the RHS and (b) how does this yield a pair of solutions? Or is there another way to go about it?
 

Attachments

  • equation.gif
    equation.gif
    1 KB · Views: 647
Physics news on Phys.org
Show us what happens when you substitute x2=dx/dt. Isn't that a 1st order equation? What's the other one? Hint: it is given in this very post.
 
krab said:
Show us what happens when you substitute x2=dx/dt. Isn't that a 1st order equation? What's the other one? Hint: it is given in this very post.

Krab,u should have given him the result and let him strive to find the solution for the messy equation he gets:
\frac{dx_{1}}{dt}=x_{2}
\frac{dx_{2}}{dt}=-\int x_{2}dt- \alpha\sin x_{2}.
That should fully answer your problem.If u want to solve the second equation,try numerical methods.It is a nonlinear first order integro-differential equation with constant coefficients.Impossible to solve analytically.For almost all cases.
 
Last edited:
Thanks, I guess I was expecting the problem to be harder than that :rolleyes: . Yeah, the second part of the question involves evaluation by the Runge-Kutta method. :smile:
 
Last edited:
These are the first order equations:
\frac{dx_1}{dt}=x_2
\frac{dx_2}{dt}=-x_1- \alpha\sin x_2
In this form, they can be used directly in a canned Runge-Kutta routine.
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top