Solve ODE in Plane: d2x/dt2=-cosx, d2y/dt2=-cosy

  • Context: Graduate 
  • Thread starter Thread starter wofsy
  • Start date Start date
  • Tags Tags
    Ode Plane
Click For Summary

Discussion Overview

The discussion revolves around solving the second-order ordinary differential equations (ODEs) given by d²x/dt² = -cos(x) and d²y/dt² = -cos(y) in the plane. Participants explore various methods for solving these equations, including separation of variables and integration techniques, while addressing the independence of the equations and the implications of their interdependence.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant suggests using separation of variables and integrating twice, while another argues that the equations are independent and can be solved separately without this method.
  • Some participants emphasize that integrating each equation twice is sufficient, while questioning the necessity of involving the other variable.
  • There is a discussion about the interpretation of the equations, with one participant initially misreading the equations as being dependent on each other, leading to confusion about the integration process.
  • Another participant introduces the concept of quadrature and describes a method involving a change of variables to express the solution in terms of elliptic integrals.
  • Concerns are raised about the nature of the orbits in the plane if both x and y yield the same elliptic integral, with a participant expressing uncertainty about their appearance.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to solve the equations, with differing opinions on the independence of the equations and the methods of integration. The discussion remains unresolved regarding the implications of the elliptic integral solutions.

Contextual Notes

Some participants express uncertainty about the interpretation of the equations and the integration process, highlighting the potential for misreading mathematical expressions. The discussion also reflects varying levels of familiarity with elliptic integrals and their graphical representations.

wofsy
Messages
724
Reaction score
0
Can someone tell me how to solve the ODE,

d2x/dt2 = -cosx d2y/dt2 = -cosy in the plane?
 
Physics news on Phys.org
You can use separation of variables and then integrate twice (with an integration constant!)
 
thanks
 
Those two equations are completely independent- so it is not necessary to "separate variables". You are just solving two separate second order differential equations. And, in fact you just need to integrate each twice.
 
HallsofIvy said:
Those two equations are completely independent- so it is not necessary to "separate variables". You are just solving two separate second order differential equations. And, in fact you just need to integrate each twice.

Hrm? They don't look independent to me. The derivatives are with respect to t, not x or y. Integrating the x equation would give, for instance,

\dot{x(t)} - \dot{x(t_0)} = \int_{t_0}^{t}d\tau~\cos y(\tau)

which isn't so useful if you can't solve for what y(t) is.
 
If d2x/dt2= cos(x) is a single equation in the dependent variable x as a function of t. There is absolutely no reason to introduce y. Since the independent variable "t" does not appear in the equation, I would use "quadrature":

Let v= dx/dt so that d2x/dt2= dv/dt= (dv/dx)(dx/dt)= v dv/dx. Now you have vdv/dx= cos(x) or vdv= cos(x)dx. Integrating, (1/2)v2= sin(x)+ C. dx/dt= v= \sqrt{2(sin(x)+ C)} or
\frac{dx}{\sqrt{2(sin(x)+ C)}}= dt
That left side is an "elliptical integral".

Of course, y will be exactly the same, though possibly with different constants of integration.
 
Last edited by a moderator:
HallsofIvy said:
If d2x/dt2= cos(x) is a single equation in the dependent variable x as a function of t. There is absolutely no reason to introduce y. Since the independent variable "t" does not appear in the equation, I would use "quadrature":

Let v= dx/dt so that d2x/dt2= dv/dt= (dv/dx)(dx/dt)= v dv/dx. Now you have vdv/dx= cos(x) or vdv= cos(x)dx. Integrating, (1/2)v2= sin(x)+ C. dx/dt= v= \sqrt{2(sin(x)+ C)} or
\frac{dx}{\sqrt{2(sin(x)+ C)}}= dt
That left side is an "elliptical integral".

Of course, y will be exactly the same, though possibly with different constants of integration.

Ah, I see, I didn't parse the problem the way it was intended to be read. I read it as

\frac{d^2x}{dt^2} = -\cos x \frac{d^2y}{dt^2} = -\cos y

i.e.,

\frac{d^2x}{dt^2} = -\cos y
and
\cos x \frac{d^2y}{dt^2} = \cos y


This is why I always use some sort of punctuation in between separate equations written on the same line. =P
 
Last edited:
And how do you know that was how it was "intended to be read"?
 
I was able to get to the elliptic integral. But I have no idea what it looks like. Further, if x and y are both the same elliptic integral then the orbits in the plane should be fairly simple. But what do they look like?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
22
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
4
Views
2K