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 EquationsExact 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 ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIndefinite IntegralsBasic Integration RulesRiemann SumsDefinite Integral DefinitionFundamental Theorem of Calculus Part 1Fundamental Theorem of Calculus Part 2U-SubstitutionSeparable Equations (Intro)Separable Differential EquationsIntegrating Factor Method for First-Order Linear ODEs

Longest path: 91 steps · 411 total prerequisite topics

Prerequisites (1)

Leads To (2)