(dy)/(dx)+2xy=4x
1) Solve the linear equation y' + 2xy = 4x, where y is a function of x. The polynomial coefficients are continuous on ℝ
The form y' + py = q gives p = 2x and q = 4x
⇥1.1) Let's compute the integral: ∫(2x)dx
⇥ 2·x22
⇥ℹ2·x22 = 2x22‖2x22 = x2
⇥ x2
The integrating factor exp(∫p) is exp(x2), strictly positive on ℝ
Multiplying by this factor, the product rule gives (exp(x2)y)' = 4xexp(x2)
⇥1.2) Let's compute the integral: ∫(4xexp(x2))dx
⇥We attempt to reverse an integration: starting from 4xexp(x2) and ddx(exp(a)) = exp(a), we differentiate using exp
⇥1.3) Let's differentiate: ddx(exp(x2))
⇥We differentiate using: ddx(exp(f)) = ddx(f)·exp(f) (where f = x2)
⇥ ddx(x2)·exp(x2)
⇥ 2x·exp(x2)
⇥You observe that the computed derivative and the original math expression are the same, except for a coefficient. So the integral is:
⇥ 42·exp(x2)
⇥ 2exp(x2)
Integrating gives exp(x2)y = 2exp(x2) + C. Divide by the factor, which never vanishes; C is an arbitrary real constant, including zero
▶Solution:   y = 2exp(x2) + Cexp(x2)