ArticleslgStudy

mathematics

Integrating factor

Integrating factor is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Integrating factor rather than just read about it. In short: In mathematics, an integrating factor is a function that is chosen to facilitate the solving of a given equation involving differentials. It is commonly used to solve non-exact ordinary differential equations, but is also used within multivariable calculus when multiplying through by an integrating factor allows an inexact differential to be made into an exact differential (which can then be integrated to give a sca…

Key takeaways

  • Integrating factor belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Integrating factor to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Integrating factor from memory before moving on to harder problems.

Reference excerpt

In mathematics, an integrating factor is a function that is chosen to facilitate the solving of a given equation involving differentials. It is commonly used to solve non-exact ordinary differential equations, but is also used within multivariable calculus when multiplying through by an integrating factor allows an inexact differential to be made into an exact differential (which can then be integrated to give a scalar field). This is especially useful in thermodynamics where temperature becomes the integrating factor that makes entropy an exact differential.

Use An integrating factor is any expression that a differential equation is multiplied by to facilitate integration. For example, the nonlinear second order equation

d2ydt2=Ay2/3 admits dydt as an integrating factor:

d2ydt2dydt=Ay2/3dydt. To integrate, note that both sides of the equation may be expressed as derivatives by going backwards with the chain rule:

ddt(12(dydt)2)=ddt(A35y5/3). Therefore,

(dydt)2=6A5y5/3+C0. where C0 is a constant. This form may be more useful, depending on application. Performing a separation of variables will give

∫y(0)y(t)dy6A5y5/3+C0=t This is an implicit solution which involves a nonelementary integral. This same method is used to solve the period of a simple pendulum.

Solving first order linear ordinary differential equations Integrating factors are useful for solving ordinary differential equations that can be expressed in the form

y′+P(x)y=Q(x) The basic idea is to find some function, say M(x), called the "integrating factor", which we can multiply through our differential equation in order to bring the left-hand side under a common derivative. For the canonical first-order linear differential equation shown above, the integrating factor is e∫P(x)dx. Note that it is not necessary to include the arbitrary constant in the integral, or absolute values in case the integral of P(x) involves a logarithm. Firstly, we only need one integrating factor to solve the equation, not all possible ones; secondly, such constants and absolute values will cancel out even if included. For absolute values, this can be seen by writing |f(x)|=f(x)sgn⁡f(x), where sgn refers to the sign function, which will be constant on an interval if f(x) is continuous. As ln⁡|f(x)| is undefined when f(x)=0, and a logarithm in the antiderivative only appears when the original function involved a logarithm or a reciprocal (neither of which are defined for 0), such an interval will be the interval of validity of our solution. To derive this, let M(x) be the integrating factor of a first order linear differential equation such that multiplication by M(x) transforms a non-integrable expression into an integrable derivative, then:

M(x)(y′+P(x)y⏟)non-integrable expression M(x)y′+M(x)P(x)y M(x)y′+M′(x)y⏟integrable derivative Going from step 2 to step 3 requires that M(x)P(x)=M′(x), which is a separable differential equation, whose solution yields M(x) in terms of P(x):

M(x)P(x)=M′(x) P(x)=M′(x)M(x) ∫P(x)dx=ln⁡M(x)+c M(x)=Ce∫P(x)dx To verify, multiplying by M(x) gives

M(x)y′+P(x)M(x)y=Q(x)M(x) By applying the product rule in reverse, we see that the left-hand side can be expressed as a single derivative in x

M(x)y′+P(x)M(x)y=M(x)y′+M′(x)y=ddx(M(x)y) We use this fact to simplify our expression to

ddx(M(x)y)=Q(x)M(x) Integrating both sides with respect to x

Ce∫P(x)dxy=∫Q(x)Ce∫P(x)dxdx e∫P(x)dxy=(∫Q(x)e∫P(x)dxdx)+C where C is a constant. Moving the exponential to the right-hand side, the general solution to ordinary differential equation is:

y=e−∫P(x)dx(∫Q(x)e∫P(x)dxdx)+Ce−∫P(x)dx In the case of a homogeneous differential equation, Q(x)=0 and the general solution to ordinary differential equation is:

y=Ce−∫P(x)dx. for example, consider the differential equation

y′−2yx=0. We can see that in this case P(x)=−2x

M(x)=e∫1xP(x)dx M(x)=e∫1x−2xdx=e−2ln⁡x=(eln⁡x)−2=x−2 M(x)=1x2. Multiplying both sides by M(x) we obtain

y′x2−2yx3=0 The above equation can be rewritten as

d(x−2y)dx=0 By integrating both sides with respect to x we obtain

x−2y=C or

y=Cx2 The same result may be achieved using the following approach

y′x2−2yx3=0 y′x3−2x2yx5=0 x(y′x2−2xy)x5=0 y′x2−2xyx4=0. Reversing the quotient rule gives

(yx2)′=0 or

yx2=C, or

y=Cx2. where C is a constant.

Solving second order linear ordinary differential equations The method of integrating factors for first order equations can be naturally extended to second order equations as well. The main goal in solving first order equations was to find an integrating factor M(x) such that multiplying y′+p(x)y=h(x) by it would yield (M(x)y)′=M(x)h(x), after which subsequent integration and division by M(x) would yield y. For second order linear differential equations, if we want M(x)=e∫p(x)dx to work as an integrating factor, then

(M(x)y)″=M(x)(y″+2p(x)y′+(p(x)2+p′(x))y)=M(x)h(x) This implies that a second order equation must be exactly in the form y″+2p(x)y′+(p(x)2+p′(x))y=h(x) for the integrating factor to be usable.

Example 1 For example, the differential equation

y″+2xy′+(x2+1)y=0 can be solved exactly with integrating factors. The appropriate p(x)can be deduced by examining the y′ term. In this case, 2p(x)=2x, so p(x)=x. After examining the y term, we see that we do in fact have p(x)2+p′(x)=x2+1, so we will multiply all terms by the integrating factor e∫xdx=ex2/2. This gives us

ex2/2y″+2ex2/2p(x)y′+ex2/2(p(x)2+p′(x))y=0 which can be rearranged to give

(ex2/2y)″=0 Integrating twice yields

ex2/2y=c1x+c2 Dividing by the integrating factor gives:

y=c1x+c2ex2/2

Example 2 A slightly less obvious application of second order integrating factors involves the following differential equation:

y″+2cot⁡(x)y′−y=1 At first glance, this is clearly not in the form needed for second order integrating factors. We have a 2p(x) term in front of y′ but no p(x)2+p′(x) in front of y. However,

p(x)2+p′(x)=cot2(x)−csc2(x) and from the Pythagorean identity relating cotangent and cosecant,

cot2(x)−csc2(x)=−1 so we actually do have the required term in front of y and can use integrating factors.

e∫cot⁡(x)dx=eln⁡(sin⁡(x))=sin⁡(x) Multiplying each term by sin⁡(x) gives

sin⁡(x)y″+2cot⁡(x)sin⁡(x)y′−sin⁡(x)y=sin⁡(x) which rearranged is

(sin⁡(x)y)″=sin⁡(x) Integrating twice gives

sin⁡(x)y=−sin⁡(x)+c1x+c2 Finally, dividing by the integrating factor gives

y=c1xcsc⁡(x)+c2csc⁡(x)−1

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Integrating factor

Start with the simplest possible case. Write down what Integrating factor claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Integrating factor before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Integrating factor ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Integrating factor

In research
Integrating factor appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Integrating factor in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Integrating factor is common in secondary-school and first-year university syllabi. It links to neighbouring topics Ordinary differential equations, so understanding it makes those chapters shorter.
In everyday life
Look for Integrating factor outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Integrating factor” →

How to study Integrating factor in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Integrating factor means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Integrating factor out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Integrating factor in simple terms?

In mathematics, an integrating factor is a function that is chosen to facilitate the solving of a given equation involving differentials. It is commonly used to solve non-exact ordinary differential equations, but is also used within multivariable calculus when multiplying through by an integrating…

Why does Integrating factor matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Integrating factor?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Integrating factor.

Tags

  • Ordinary differential equations

Keep exploring