Home page for accesible maths 6 Chapter 6 contents

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

6.19 General method for first-order linear equations

The general method for solving a linear first-order equation is to multiply the whole equation by the integrating factor.

Method.

Integrating factor does the trick We claim that after multiplying by I⁢(x)I(x), the left-hand side of the equation becomes dd⁢x⁢(I⁢(x)⁢y)\frac{d}{dx}\left(I(x)y\right).

To prove this, let F⁢(x)=∫p⁢(x)⁢d⁢xF(x)=\int p(x)\,dx, so that I⁢(x)=eF⁢(x)I(x)=e^{F(x)}. Then F′⁢(x)=p⁢(x)F^{\prime}(x)={p(x)} and, by the chain rule, I′⁢(x)=F′⁢(x)⁢eF⁢(x)=p⁢(x)⁢I⁢(x).I^{\prime}(x)={F^{\prime}(x)e^{F(x)}=p(x)I(x).} Thus, by the product rule:

dd⁢x⁢(I⁢(x)⁢y)=I⁢(x)⁢d⁢yd⁢x+p⁢(x)⁢I⁢(x)⁢y=I⁢(x)⁢(d⁢yd⁢x+p⁢(x)⁢y).\frac{d}{dx}(I(x)y)={I(x)\frac{dy}{dx}+p(x)I(x)y=}{I(x)\left(\frac{dy}{dx}+p(x% )y\right).}

Caution: For this to work, the equation has to be in the form d⁢yd⁢x+p⁢(x)⁢y=q⁢(x)\frac{dy}{dx}+p(x)y=q(x), i.e. the coefficient of d⁢y/d⁢xdy/dx has to equal 1 (see 6.22 for what to do otherwise).