First-Order Linear Equations

Build an integrating factor and solve a linear initial-value problem.

Builds on Separable Equations and Lost Equilibria

The bigger question: Which structure makes a first-order equation solvable?

On this page

The idea

For y′+p(t)y=q(t)y'+p(t)y=q(t), the integrating factor converts the left side to one product derivative. This works because the factor is selected to satisfy μ′=pμ\mu'=p\mu. It avoids guessing a solution for each forcing function.

Visual guide

VISUAL GUIDEThe initial deviation decays toward equilibrium
For y′ + 2y = 6, all solutions approach y = 3 in forward time. The curves starting at 1 and 5 have equal and opposite deviations from equilibrium, each multiplied by e⁻²ᵗ.000.751.51.532.254.536ty
  • y(0) = 1
  • y(0) = 5
  • Equilibrium y = 3
For y′ + 2y = 6, all solutions approach y = 3 in forward time. The curves starting at 1 and 5 have equal and opposite deviations from equilibrium, each multiplied by e⁻²ᵗ.

Method and assumptions

On an interval with continuous p,qp,q, choose μ=e∫p(t)dt\mu=e^{\int p(t)dt}. Then (μy)′=μq(\mu y)'=\mu q, so y=μ−1(∫μq dt+C)y=\mu^{-1}(\int\mu q\,dt+C). A nonzero constant multiple of μ\mu gives the same family. Normalize the coefficient of y′y' first.

Worked example: constant input

y′+2y=6y'+2y=6 has μ=e2t\mu=e^{2t}. Integration gives e2ty=3e2t+Ce^{2t}y=3e^{2t}+C, so y=3+Ce−2ty=3+Ce^{-2t}. With y(0)=1y(0)=1, y=3−2e−2ty=3-2e^{-2t} approaches the steady value 33.

PAUSE & THINKA quick check, not a grade

Try it yourself.

Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.

For y′+2y=t, which integrating factor is standard?

Hint 1 · Find a starting point

Use exp(∫p(t)dt) for y′+p(t)y=q(t).

Hint 2 · Take the next step

The coefficient of y is the constant 2.

Show the reasoning

Answer: e²ᵗ

The factor e²ᵗ makes the left side the derivative of e²ᵗy.

Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.

Worked example: variable coefficients

On t>0t>0, solve y′+y/t=ty'+y/t=t with y(1)=2y(1)=2. The factor is tt, giving (ty)′=t2(ty)'=t^2. Hence y=t2/3+C/ty=t^2/3+C/t and C=5/3C=5/3. The solution interval is constrained by the coefficient singularity at zero.

Interpreting the result

The complementary part carries initial-condition memory; the forced part reflects input. Their long-time behavior depends on the coefficient sign. A positive constant damping coefficient erases initial differences exponentially.

Practice

  1. Solve y′+y=0y'+y=0, y(0)=5y(0)=5.
  2. Find the integrating factor for y′+2ty=1y'+2ty=1.
  3. Find the steady value for y′+4y=8y'+4y=8.
Show worked solutions
  1. y=5e−ty=5e^{-t}.
  2. μ=et2\mu=e^{t^2}; the remaining integral need not have an elementary antiderivative.
  3. The equilibrium is y=2y=2. All solutions approach it for forward time.

Further study

MIT OpenCourseWare: Differential Equations provides a full university course with additional lectures and exercises.

MAKE IT YOURS

Pause before the next idea.

Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.

Optional marks, not a grade. Saved in this browser only. Open notebook →