A first-order linear ODE is put in standard form dy/dx + P(x)y = Q(x). The integrating factor μ = exp(∫P dx) converts the left side into d(μy)/dx. Separate-variable first-order equations dy/dx = f(x)g(y) are also in the Handbook.
P(x)
Coefficient of y in standard form
Q(x)
Forcing function
μ
Integrating factor
C
Constant of integration
Step-by-step solved example
Solve dy/dx + 2y = 4 with y(0) = 1.
First-order linear DE: solution shape like exponential growth/decay.
1. Integrating factor
P = 2 (constant), so μ = e^{2x}.
μ=e2x
2. Exact derivative
d/dx (y e^{2x}) = 4 e^{2x} → y e^{2x} = 2 e^{2x} + C.
3. IC
y = 2 + C e^{-2x}. y(0)=1 → C = −1. So y = 2 − e^{-2x}.
y=2−e−2x
Answer: y = 2 − e^{−2x}
10 practice questions
0/10 correct
1.The integrating factor for y' + 3y = x is
2.y' = ky (k constant) has solutions
3.For y' + y = 0, μ equals
4.The general solution of y' = 2x is
5.A first-order linear DE is already in standard form when it looks like