Driven simple pendulum - system of first order ODEs

Click For Summary

Homework Help Overview

The problem involves a driven pendulum described by a second-order differential equation. The original poster seeks to convert this equation into a system of first-order differential equations, while also considering dimensionless variables and numerical solutions.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • The original poster attempts to define a dummy variable to express the second-order equation as a system of first-order equations. Some participants question the introduction of a dimensionless variable and suggest clarity in notation. Others explore the implications of expressing the system in terms of a new variable, x, and its relationship to time.

Discussion Status

The discussion is ongoing, with participants providing feedback on the original poster's approach. There is an exploration of the necessity of using certain variables and the implications for numerical solutions. No consensus has been reached, but various interpretations and suggestions are being discussed.

Contextual Notes

The original poster mentions specific numeric values for parameters and expresses concern about adhering to posting rules. There is a focus on the need for a plot involving theta and its derivative with respect to x, which complicates the transformation of variables.

Edge Of Pain
Messages
21
Reaction score
0

Homework Statement



We have a driven pendulum described by the following differential equation:

\frac{d^2\theta}{dt^2} = \frac{-g}{l}\sin(\theta) + C\cos(\theta)\sin(\Omega t)

I need to turn this second order differential equation into a system of first order differential equations (then use a computer to solve the first orders, but that's not the problem here).

Homework Equations



None needed

The Attempt at a Solution


[/B]
We are told to use some numeric values: l = 10cm, g = 9.81m/s^2, capital omega = 5/s, C = 2/s^2, and we are told to turn the equation into a dimensionless equation using the following notation:

\omega^2 = g/l

\beta = \frac{\Omega}{\omega}

\gamma = \frac{C}{\omega}

x= \omega t

Now, putting these into the ODE gives

\frac{d^2\theta}{dt^2} = \omega^2\sin(\theta) + \omega^2\gamma\cos(\theta)\sin(\beta x)

But, the only way I can think of turning this into a system of first order ODEs is by using some dummy variable, y.

In other words, let

\frac{d\theta}{dt} = y

and

\frac{dy}{dt} = \omega^2\sin(\theta) + \omega^2\gamma\cos(\theta)\sin(\beta x)

Is there no way to get it all in terms of theta and x?

EDIT:
I accidentally posted this before it was complete because I hit the "enter" key. Is there a way to turn this feature off? I don't want to get into trouble over posting something which doesn't fit with the rules.
 
Last edited:
Physics news on Phys.org
What do you mean? You had it as a system including only theta and t and you rewrite it as a system of two first order equations. That necessarily has to involve another dependent variable, one you decided to call y. It is unclear why you introduce x unless you want a dimensionless number, but then you should replace all occurences of t with x and not mix the notation.
 
  • Like
Likes   Reactions: Edge Of Pain
Orodruin said:
What do you mean? You had it as a system including only theta and t and you rewrite it as a system of two first order equations. That necessarily has to involve another dependent variable, one you decided to call y. It is unclear why you introduce x unless you want a dimensionless number, but then you should replace all occurences of t with x and not mix the notation.

Yeah, my thinking is the same and I think I just need to leave it at that (besides, numerically solving that system results in a graph which looks sensible).

But there is a reason why I need it in terms of x - a later part of the question is that it asks for a plot of theta against \frac{d\theta}{dx}, but the solution is for theta as a function of time. Also, it's a numerical solution - I don't actually know what theta is in analytical form so I can't just differentiate it with respect to x by hand.

My thinking is this:
I have the quantity x = omega * t. What If I just do dx = \omega dt, giving \frac{1}{\omega} dx = dt and just substitute that into the system? I'm going to try that now.
 
Last edited:
Have you heard of the chain rule?
 
Orodruin said:
Have you heard of the chain rule?

Yes.

Also I tried to solve this entirely in terms of theta and x, as I said I would above, but it was pointless since the only way to get Python to numerically solve this is to tell it that x is defined as omega * t, then give t values. So obviously it gave the same thing.
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 20 ·
Replies
20
Views
2K
Replies
4
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
8
Views
2K
Replies
3
Views
2K
Replies
1
Views
1K
  • · Replies 32 ·
2
Replies
32
Views
3K
  • · Replies 13 ·
Replies
13
Views
4K
Replies
2
Views
2K