Unit 3: Linear differential equation-II
I. Orientation — governing framework
A linear differential equation combines an unknown function and its derivatives only to the first power, with coefficients independent of the unknown function. In this unit, the main problem is to solve a non-homogeneous equation with constant coefficients or an Euler–Cauchy equation, usually by finding a complementary function and a particular integral.
-
General linear form: A second-order equation may be written as
TEXTa₂(x)y'' + a₁(x)y' + a₀(x)y = f(x)
whereyis the dependent variable,xis the independent variable, andf(x)is the forcing function. -
Homogeneous and non-homogeneous parts: If
f(x)=0, the equation is homogeneous; iff(x)≠0, it is non-homogeneous. -
Linearity assumption: Terms such as
y²,yy', orsin yare not allowed in a linear equation. -
Superposition principle: For a linear operator
L, ifL[y₁]=f₁andL[y₂]=f₂, thenL[c₁y₁+c₂y₂]=c₁f₁+c₂f₂. -
Complete solution: The solution is expressed as
TEXTy = y_c + y_p
wherey_cis the complementary function solving the associated homogeneous equation andy_pis any particular solution of the full equation.
II. Operator Method — constant-coefficient equations
A. Purpose and principle
The operator method represents differentiation by the symbol D, converting a differential equation into an algebraic equation in D. It is especially efficient when the coefficients are constants.
-
Operator definition: Let
TEXTD = d/dx
ThenDy=y',D²y=y'', and generallyDⁿy=dⁿy/dxⁿ. -
Operator form: The equation
TEXTaₙy⁽ⁿ⁾ + aₙ₋₁y⁽ⁿ⁻¹⁾ + ... + a₀y = f(x)
becomes
TEXTF(D)y = f(x)
whereF(D)=aₙDⁿ+...+a₀. -
Solution structure: Solve
F(D)y=0fory_c, then determiney_pfromF(D)y_p=f(x).
B. Solution of non-homogeneous linear differential equations with constant coefficients using operator method
This method obtains the complementary function from an auxiliary equation and the particular integral by applying inverse operators.
-
Auxiliary equation: Replace
Dby a numberminF(D)=0:
TEXTF(m)=0
Each root determines a complementary-function term. -
Root rules:
- A real simple root
m=agivesc e^{ax}. - A repeated root
m=aof multiplicityrgives
TEXT(c₁+c₂x+...+cᵣxʳ⁻¹)e^{ax}. - Complex roots
a±ibgive
TEXTe^{ax}(c₁ cos bx+c₂ sin bx).
- A real simple root
-
Particular integral: Formally,
TEXTy_p = [1/F(D)] f(x).
The inverse operator is interpreted through algebraic identities, differentiation, and standard forms. -
Exponential forcing rule: For
f(x)=e^{ax},
TEXT1/F(D) e^{ax} = e^{ax}/F(a),
providedF(a)≠0. -
Resonance: If
F(a)=0, the preceding rule fails becausee^{ax}already occurs iny_c; multiply the trial by the required power ofx. For a root of multiplicityr, usexʳe^{ax}before evaluating the operator. -
Worked example: Solve
TEXT(D²-3D+2)y=e^x.
The auxiliary equation is(m-1)(m-2)=0, soy_c=c₁e^x+c₂e^{2x}. SinceF(1)=0, resonance occurs and takey_p=Ax e^x. Substitution givesA=-1, hence
TEXTy = c₁e^x+c₂e^{2x}-xe^x. -
Polynomial forcing: For
f(x)=P_n(x), try a polynomial of degreen, unless resonance with the rootm=0requires multiplication by a power ofx. -
Trigonometric forcing: For
f(x)=a cos bx+b sin bx, use the complex-exponential representation or assume
TEXTy_p=A cos bx+B sin bx.
If±ibare roots ofF(m)=0, multiply the trial by the appropriate power ofx.
III. Method of variation of parameters — variable coefficients and general forcing
A. Purpose and principle
Variation of parameters constructs a particular solution by replacing the constants in the complementary function with functions. Unlike the undetermined-coefficient method, it does not require the forcing term to have a special algebraic form.
-
Standard equation: First write the second-order equation as
TEXTy''+P(x)y'+Q(x)y=R(x). -
Complementary solutions: Let
y₁andy₂be linearly independent solutions of
TEXTy''+P(x)y'+Q(x)y=0.
Their Wronskian is
TEXTW(y₁,y₂)=y₁y₂'-y₂y₁'. -
Variable-constant trial: Instead of
c₁y₁+c₂y₂, set
TEXTy_p=u₁(x)y₁(x)+u₂(x)y₂(x).
B. Method of variation of parameters
The method determines u₁ and u₂ from two first-order equations, producing a particular solution through definite or indefinite integrals.
-
Auxiliary condition: Impose
TEXTu₁'y₁+u₂'y₂=0.
This removes second derivatives ofu₁andu₂wheny_pis differentiated. -
Determining equations: Substitution into the differential equation gives
TEXTu₁'y₁'+u₂'y₂'=R(x).
Solving the two equations yields
TEXTu₁'=-y₂R/W, u₂'= y₁R/W. -
Integral formulas: Therefore,
TEXTu₁=-∫(y₂R/W)dx, u₂= ∫(y₁R/W)dx,
and
TEXTy_p=-y₁∫(y₂R/W)dx+y₂∫(y₁R/W)dx. -
Worked example: For
TEXTy''+y=tan x,
takey₁=cos x,y₂=sin x, andW=1. Thus
TEXTu₁=-∫sin x tan x dx=-∫sin²x/cos x dx, u₂=∫cos x tan x dx=∫sin x dx=-cos x.
Substitution intoy_p=u₁cos x+u₂sin xgives a particular solution after simplifying the first integral. -
Linear independence condition: The Wronskian must be nonzero on the interval; otherwise
y₁andy₂cannot serve as a fundamental pair. -
Role of constants: Constants arising from the integrals merely reproduce terms in
y_c, so they may be set to zero when constructing one particular integral.
C. Applications and limitations
Variation of parameters is broadly applicable, but its integrals may be more difficult than the original equation.
-
Broad applicability: It handles
R(x)such asln x,tan x, or arbitrary continuous functions, for which an undetermined trial is unavailable. -
Coefficient normalization: The formulas require the coefficient of
y''to be one; divide the equation by the leading coefficient first. -
Regularity requirement: Functions
P,Q, andRshould be continuous on the interval under consideration.
IV. Method of undetermined coefficient — trial-based particular solutions
A. Purpose and principle
The method of undetermined coefficients assumes a form for y_p based on the forcing function and determines unknown constants by substitution. It is mainly used for constant-coefficient equations with elementary forcing terms.
-
Admissible forcing functions: Common forms include polynomials, exponentials, sines, cosines, and finite sums or products of these.
-
Trial principle: If
R(x)=e^{ax}P_n(x), use
TEXTy_p=e^{ax}Q_n(x),
whereQ_nis a polynomial with unknown coefficients. -
Trigonometric trial: For
R(x)=A cos bx+B sin bx, use
TEXTy_p=C cos bx+D sin bx.
B. Method of undetermined coefficient
The coefficients in the trial are found by direct substitution and comparison of corresponding terms.
-
Polynomial example: For
TEXTy''-3y'+2y=x²,
choosey_p=Ax²+Bx+C. Then
TEXTy_p'=2Ax+B, y_p''=2A.
Substitution and comparison of coefficients ofx²,x, and constants determineA,B, andC. -
Sum rule: If the forcing is
R=R₁+R₂, choosey_p=y_{p1}+y_{p2}. This follows from linearity and avoids solving all coefficients in one large expression. -
Product rule: For
e^{ax}(P_n cos bx+Q_n sin bx), use
TEXTy_p=e^{ax}[(A_nxⁿ+...+A₀)cos bx +(B_nxⁿ+...+B₀)sin bx]. -
Resonance correction: If the trial duplicates a complementary-function term, multiply it by
x. If duplication has multiplicityr, multiply byxʳ. -
Comparison with variation of parameters:
- Undetermined coefficients: Faster for standard forcing, but restricted to suitable elementary functions.
- Variation of parameters: More general, but requires evaluation of integrals and a known complementary pair.
-
Coefficient comparison: After substitution, collect powers and functions such as
x²,x,1,cos bx, andsin bx; equate their coefficients independently.
V. Solution of Euler-Cauchy equation — variable-power coefficients
A. Definition and standard form
An Euler–Cauchy equation has powers of the independent variable multiplying successive derivatives. Its coefficients are not constant, but the equation becomes constant-coefficient after the substitution x=e^t.
-
Second-order form:
TEXTax²y''+bxy'+cy=f(x). -
Higher-order pattern: The coefficient of
y⁽ʳ⁾is proportional toxʳ, giving expressions such asx³y''',x²y'', andxy'. -
Domain assumption: Usually
x>0is taken so thatt=ln xis real. Separate treatment may be needed acrossx=0.
B. Solution of Euler-Cauchy equation
For the homogeneous equation, a power trial gives an indicial equation; alternatively, the logarithmic substitution converts it into a constant-coefficient equation.
-
Power trial: Assume
TEXTy=x^m.
Theny'=mx^{m-1}andy''=m(m-1)x^{m-2}. Substitution into
TEXTax²y''+bxy'+cy=0
gives
TEXTam(m-1)+bm+c=0,
called the indicial or auxiliary equation. -
Root rules:
- Distinct real roots
m₁,m₂give
TEXTy_c=c₁x^{m₁}+c₂x^{m₂}. - Repeated root
mgives
TEXTy_c=x^m(c₁+c₂ln x). - Complex roots
m=α±iβgive
TEXTy_c=x^α[c₁cos(βln x)+c₂sin(βln x)].
- Distinct real roots
-
Logarithmic transformation: Put
x=e^t,Y(t)=y(e^t). Then
TEXTxy'=Y', x²y''=Y''-Y'.
Thus the Euler–Cauchy equation becomes
TEXTa(Y''-Y')+bY'+cY=f(e^t),
or
TEXTaY''+(b-a)Y'+cY=f(e^t),
which can be solved by constant-coefficient methods. -
Non-homogeneous equations: After finding
y_c, determiney_pusing a power trial, operator techniques int, or variation of parameters after transforming the equation. -
Worked example: Solve
TEXTx²y''-3xy'+4y=0.
Withy=x^m, the indicial equation is
TEXTm(m-1)-3m+4=m²-4m+4=(m-2)²=0.
The repeated root ism=2, so
TEXTy=x²(c₁+c₂ln x). -
Validity of solutions: The final solution is valid on an interval not crossing
x=0; forx<0, expressions may be written usingln|x|where appropriate.
C. Applications and limitations
Euler–Cauchy equations model scale-invariant behavior, but their singular point requires careful domain selection.
-
Scale structure: Replacing
xbykxpreserves the derivative-power pattern, which explains why powersx^mare natural trial solutions. -
Singular point: At
x=0, coefficients such asx²vanish, so standard existence results may fail and initial conditions must be imposed away from zero. -
Method selection: Use the indicial equation for homogeneous problems; use
x=e^twhen the non-homogeneous term or higher order makes direct power trials inconvenient.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill. The rest comes out of a student's own pocket: the domain, the storage, and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason. to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it. What it pays for →