Definition and Basic Concepts
Non Homogeneous Differential Equations
Definition: Linear differential equations with non-zero forcing (source) term. Contrast: homogeneous equations have zero right-hand side. Importance: models external inputs, forcing, or sources in physical systems.
Order and Linearity
Focus: second order linear ODEs. Form: a(x)y'' + b(x)y' + c(x)y = g(x), where g(x) ≠ 0. Linearity: superposition principle applies to homogeneous part only.
Terminology
Complementary function (CF): general solution of associated homogeneous equation. Particular solution (PS): any specific solution to the non homogeneous equation. General solution: CF + PS.
Formulation of Non Homogeneous Equations
Standard Form
Second order linear ODE with constant coefficients: y'' + p y' + q y = r(x). Coefficients p, q: constants or functions of x. Forcing term r(x): known function driving system.
Examples of Forcing Terms
Common functions: polynomials, exponentials, sines, cosines, delta functions. Physical interpretation: external forces, inputs, or sources.
Existence and Uniqueness
Conditions: p, q, r continuous on interval I. Theorem: unique solution exists for given initial conditions y(x0) = y0, y'(x0) = y1.
Complementary Function (CF)
Associated Homogeneous Equation
Definition: set r(x)=0 to get homogeneous equation y'' + p y' + q y = 0. Solution structure: CF spans solution space of homogeneous part.
Characteristic Equation
Form: m² + p m + q = 0. Roots: real distinct, real repeated, or complex conjugates determine CF form.
Forms of CF
Real distinct roots m1, m2: CF = C1 e^(m1 x) + C2 e^(m2 x). Repeated root m: CF = (C1 + C2 x) e^(m x). Complex roots α ± βi: CF = e^(α x)(C1 cos β x + C2 sin β x).
Particular Solution (PS)
Definition
Single specific solution satisfying the full non homogeneous equation. Not general; combined with CF for general solution.
Existence
Guaranteed by existence theorem for linear ODEs under continuity conditions. PS depends on form of forcing function r(x).
Methods for Finding PS
Common approaches: Method of Undetermined Coefficients, Variation of Parameters. Choice depends on r(x) and coefficient type.
General Solution
Superposition Principle
General solution = CF + PS. CF accounts for homogeneous behavior, PS accounts for external forcing.
Formulation
y(x) = y_c(x) + y_p(x). y_c: complementary function, y_p: particular solution.
Interpretation
CF captures transient response; PS captures steady-state or forced response. Stability analysis often focuses on CF components.
Method of Undetermined Coefficients
Applicability
Use when coefficients are constant and r(x) is of suitable form: polynomials, exponentials, sines, cosines, or their sums/products.
Procedure
Step 1: guess PS form based on r(x). Step 2: substitute guess into differential equation. Step 3: solve for unknown coefficients.
Adjustment for Resonance
If guess duplicates CF term, multiply guess by x (or higher powers) until linear independence is restored.
Variation of Parameters
Applicability
General method for variable coefficients or when undetermined coefficients fail. Applies to any continuous r(x).
Formulation
Express solution as y = u1(x) y1(x) + u2(x) y2(x), where y1, y2 are CF components. Derive u1', u2' via system of equations from ODE.
Integration
Integrate u1', u2' to find u1, u2. Substitute back to get PS. Often requires integration by parts or special functions.
Types of Forcing Functions
Polynomial Forcing
Form: r(x) = a_n x^n + ... + a_0. PS guess: polynomial of same degree. Adjustment if polynomial terms appear in CF.
Exponential Forcing
Form: r(x) = A e^(kx). PS guess: B e^(kx). Resonance if k is root of characteristic equation.
Trigonometric Forcing
Form: r(x) = A cos(mx) or B sin(mx). PS guess: C cos(mx) + D sin(mx). Resonance if ±i m roots of characteristic.
Initial Value Problems (IVPs)
Definition
Specify y(x0) = y0, y'(x0) = y1 to determine unique solution. Critical in modeling physical scenarios.
Solution Approach
Find general solution y_c + y_p. Use initial conditions to solve for constants C1, C2.
Uniqueness and Stability
Uniqueness guaranteed by theorem. Stability depends on roots of characteristic equation and forcing term properties.
Applications
Mechanical Vibrations
Second order ODEs model forced oscillations: mass-spring-damper systems with external forces represented by r(x).
Electrical Circuits
RLC circuits governed by second order linear ODEs with voltage/current sources as forcing functions.
Control Systems
Non homogeneous equations describe system responses to inputs and disturbances, essential for controller design.
Worked Examples
Example 1: Polynomial Forcing
Equation: y'' - 3 y' + 2 y = x². CF: solve characteristic m² - 3 m + 2 = 0; roots m=1,2; CF = C1 e^x + C2 e^{2x}. PS guess: A x² + B x + C. Substitute and solve for A, B, C.
Example 2: Exponential Forcing
Equation: y'' + y = e^x. CF: m² + 1 = 0; m=±i; CF = C1 cos x + C2 sin x. PS guess: A e^x. Substitute and solve for A.
Example 3: Variation of Parameters
Equation: x² y'' - x y' + y = ln x, x > 0. CF: solve associated homogeneous Euler equation. Use variation of parameters to find PS.
| Example | Equation | Method | Solution Form |
|---|---|---|---|
| 1 | y'' - 3y' + 2y = x² | Undetermined Coefficients | CF + A x² + B x + C |
| 2 | y'' + y = e^x | Undetermined Coefficients | CF + A e^x |
| 3 | x² y'' - x y' + y = ln x | Variation of Parameters | CF + Integral Form PS |
Characteristic equation: m² - 3m + 2 = 0Roots: m = 1, 2CF: y_c = C1 e^x + C2 e^{2x}Guess PS: y_p = A x² + B x + CSubstitute y_p, y_p', y_p'' into ODE:y_p'' - 3 y_p' + 2 y_p = x²Solve for A, B, C coefficients.Variation of Parameters:Given y_c = C1 y1 + C2 y2,Find u1', u2' from:u1' y1 + u2' y2 = 0u1' y1' + u2' y2' = r(x)/a(x)Integrate u1', u2' to get u1, u2.PS: y_p = u1 y1 + u2 y2Common Mistakes and Pitfalls
Ignoring Resonance
Not modifying PS guess when forcing duplicates CF terms leads to incorrect solutions or no solution.
Incorrect Characteristic Roots
Misidentifying roots (e.g., complex vs repeated) results in wrong CF form.
Forcing Function Misclassification
Using undetermined coefficients on unsuitable r(x) (e.g., ln x, arbitrary functions) causes failure; variation of parameters preferred.
Omission of Constants in CF
Failing to include arbitrary constants C1, C2 in CF yields incomplete general solution.
Integration Errors in Variation of Parameters
Errors in integral evaluation or neglecting integration constants reduce accuracy of PS.
References
- E. A. Coddington, An Introduction to Ordinary Differential Equations, Prentice-Hall, 1961, pp. 102-145.
- D. Zill, Differential Equations with Boundary-Value Problems, 9th ed., Brooks/Cole, 2013, pp. 210-260.
- G. F. Simmons, Differential Equations with Applications and Historical Notes, 3rd ed., McGraw-Hill, 1991, pp. 150-190.
- M. Braun, Differential Equations and Their Applications, 4th ed., Springer, 1993, pp. 75-120.
- C. Henry Edwards and D. E. Penney, Elementary Differential Equations, 7th ed., Prentice Hall, 2002, pp. 230-280.