All courses › Linear Algebra and Differential Equations › First-order differential equation

First-order differential equation

A separable differential equation y′=kyy'=ky has solution y=Cekxy=Ce^{kx}, where CC is determined by an initial condition. For a more general linear equation y′+p(x)y=q(x)y'+p(x)y=q(x) we use an integrating factor.

y′=ky ⇒ y=Cekxy' = ky\ \Rightarrow\ y = Ce^{kx}separable equation, exponential growth/decay
μ(x)=e∫p(x) dx\mu(x) = e^{\int p(x)\,dx}integrating factor for y′+p(x)y=q(x)y'+p(x)y=q(x)

Symbols

kkgrowth rate (constant)
CCconstant, determined by y(0)y(0)

Example

y′=−2yy'=-2y, y(0)=5y(0)=5: y=5e−2xy=5e^{-2x}, so y(ln⁡2)=5⋅2−2=1.25y(\ln 2)=5\cdot2^{-2}=1.25.

Multiplying the equation by the integrating factor μ\mu turns the left side into (μy)′(\mu y)'.
Practise differential equations for free →

← Basis of a vector space · Second order, real roots →

Part of Linear Algebra and Differential Equations: Differential equations.