🐍 | Code | 🔍 | Worked Example |
📈 | Graph | 🧩 | Exercise |
🏷️ | Definition | 💻 | Numerical Method |
💎 | Theorem | 🧮 | Analytical Method |
📝 | Remark | 🧠 | Theory |
ℹ️ | Information | 🗝️ | Hint |
⚠️ | Warning | 🔓 | Solution |
The “simple” version:
where:
State:
State space:
Vector field:
More general versions:
Time-dependent vector-field:
Visualize
Visualize
In the plane (
We define a Q
function helper whose arguments are
f
: the vector field (a function)
xs
, ys
: the coordinates (two 1d
arrays)
and which returns:
quiver
.Consider
A solution of
a (continuously) differentiable function
defined on a (possibly unbounded) interval
such that for every
When
Solutions
such that
The initial condition
the initial time
the initial value or initial
state
The point
(Scalar) differential equations whose structure is
where
The previous
with
The result is more obvious if we expand the first-order equation:
Establish the equations governing the pendulum dynamics.
Generalize the dynamics when there is a friction torque
We denote
Transform the dynamics into a first-order ODE with state
Draw the system stream plot when
Determine least possible angular velocity
The pendulum total mechanical energy
The kinetic energy depends on the mass velocity
The potential energy mass depends on the pendulum elevation
If the system evolves without any energy dissipation,
When there is an additional dissipative torque
and thus
With
In the top vertical configuration, the total mechanical energy of the pendulum is
Hence we have at least
On the other hand, in the bottom configuration,
Hence, without any loss of energy, the initial velocity must satisfy
That is
which leads to: