How to use this calculator
Find positive single-harmonic amplitude roots for a forced Duffing oscillator, including possible multiple algebraic response branches.
- Enter Oscillator mass (kg), Linear stiffness (N/m), Viscous damping (N s/m), Cubic stiffness (N/m^3), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Duffing cubic stiffness harmonic balance roots explained
Use Oscillator mass (kg) with Linear stiffness (N/m) to reproduce the sample calculation, then review the stated limits before carrying the result into another scenario.
Inputs, symbols, and units
m— Oscillator mass (kg)- Mass in kilograms.
k— Linear stiffness (N/m)- Linear force per displacement in newtons per metre.
c— Viscous damping (N s/m)- Viscous force coefficient in newton-seconds per metre.
alpha— Cubic stiffness (N/m^3)- Signed cubic restoring-force coefficient multiplying displacement cubed, in N/m³. Zero recovers the linear harmonic-balance equation.
F— Sinusoidal force amplitude (N)- Force in newtons.
f— Forcing frequency (Hz)- Frequency in cycles per second, converted internally to angular frequency.
Formula and method
A²[(k+¾αA²−mω²)²+(cω)²]=F²; solve the cubic polynomial in A².
Assume x≈A cos(ωt−φ) and retain only the fundamental component of cubic stiffness. Solve all resolved positive real roots in amplitude squared, then recover amplitudes and their phase lags. The linear limit α=0 is handled separately.
A worked scenario
Oscillator mass (kg) = 1; Linear stiffness (N/m) = 100; Viscous damping (N s/m) = 0.4; Cubic stiffness (N/m^3) = 100000; Sinusoidal force amplitude (N) = 1; Forcing frequency (Hz) = 2.
- Smallest positive harmonic-balance amplitude: 0.034032231 m
- Positive amplitude roots: 0.034032231 m
- Corresponding displacement lag angles: 9.8497259 degrees
- Positive root count: 1
The cubic stiffness is large relative to the linear spring at centimetre-scale motion. More than one amplitude can satisfy the same algebraic forcing condition.
Assumptions and edge cases
First-harmonic balance approximation, not a time integration or stability analysis. Higher harmonics, subharmonics, chaos, transient selection, and branch stability are not inferred. Softening laws can be unphysical far from their local range.
Reading the outputs
The smallest displayed root is not automatically the observed or stable response. All positive roots and their lags must be interpreted within the approximation.
Frequently asked questions
Does the tool label stable branches?
No. Stability requires additional perturbation or time-domain analysis.
Why do multiple roots occur?
Amplitude-dependent stiffness can bend the response relation into several algebraic solutions.
Is this an exact nonlinear solution?
No. It retains one harmonic and neglects higher-frequency terms.
How do I use the Duffing cubic stiffness harmonic balance roots calculator?
Enter Oscillator mass (kg), Linear stiffness (N/m), Viscous damping (N s/m), Cubic stiffness (N/m^3), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Duffing cubic stiffness harmonic balance roots?
Oscillator mass (kg) = 1; Linear stiffness (N/m) = 100; Viscous damping (N s/m) = 0.4; Cubic stiffness (N/m^3) = 100000; Sinusoidal force amplitude (N) = 1; Forcing frequency (Hz) = 2. Smallest positive harmonic-balance amplitude: 0.034032231 m Positive amplitude roots: 0.034032231 m Corresponding displacement lag angles: 9.8497259 degrees Positive root count: 1 The cubic stiffness is large relative to the linear spring at centimetre-scale motion. More than one amplitude can satisfy the same algebraic forcing condition.
Background or definition reference: Journal of Sound and Vibration, harmonic-balance solution of a Duffing oscillator.
Read our calculation methodology.