PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Waves & Sound

Other simulators in this category — or see all 35.

View category →
NewSchool

Seismic P and S (Schematic)

Longitudinal vs transverse particle motion; v_P, v_S sliders — not layered Earth.

Launch Simulator
NewSchool

Water Wave Dispersion ω(k)

Shallow k√(gh), deep √(gk), full tanh(kh) — three curves.

Launch Simulator
NewUniversity / research

Tsunami & Shallow Water (1D)

Linear η,u on H(x): c = √(gH) drops over shelf; Gaussian uplift impulse.

Launch Simulator
NewSchool

Kelvin Ship Wake (Cusp Angle)

Deep-water wake V: arms at arcsin(1/3) ≈ 19.47° each side of the track (idealized).

Launch Simulator
NewUniversity / research

KdV Solitons (Exact)

u_t + 6uu_x + u_xxx = 0; Hirota two-soliton collision or one sech² pulse.

Launch Simulator
FeaturedSchool

Wave on a String

Shake one end, adjust frequency and amplitude. Standing waves and reflections.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Waves & Sound/Forced Nonlinear Pendulum

Forced Nonlinear Pendulum

A forced nonlinear pendulum is a classic and rich system in classical mechanics, extending the simple pendulum into regimes where both large-angle oscillations and external driving forces are significant. The core equation of motion is the second-order nonlinear differential equation: θ¨ + γθ˙ + (g/L) sin θ = A cos ωt. Here, θ is the angular displacement from vertical, γ is a linear damping coefficient representing friction, g is gravitational acceleration, L is the pendulum length, and the right-hand side represents a periodic driving force with amplitude A and angular frequency ω. The term (g/L) sin θ is the restoring force, which becomes nonlinear for angles beyond the small-angle approximation where sin θ ≈ θ. This nonlinearity is the source of complex behaviors not seen in linear oscillators. The simulator visualizes the pendulum's motion in real time and, crucially, plots its trajectory in a phase space defined by angular displacement (θ) and angular velocity (θ˙). This phase portrait reveals the system's dynamical state. Students can explore how varying parameters like driving frequency, amplitude, and damping leads to regular periodic motion, multi-period orbits, or chaotic motion characterized by a sensitive dependence on initial conditions. Key principles demonstrated include Newton's second law for rotational motion, the distinction between linear and nonlinear restoring forces, the concept of resonance in a nonlinear system, and the visual identification of attractors in phase space. By interacting with the model, learners gain intuition for how deterministic equations can produce unpredictable, chaotic outcomes and understand the conditions under which a simple physical system transitions from order to chaos.

Who it's for: Upper-level undergraduate or early graduate students in physics, engineering, or applied mathematics studying classical mechanics, nonlinear dynamics, or chaos theory.

Key terms

  • Nonlinear Dynamics
  • Chaos Theory
  • Phase Space
  • Damped Driven Pendulum
  • Attractor
  • Resonance
  • Bifurcation
  • Poincaré Section

Live graphs

Presets

Pendulum & damping

1.05 m
9.81 m/s²
0.22 1/s

Drive A cos(ωt)

1.15 rad/s²
2.05 rad/s

Initial conditions

8 °
0 rad/s

Single-degree-of-freedom pendulum with sinusoidal driving torque (scaled as A cos ωt in the θ¨ equation). Nonlinearity sin θ couples modes; for large A and low damping the long-time motion can look irregular — a taste of chaos, unlike the two-link Double Pendulum which has a 4D phase space.

Shortcuts

  • •Space / Enter — start from ICs
  • •R — stop & reset

Measured values

ω₀ = √(g/L)3.0566rad/s
Drive period3.065s
θ0.0000rad
θ˙0.0000rad/s

How it works

The planar pendulum with linear damping and harmonic driving obeys θ¨ + γθ˙ + (g/L) sin θ = A cos(ωt). Small angles approximate sin θ ≈ θ (linear forced oscillator). Large angles and strong forcing produce nonlinear and often sensitive trajectories. Double Pendulum in Mechanics couples two rods; here a single bob is driven — same idea of nonlinearity, different dimension.

Key equations

θ¨ + γ θ˙ + (g/L) sin θ = A cos(ω t)

Frequently asked questions

Why is this pendulum called 'nonlinear,' and what's the big deal?
It's nonlinear because the restoring force is proportional to sin θ, not θ itself. For small angles, sin θ ≈ θ, and the system is approximately linear, behaving like a simple harmonic oscillator. For larger angles, this approximation breaks down. The nonlinearity is crucial because it allows for behaviors impossible in linear systems, such as multiple periodic solutions for the same driving frequency and the onset of deterministic chaos.
What does the phase plot actually show?
The phase plot graphs the pendulum's angular velocity (θ˙) against its angular position (θ). Each point on this plot represents a full state of the system at an instant. As time progresses, these points trace a path called a trajectory. For a non-driven, damped pendulum, the trajectory spirals into the origin (θ=0, θ˙=0), a fixed-point attractor. For the driven system, the trajectory can form closed loops (periodic motion) or intricate, never-repeating patterns (chaotic motion), revealing the underlying dynamics more clearly than a simple time-series plot of θ(t).
Is chaos just random noise?
No, chaos in this context is deterministic, not random. The motion is fully governed by the precise equation of motion. However, chaotic systems exhibit extreme sensitivity to initial conditions—an infinitesimally small change in the starting angle or velocity leads to a completely different long-term trajectory. This makes the system unpredictable in practice, even though it is perfectly deterministic in theory.
How does this relate to the double pendulum simulator mentioned?
Both are iconic examples of chaotic systems in mechanics. The forced nonlinear pendulum has one degree of freedom (the angle θ) but becomes chaotic due to the interplay of nonlinearity and external forcing. The double pendulum has two degrees of freedom (two angles) and exhibits chaos from its intrinsic nonlinear coupling, even without external driving. Comparing them helps students see that chaos can arise from different sources: external forcing in a simple system or complex internal coupling in a multi-part system.