A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Integrating Factor Method for First-Order Linear ODEs

College Depth 90 in the knowledge graph ☐ I know this ☆ Set as goal
4,824topics build on this
411prerequisites beneath it
See this on the map →
Separable Differential Equations→→Exact Differential EquationsFirst-Order Linear Ordinary Differential Equations
integrating-factor first-order linear

Core Idea

For a first-order linear ODE of the form dy/dx + P(x)y = Q(x), an integrating factor μ(x) = e^(∫P(x)dx) transforms the left side into the derivative of a product: d/dx[μ(x)y] = μ(x)Q(x). This makes the equation directly integrable, converting a challenging linear equation into a solvable form. The integrating factor is one of the most powerful techniques in differential equations.

Explainer

You've already solved separable differential equations by getting all the y-terms on one side and all the x-terms on the other, then integrating both sides. That works beautifully when the equation separates — but dy/dx + P(x)y = Q(x) generally cannot be separated if Q(x) ≠ 0. A different strategy is needed: rather than rearranging the equation, multiply both sides by a carefully chosen function to create a pattern you recognize.

The goal is to turn the left side y′ + P(x)y into the derivative of a product. Recall the product rule: d/dx[μ(x)y] = μ(x)y′ + μ′(x)y. Compare this to μ(x)·(y′ + P(x)y) = μ(x)y′ + μ(x)P(x)y. For these to be equal, you need μ′(x) = μ(x)P(x). This is itself a separable ODE: dμ/μ = P(x)dx. Integrating both sides gives ln|μ| = ∫P(x)dx, so μ(x) = e∫P(x)dx. The constant of integration is dropped because any particular μ works — the simplest one suffices.

To see the method in action, consider y′ + (2/x)y = x². Here P(x) = 2/x, so μ(x) = e∫2/x dx = e2 ln x = x². Multiply both sides by x²: x²y′ + 2xy = x⁴. The left side is now d/dx[x²y] by the product rule. Integrate both sides: x²y = ∫x⁴ dx = x⁵/5 + C. Divide by x²: y = x³/5 + C/x². The integrating factor converted an unseparable equation into a straightforward integration.

The algorithm in full: (1) rewrite the equation in standard form y′ + P(x)y = Q(x), identifying P and Q. (2) Compute μ(x) = e∫P(x)dx. (3) Multiply both sides by μ. (4) Recognize the left side as d/dx[μy] and write it that way. (5) Integrate both sides. (6) Solve for y. Each step has a clear mechanical purpose, and the method always works for first-order linear equations — unlike separation of variables, which only applies to a restricted class.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Fundamental Theorem of Calculus Part 1 → Fundamental Theorem of Calculus Part 2 → U-Substitution → Separable Equations (Intro) → Separable Differential Equations → Integrating Factor Method for First-Order Linear ODEs

Longest path: 91 steps · 411 total prerequisite topics

Prerequisites (1)

Leads To (2)