MathematicsOrdinary Differential EquationsUniversity

Integrating Factor for First-Order Linear ODEs Calculator

This formula provides the general solution for a first-order linear ordinary differential equation by multiplying the equation by an integrating factor to facilitate integration.

Use the free calculatorCheck the variablesOpen the advanced solver

A lightweight calculator preview is not available for this formula yet.

Use the advanced calculator to solve it interactively.

Formula first

Overview

For a standard linear ODE in the form dy/dx + P(x)y = Q(x), the integrating factor μ(x) = exp(∫P(x)dx) transforms the left side into the derivative of the product μ(x)y. By integrating both sides with respect to x, we isolate y, allowing for a systematic solution even when the equation is not directly separable. This method is the fundamental technique for solving non-homogeneous first-order linear differential equations.

Symbols

Variables

y = Dependent Variable, mu = Integrating Factor, Q = Non-homogeneous Term

Dependent Variable
Variable
mu
Integrating Factor
Variable
Non-homogeneous Term
Variable

Apply it well

When To Use

When to use: Use this method when you encounter a first-order ODE that can be algebraically rearranged into the linear standard form dy/dx + P(x)y = Q(x).

Why it matters: It serves as the foundation for modeling dynamic systems in engineering and physics, such as RC circuits, radioactive decay, and fluid cooling processes.

Avoid these traps

Common Mistakes

  • Failing to put the ODE in standard form (dy/dx + P(x)y = Q(x)) before identifying P(x).
  • Omitting the arbitrary constant of integration when evaluating ∫μ(x)Q(x)dx.
  • Incorrectly simplifying the exponential integral for μ(x).

One free problem

Practice Problem

Solve the differential equation dy/dx + y = 1 for y(0) = 0.

x0

Solve for:

Hint: Identify P(x)=1 and Q(x)=1. Then find μ(x) = .

The full worked solution stays in the interactive walkthrough.

References

Sources

  1. Boyce, W. E., & DiPrima, R. C. (2012). Elementary Differential Equations and Boundary Value Problems.
  2. Stewart, J. (2015). Calculus: Early Transcendentals.