markdown
First-Order Linear Differential Equations and Integrating Factorsmd 8316914
lecture/math/differential-equations/first-order-linear-odes-and-integrating-factors.lecture.n.md
Download PDF

First-Order Linear Differential Equations and Integrating Factors

date2026-07-16document_iddoc_1f20b69d67912467ba110b4393e84d8ddescription一階線型微分方程式を、積分因子で左辺を積の微分へ作り替える方法として導出し、定数変化法との関係まで整理する。prerequisites一階微分方程式の分類と最初の判定 / 変数分離形と自律方程式 / 積の微分公式 / 積分法の基本type講義content_typelecturestatusactiverelateddata/lecture/math/differential-equations/classifying-first-order-odes.lecture.n.md / data/lecture/math/differential-equations/separable-equations-and-autonomous-systems.lecture.n.md / data/lecture/math/differential-equations/exact-differential-equations.lecture.n.md / data/lecture/math/differential-equations/bernoulli-equations.lecture.n.md / data/lecture/math/linear-operator/linear-operator-equation-basics.lecture.n.md / data/exercise/math/differential-equations/first-order-linear-odes-and-integrating-factors.exercise.n.md
mathdifferential-equationsfirst-orderintegrating-factorlecture

1Introduction

This lecture derives an integrating factor as a factor that converts the left-hand side of a first-order linear equation into the derivative of a product, rather than presenting it as a formula to memorize.

The standard form of a first-order linear equation is

y+p(x)y=q(x).

Because y and y occur as separate terms, the left-hand side cannot generally be integrated directly. The objective is to multiply the equation by a function μ(x) so that

μy+μp(x)y

becomes the single derivative

(μy).

2Why an Integrating Factor Is Introduced

The expression μ=ep(x)dx follows systematically from the product rule.

An equation of the form

y=q(x)

can be integrated directly because its left-hand side is already one derivative. By contrast, in

y+p(x)y=q(x),

the term p(x)y prevents the left-hand side from being integrated directly as the derivative of a single function.

Apply the product rule in reverse:

(μy)=μy+μy.

If multiplication by an unknown function μ(x) transforms the original left-hand side into

μy+μy,

then it becomes one derivative. Multiplication of the original equation by μ gives

μy+μp(x)y=μq(x).

Comparison with the product rule shows that the required condition is

μ=μp(x).

Thus the purpose of the integrating factor is to transform the left-hand side into the derivative of a product and thereby reduce the equation to direct integration.

3First-Order Linear Differential Equations

A first-order linear differential equation is an equation that can be written as

y+p(x)y=q(x),

where p(x) and q(x) depend only on x.

The term linear means that, for L[y]=y+p(x)y,

L[ay1+by2]=aL[y1]+bL[y2].

Equivalently, the unknown function and its derivative do not occur in products with each other or inside nonlinear functions. For example,

y+xy=1

is first-order linear, whereas

y+y2=x

is not linear in y because it contains y2.

4Proposition 1: Derivation of the Integrating Factor

Suppose that p and q are continuous on an interval and that

y+p(x)y=q(x).

If μ is nonzero on the interval and satisfies

μ=μp(x),

then

(μy)=μq(x).

Moreover, because μ0, the transformed equation is equivalent to the original equation.

4.1Proof

Multiply the original equation by μ:

μy+μp(x)y=μq(x).

The assumption μ=μp(x) transforms the left-hand side into

μy+μy.

The product rule therefore gives

(μy)=μq(x).

Conversely, expand (μy)=μq(x) by the product rule and substitute μ=μp(x). This gives μy+μp(x)y=μq(x). Since μ is nonzero on the interval, division by μ recovers the original equation.

Consequently, the essential step is to determine a function μ satisfying μ=μp(x).

5Form of the Integrating Factor

On a range where μ0, the equation μ=μp(x) becomes

μμ=p(x).

Integration gives

log|μ|=p(x)dx.

One may therefore choose

μ(x)=ep(x)dx.

An integration constant only multiplies μ by a nonzero constant, which is absorbed into the arbitrary constant in the final solution.

6Proposition 2: General-Solution Formula

Suppose that p and q are continuous on an interval I. With

μ=ep(x)dx,

the solutions of

y+p(x)y=q(x)

are given by

y=μ(x)q(x)dx+Cμ(x).

6.1Proof

Proposition 1 gives

(μy)=μq(x).

Integrating both sides yields

μy=μq(x)dx+C.

Since μ=ep(x)dx is nonzero, division by μ gives

y=μ(x)q(x)dx+Cμ(x).

Thus the formula results directly from transforming the equation into an integrable product derivative.

7Example 1: y+y=x

For

y+y=x,

we have p(x)=1 and q(x)=x. An integrating factor is

μ=e1dx=ex.

Multiplication by ex gives

exy+exy=xex.

The left-hand side is (exy), so

(exy)=xex.

Integration yields

exy=xexdx+C=(x-1)ex+C,

and hence

y=x-1+Ce-x.

To verify the result, note that y=1-Ce-x. Therefore,

y+y=(1-Ce-x)+(x-1+Ce-x)=x.

8Relation to Variation of Constants

Variation of constants provides another derivation for the solution of a first-order linear equation. First consider the associated homogeneous equation

y+p(x)y=0.

The zero function is a solution. On a branch where y0, separation gives

dyy=-p(x)dx,

and hence

y=Ce-p(x)dx.

Allowing C=0 includes the zero solution. For the nonhomogeneous equation, replace the constant C by a function C(x):

y=C(x)e-p(x)dx.

If μ=ep(x)dx, then

μy=C(x).

The integrating-factor equation

(μy)=μq(x)

is therefore equivalent to

C(x)=μq(x).

Variation of constants and the integrating-factor method express the same transformation: the constant multiplying a homogeneous solution is varied to account for the nonhomogeneous term.

9Linear-Operator Formulation

Define

L[y]=y+p(x)y.

Then the first-order linear equation is

L[y]=q(x).

This is an equation for a linear operator. The solutions of the homogeneous equation L[y]=0 form the kernel kerL, and the general solution of the nonhomogeneous equation has the form

particularsolution+homogeneoussolution.

The same operator formulation will be used for second-order linear equations and systems of equations.

data/lecture/math/linear-operator/linear-operator-equation-basics.lecture.n.md

10Scope of the Method

The integrating-factor method applies when an equation can be written in the linear form

y+p(x)y=q(x).

If p and q are continuous on an interval I, then an initial value prescribed at a point in I determines a unique solution on all of I.

An equation of the form

y+p(x)y=q(x)yn

is not linear in y as written. A Bernoulli equation of this form can sometimes be transformed into a first-order linear equation by substitution.

data/lecture/math/differential-equations/bernoulli-equations.lecture.n.md

In the next lecture, the integrating-factor concept is generalized to a factor that transforms a differential form into a total differential.

data/lecture/math/differential-equations/exact-differential-equations.lecture.n.md

11Exercises

data/exercise/math/differential-equations/first-order-linear-odes-and-integrating-factors.exercise.n.md
raw .n.md をコピー
loc をコピー (filepath:line ~ line)
copy share link
copy encoded share link
path をコピー
copy share link
copy encoded share link
copy share link
copy encoded share link
タブを全て閉じる