A first-order linear differential equation can be written in standard form . The unknown function is , the prime means differentiation with respect to , and the known functions and describe the equation’s coefficients and input. The equation is linear because and appear only to the first power and are not multiplied together. Its coefficients may vary with time without destroying linearity. The integrating-factor method solves this entire class on intervals where the coefficients behave appropriately.
The method can look like a mysterious instruction to multiply by an exponential. It becomes understandable when designed backward from the product rule. Multiplication by a carefully chosen function turns the two terms containing into one exact derivative. Integration then reverses that derivative. The procedure is therefore constructed algebra rather than a memorized trick.
This article derives the factor, explains each symbol, and develops a reliable workflow. It treats constant and variable coefficients, initial conditions, interval restrictions, and physical units. Worked examples include verification in the original equation. Interpretations connect the solution to transient response, accumulated forcing, and linear systems. Common mistakes are repaired by returning to the product-rule identity.
Recognize the linear first-order structure
The general form is linear in the unknown function. The coefficient multiplies the derivative, multiplies the function, and is a prescribed input. Standard form requires the coefficient of to be one. Divide by wherever . This produces and .
Linearity concerns dependence on , not whether the independent variable appears nonlinearly. The equation is linear because and are known functions of . The equation is nonlinear because the unknown is squared. The equation is nonlinear because the unknown multiplies its derivative. Classification determines whether this method applies.
The interval of work matters. Dividing by may exclude points where it vanishes. A coefficient such as is continuous separately on and but not across zero. An initial condition selects the relevant interval. A formula valid on one interval should not be carried through a singular point without new analysis.
Design the method from the product rule
Begin with and multiply by an unknown nonzero function . The result is . We want the left side to equal the derivative of the product . The product rule gives . Matching the coefficients of requires .
The auxiliary equation is separable. Dividing by nonzero gives . Integrating gives . Exponentiation gives . Any nonzero constant can be omitted because it multiplies every later term and cancels.
Choose the simple representative . Differentiating it gives by the chain rule. Therefore . The integrating factor works because its logarithmic derivative equals . This identity is the core of the method.
Execute the general solution
After multiplying by , the equation becomes . Integrate both sides with respect to . This gives . The constant represents the one free parameter expected for a first-order equation. Divide by to isolate the unknown.
The general formula is . The brackets group the antiderivative and constant before multiplication by the reciprocal factor. An indefinite integral is acceptable when it can be evaluated clearly. A definite-integral form often handles initial conditions more transparently. Both describe the same solution family.
Do not substitute the formula before the equation is in standard form. If the derivative coefficient is not one, the wrong produces the wrong factor. After normalization, label and explicitly. Differentiate to check . This one-line test catches many errors.
Use a definite integral for initial-value problems
Suppose . Integrate from to . The Fundamental Theorem of Calculus gives . The variable is a dummy integration variable. It prevents confusion between the upper limit and the quantity being integrated.
Now isolate by dividing the entire equality by . The factor is nonzero because an exponential never vanishes. Keep the initial term and accumulated-input term grouped in the numerator. Use only inside the integral. This arrangement keeps the initial state visibly separate from later forcing. The resulting expression appears below.
The numerator contains the transported initial contribution and accumulated input. The denominator applies the coefficient-driven scaling. Every symbol has a defined role. The first term preserves information supplied at . The integral records forcing received between and .
This form satisfies the initial condition automatically. Setting makes the integral zero and leaves . It also avoids solving separately for . For theoretical work, the formula exposes how the solution depends on its initial state and forcing. It is the scalar version of variation-of-constants reasoning.
Worked example with constant coefficients
Solve with . Standard form is already present, so and . The integrating factor is . Multiplication gives . The left side is .
Integrate to obtain . Dividing by gives . Apply the initial condition: , so . The solution is . It begins at one and approaches three.
Verification should use the original differential equation. Differentiate to get . Then . The initial value is . Both the equation and condition are satisfied.
Interpret steady and transient pieces
The constant term three is an equilibrium response. If and , then the equation gives . The exponential term is a transient. It records how the initial value differs from equilibrium. Its magnitude decays because the exponent is negative.
Writing makes the structure explicit. Here and . The coefficient of the exponential is the initial mismatch. The decay rate has units reciprocal to those of . A dimensionless exponent requires the product to have no unit.
If the coefficient of were negative, the homogeneous factor could grow rather than decay. The algebraic method would still work. Stability is a separate interpretation based on the sign and accumulated effect of . Integrating factors solve equations whether their solutions decay or grow. Physical plausibility must be assessed from the model.
Variable coefficients require interval awareness
Consider on . Divide by to obtain . Now and . The integrating factor is . The restriction justifies writing .
Multiplication gives . The left side is . Integrating gives . Therefore . The solution is valid on an interval not crossing zero.
On , , and exponentiation again produces a constant multiple of . The same algebraic expression can hold on each side. The constants need not be the same because the intervals are disconnected. No initial value can propagate uniquely through the singular point by this theorem. Domain statements are part of the solution.
Worked example with a nonconstant factor
Solve for . Here and . The integrating factor is . Multiplying produces . The left side is .
Integrate to get . Multiplying by gives . Notice that the homogeneous term is . Substituting it into confirms the homogeneous behavior. The particular term responds to the input .
Differentiate the full solution to obtain . Substitute both and into the normalized equation. Keep the factor outside parentheses until every term is visible. The constant terms should cancel because they form the homogeneous solution. This cancellation is a diagnostic expectation rather than an accidental simplification. The substitution is shown below.
The constant cancels as required. The remaining terms combine to . That equals the original right side. Verification therefore confirms the differential equation. It also confirms that the interval-dependent algebra is coherent.
Units constrain coefficient and factor
Suppose has unit seconds and has unit concentration . Then has unit . In , the product must have the same unit. Therefore must have unit . The input must have concentration per time.
The exponent must be dimensionless. Multiplying by cancels units. The integrating factor is then dimensionless under the common formulation. If a derived exponent retains a physical unit, the setup is inconsistent. Dimensional reasoning checks the factor before integration continues.
The constant inherits the unit of . When is dimensionless, has the same unit as . In a definite-integral formula, also has the unit of . Terms added in the numerator therefore agree. Unit consistency mirrors algebraic consistency.
Mixing models produce linear equations
Let be solute amount in a well-mixed tank. A standard balance is . If volume is constant and outflow concentration is , the equation can become . The flow rate is , tank volume is , and incoming concentration is . The coefficient has unit reciprocal time.
The integrating factor is for constant parameters. The solution separates into an equilibrium amount and a decaying initial mismatch. The equilibrium is . This makes physical sense because equilibrium tank concentration matches incoming concentration. Algebra and material balance agree.
The model assumes instantaneous uniform mixing, constant volume, fixed flow, and fixed incoming concentration. Real tanks can have dead zones, delays, or time-varying volume. Changing assumptions changes the equation and perhaps its linearity. A polished solution states the model boundary. Mathematical exactness cannot repair an inappropriate physical model.
RC circuits use the same structure
For a resistor–capacitor circuit, a common voltage equation is . Divide by to reach standard form. This gives . The product has units seconds. Its reciprocal is a rate.
The integrating factor is for constant resistance and capacitance. The quantity is the time constant. With constant input, the transient decays as . After one time constant, its magnitude is multiplied by . The same mathematics described the earlier approach to equilibrium.
Circuit interpretation must retain sign convention and initial capacitor voltage. A discontinuous input can still be handled piecewise. Capacitor voltage remains continuous in the ideal finite-current model, while its derivative can change at a switching time. Each time interval receives its own forcing expression. Continuity connects the interval solutions.
Relation to homogeneous and particular solutions
The associated homogeneous equation is . Its solution is . This is the free response that carries initial information. The nonhomogeneous equation adds forcing . A particular solution accounts for that input.
The integrating-factor formula displays both pieces. The constant term produces the free response. The integral term produces a response to the input. Their sum uses the superposition property of a linear equation. This separation supports both calculation and interpretation. In symbols, the decomposition is shown below.
The first term is homogeneous, and the second is one particular response. Their sum works because the differential operator is linear. Superposition applies to the response. If the input is zero, only the homogeneous contribution remains. If the initial mismatch is zero, the forced contribution can still be nonzero.
Different choices of antiderivative can shift a constant between the two pieces. The complete family remains unchanged. A particular solution is not unique because adding a homogeneous solution creates another one. Initial conditions remove the ambiguity. Decomposition is interpretive even when the total solution is fixed.
Common mistakes and repairs
The most common mistake is reading before normalizing the derivative coefficient. Divide first. Then rewrite the equation with the term, the term, and the input clearly separated. Circle . Test before using the factor.
Another mistake is multiplying only some terms by . Every term on both sides must be multiplied. Write the expanded equation before compressing the left side. Compare it directly with . This prevents a missing factor on .
A third mistake is integrating and separately without recognizing the product derivative. Their individual antiderivatives may be difficult or unavailable. The method exists precisely to package them. Once is identified, integrate the whole derivative. Return to the designed identity whenever manipulation becomes unclear.
A reliable solution workflow
First identify an interval and put the equation in standard form. Confirm that and are defined and continuous where the initial value lies. Record units when the equation models a physical system. Distinguish the unknown from prescribed inputs. Classify the equation before choosing the method.
Second compute and verify . Multiply every term by . Rewrite the left side as . Integrate and isolate . Use a definite integral when an initial value is available.
Third apply conditions and verify the result in the original equation. Check the initial value separately. State the interval of validity. Interpret homogeneous and forced pieces. Examine units, limiting behavior, and equilibrium when applicable.
Retrieval practice and synthesis
Without looking back, derive from the product rule. Begin with an unknown multiplier. Match the coefficient of rather than quoting the final formula. Explain why a nonzero multiplicative constant in is irrelevant. Then state the interval assumptions required.
Solve with an unspecified constant. Identify the homogeneous term before evaluating the particular integral. Differentiate the final expression and substitute it into the original equation. Explain which part remembers initial data. State the units that coefficient three must have if is measured in seconds.
Compare integrating factors with separation of variables. Some equations belong to both classes, but neither class contains the other. Separation rearranges functions of and onto opposite sides. Integrating factors exploit linearity and the product rule. Choosing a method begins with structural recognition rather than surface resemblance.