Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

First-order linear equations

Chapter 5 - Manufacture a product derivative

A first-order linear equation has the normalized form

y′+p(t)y=q(t). y'+p(t)y=q(t).

The obstacle is the extra p(t)yp(t)y term. An integrating factor μ(t)\mu(t) makes the left side become one product derivative:

μy′+μpy=(μy)′. \mu y'+\mu p y=(\mu y)'.

Derive the method once

The product rule says

(μy)′=μy′+μ′y. (\mu y)'=\mu y'+\mu' y.

To match μy′+μpy\mu y'+\mu p y, require μ′=μp\mu'=\mu p, or μ′/μ=p\mu'/\mu=p. Therefore

μ(t)=e∫p(t) dt. \boxed{\mu(t)=e^{\int p(t),dt}}.

This formula is not a magic insertion. It solves the small design problem "which multiplier makes these two terms a product derivative?"

Integrating factor transformation A linear equation is multiplied by an integrating factor so its two left terms lock into one product derivative. y' + p(t)y = q(t) two left-hand terms multiply by μ μy' + μ' y choose μ' = μp = (μy)' integrate once
The multiplier is chosen to create structure, not merely to change the equation.

The reliable sequence

  1. Normalize the coefficient of y′y' to 1.
  2. Identify p(t)p(t) and q(t)q(t).
  3. Compute μ=e∫p(t)dt\mu=e^{\int p(t)dt}.
  4. Multiply every term by μ\mu.
  5. Replace the left side with (μy)′(\mu y)'.
  6. Integrate and solve for yy.
  7. Apply the initial condition and verify.

Worked example: full support

Solve y′+2y=6y'+2y=6, y(0)=5y(0)=5fully worked
  1. Read the model. y′=6−2y=−2(y−3)y'=6-2y=-2(y-3). Before solving, predict movement toward the equilibrium y=3y=3. Starting at 5, the curve should decrease and flatten.
  2. Identify. p(t)=2p(t)=2, q(t)=6q(t)=6.
  3. Build the factor. μ=e∫2dt=e2t\mu=e^{\int 2dt}=e^{2t}.
  4. Multiply all terms. e2ty′+2e2ty=6e2te^{2t}y'+2e^{2t}y=6e^{2t}.
  5. Recognize the product. (e2ty)′=6e2t(e^{2t}y)'=6e^{2t}.
  6. Integrate. e2ty=3e2t+Ce^{2t}y=3e^{2t}+C, hence y=3+Ce−2ty=3+Ce^{-2t}.
  7. Use and check. 5=3+C5=3+C, so y=3+2e−2ty=3+2e^{-2t}. Its graph decreases toward 3, matching the prediction. Substitution gives y′+2y=−4e−2t+6+4e−2t=6y'+2y=-4e^{-2t}+6+4e^{-2t}=6.

Backward-faded example

Solve ty′−y=t3ty'-y=t^3, t>0t\gt 0, with y(1)=2y(1)=2.

Given

Normalize: y′−1ty=t2y'-\frac1t y=t^2.

Thus p(t)=−1/tp(t)=-1/t.

Complete

μ=e∫−1/t dt=‾\mu=e^{\int -1/t\,dt}=\underline{\hspace{4em}}.

Then (‾ y)′=‾(\underline{\hspace{3em}}\,y)'=\underline{\hspace{4em}}.

You finish

Integrate, use y(1)=2y(1)=2, and verify in the normalized equation.

Check the missing work

On t>0t\gt 0, μ=e−ln⁡t=1/t\mu=e^{-\ln t}=1/t. Multiplication gives (y/t)′=t(y/t)'=t. Thus y/t=t2/2+Cy/t=t^2/2+C, so y=t3/2+Cty=t^3/2+Ct. The condition gives C=3/2C=3/2, hence y=(t3+3t)/2y=(t^3+3t)/2.

When linear and separable overlap

The homogeneous linear equation y′+p(t)y=0y'+p(t)y=0, with no external input on the right, is also separable:

y′y=−p(t). \frac{y'}{y}=-p(t).

For y′=tyy'=ty, separation is shorter. For y′+p(t)y=q(t)y'+p(t)y=q(t) with nonzero qq, the integrating-factor route usually survives while separation fails.

Normalize first. For 2ty′+6y=t22ty'+6y=t^2 on t>0t\gt 0, what is p(t)p(t)?

Modeling example: a mixing tank

A 100 L tank receives brine at 2 L/min with concentration 0.1 kg/L. The same volume leaves each minute. If S(t)S(t) is kilograms of salt, then

S′=(2)(0.1)⏟rate in−(2)S100⏟rate out=0.2−0.02S. S'=\underbrace{(2)(0.1)}{\text{rate in}}-\underbrace{(2)\frac{S}{100}}{\text{rate out}} =0.2-0.02S.

In linear form, S′+0.02S=0.2S'+0.02S=0.2. Before solving, the zero-rate amount is 10 kg, so every solution should move toward 10. The integrating factor gives S=10+Ce−0.02tS=10+Ce^{-0.02t}. The constant records the initial displacement from equilibrium.

Error clinic

Error clinic: reading p(t)p(t) before normalization

In ty′+2y=1t y'+2y=1, the coefficient used in the integrating factor is 2/t2/t, not 2. Divide by the coefficient of y′y' first and state the interval, such as t>0t\gt 0.

Error clinic: multiplying only the left side

An integrating factor preserves equality only when it multiplies every term. Write the multiplied equation in full before compressing the product derivative.

Practice

  1. Practice - constant coefficient

    5.1 Solve y′−3y=6y'-3y=6, y(0)=1y(0)=1. Predict the long-run behavior first and reconcile it with the result.

    Detailed solution

  2. Practice - variable coefficient

    5.2 Solve y′+(2/t)y=ty'+(2/t)y=t for t>0t\gt 0, with y(1)=0y(1)=0.

    Detailed solution

  3. Integrated - model

    5.3 A room at 20 °C contains an object initially at 80 °C. Newton cooling gives T′=−0.25(T−20)T'=-0.25(T-20). Solve, then find when the object reaches 30 °C.

    Detailed solution

  4. Challenge - reverse engineering

    5.4 Find a first-order linear differential equation whose general solution is y=t2+Ce−ty=t^2+Ce^{-t}. Explain how your equation separates the forced response from the transient.

    Detailed solution

  5. Practice - extension

    5.5 Solve y′+2y=e−ty'+2y=e^{-t}, y(0)=0y(0)=0, using an integrating factor. For t≥0t\ge0, determine when the solution reaches its maximum and find that maximum. Check both the equation and the initial condition.

    Detailed solution

  6. Challenge - transfer

    5.6 Solve the variable-volume tank model S′+S/(100+t)=6S'+S/(100+t)=6, S(0)=0S(0)=0, for t≥0t\ge0, with SS in grams and 100+t100+t in liters. Find the concentration S/(100+t)S/(100+t) and its limit. Explain why salt amount has no finite limit even though concentration does.

    Detailed solution

Retrieve and discriminate

On blank paper, solve only far enough to expose the key transformation:

  1. y′=t(1−y)y'=t(1-y) by separation;
  2. y′+ty=ty'+ty=t by an integrating factor; and
  3. show that these are the same equation, so both methods apply; then explain why replacing the right side of the second equation by t2t^2 generally removes separability but preserves linearity.

Next: Use phase lines and feedback to understand autonomous equations.