GLOBAL KNOWLEDGE ARK

Mathematics · Article

Linear equations, oscillation and forcing

Derive the solution structure of linear second-order equations, then distinguish free oscillation, damping, forced response and resonance. Use independent initial data, Wronskians, energy balances and exact response formulas while retaining coefficient, unit and domain assumptions.

Back to Mathematics

After reading, you can

  • Formulate a linear second-order initial-value problem and separate homogeneous and forced solutions.
  • Use initial-state independence and a nonzero Wronskian to justify a complete two-solution basis.
  • Derive distinct-root, repeated-root and complex-root constant-coefficient solution forms.
  • Interpret natural frequency, damping ratio and the three damping regimes with consistent units.
  • Derive and interpret the mechanical energy balance without confusing decreasing energy with monotone displacement.
  • Choose and verify particular solutions, including resonant modifications and variation of parameters.
  • Distinguish harmonic steady response, phase lag, beats and ideal undamped resonance.
  • Identify what changes for variable coefficients, singular endpoints and finite input switches, and connect the scalar equation to a state system.
01

An oscillator needs position, velocity and a force law

A small-displacement mass–spring model about an equilibrium position is m x″+c x′+k x=F(t), with m>0, k>0 and viscous damping coefficient c≥0. The restoring force is −kx and the drag force is −cx′; F is an external force measured with the same sign convention as x. Initial displacement x(t₀)=x₀ and velocity x′(t₀)=v₀ specify a state. Position alone does not determine the motion.

In SI units, m is in kilograms, c in kilograms per second or newton-seconds per metre, and k in newtons per metre. Each term has units of force. The displacement is measured from the chosen static equilibrium, so a constant gravitational force can already be balanced in that reference position. Large displacements, nonlinear springs, dry friction or memory effects require a model beyond the linear constant-coefficient assumptions used here.

The mathematical framework is broader: y″+p(t)y′+q(t)y=g(t), with p,q,g continuous on an interval containing the initial time, has a unique solution there for specified y and y′. If a leading coefficient a(t) is divided out, choose an interval where it is nonzero. Singularity of that coefficient cannot be dismissed simply because a characteristic polynomial is convenient elsewhere.

Lessons 137–138 supplied initial-value meaning, local uniqueness and linear first-order methods. Here the two-dimensional initial state connects those ideas to oscillation. Lesson 140 will make the state-system geometry explicit. Throughout this article an exact solution, a long-time approximation and a finite plot remain different claims.

02

Linearity fixes how homogeneous and forced parts combine

Define L[y]=y″+p(t)y′+q(t)y. The product and sum rules give L[A y₁+B y₂]=A L[y₁]+B L[y₂] for constants A,B. Therefore linear combinations of homogeneous solutions, with L[y]=0, are again homogeneous. If y_p solves L[y_p]=g, adding any homogeneous solution gives another solution of that same forced equation.

Conversely, subtracting one particular solution from any forced solution gives a homogeneous solution. Thus the whole forced solution set is one particular solution plus the homogeneous space. Adding two solutions with the same nonzero forcing generally gives forcing 2g rather than g. It is the differential operator that is linear, with its right side transformed consistently.

For continuous p and q, two homogeneous solutions whose initial state vectors (y₁(t₀),y₁′(t₀)) and (y₂(t₀),y₂′(t₀)) are independent span every homogeneous solution. To prove this, choose their two coefficients to match arbitrary initial position and velocity. The difference from the desired solution has zero initial state, and the uniqueness theorem makes that difference zero throughout the interval.

This argument explains why two independent modes are enough for a regular second-order scalar problem. It also explains why repeating the same exponential twice does not create another degree of freedom. Dependence is a relation between whole functions on an interval with constant coefficients, not whether their graphs happen to have different values at one sampled time.

03

The Wronskian measures independence of the initial states

For two differentiable functions, define W=y₁y₂′−y₁′y₂. If W(t₀)≠0, their initial state vectors form an invertible 2×2 matrix. The two coefficients needed to match position and velocity are then uniquely determined. For solutions of the same continuous homogeneous second-order equation, this yields a fundamental pair across the interval.

Differentiate W for two C² homogeneous solutions: W′=y₁y₂″−y₁″y₂. Substitute y_i″=−p y_i′−q y_i. The q terms cancel and W′=−pW. The first-order integrating-factor argument gives Abel’s identity W(t)=W(t₀)exp(−∫_(t₀)^t p(s) ds). A nonzero Wronskian at one point therefore stays nonzero everywhere in the continuous-coefficient interval.

For such solutions, a zero Wronskian at one point instead gives dependent initial states and hence dependent solutions by uniqueness. This conclusion uses their common differential equation. For arbitrary functions without that common solution structure, blanket converses based on a vanishing Wronskian require more care; they are not being used here.

Independent initial states supply two independent constantsFor the pair exp(−t), exp(−2t), the initial state columns are (1,−1) and (1,−2). The plotted parallelogram uses 80 horizontal pixels per position unit and 65 vertical pixels per velocity unit; no angle-preserving scale is claimed. Its determinant is W(0)=−1, while its unsigned coordinate area is one. This exact nonzero determinant permits a unique coefficient fit; Abel then keeps W nonzero for the common equation.Independent initial states supply two independent constants(1,−1)(1,−2)0initial positioninitial velocityy″+3y′+2y=0Initial-state determinantW(0)=−1Unsigned coordinate area=1W(t)=−e^(−3t)Never zero on RThe signed determinant and the unsigned parallelogram area are different.
Independence is a property of the full common solution pair. A nonzero initial-state determinant, followed by uniqueness, gives a fundamental pair across the valid interval.

If a known nonzero homogeneous solution y₁ is available, reduction of order can construct a second locally. Put y₂=y₁v; substitution gives v″+(2y₁′/y₁+p)v′=0. Integrating yields y₂=y₁∫exp(−∫p)/y₁² dt. This formula is used only on an interval where y₁≠0, and the integral’s constants can add a multiple of y₁. A zero of y₁ may make this particular representation unsuitable even when the original equation is regular.

04

Distinct characteristic roots give independent exponential modes

For constant coefficients a y″+b y′+d y=0 with a≠0, try y=e^(rt). Substitution gives (a r²+b r+d)e^(rt)=0, so roots of the characteristic polynomial supply solutions. The exponential is nonzero, making this division legitimate. This technique relies on constant coefficients; substituting one fixed exponential does not generally solve a variable-coefficient equation.

If the roots r₁ and r₂ are distinct real numbers, y₁=e^(r₁t), y₂=e^(r₂t). Their Wronskian is (r₂−r₁)e^((r₁+r₂)t), which never vanishes. The basis argument therefore proves that every homogeneous solution is C₁e^(r₁t)+C₂e^(r₂t), rather than merely observing that two guessed functions happen to work.

A negative root gives a decaying mode in forward time, a positive root a growing mode, and a zero root a constant mode. The full motion depends on which coefficients the initial data excite. Two negative roots do not require displacement to decrease monotonically; opposing modal coefficients can produce a turning point or a sign change.

For y″+3y′+2y=0, the roots are −1 and −2. Initial values y(0)=1, y′(0)=0 give y=2e^(−t)−e^(−2t). Direct differentiation verifies the equation and both data. The roots describe the available modes, while the data determine their particular combination.

Two independent modes fit position and velocityThe selected distinct pair has exact coefficients A=2, B=-1, initial position 1 and velocity 0. Blue and green dashed traces show the unweighted basis functions, orange their selected combination. W(0)=-1 is nonzero and Abel exponent -3 preserves its nonvanishing. Both initial mismatches and characteristic residual coefficients are exact; the plotted exponentials and trigonometric values are numerical illustrations.Two independent modes fit position and velocity0-0.2520.541.25y (dimensionless)t (dimensionless)distinct rootsA=2, B=-1y₀=1, v₀=0First basis functionSecond basis functionW(0)=-1Both initial checks pass.The displayed full solution is orange; the two basis functions are unweighted.
Repeated roots need the independent t-weighted mode. In a complex pair, the envelope contributes to initial velocity. Both initial data and the nonzero Wronskian matter.
05

A repeated root needs a genuinely new solution

If the characteristic polynomial has one repeated root r, the homogeneous equation can be written y″−2r y′+r²y=0 after dividing by its nonzero leading coefficient. The function e^(rt) is one solution, but writing C₁e^(rt)+C₂e^(rt) merely combines two constants into one. A second independent solution must be found.

Set y=e^(rt)u(t). Differentiating twice and substituting makes the u and u′ terms cancel, leaving e^(rt)u″=0. Therefore u=C₁+C₂t, and y=(C₁+C₂t)e^(rt). The Wronskian of e^(rt) and t e^(rt) is e^(2rt), never zero. This proves both the new solution and completeness of the pair.

For y″+4y′+4y=0, the repeated root is −2. With y(0)=1 and y′(0)=0, the coefficients are C₁=1 and C₂=2, giving y=(1+2t)e^(−2t). Although t grows, the exponential decay dominates it as t→∞. A polynomial factor does not automatically mean unbounded future motion.

The repeated-root case is also the limit of nearby distinct-root bases after a suitable rescaling: [e^((r+ε)t)−e^(rt)]/ε tends to t e^(rt). Simply setting the two roots equal in an unrescaled basis loses that independent direction. Near coincidence, this observation also helps explain why a poorly chosen numerical basis can suffer cancellation.

Two independent modes fit position and velocityThe selected repeated pair has exact coefficients A=1, B=2, initial position 1 and velocity 0. Blue and green dashed traces show the unweighted basis functions, orange their selected combination. W(0)=1 is nonzero and Abel exponent -4 preserves its nonvanishing. Both initial mismatches and characteristic residual coefficients are exact; the plotted exponentials and trigonometric values are numerical illustrations.Two independent modes fit position and velocity0-0.2520.541.25y (dimensionless)t (dimensionless)repeated rootsA=1, B=2y₀=1, v₀=0First basis functionSecond basis functionW(0)=1Both initial checks pass.The displayed full solution is orange; the two basis functions are unweighted.
Repeated roots need the independent t-weighted mode. In a complex pair, the envelope contributes to initial velocity. Both initial data and the nonzero Wronskian matter.
06

Complex roots give real oscillations with an envelope

For real constant coefficients, nonreal characteristic roots come in a conjugate pair α±iβ, with β>0. Euler’s formula writes e^((α+iβ)t)=e^(αt)(cos βt+i sin βt). Because the operator has real coefficients, its real and imaginary parts are real solutions. They form the pair e^(αt)cos βt and e^(αt)sin βt.

Their Wronskian is βe^(2αt), which never vanishes. Hence every real homogeneous solution is y=e^(αt)(A cos βt+B sin βt). The real part α controls the exponential envelope, while β is the angular oscillation frequency. A negative α gives a decaying envelope, zero α gives persistent oscillation, and positive α gives a growing envelope.

For nonzero (A,B), write A=R cos φ, B=R sin φ with R=√(A²+B²)>0 and φ=atan2(B,A). Then A cos βt+B sin βt=R cos(βt−φ). The phase is defined modulo 2π, and the zero solution has no uniquely defined phase. The period of the sinusoidal factor is 2π/β. The full damped function is not periodic when α≠0.

For y″+2y′+5y=0, the roots are −1±2i. The solution with y(0)=1 and y′(0)=0 is e^(−t)(cos 2t+(1/2)sin 2t). The extra sine coefficient is required by the derivative of the envelope; setting it to zero from the initial displacement alone would give the wrong initial velocity.

Two independent modes fit position and velocityThe selected complex pair has exact coefficients A=1, B=1/2, initial position 1 and velocity 0. Blue and green dashed traces show the unweighted basis functions, orange their selected combination. W(0)=2 is nonzero and Abel exponent -2 preserves its nonvanishing. Both initial mismatches and characteristic residual coefficients are exact; the plotted exponentials and trigonometric values are numerical illustrations.Two independent modes fit position and velocity0-0.48420.38341.25y (dimensionless)t (dimensionless)complex rootsA=1, B=1/2y₀=1, v₀=0First basis functionSecond basis functionW(0)=2Both initial checks pass.The displayed full solution is orange; the two basis functions are unweighted.
Repeated roots need the independent t-weighted mode. In a complex pair, the envelope contributes to initial velocity. Both initial data and the nonzero Wronskian matter.
Use both signs to choose the phase quadrantA=-1, B=1, R²=2. Equal 70-pixel coordinate scales show the coefficient vector (A,B), not a physical phase-space trajectory. Its polar angle is atan2(B,A), defined modulo 2pi when nonzero. The orange arc measures the nonnegative representative from the positive A-axis. The full envelope exp(−t) is nonperiodic for a nonzero amplitude even though the sinusoidal factor has period pi.Use both signs to choose the phase quadrantABA=-1, B=1R²=2Quadrant: IIatan2 phase≈2.36Basis factor period: πFull envelope is not periodic.The same tangent ratio can occur in opposite quadrants; atan2 retains signs.
The coefficient plane explains A=R cosφ and B=R sinφ. It is different from a position-velocity phase portrait, and zero amplitude has no unique phase.
07

Damping regimes compare a decay scale with a restoring frequency

For m x″+c x′+k x=0 with m,k>0 and c≥0, define ω₀=√(k/m), δ=c/(2m) and ζ=δ/ω₀=c/(2√(mk)). Here ω₀ and δ have units inverse time, while ζ is dimensionless. The characteristic roots are −δ±√(δ²−ω₀²). These definitions make the discriminant’s physical scales explicit.

If 0≤δ<ω₀, the roots are −δ±iω_d with ω_d=√(ω₀²−δ²). The motion is e^(−δt)(A cos ω_dt+B sin ω_dt), after a convenient choice of initial time origin. For c=0 this is undamped periodic motion. For 0<c<2√(mk), the oscillation has a decaying envelope and ω_d<ω₀.

If δ=ω₀, the repeated negative root gives critical damping, x=(A+Bt)e^(−ω₀t). If δ>ω₀, the roots are distinct and negative, giving overdamping and two real decaying exponential modes. Nontrivial free responses in these latter cases do not have a sinusoidal oscillation factor. Initial conditions can still produce a turning point or an equilibrium crossing; the root classification alone does not prescribe a monotone displacement history.

Critical damping is a boundary between these root types. Claims about a fastest settling time need a specified measure, initial state and comparison family. A late-time modal decay rate, first crossing time and time to stay within a tolerance are different quantities. The classification gives precise formulas from which such a chosen comparison can be calculated.

Damping changes the root geometry, not every motion detailFor m=1 kg and k=9 N/m, c=2 kg/s gives delta=1 per second and root discriminant delta²−omega0²=-8 per second squared. Orange dots locate the two characteristic roots in the complex rate plane. A repeated root uses concentric markers at one point. Nonzero imaginary parts give an oscillatory factor; zero damping gives imaginary roots without decay. Axis coordinate scales are separately labelled.Damping changes the root geometry, not every motion detail-7-3.5-3013.5Im r (s⁻¹)Re r (s⁻¹)c=2 kg/sunderdampedδ=1 s⁻¹ω₀²=9 s⁻²ζ²=1/9Free state tends to zero.Turning points still matter.Positive damping gives decay here; c=0 is a separate undamped comparison.
Undamped, underdamped, critical and overdamped classify roots. They do not alone prescribe monotone displacement or a fastest settling measure.
08

An energy balance checks signs and separates loss from motion

For the mass–spring model, define E=(1/2)m(x′)²+(1/2)kx². These are kinetic and elastic potential energy, with units joules. Differentiation and the equation give E′=x′(mx″+kx)=F(t)x′−c(x′)². External force contributes instantaneous power F x′, and viscous damping removes power c(x′)² when c≥0.

For free undamped motion, F=0 and c=0, so E is constant. For free damped motion with c>0, E is nonincreasing. It can have zero derivative at isolated turning points where x′=0 even while the object remains displaced. Nonincreasing energy does not mean displacement is monotone or velocity never changes sign.

With m,k>0, positive energy controls both |x| and |x′|: |x|≤√(2E/k) and |x′|≤√(2E/m). For the constant-coefficient free damped model with c>0, the root formulas show both state components approach zero in future time. The energy identity provides a separate check on the force and damping signs, while the explicit modes establish that long-time conclusion here.

Under forcing, even a damped oscillator can gain energy during part of a cycle if F x′ exceeds the damping loss. A sustained periodic response balances input and loss on average over a period; energy can still vary within the cycle. A drawing with decreasing amplitude is not a substitute for checking this balance, particularly if a numerical method introduces artificial energy growth.

Input power and damping loss balance the energy rateThe selected instantaneous SI state has energy E=5/2 J, kinetic=1/2 J and elastic=2 J. The top stacked bar uses 15 pixels per joule. Below, three separate signed contributions use 12 pixels per watt about a common zero: input Fv=3, damping contribution −cv²=-2, and net E′=1. These are instantaneous algebraic balances, not a plotted trajectory. The original force balance independently gives the same E′.Input power and damping loss balance the energy rateEnergy (15 px/J)KineticElasticInputDampingNet0 W; 12 px/Wx=1 m, v=1 m/sE=5/2 JInput: 3 WLoss: 2 WNet E′: 1 WBalance residual: 0Instantaneous state onlyThe joule scale and watt scale are separate; arrow length is signed power.
Force times velocity is input power; damping removes cv². Energy can gain under forcing or have zero derivative at a displaced turning point without being zero.
09

A trial particular solution must account for an overlapping mode

For a constant-coefficient forced equation, undetermined coefficients uses a finite family of functions closed under differentiation, such as polynomials times an exponential, or sine and cosine factors. Substitute a trial with unknown coefficients, match the forcing and verify the result. This is a useful method for those structures, not an algorithm for every possible forcing or every variable-coefficient operator.

If a proposed trial already belongs to the homogeneous space, applying the operator gives zero and cannot produce a nonzero forcing. The trial must be modified. For y″+3y′+2y=e^(−t), the trial A e^(−t) overlaps a root. Taking y_p=A t e^(−t) instead gives L[y_p]=A e^(−t), so A=1 works.

The root multiplicity determines the needed polynomial factor for exponential forcing. To see why, write P(D)[e^(λt)u]=e^(λt)P(D+λ)u, with D denoting differentiation. This shift identity follows by differentiating the product. If λ is a root of multiplicity s, P(D+λ) has a factor D^s, explaining why the exponential trial must acquire a suitable t^s factor.

For y″+2y′+y=e^(−t), λ=−1 is a double root. Substituting y=e^(−t)u gives u″=1, so a particular solution is (t²/2)e^(−t). Add the complete homogeneous solution before fitting both initial data. The particular solution alone need not meet those data, and any homogeneous terms inadvertently included in it can be absorbed into the two homogeneous coefficients.

Account for root multiplicity before matching the forcingThe trial is t^2 exp(-1t) for P(D)=D²+2D+1. Dividing only the known nonzero exponential leaves the exact operator polynomial shown orange. Green target coefficient is one. The forcing exponent has root multiplicity 2. A=1/2 scales the operator polynomial to one. Plot samples illustrate the exact polynomial coefficient calculation.Account for root multiplicity before matching the forcing0-0.31122.3coefficient of exp(λt)t (dimensionless)λ=-1, power=2Root multiplicity: 2Required power: 2Unit trial operator outputTarget coefficient: 1A=1/2Exact coefficient match.The polynomial shift identity supplies the argument, not the finite plot.
A simple overlap needs one factor t; a double overlap needs t². A particular solution still needs its homogeneous correction when its initial position or velocity is nonzero.
10

Variation of parameters works from any known fundamental pair

For the normalized equation y″+p(t)y′+q(t)y=g(t), suppose a known homogeneous fundamental pair y₁,y₂ has W=y₁y₂′−y₁′y₂≠0 on the continuous-coefficient interval. Seek y_p=u₁y₁+u₂y₂, allowing the coefficients to vary. Impose u₁′y₁+u₂′y₂=0 so the first derivative simplifies. Substitution leaves u₁′y₁′+u₂′y₂′=g.

Solve this 2×2 system: u₁′=−y₂g/W and u₂′=y₁g/W. Definite integrals from t₀ give y_p(t)=−y₁(t)∫_(t₀)^t y₂(s)g(s)/W(s) ds+y₂(t)∫_(t₀)^t y₁(s)g(s)/W(s) ds. The resulting particular solution has y_p(t₀)=y_p′(t₀)=0. Nonzero initial data can therefore be supplied entirely by the homogeneous part.

Equivalently, the zero-state response is ∫_(t₀)^t K(t,s)g(s) ds with K(t,s)=[y₂(t)y₁(s)−y₁(t)y₂(s)]/W(s). The signs and normalization follow from the solved linear system; they should be checked rather than memorised without the Wronskian convention. If the original equation has leading coefficient a(t), its normalized forcing is g=F/a, which must be used here.

The method allows variable coefficients once a fundamental pair is known. Its integrals need not have elementary antiderivatives. For a constant undamped oscillator y″+ω₀²y=g, the kernel reduces to sin(ω₀(t−s))/ω₀ when ω₀>0. This integral response is another way to derive forced oscillation, and it retains the initial time explicitly.

Normalize the forcing before accumulating its responseFor leading coefficient a=1, frequency omega=1 and original forcing 1t, normalized forcing is 1t. At the fixed target t=1, blue is sin(omega(t−s))/omega, green the normalized forcing and orange their product. The orange shaded signed area is the zero-state response integral; the exact elementary formula is verified separately by its residual coefficients and initial state. Numerical drawing is not numerical quadrature proof.Normalize the forcing before accumulating its response000.50.57511.15normalized integrand / factorss (dimensionless)Leading a=1Normalized slope: 1Kernel, W=1Normalized forcingKernel × forcingy(1)≈0.159Both initial data are zero.The exact formula and two exact residual coefficients verify the response.
Variation of parameters uses a known fundamental pair with nonzero W and the normalized forcing F/a. The definite integral retains both zero initial-state values.
11

A damped harmonic response has an amplitude and a phase lag

For m x″+c x′+k x=F₀ cos(ωt), take m,k,c,F₀,ω>0. Seek a periodic particular solution x_p=A cos(ωt)+B sin(ωt). Put K_ω=k−mω² and C_ω=cω. Matching the cosine and sine coefficients gives K_ω A+C_ω B=F₀ and −C_ω A+K_ω B=0.

The determinant D=K_ω²+C_ω² is positive under these assumptions. Thus A=F₀K_ω/D and B=F₀C_ω/D. Write x_p=X cos(ωt−φ), with X=F₀/√D and φ=atan2(C_ω,K_ω). The two-argument angle function preserves the correct quadrant when K_ω is negative; an unqualified one-argument arctangent can lose that phase information.

The full solution is x=x_h+x_p, with x_h fixed by the initial displacement and velocity after the particular values are subtracted. Since c>0 with m,k>0, x_h decays and x_p is the long-time periodic response. The full finite-time motion is not generally identical to x_p. As c becomes small the transient may last a long time, so a short displayed window can be misleading.

X has units of length, ω has units inverse time, and φ is a dimensionless phase angle. At ω=ω₀=√(k/m), the phase lag is π/2 and X=F₀/(cω₀), finite when c>0. This forcing frequency is not generally the frequency of largest displacement amplitude; that separate question depends on the whole response curve.

Phase lag belongs to the periodic particular responseFor the positive-damping case, K=-4, C=6, D=52. Blue is normalized force F/F0=cos(theta); orange is normalized displacement x_p/X=cos(theta−phi), theta=omega t. Both are dimensionless, avoiding an overlay of newtons and metres. Their peak separation is phi=atan2(C,K) in II. Actual amplitude squared is 9/52 square metres. This periodic particular response is not a full initial-state solution until a transient is fitted.Phase lag belongs to the periodic particular response0-1.23.140.056.281.3normalized force and displacementθ=ωt (radians)ω=3 s⁻¹K=-4, C=6A=-3/13B=9/26Phase quadrant: IIφ≈2.16 radFull motion needs a transient.Normalized peaks show the lag; positive damping keeps this response finite.
atan2 preserves the quadrant above the natural frequency. The two displayed traces are normalized; actual displacement amplitude and its units remain in the exact table, with a separate transient.
12

Ideal resonance differs from two nearby finite oscillations

For an undamped oscillator m x″+k x=F₀ cos(ωt), assume m,k,F₀,ω>0 and zero initial position and velocity at 0. When ω≠ω₀=√(k/m), a solution is x(t)=F₀[cos(ωt)−cos(ω₀t)]/[m(ω₀²−ω²)]. Substitution and the initial data verify it. The denominator cannot be used at equal frequencies.

If ω is near but unequal to ω₀, the identity cos a−cos b=−2sin((a+b)/2)sin((a−b)/2) shows a fast oscillation multiplied by a slowly varying envelope. This is beating. For each fixed unequal frequency pair, the response remains bounded in the ideal model, although its bound can be large. A finite observation window with a growing beat envelope is not by itself unbounded resonance.

At exact equality ω=ω₀, use a modified trial or take the fixed-time limit of the correctly combined zero-state formula. The result is x(t)=F₀t sin(ω₀t)/(2mω₀). Differentiating gives x″+ω₀²x=(F₀/m)cos(ω₀t), and both initial data are zero. Its oscillation envelope grows linearly without bound as time increases in this ideal undamped model.

The limiting statement keeps t fixed while ω approaches ω₀. Long-time behaviour at a fixed small detuning is a different limit, so the two need not describe the same envelope over arbitrarily long times. Real systems can include damping, nonlinear response and changing parameters that invalidate the ideal large-amplitude extrapolation. The derived resonance result belongs to the stated linear undamped assumptions.

A growing beat window is different from exact resonanceThe ideal undamped oscillator has natural frequency 2 and forcing frequency 2, both positive. At equality the admissible response is (t/2)sin(2t), with envelope t/2 growing linearly. Orange is the response and green dashed curves its symmetric envelope on the finite window [0,40]. The vertical scale is stated per case. Long-time conclusions come from the exact formulas, not from this finite window.A growing beat window is different from exact resonance0-22.42004022.4x (m)t (s)ω=2 s⁻¹ω₀=2 s⁻¹Exact resonanceEnvelope: t/2Zero initial positionZero initial velocityIdeal envelope is unbounded.The finite drawing illustrates the formulas; it does not establish asymptotics.
Fixed-time frequency limits and long-time fixed-detuning limits differ. At exact resonance use the t-weighted sine formula; never evaluate the unequal-frequency formula at its zero denominator.
13

A displacement peak and a velocity peak occur at different frequencies

For the damped harmonic response, maximizing displacement amplitude X(ω)=F₀/√[(k−mω²)²+c²ω²] means minimizing its squared denominator D. Differentiating gives D′=2ω[2m²ω²+c²−2mk]. For positive forcing frequencies, an interior displacement maximum exists only if c²<2mk, equivalently ζ<1/√2.

In that case the peak frequency is ω_r=√(k/m−c²/(2m²))=√(ω₀²−2δ²), below the undamped natural frequency. If c²≥2mk, D is increasing for every ω>0 and displacement amplitude decreases from its zero-frequency limiting value F₀/k. There is then no positive-frequency displacement peak, even though some of these damping values still belong to the underdamped free-motion regime.

The velocity amplitude is ωX(ω), a different function. For c>0, its maximum occurs at ω=ω₀ and equals F₀/c. One way to check this is to write its squared reciprocal, apart from F₀², as D/ω²=k²/ω²−2km+m²ω²+c². Its derivative vanishes at ω²=k/m and changes from negative to positive there.

A measured resonance claim must identify the response being measured: displacement, velocity, power or another observable. The damped free oscillation frequency ω_d, undamped natural frequency ω₀ and displacement peak frequency ω_r are also different quantities. Their explicit formulas and assumptions prevent one symbol called frequency from hiding three different questions.

Displacement and velocity answer different peak questionsDisplacement amplitude for m=1 kg,k=4 N/m,F0=3 N,c=1 kg/s. Horizontal frequency is radians per second; the vertical units are metres. The blue response curve is drawn from the exact denominator. The orange marker is the positive-frequency peak at 1.87. The gray vertical line is natural frequency 2. The observable and vertical scale are separate from the other peak graph.Displacement and velocity answer different peak questions0020.89141.78displacement amplitude (m)ω (s⁻¹)c=1 kg/sDisplacement observableNatural ω₀=2 s⁻¹Peak ω≈1.87Peak/limit ≈1.55Free underdamped: yesUnits: mω=0 is a limiting comparison; positive-frequency peak conditions are explicit.
The displacement peak requires c²<2mk. Otherwise the curve decreases from its zero-frequency limit, even for some free underdamped parameters.
Velocity amplitude peaks at the natural frequencyVelocity amplitude for m=1 kg,k=4 N/m,F0=3 N,c=1 kg/s. Horizontal frequency is radians per second; the vertical units are metres per second. The blue response curve is drawn from the exact denominator. The orange marker is the positive-frequency peak at 2. The gray vertical line is natural frequency 2. The observable and vertical scale are separate from the other peak graph.Velocity amplitude peaks at the natural frequency0021.7243.45velocity amplitude (m/s)ω (s⁻¹)c=1 kg/sVelocity observableNatural ω₀=2 s⁻¹Peak ω≈2Peak/limit ≈3Free underdamped: yesUnits: m/sω=0 is a limiting comparison; positive-frequency peak conditions are explicit.
For positive damping, the harmonic velocity peak is at ω₀, with amplitude F₀/c. This curve has velocity units.
14

Extend the method only where its assumptions extend

For a variable-coefficient equation, the characteristic polynomial with fixed roots usually does not apply. Variation of parameters and the Wronskian framework still work on a continuous normalized interval once a fundamental pair is found. Some special variable forms admit their own substitution. For example, on t>0, an Euler equation can be tested with y=t^r rather than e^(rt).

For t²y″+2ty′−2y=0 on t>0, substitution gives r(r−1)+2r−2=(r−1)(r+2), so t and t^(−2) are solutions. Their Wronskian is −3t^(−2), never zero on that interval, proving completeness there. The singular point t=0 needs original-equation and branch analysis; the basis on t>0 is not a theorem through that point.

For a finite jump in applied force F with constant positive m and no impulse, the natural matched state keeps x and x′ continuous. Integrating the force balance over a shrinking interval around the switch gives no finite velocity jump when the forces and state remain bounded. Acceleration can have unequal one-sided limits, so the matched trajectory is C¹ and piecewise C² rather than globally C² at that switch.

An ideal impulse is a different input model and can produce a velocity jump; it requires a precisely defined impulse formulation. A real friction law may also cease to be viscous or smooth near zero velocity. The linear formulas remain exact for their mathematical assumptions, while applying them to a changed law requires a newly stated problem.

A power basis keeps its singular-coefficient intervalFor t²y″+2ty′−2y=0 on the stated domain t>0, the exact solution is (2/3)t+(1/3)t^(−2). Orange is drawn only at positive time; the gray dashed axis is the excluded zero. The required initial point is (1,1). A selected negative-time algebraic value is at most an open gray probe, not a drawn solution in the problem's domain. W=−3t^(−2) is nonzero on t>0; at zero no finite candidate or residual is assigned.A power basis keeps its singular-coefficient interval-1.2-20.9236y (dimensionless)t (dimensionless)Selected t=1y=1y′=0W=-3Stated domain: t>0Within the IVP interval.No continuation through zero.A formal negative-time residual does not make that point part of this IVP.
The t-power basis is suited to this variable-coefficient Euler equation. A constant-exponential characteristic method does not grant a theorem through the singular point.
A finite force jump preserves position and velocityIn the dimensionless normalized example x″+x=F with zero initial state, F jumps from 0 to 2 at t=1. Orange position is 0 before and 2(1−cos(t−1)) after; blue velocity is 0 before and 2sin(t−1) after. Both traces meet continuously at zero at the switch. Acceleration has left limit 0 and right limit 2, so no ordinary acceleration is assigned there. The trajectory is C1 and piecewise C2, without an impulse or a globally C2 claim.A finite force jump preserves position and velocity0-0.21.51.433x, x′ (dimensionless)t (dimensionless)Selected t=1Position xVelocity x′Both state values match.Acceleration limits: 0, 2C¹ and piecewise C²Not globally C²No acceleration or second-order residual is assigned at the switch.
A finite force jump and an ideal impulse are different inputs. With this bounded force and no impulse, position and velocity match; acceleration may jump.
15

Check the full state and the claimed response

For a candidate solution, calculate y′ and y″ and substitute into the original equation, then check both initial data. Confirm the complete fundamental pair, coefficient domain and connected interval. A correct characteristic root or one matching initial displacement is only part of that verification.

For a forcing calculation, distinguish a particular periodic solution from the transient needed to meet the initial state. At resonance, replace an invalid zero denominator with an admissible derivation. For near resonance, label beat time scales and detuning. For damped response, specify whether the plotted curve is displacement amplitude or a different observable before identifying its peak.

Use the energy equation as an independent physical check where the mass–spring assumptions apply. Free undamped motion should conserve the stated energy exactly in the mathematical solution; free positive damping should not create it. Numerical sampling or finite time stepping can violate these properties, which is an implementation or approximation issue rather than a new physical prediction.

The explorer should retain initial position and velocity, parameter units, chosen time direction and exact-versus-approximate labels. Diagrams can illustrate envelopes, state trajectories and forcing phase, but a finite drawing does not establish a long-time stability or resonance theorem. The analytic assumptions and derivations explain those conclusions; the interactive cases test their displayed implementation.

Check the full initial state and the response being measured

These eleven panels are independent fixed comparisons. Rational coefficients, initial-state fits and polynomial residuals are exact. Decimal exponentials and trigonometric plots illustrate the derived formulas; finite curves do not establish long-time behaviour.

Fit both initial data to a fundamental pair

Two independent modes fit position and velocityThe selected distinct pair has exact coefficients A=2, B=-1, initial position 1 and velocity 0. Blue and green dashed traces show the unweighted basis functions, orange their selected combination. W(0)=-1 is nonzero and Abel exponent -3 preserves its nonvanishing. Both initial mismatches and characteristic residual coefficients are exact; the plotted exponentials and trigonometric values are numerical illustrations.Two independent modes fit position and velocity0-0.2520.541.25y (dimensionless)t (dimensionless)distinct rootsA=2, B=-1y₀=1, v₀=0First basis functionSecond basis functionW(0)=-1Both initial checks pass.The displayed full solution is orange; the two basis functions are unweighted.
Repeated roots need the independent t-weighted mode. In a complex pair, the envelope contributes to initial velocity. Both initial data and the nonzero Wronskian matter.
Exact coefficient, Wronskian and initial-state checks
QuantityExact result
Equationy″+(3)y′+(2)y=0
Basise^(-1t); e^(-2t)
A / B2 / -1
Required initial (y₀,v₀)(1, 0)
Fitted initial position / velocity1 / 0
Position mismatch0
Velocity mismatch0
W(0)-1
Wronskian exponential coefficient-3
Abel exponential coefficient −p-3
Exact basis residual coefficients(0, 0)
Complete fundamental pair?Yes
Classical interval(−∞,∞)
Numerical illustrations, separate from exact residual identities
Exact ty ≈y′ ≈y″ ≈Residual ≈
010-20
10.600424-0.4650880.1944180
20.252355-0.2340390.1974081.11022e-16

The characteristic/basis residual coefficients vanish exactly. Nonzero W(0) and common continuous-equation uniqueness establish a complete pair; both initial data determine A and B. Decimal time samples illustrate exact modal formulas and are not the proof.

Preserve the phase quadrant and zero-amplitude case

Use both signs to choose the phase quadrantA=1, B=1, R²=2. Equal 70-pixel coordinate scales show the coefficient vector (A,B), not a physical phase-space trajectory. Its polar angle is atan2(B,A), defined modulo 2pi when nonzero. The orange arc measures the nonnegative representative from the positive A-axis. The full envelope exp(−t) is nonperiodic for a nonzero amplitude even though the sinusoidal factor has period pi.Use both signs to choose the phase quadrantABA=1, B=1R²=2Quadrant: Iatan2 phase≈0.785Basis factor period: πFull envelope is not periodic.The same tangent ratio can occur in opposite quadrants; atan2 retains signs.
The coefficient plane explains A=R cosφ and B=R sinφ. It is different from a position-velocity phase portrait, and zero amplitude has no unique phase.
A coefficient polar angle is not a state-space phase portrait
QuantityResult
A / B1 / 1
R²2
Exact R expressionsqrt(2)
Phase quadrantI
atan2 phase ≈0.785398 rad
Phase modulo 2π ≈0.785398 rad
Initial position / velocity1 / 1
Sinusoidal factor period1π
Full nonzero motion periodic?No

atan2(B,A) retains the phase quadrant, modulo 2pi. The sinusoidal factor has period 2pi/beta; a nonzero alpha makes the full nonzero enveloped function nonperiodic.

Compare damping root regimes

Damping changes the root geometry, not every motion detailFor m=1 kg and k=9 N/m, c=2 kg/s gives delta=1 per second and root discriminant delta²−omega0²=-8 per second squared. Orange dots locate the two characteristic roots in the complex rate plane. A repeated root uses concentric markers at one point. Nonzero imaginary parts give an oscillatory factor; zero damping gives imaginary roots without decay. Axis coordinate scales are separately labelled.Damping changes the root geometry, not every motion detail-7-3.5-3013.5Im r (s⁻¹)Re r (s⁻¹)c=2 kg/sunderdampedδ=1 s⁻¹ω₀²=9 s⁻²ζ²=1/9Free state tends to zero.Turning points still matter.Positive damping gives decay here; c=0 is a separate undamped comparison.
Undamped, underdamped, critical and overdamped classify roots. They do not alone prescribe monotone displacement or a fastest settling measure.
The zero-damping case is separate from positive-damping decay
QuantityExact result
m / k1 kg / 9 N/m
c2 kg/s
δ1 s⁻¹
ω₀²9 s⁻²
ζ²1/9
δ²−ω₀²-8 s⁻²
ω_d² if oscillatory8
Regimeunderdamped
Free energy nonincreasing?Yes
Free state tends to zero?Yes

Positive m and k and nonnegative c are retained. c=0 gives persistent free periodic motion; positive damping gives state decay by the modal formulas. Neither this root classification nor energy loss alone implies monotone displacement or an unspecified fastest settling metric.

Check instantaneous mechanical energy and power

Input power and damping loss balance the energy rateThe selected instantaneous SI state has energy E=18 J, kinetic=0 J and elastic=18 J. The top stacked bar uses 15 pixels per joule. Below, three separate signed contributions use 12 pixels per watt about a common zero: input Fv=0, damping contribution −cv²=0, and net E′=0. These are instantaneous algebraic balances, not a plotted trajectory. The original force balance independently gives the same E′.Input power and damping loss balance the energy rateEnergy (15 px/J)KineticElasticInputDampingNet0 W; 12 px/Wx=3 m, v=0 m/sE=18 JInput: 0 WLoss: 0 WNet E′: 0 WBalance residual: 0Instantaneous state onlyThe joule scale and watt scale are separate; arrow length is signed power.
Force times velocity is input power; damping removes cv². Energy can gain under forcing or have zero derivative at a displaced turning point without being zero.
Energy and power have different units
QuantityExact result with units
Position / velocity3 m / 0 m/s
Force0 N
Acceleration from original balance-12 m/s²
Kinetic energy0 J
Elastic energy18 J
Total E18 J
Input power Fv0 W
Damping loss cv²0 W
E′ from power balance0 W
E′ from direct differentiation0 W
Balance residual0 W
Squared displacement bound9 m²
Squared velocity bound36 m²/s²

These are instantaneous force-balance states in consistent SI units, not whole trajectory initial-value solutions. E′=Fv−cv² is checked directly. E′=0 at a turning point need not mean E=0; a positive input power can overcome damping.

Match exponential forcing with the correct multiplicity

Account for root multiplicity before matching the forcingThe trial is t^1 exp(-1t) for P(D)=D²+3D+2. Dividing only the known nonzero exponential leaves the exact operator polynomial shown orange. Green target coefficient is one. The forcing exponent has root multiplicity 1. A=1 scales the operator polynomial to one. Plot samples illustrate the exact polynomial coefficient calculation.Account for root multiplicity before matching the forcing0-0.310.42521.15coefficient of exp(λt)t (dimensionless)λ=-1, power=1Root multiplicity: 1Required power: 1Unit trial operator outputTarget coefficient: 1A=1Exact coefficient match.The polynomial shift identity supplies the argument, not the finite plot.
A simple overlap needs one factor t; a double overlap needs t². A particular solution still needs its homogeneous correction when its initial position or velocity is nonzero.
Polynomial coefficients are in ascending powers after removing exp(λt)
QuantityExact result
p / q3 / 2
λ / proposed power-1 / 1
P(λ)0
P′(λ)1
Root multiplicity1
Unit-trial operator polynomial(1, 0)
Can produce the forcing?Yes
Required A1
Matched forcing polynomial(1, 0)
Particular initial position / velocity0 / 1
Homogeneous paire^(-1t); e^(-2t)
Modal coefficients for zero-state homogeneous correction(-1, 1)

P(D)[t^s e^(lambda t)] equals the displayed polynomial times e^(lambda t). A trial in the homogeneous space cannot produce nonzero forcing. Exact coefficient matching fixes A; homogeneous corrections are then needed to fit both zero-state data where the particular values are nonzero.

Normalize forcing in a response kernel

Normalize the forcing before accumulating its responseFor leading coefficient a=1, frequency omega=1 and original forcing 1t, normalized forcing is 1t. At the fixed target t=1, blue is sin(omega(t−s))/omega, green the normalized forcing and orange their product. The orange shaded signed area is the zero-state response integral; the exact elementary formula is verified separately by its residual coefficients and initial state. Numerical drawing is not numerical quadrature proof.Normalize the forcing before accumulating its response000.50.57511.15normalized integrand / factorss (dimensionless)Leading a=1Normalized slope: 1Kernel, W=1Normalized forcingKernel × forcingy(1)≈0.159Both initial data are zero.The exact formula and two exact residual coefficients verify the response.
Variation of parameters uses a known fundamental pair with nonzero W and the normalized forcing F/a. The definite integral retains both zero initial-state values.
The evaluated zero-state formula keeps its exact normalization
QuantityExact expression or illustration
Leading coefficient a1
ω / W1 / 1
Original forcing slope1
Normalized forcing slope1
Kernelsin(omega(t−s))/omega
Coefficient of t1
Coefficient of sin(ωt)-1
Initial position / velocity0 / 0
Time-forcing residual coefficient0
Sine residual coefficient0
y(1) numerical illustration0.158529
y′(1) numerical illustration0.459698

The original forcing must be divided by its nonzero leading coefficient. The fundamental sine/cosine pair gives a kernel with W=omega; the evaluated response is (gSlope/omega²)t−(gSlope/omega³)sin(omega t), with both zero-state data. Exact residual coefficients justify the identity, not the decimal sample.

Distinguish a periodic particular response from the full motion

Phase lag belongs to the periodic particular responseFor the positive-damping case, K=1, C=4, D=17. Blue is normalized force F/F0=cos(theta); orange is normalized displacement x_p/X=cos(theta−phi), theta=omega t. Both are dimensionless, avoiding an overlay of newtons and metres. Their peak separation is phi=atan2(C,K) in I. Actual amplitude squared is 9/17 square metres. This periodic particular response is not a full initial-state solution until a transient is fitted.Phase lag belongs to the periodic particular response0-1.23.140.056.281.3normalized force and displacementθ=ωt (radians)ω=2 s⁻¹K=1, C=4A=3/17B=12/17Phase quadrant: Iφ≈1.33 radFull motion needs a transient.Normalized peaks show the lag; positive damping keeps this response finite.
atan2 preserves the quadrant above the natural frequency. The two displayed traces are normalized; actual displacement amplitude and its units remain in the exact table, with a separate transient.
x_p=A cos(ωt)+B sin(ωt); a separate transient fits an initial state
QuantityExact result or labelled approximation
m,c,k,F₀(1, 2, 5, 3) in SI units
ω2 s⁻¹
K=k−mω²1
C=cω4
D=K²+C²17
A / B3/17 / 12/17
Amplitude X3/sqrt(17) m
Amplitude squared9/17 m²
Phase quadrantI
Phase atan2(C,K) ≈1.32582 rad
Cosine / sine residual coefficients0 / 0
Particular initial position / velocity3/17 m / 24/17 m/s
Homogeneous correction target initial position / velocity for zero-state motion(-3/17, -24/17)
Positive-damping long-time periodic response?Yes

All m,c,k,F0,omega are positive. The periodic particular solution is not generally the full initial-value solution. Its homogeneous correction decays because damping is positive; atan2(C,K) retains the correct quadrant. The natural-frequency phase pi/2 is not automatically the displacement-amplitude peak.

Separate bounded beats from exact undamped resonance

A growing beat window is different from exact resonanceThe ideal undamped oscillator has natural frequency 2 and forcing frequency 2, both positive. At equality the admissible response is (t/2)sin(2t), with envelope t/2 growing linearly. Orange is the response and green dashed curves its symmetric envelope on the finite window [0,40]. The vertical scale is stated per case. Long-time conclusions come from the exact formulas, not from this finite window.A growing beat window is different from exact resonance0-22.42004022.4x (m)t (s)ω=2 s⁻¹ω₀=2 s⁻¹Exact resonanceEnvelope: t/2Zero initial positionZero initial velocityIdeal envelope is unbounded.The finite drawing illustrates the formulas; it does not establish asymptotics.
Fixed-time frequency limits and long-time fixed-detuning limits differ. At exact resonance use the t-weighted sine formula; never evaluate the unequal-frequency formula at its zero denominator.
Both zero-state data are retained; the resonant formula has a different valid denominator
QuantityExact result
ω₀ / ω2 / 2 s⁻¹
Detuning ω−ω₀0 s⁻¹
Unequal-frequency denominator0
Exact resonance?Yes
Cosine-difference coefficientNot assigned
Uniform bound for fixed unequal frequencyNo finite time-uniform resonant bound
Resonant envelope coefficient1/2 m/s (used only at resonance)
Mean oscillation frequency2 s⁻¹
Envelope-factor frequency for unequal pairNot assigned
Absolute-envelope periodLinear resonant envelope, not a beat period
x(π/4), exact at resonance1/8π m
x(π/4), numerical illustration0.392699 m
Initial position / velocity0 / 0
Fixed-detuning bounded response?No

All forcing and natural frequencies are positive. The unequal-frequency response is bounded for each fixed nonzero detuning; exact resonance uses a different t-weighted sine formula rather than a zero denominator. The fixed-time frequency limit and long-time fixed-detuning limit are different. This is the ideal linear undamped model.

Compare displacement and velocity peak questions

Displacement and velocity answer different peak questionsDisplacement amplitude for m=1 kg,k=4 N/m,F0=3 N,c=1 kg/s. Horizontal frequency is radians per second; the vertical units are metres. The blue response curve is drawn from the exact denominator. The orange marker is the positive-frequency peak at 1.87. The gray vertical line is natural frequency 2. The observable and vertical scale are separate from the other peak graph.Displacement and velocity answer different peak questions0020.89141.78displacement amplitude (m)ω (s⁻¹)c=1 kg/sDisplacement observableNatural ω₀=2 s⁻¹Peak ω≈1.87Peak/limit ≈1.55Free underdamped: yesUnits: mω=0 is a limiting comparison; positive-frequency peak conditions are explicit.
The displacement peak requires c²<2mk. Otherwise the curve decreases from its zero-frequency limit, even for some free underdamped parameters.
Velocity amplitude peaks at the natural frequencyVelocity amplitude for m=1 kg,k=4 N/m,F0=3 N,c=1 kg/s. Horizontal frequency is radians per second; the vertical units are metres per second. The blue response curve is drawn from the exact denominator. The orange marker is the positive-frequency peak at 2. The gray vertical line is natural frequency 2. The observable and vertical scale are separate from the other peak graph.Velocity amplitude peaks at the natural frequency0021.7243.45velocity amplitude (m/s)ω (s⁻¹)c=1 kg/sVelocity observableNatural ω₀=2 s⁻¹Peak ω≈2Peak/limit ≈3Free underdamped: yesUnits: m/sω=0 is a limiting comparison; positive-frequency peak conditions are explicit.
For positive damping, the harmonic velocity peak is at ω₀, with amplitude F₀/c. This curve has velocity units.
A free underdamped state need not imply an interior displacement-amplitude peak
QuantityExact result
c1 kg/s
Free underdamped?Yes
Natural frequency squared4 s⁻²
Positive-frequency displacement peak exists?Yes
Displacement peak frequency squared7/2
Displacement peak amplitude squared12/5
Zero-frequency displacement limit3/4 m
Displacement amplitude at natural frequency3/2 m
Velocity peak frequency squared4 s⁻²
Velocity peak amplitude3 m/s
Exact squared amplitude samples; ω=0 is a limiting comparison
Exact ω (s⁻¹)Positive frequency?DDisplacement amplitude² (m²)Velocity amplitude² (m²/s²)
0No169/160
1/2Yes229/16144/22936/229
1Yes109/109/10
3/2Yes85/16144/85324/85
2Yes49/49
5/2Yes181/16144/181900/181
3Yes349/3481/34
7/2Yes1285/16144/12851764/1285
4Yes1609/1609/10

Positive damping is retained. Displacement has an interior positive-frequency peak only when c²<2mk, a stronger condition than free underdamping c²<4mk. Otherwise its supremum is the zero-frequency limit. Velocity amplitude peaks at the natural frequency with F0/c; its units and curve differ from displacement.

Retain the singular interval of a variable-coefficient equation

A power basis keeps its singular-coefficient intervalFor t²y″+2ty′−2y=0 on the stated domain t>0, the exact solution is (2/3)t+(1/3)t^(−2). Orange is drawn only at positive time; the gray dashed axis is the excluded zero. The required initial point is (1,1). A selected negative-time algebraic value is at most an open gray probe, not a drawn solution in the problem's domain. W=−3t^(−2) is nonzero on t>0; at zero no finite candidate or residual is assigned.A power basis keeps its singular-coefficient interval-1.2-20.9236y (dimensionless)t (dimensionless)Selected t=1y=1y′=0W=-3Stated domain: t>0Within the IVP interval.No continuation through zero.A formal negative-time residual does not make that point part of this IVP.
The t-power basis is suited to this variable-coefficient Euler equation. A constant-exponential characteristic method does not grant a theorem through the singular point.
Formal algebra on another time interval does not extend this positive-time IVP
QuantityExact result
Selected time1
Power basist; t^(−2)
Basis coefficients(2/3, 1/3)
Candidate y / y′ / y″1 / 0 / 2
W-3
Formal original residual0
Within stated t>0 domain?Yes
IVP value at selected time1
Normalized p / q2 / -2
Required initial position / velocity1 / 0
Connected initial interval(0,∞)

The original problem explicitly uses t>0. A negative-time algebraic branch can satisfy the formal relation but is outside that stated domain. At zero the requested solution has a genuine pole and the normalized coefficients are undefined; no Wronskian, residual or finite IVP value is assigned there.

Match position and velocity at a finite force jump

A finite force jump preserves position and velocityIn the dimensionless normalized example x″+x=F with zero initial state, F jumps from 0 to 2 at t=1. Orange position is 0 before and 2(1−cos(t−1)) after; blue velocity is 0 before and 2sin(t−1) after. Both traces meet continuously at zero at the switch. Acceleration has left limit 0 and right limit 2, so no ordinary acceleration is assigned there. The trajectory is C1 and piecewise C2, without an impulse or a globally C2 claim.A finite force jump preserves position and velocity0-0.21.51.433x, x′ (dimensionless)t (dimensionless)Selected t=1Position xVelocity x′Both state values match.Acceleration limits: 0, 2C¹ and piecewise C²Not globally C²No acceleration or second-order residual is assigned at the switch.
A finite force jump and an ideal impulse are different inputs. With this bounded force and no impulse, position and velocity match; acceleration may jump.
C¹ and piecewise C², with no impulse and no acceleration assigned at the kink
QuantityResult
Selected time1
Position ≈0
Velocity ≈0
Acceleration ≈Does not exist at switch
Left / right position0 / 0
Left / right velocity0 / 0
Left / right acceleration0 / 2
C¹ across switch?Yes
Globally C²?No
Piecewise C²?Yes
Pointwise second-order residualNot assigned

For x″+x=F with zero initial state, F jumps from 0 to 2 at t=1. The response is 0 before and 2(1−cos(t−1)) after. Position and velocity match continuously; acceleration has unequal one-sided limits. This is C1 and piecewise C2, not globally C2. The pointwise second-order residual is not assigned at the switch.

What these finite comparisons establish

The 45 states test the retained examples, exact modal fits, force balances and response formulas. Nonzero Wronskians, multiplicity arguments, coefficient assumptions and analytical bounds support the corresponding conclusions. A finite drawing does not prove arbitrary long-time stability, an unbounded response or the best response frequency.

Units, exact formulas and plotted approximations

Mode and phase examples are dimensionless mathematical equations. Mechanical energy and harmonic-response examples retain SI units. Harmonic force and displacement traces are normalized before overlay; displacement and velocity amplitudes have separate graphs and units. Exact rational and symbolic formulas remain in tables; numerical exponentials/trigonometric values only locate illustrated curves and markers.

Worked examples

Fit two initial data to two real modes

Solve y″+3y′+2y=0, y(0)=1, y′(0)=0.

  1. The characteristic polynomial is (r+1)(r+2), giving roots −1 and −2 and independent modes e^(−t),e^(−2t).
  2. Write y=C₁e^(−t)+C₂e^(−2t). The data give C₁+C₂=1 and −C₁−2C₂=0.
  3. Solving yields C₁=2 and C₂=−1. Therefore y=2e^(−t)−e^(−2t).
  4. Its derivatives make y″+3y′+2y zero identically, and the two initial values are 1 and 0. Continuous constant coefficients support the solution on ℝ.

y(t)=2e^(−t)−e^(−2t), t∈ℝ.

A polynomial factor supplies the missing mode

Solve y″+4y′+4y=0, y(0)=1, y′(0)=0.

  1. The characteristic polynomial is (r+2)², so y=(A+Bt)e^(−2t).
  2. The initial position gives A=1. Differentiating gives y′=[B−2A−2Bt]e^(−2t), so the initial velocity requires B=2.
  3. Thus y=(1+2t)e^(−2t). Its derivative is −4t e^(−2t), which vanishes initially.
  4. With y″=(−4+8t)e^(−2t), substitution into the equation gives zero. The factor t does not defeat exponential decay in future time.

y(t)=(1+2t)e^(−2t), t∈ℝ.

The envelope contributes to the initial derivative

Solve y″+2y′+5y=0, y(0)=1, y′(0)=0.

  1. The roots are −1±2i, so y=e^(−t)(A cos 2t+B sin 2t).
  2. At zero A=1. The initial derivative is −A+2B, so B=1/2.
  3. Hence y=e^(−t)(cos 2t+(1/2)sin 2t). Its sinusoidal amplitude is √5/2, while its envelope decays as e^(−t).
  4. The full function is not periodic even though its sinusoidal factor has period π. Substitution or the root construction verifies the equation, and the data have both been fitted.

y(t)=e^(−t)(cos 2t+(1/2)sin 2t), t∈ℝ.

Independence and energy give separate exact checks

For the free oscillator x″+4x=0, x(0)=3, x′(0)=0, use m=1 and k=4 in consistent mechanical units. Find a fundamental pair, its Wronskian and the energy.

  1. The pair y₁=cos 2t, y₂=sin 2t solves the homogeneous equation. Its Wronskian is 2cos²(2t)+2sin²(2t)=2, so it is fundamental.
  2. The initial data give x=3cos 2t and x′=−6sin 2t.
  3. The energy is (1/2)(x′)²+2x²=18sin²(2t)+18cos²(2t)=18 in the corresponding energy units.
  4. Its constancy agrees with E′=0 for F=c=0. Independence of the basis and conservation of this energy are distinct checks of the solution.

A fundamental pair is cos 2t, sin 2t with W=2. The solution has constant energy 18.

Modify a trial that overlaps the homogeneous space

Find the zero-initial-state solution of y″+3y′+2y=e^(−t).

  1. The homogeneous modes are e^(−t) and e^(−2t). A trial A e^(−t) gives zero forcing, so use y_p=A t e^(−t).
  2. Substitution gives L[y_p]=A e^(−t), hence A=1. Write y=C₁e^(−t)+C₂e^(−2t)+t e^(−t).
  3. Zero initial position gives C₁+C₂=0. Zero initial derivative gives −C₁−2C₂+1=0. Thus C₁=−1 and C₂=1.
  4. The full solution is (t−1)e^(−t)+e^(−2t). Both data are zero, although the particular part alone has initial derivative 1.

y(t)=(t−1)e^(−t)+e^(−2t), t∈ℝ.

A double overlap needs a quadratic factor

Solve y″+2y′+y=e^(−t) with y(0)=y′(0)=0.

  1. The homogeneous characteristic root −1 has multiplicity 2. Put y=e^(−t)u; direct substitution reduces the equation to u″=1.
  2. The initial conditions give u(0)=0 and u′(0)−u(0)=0, hence u′(0)=0.
  3. Integrating twice gives u=t²/2 and y=(t²/2)e^(−t). A single factor t would still overlap the homogeneous basis.
  4. Differentiation gives y′=(t−t²/2)e^(−t) and y″=(1−2t+t²/2)e^(−t), whose weighted sum is exactly e^(−t).

y(t)=(t²/2)e^(−t), t∈ℝ.

Evaluate a response kernel and verify its initial state

Use variation of parameters to solve y″+y=t with zero initial position and velocity at 0.

  1. Use y₁=cos t, y₂=sin t and W=1. The zero-state response is ∫_0^t sin(t−s)s ds.
  2. With u=t−s, this is ∫_0^t sin u(t−u) du. Integration by parts gives t−sin t.
  3. Then y′=1−cos t and y″=sin t, so y″+y=t. Both initial values are zero.
  4. The forcing and coefficients are continuous on ℝ, so the formula supplies the unique global-in-time mathematical solution. The integral expression and elementary expression describe the same function.

y(t)=t−sin t, t∈ℝ.

Compute the damped periodic amplitude in the correct quadrant

Find the periodic particular response of x″+2x′+5x=3cos(2t). State its amplitude and phase lag, without assuming any initial state.

  1. Here m=1,c=2,k=5,F₀=3 and ω=2. Thus K_ω=5−4=1, C_ω=4 and D=1²+4²=17.
  2. The coefficients are A=3/17 and B=12/17, so x_p=(3cos(2t)+12sin(2t))/17.
  3. Its amplitude is 3/√17 and its phase lag is atan2(4,1), giving x_p=(3/√17)cos(2t−φ).
  4. Since x_p″=−4x_p, substitution gives x_p″+2x_p′+5x_p=3cos(2t). A specified initial state generally requires adding a homogeneous transient; this particular response alone does not choose it.

x_p=(3cos(2t)+12sin(2t))/17, amplitude 3/√17 and phase lag atan2(4,1).

An exact resonant solution grows in its envelope

For 2x″+8x=4cos(2t) with zero initial position and velocity at 0, find the ideal resonant response and x(π/4).

  1. The natural angular frequency is √(8/2)=2, equal to the forcing frequency. The unequal-frequency denominator formula is unavailable.
  2. The resonant zero-state formula gives x=F₀t sin(ω₀t)/(2mω₀)=(t/2)sin(2t).
  3. Differentiate: x′=(1/2)sin(2t)+t cos(2t) and x″=2cos(2t)−2t sin(2t). Then 2x″+8x=4cos(2t), and both initial values are zero.
  4. At t=π/4, sin(2t)=1, so x=π/8. The envelope t/2 grows without bound in forward time under the ideal undamped linear assumptions.

x(t)=(t/2)sin(2t) and x(π/4)=π/8.

Find displacement and velocity peaks separately

For m=1,c=1,k=4,F₀=3 with harmonic forcing, find the positive-frequency displacement-amplitude peak and the velocity-amplitude peak.

  1. The natural frequency is ω₀=2 and δ=1/2. Since c²=1<2mk=8, an interior displacement maximum exists.
  2. Its frequency is ω_r=√(4−1/2)=√(7/2). At that value K_ω=1/2 and D=1/4+7/2=15/4.
  3. The maximum displacement amplitude is 3/√(15/4)=6/√15. At ω₀=2 the displacement amplitude is 3/2, slightly smaller.
  4. The velocity amplitude instead peaks at ω₀=2, with value F₀/c=3. The two observables have different response curves and units.

Displacement peaks at ω=√(7/2), with amplitude 6/√15; velocity peaks at ω=2, with amplitude 3.

Use a power basis on a singular-coefficient interval

Solve t²y″+2ty′−2y=0 for t>0 with y(1)=1 and y′(1)=0.

  1. Trying y=t^r gives (r−1)(r+2)=0. Thus y₁=t and y₂=t^(−2), with W=−3t^(−2)≠0 on t>0.
  2. Write y=A t+B t^(−2). The data give A+B=1 and A−2B=0.
  3. Hence A=2/3,B=1/3, giving y=(2/3)t+(1/3)t^(−2). Differentiating gives y′=2/3−(2/3)t^(−3) and y″=2t^(−4).
  4. Substitution into the original equation gives zero. The interval containing 1 is (0,∞); the requested solution has a pole at zero, where the normalized coefficient assumptions also fail.

y(t)=(2/3)t+(1/3)t^(−2), t∈(0,∞).

Try it yourself

  1. Why does initial displacement alone not normally select a unique solution of a regular second-order linear oscillator?

    Show the answer and reasoning

    Initial velocity is another independent state component.

    A fundamental homogeneous pair has two constants. Position and velocity at the same time fix them under the continuous-coefficient uniqueness assumptions.

  2. If L[y_p]=g and L[y_h]=0, what is L[y_p+y_h]? What if two solutions with forcing g are added?

    Show the answer and reasoning

    The first gives g; adding two forced solutions gives 2g.

    Linearity applies to the operator and right sides together. A homogeneous correction preserves the given forcing.

  3. Compute the Wronskian of e^(−t) and e^(−3t).

    Show the answer and reasoning

    W=−2e^(−4t), nonzero for all real t.

    Use y₁y₂′−y₁′y₂. Its nonzero value shows independent initial states; both functions can form a fundamental pair for the corresponding constant-coefficient equation.

  4. For y″+p(t)y′+q(t)y=0, what first-order equation does the Wronskian of two solutions satisfy?

    Show the answer and reasoning

    W′=−pW.

    Differentiate W and substitute the equation for each second derivative. The q terms cancel, giving the integrating-factor identity.

  5. Give a homogeneous basis for y″+5y′+6y=0.

    Show the answer and reasoning

    e^(−2t) and e^(−3t).

    The polynomial (r+2)(r+3) has two distinct real roots. Their Wronskian is nonzero, so the two modes span the solution space.

  6. Why are e^(−2t) and another copy of e^(−2t) insufficient for a double root −2? Give the missing basis member.

    Show the answer and reasoning

    They are dependent; the second independent member is t e^(−2t).

    Two copies combine into one coefficient. Substitution y=e^(−2t)u reduces the double-root equation to u″=0.

  7. For roots −2±3i, state the real homogeneous form and the period of its sinusoidal factor.

    Show the answer and reasoning

    y=e^(−2t)(A cos(3t)+B sin(3t)); sinusoidal period 2π/3.

    The real part controls the envelope and the imaginary part the angular frequency. The full decaying function is not periodic.

  8. For m=1,k=9, classify c=2,c=6,c=8.

    Show the answer and reasoning

    Underdamped, critically damped and overdamped, respectively.

    The critical value is 2√(mk)=6. Compare c with that value, keeping m,k positive.

  9. What is E′ for a free viscously damped mass–spring oscillator with c>0?

    Show the answer and reasoning

    E′=−c(x′)²≤0.

    There is no forcing power. Energy can have zero derivative at a turning point without implying zero displacement or zero energy.

  10. What quantity gives instantaneous input power from a force F(t) acting along displacement x?

    Show the answer and reasoning

    F(t)x′(t).

    Force times velocity has units of energy per time. The sign determines whether the force supplies or extracts mechanical energy at that instant.

  11. For y″+3y′+2y=e^(−t), why does a trial A e^(−t) fail, and what trial works?

    Show the answer and reasoning

    It is homogeneous and gives zero forcing; use A t e^(−t), with A=1.

    The forcing exponent equals a simple characteristic root, so one factor t removes the overlap.

  12. For y″+2y′+y=e^(−t), what simple particular solution handles the double overlap?

    Show the answer and reasoning

    y_p=(t²/2)e^(−t).

    Substitution y=e^(−t)u leaves u″=1. A single t factor would still be homogeneous.

  13. In a(t)y″+b(t)y′+d(t)y=F(t), what forcing enters the normalized variation-of-parameters formulas where a≠0?

    Show the answer and reasoning

    g=F/a.

    The formulas are for y″+py′+qy=g. Omitting the leading-coefficient division gives the wrong particular response.

  14. For positive damping and harmonic forcing, what is the displacement phase lag at ω=√(k/m)?

    Show the answer and reasoning

    π/2.

    The in-phase stiffness-minus-inertia term is zero, while cω is positive. atan2(cω,0) is π/2, and the amplitude remains finite.

  15. State the zero-state solution at exact resonance for m x″+k x=F₀ cos(ω₀t), with ω₀=√(k/m)>0.

    Show the answer and reasoning

    x=F₀t sin(ω₀t)/(2mω₀).

    The usual nonresonant denominator vanishes. A resonant trial or a fixed-time limit gives the t-weighted sine response.

  16. Does every underdamped free oscillator have a positive-frequency displacement-amplitude maximum under harmonic forcing?

    Show the answer and reasoning

    No; the displacement peak requires ζ<1/√2, stronger than ζ<1.

    The peak condition is c²<2mk. Otherwise the displacement amplitude decreases from its zero-frequency limit, even for some free underdamped parameters.

  17. For c>0,m>0,k>0, where does the harmonic velocity amplitude peak?

    Show the answer and reasoning

    At ω=√(k/m), with amplitude F₀/c for F₀>0.

    Minimize D/ω²=k²/ω²−2km+m²ω²+c². Its minimum occurs at ω²=k/m, which need not equal the displacement peak frequency.

  18. With a finite force jump and no impulse, which oscillator state quantities are matched continuously? Can acceleration jump?

    Show the answer and reasoning

    Position and velocity are continuous; acceleration can jump.

    A bounded force acting across a shrinking time interval gives no finite velocity impulse. The matched trajectory is C¹ and piecewise C², with the equation checked on the smooth pieces and in its integrated balance.

What to carry forward

  • A regular second-order initial-value problem needs both position-like and velocity-like data.
  • A fundamental pair is justified by independent initial states and uniqueness, not only by guessing two formulas.
  • The Wronskian obeys W′=−pW for solutions of the same continuous normalized homogeneous equation.
  • Distinct, repeated and complex characteristic roots require different independent solution bases.
  • A decaying exponential envelope differs from a periodic function, and modal coefficients determine the actual initial motion.
  • The damping ratio separates underdamped, critical and overdamped root regimes under positive mass and stiffness.
  • The energy identity E′=F x′−c(x′)² independently checks force and damping signs.
  • Decreasing energy does not imply monotone displacement.
  • A particular solution supplies forcing; the homogeneous correction supplies the remaining initial state.
  • Overlapping forcing modes require the appropriate polynomial factor, with multiplicity retained.
  • Variation of parameters uses a known fundamental pair and normalized forcing on a valid coefficient interval.
  • A damped harmonic particular solution has amplitude and quadrant-sensitive phase, with a separate transient.
  • Beats at fixed detuning are bounded in the ideal undamped model; exact resonance has a linearly growing envelope.
  • Natural frequency, damped free frequency and displacement peak frequency are distinct quantities.
  • Velocity and displacement peaks answer different response questions.
  • Variable coefficients, singular points and forcing switches need their own interval and solution-regularity checks.

References

Sources for the concepts and teaching approaches in this article.

  1. Ordinary Differential Equations · Wronskian and Abel’s formulaWilliam M. FeldmanUniversity lecture slides · MATH 6410, Fall 2024, slides 60–61 · PDFmath.utah.eduRead source
  2. Oscillations and Waves · Damping and mechanical energyRichard FitzpatrickAuthor’s university notes · Equations 2.19–2.22farside.ph.utexas.eduRead source