Study Guide890 words

Nonhomogeneous Linear Second-Order Differential Equations: Study Guide

Nonhomogeneous Linear Equations

Nonhomogeneous Linear Second-Order Differential Equations

This study guide covers the techniques for solving second-order linear differential equations where the right-hand side is non-zero. These equations are fundamental in modeling physical systems with external forces, such as forced harmonic motion or RLC circuits.

Learning Objectives

After studying this material, you should be able to:

  • Distinguish between homogeneous and nonhomogeneous linear differential equations.
  • Construct the general solution to a nonhomogeneous equation using the principle of superposition.
  • Apply the Method of Undetermined Coefficients for polynomial, exponential, and trigonometric forcing functions.
  • Utilize the Method of Variation of Parameters for more complex nonhomogeneous terms.
  • Solve initial-value problems (IVPs) for nonhomogeneous systems.

Key Terms & Glossary

  • Nonhomogeneous Term (g(x)g(x)): The non-zero function on the right side of the equation ay'' + by' + cy = g(x). Also called the "forcing function."
  • Complementary Solution (ycy_c): The general solution to the associated homogeneous equation (g(x)=0g(x) = 0). It represents the natural response of the system.
  • Particular Solution (ypy_p): Any single solution that satisfies the full nonhomogeneous equation.
  • Superposition Principle: The theorem stating that the general solution is the sum of the complementary and particular solutions: y(x)=yc(x)+yp(x)y(x) = y_c(x) + y_p(x).
  • Wronskian (WW): A determinant used in the Method of Variation of Parameters to ensure the linear independence of solutions.

The "Big Idea"

In physics and engineering, a nonhomogeneous equation represents a system acted upon by an external force. The complementary solution (ycy_c) tells us how the system behaves on its own (the "transient" behavior), while the particular solution (ypy_p) tells us how the system responds specifically to the external driver (the "steady-state" behavior). To find the complete story of the system's motion, you must combine both.

Formula / Concept Box

ConceptFormula / Rule
Standard Forma y'' + b y' + c y = g(x)
General Solutiony(x)=yc(x)+yp(x)y(x) = y_c(x) + y_p(x)
WronskianW(y1,y2)=y1y2y1y2=y1y2y2y1W(y_1, y_2) = \begin{vmatrix} y_1 & y_2 \\ y_1' & y_2' \end{vmatrix} = y_1 y_2' - y_2 y_1'
Variation of Parametersu1=y2g(x)aWdxu_1 = -\int \frac{y_2 g(x)}{a W} dx, u2=y1g(x)aWdxu_2 = \int \frac{y_1 g(x)}{a W} dx

Hierarchical Outline

  1. Introduction to Nonhomogeneous Equations
    • Definition: L[y]=g(x)L[y] = g(x) where g(x)0g(x) \neq 0.
    • The Complementary Equation: L[y]=0L[y] = 0.
  2. Method of Undetermined Coefficients
    • Applicability: Works when g(x)g(x) is a polynomial, erxe^{rx}, sin(kx)\sin(kx), or cos(kx)\cos(kx).
    • The Guess: Assume ypy_p takes the same form as g(x)g(x).
    • The Overlap Rule: If g(x)g(x) is part of ycy_c, multiply the guess by xnx^n until no terms overlap.
  3. Method of Variation of Parameters
    • Applicability: More general; works for any continuous g(x)g(x).
    • Formula: yp=u1y1+u2y2y_p = u_1 y_1 + u_2 y_2.
  4. Applications
    • Forced Vibrations: mx+cx+kx=F0cos(ωt)m x'' + c x' + k x = F_0 \cos(\omega t).
    • RLC Circuits: LQ+RQ+1CQ=E(t)L Q'' + R Q' + \frac{1}{C} Q = E(t).

Visual Anchors

Decision Flow: Choosing a Method

Loading Diagram...
Figure 1 — Mermaid diagram

Physical Intuition: Forced Oscillation

Compiling TikZ diagram…
Running TeX engine…
This may take a few seconds
Figure 2 — TikZ diagram

Definition-Example Pairs

  • Term: Undetermined Coefficients Guess

  • Definition: Selecting a template for ypy_p based on the derivatives of g(x)g(x).

  • Example: If g(x)=3x2g(x) = 3x^2, the guess is yp=Ax2+Bx+Cy_p = Ax^2 + Bx + C. If g(x)=5e2xg(x) = 5e^{2x}, the guess is yp=Ae2xy_p = Ae^{2x}.

  • Term: Variation of Parameters

  • Definition: A method that replaces constants c1,c2c_1, c_2 with functions u1(x),u2(x)u_1(x), u_2(x).

  • Example: Used for g(x)=sec(x)g(x) = \sec(x) or tan(x)\tan(x), which cannot be modeled by simple coefficients.

Worked Examples

Example 1: Undetermined Coefficients

Problem: Solve y3y+2y=4e3xy'' - 3y' + 2y = 4e^{3x}.

  1. Find ycy_c: Solve r23r+2=0    (r1)(r2)=0r^2 - 3r + 2 = 0 \implies (r-1)(r-2)=0. So yc=c1ex+c2e2xy_c = c_1 e^x + c_2 e^{2x}.
  2. Guess ypy_p: g(x)=4e3xg(x) = 4e^{3x}. There is no overlap with ycy_c, so let yp=Ae3xy_p = Ae^{3x}.
  3. Differentiate: yp=3Ae3xy_p' = 3Ae^{3x}, yp=9Ae3xy_p'' = 9Ae^{3x}.
  4. Substitute: (9Ae3x)3(3Ae3x)+2(Ae3x)=4e3x(9Ae^{3x}) - 3(3Ae^{3x}) + 2(Ae^{3x}) = 4e^{3x}.
  5. Simplify: 9A9A+2A=4    2A=4    A=29A - 9A + 2A = 4 \implies 2A = 4 \implies A = 2.
  6. Final Solution: y=c1ex+c2e2x+2e3xy = c_1 e^x + c_2 e^{2x} + 2e^{3x}.

Example 2: Variation of Parameters

Problem: Solve y+y=tan(x)y'' + y = \tan(x).

  1. Find ycy_c: r2+1=0    r=±ir^2 + 1 = 0 \implies r = \pm i. y1=cos(x),y2=sin(x)y_1 = \cos(x), y_2 = \sin(x).
  2. Wronskian: W=(cosx)(cosx)(sinx)(sinx)=cos2x+sin2x=1W = (\cos x)(\cos x) - (\sin x)(-\sin x) = \cos^2 x + \sin^2 x = 1.
  3. Find u1,u2u_1, u_2:
    • u1=sinxtanx1dx=sin2xcosxdx=(secxcosx)dx=lnsecx+tanx+sinxu_1 = -\int \frac{\sin x \tan x}{1} dx = -\int \frac{\sin^2 x}{\cos x} dx = -\int (\sec x - \cos x) dx = -\ln|\sec x + \tan x| + \sin x.
    • u2=cosxtanx1dx=sinxdx=cosxu_2 = \int \frac{\cos x \tan x}{1} dx = \int \sin x dx = -\cos x.
  4. ypy_p Calculation: yp=u1y1+u2y2=[lnsecx+tanx+sinx]cosx+[cosx]sinx=cosxlnsecx+tanxy_p = u_1 y_1 + u_2 y_2 = [-\ln|\sec x + \tan x| + \sin x]\cos x + [-\cos x]\sin x = -\cos x \ln|\sec x + \tan x|.

Checkpoint Questions

  1. If yc=c1e2x+c2xe2xy_c = c_1 e^{2x} + c_2 x e^{2x} and g(x)=e2xg(x) = e^{2x}, what should your guess for ypy_p be? (Hint: check for overlap).
  2. Why is the Method of Undetermined Coefficients generally preferred over Variation of Parameters when g(x)g(x) is a polynomial?
  3. True or False: The general solution to y+4y=sin(2x)y'' + 4y = \sin(2x) will contain a term multiplied by xx because of resonance.

[!TIP] When performing Variation of Parameters, always ensure your differential equation is in standard form (yy'' coefficient is 1) before identifying g(x)g(x).

Click to expand answers
  1. yp=Ax2e2xy_p = Ax^2 e^{2x} (since e2xe^{2x} and xe2xxe^{2x} are already in ycy_c).
  2. It avoids complex integration and involves only algebraic manipulation.
  3. True. Since sin(2x)\sin(2x) is a solution to the homogeneous equation y+4y=0y'' + 4y = 0, you must multiply the guess by xx.

Ready to study Calculus III: Multivariable Calculus?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free