0

I am given the following ode:

$$x''=mg\sin(\theta)+k(L-\sqrt{x^2+h^2})\left(\frac{x}{\sqrt{x^2+h^2}}\right)-bx'$$ where $x$ is a function of $t.$ How do I convert this equation to a system of first order odes? I tried the usual technique of substituting $x_1=x$ and $x_2=x'$ but it does not work since the ode is non-linear. Perhaps there is another way?

Student
  • 9,196
  • 8
  • 35
  • 81
  • Is there a reason you didn't simplify it and combined the constants to a single constant? This looks like a physics equation but you don't loose anything by doing that now – ℋolo Mar 12 '18 at 23:26

1 Answers1

0

The method is pretty much the same:

$x_1=x$

$x'=x_2$

$x_2'=C_0+k\left(L-\sqrt{x_1^2+h^2}\right)\frac{x_1}{\sqrt{x_1^2+h^2}}-bx_2$.

If you want to get system of linear first order ODE you get into problems, I would try something along the lines of $x_1=x', \, x_2=\sqrt{x^2+h^2}$ but if you use this you have problems with expressing $x_2'$ using only $x_1,x_2$.

ℋolo
  • 10,006