Let I be an interval and a,b:I→R (or C) be continuous. The equation
(E):y′+a(x)y=b(x),
in the unknown differentiable function y:I→R (or C), is a first-order linear differential equation. The equation (H):y′+a(x)y=0 is its homogeneous equation.
উদাহরণ
Example 5.3 (A homogeneous equation with variable coefficient)
Solve y′+(cosx)y=0 on R. A primitive of a(x)=cosx is A(x)=sinx, so the solutions are
y(x)=λe−sinx,λ∈R.
Two readings. Every solution is periodic (period 2π) and never vanishes unless λ=0 — the sign of λ is the sign of y forever, since an exponential cannot cross zero. And the solution through y(0)=y0 is y0e−sinx: exactly one curve of the family through each initial point, the one-dimensional picture of Theorem 5.4 (2).
Example 5.6 (Guessing beats integrating)
Solve y′+2xy=x on R. Variation of constants works (A=x2, μ′=xex2, μ=21ex2+λ), but observing that the constant yp=21 solves the equation (0+2x⋅21=x) is faster. With the homogeneous solutions λe−x2:
y(x)=21+λe−x2,λ∈R.
Every solution converges to 21 extremely fast as x→±∞: the constant particular solution is an equilibrium that all solutions join. The insight: before launching the general method, spend ten seconds looking for an obvious particular solution (constant, monomial, multiple of the right-hand side); the structure theorem then finishes the job.
Example 5.8 (A complex right-hand side, two real answers)
Solve y′−y=cosx and y′−y=sinx in one stroke. Work in C with the right-hand side eix: trying yp=ceix gives c(i−1)eix=eix, so
c=i−11=2−1−i,yp=−2(1+i)(cosx+isinx)=2sinx−cosx+i2−sinx−cosx.
Since the equation has real coefficients, real and imaginary parts split: 2sinx−cosx solves y′−y=cosx, and −2sinx+cosx solves y′−y=sinx (check the first: derivative 2cosx+sinx, minus the function, gives cosx). One complex line replaced two runs of variation of constants — the same economy that Method 5.13 systematizes for second order, and a recurring dividend of Chapter 3.