The form of the first order linear differential equation is as follows:
y ′ + p ( x ) y = q ( x ) y'+p(x)y=q(x) y′+p(x)y=q(x)
For the left side of the formula, it looks like the following formula, but not the same
( u v ) ′ = u ′ v + u v ′ (uv)'=u'v+uv' (uv)′=u′v+uv′
y ′ ⋅ 1 + y ⋅ p ( x ) y' 1+y p(x)y′⋅1+y⋅p(x)
Here corresponds to vvv seems to be unable to get a suitable one, but with[ ef ( x ) ] ′ = ef ( x ) ⋅ f ′ ( x ) [e^{f(x)}]'=e^{f(x)} f'(x)[ef(x)]′=ef(x)⋅f′ (x)can be found to be similar, that is, the following formula
y ′ ⋅ e ∫ p ( x ) d x + y ⋅ e ∫ p ( x ) d x ⋅ p ( x ) y'·e^{\int p(x)dx}+y·e^{\int p(x)dx}·p(x) y′⋅e∫p(x)dx+y⋅e∫p(x)dx⋅p(x)
Come up with the same coefficients:
e ∫ p ( x ) d x ⋅ [ y ′ ⋅ 1 + y ⋅ p ( x ) ] e^{\int p(x)dx}·[y'·1+y·p(x)] e∫p(x)dx⋅[y′⋅1+y⋅p(x)]
The same coefficient can be added to the right side of the original equal sign to get the whole formula (to be simplified)
e ∫ p ( x ) d x ⋅ [ y ′ ⋅ 1 + y ⋅ p ( x ) ] = e ∫ p ( x ) d x ⋅ q ( x ) e^{\int p(x)dx}·[y'·1+y·p(x)]=e^{\int p(x)dx}·q(x) e∫p(x)dx⋅[y′⋅1+y⋅p(x)]=e∫p(x)dx⋅q(x)
So simplify to get:
[ y ⋅ e ∫ p ( x ) d x ] ′ = e ∫ p ( x ) d x ⋅ q ( x ) [y·e^{\int p(x)dx}]'=e^{\int p(x)dx}·q(x) [y⋅e∫p(x)dx]′=e∫p(x)dx⋅q(x)
The left side is derivation, and the product is returned, and the integral sign is added to the right side:
y ⋅ e ∫ p ( x ) d x = ∫ e ∫ p ( x ) d x ⋅ q ( x ) d x + C y·e^{\int p(x)dx}=\int {e^{\int p(x)dx}·q(x)dx + C} y⋅e∫p(x)dx=∫e∫p(x)dx⋅q(x)dx+C
Convert the y coefficient to 1 to get the final conclusionInterpretation formula:
y = e − ∫ p ( x ) d x ⋅ ∫ e ∫ p ( x ) d x ⋅ q ( x ) d x + C y= e^{-\int p(x)dx}·\int {e^{\int p(x)dx}·q(x)dx + C} y=e−∫p(x)dx⋅∫e∫p(x)dx⋅q(x)dx+C
And the general solution is all solutions