Solving forced linear ODEs and state systems via superposition of particular solutions, resonance scaling at repeated characteristic roots, reduction of order, and initial condition enforcement on the complete response.
Standard inverse-operator rules for polynomials, exponentials, and sinusoids serve as the building blocks before handling sums, resonance, and variable coefficients.
1. Linearity, Structure, and Superposition of Forcing Terms
A general -th order linear nonhomogeneous ODE on an interval has the form
Because is a linear operator, two foundational properties govern all solutions:
Difference property: if and both satisfy , then satisfies . Therefore every solution can be written uniquely as , where spans the homogeneous nullspace and is any particular integral.
Superposition of RHS: if and , then solves . This splits mixed forcing terms (e.g., step + sinusoid) into simple, decoupled subproblems.
Crucial IVP rule: Arbitrary constants enter through , so initial/boundary conditions MUST be enforced on together, never on first! Solving and then adding violates the initial condition whenever .
2. Undetermined Coefficients, Annihilators, and Resonance
When has constant coefficients and is a finite sum of products of polynomials, exponentials , and (i.e., itself solves a constant-coefficient homogeneous ODE ), the annihilator method guarantees .
Forcing term
Minimal annihilator
Standard trial (no root overlap)
Multiplicity- resonance factor
(degree )
Multiply by if
Multiply by if
Multiply by if has mult.
In undamped resonance (), characteristic roots are (), forcing . Physically, energy pumps into the oscillator every cycle, creating linearly growing amplitude bounded by .
When driving frequency matches natural frequency ω₀ = 2, the trial gains a factor of t, producing linearly growing amplitude ±t/4.
3. Reduction of Order for Variable-Coefficient Nonhomogeneous ODEs
Undetermined coefficients fails when coefficients vary with . If one nontrivial homogeneous solution of is known (often spotted by inspection, e.g., or ), substitute :
Since , the term vanishes identically! Defining collapses the second-order ODE into a first-order linear ODE for :
Solving this via an integrating factor yields both the second homogeneous basis (from ) and the particular integral in one stroke.
4. Forced First-Order Linear Systems (Zero-Input + Zero-State)
In EC circuits and control state-space models, an -th order forced ODE is equivalently written as a coupled -dimensional system . Using the matrix integrating factor :
dtd(e−Atx(t))=e−Atu(t)⟹x(t)=zero-input (xh)eAtx(0)+zero-state (xp)∫0teA(t−τ)u(τ)dτ.
Note an important distinction: is the particular solution matching zero initial state , whereas algebraic trial-based (e.g., phasor steady state when ) may have , shifting the constants in so their sum satisfies .
Decomposing total state response x(t) into Zero-Input Response (from initial energy) plus Zero-State Response (from input u).
Formulas to remember
General solution structureInitial conditions determine only after adding .
Non-resonant exponential inverse-D rule
Resonant root multiplicity-m rule
Exponential shift theorem
Undamped sinusoidal resonance
Reduction of order first-order reduction
Vector variation of constants
Common mistakes
Applying initial conditions to before adding : Finding from ignores and and produces the wrong transient.
Stopping at on repeated resonance: When and the forcing is , both and are homogeneous modes, so must start at .
Applying to a polynomial without retaining enough terms: Truncating the binomial series of prematurely misses lower-degree terms in .
Assuming nonhomogeneous solutions form a vector space: Two solutions of do not add to solve ; their sum solves .
Forgetting to check complex resonance : Forcing on hits roots directly, even though alone is not a root.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Superposition of Polynomial and Resonant Sinusoid
numerical
Find the particular integral of .
Step 1: Split RHS into polynomial and resonant sinusoidal subproblems
Try it on paper first.
Example 2: Enforcing Initial Conditions After Finding y_p
numerical
Solve with , , and compute .
Step 1: Find y_h and particular integral y_p
Try it on paper first.
Example 3: Repeated Exponential Resonance (Double Root)
numerical
Find for .
Step 1: Identify multiplicity of alpha = 2 in characteristic polynomial
Try it on paper first.
Example 4: Nonhomogeneous Variable-Coefficient ODE by Reduction of Order
conceptual
Given that solves , reduce () to a first-order equation and find .
Step 1: Normalize and substitute y = v(x) x
Try it on paper first.
Previous year questions
No official GATE EC question is tagged with this topic yet. The topic test below uses practice questions.
Topic test
8 questions: original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-29. Spotted a mistake? Use Report an issue on any question, or contact us.