JustToThePoint English Website Version
JustToThePoint en español
Colaborate with us

Integral Factors

Now I Am Become Death, the Destroyer of Worlds, Oppenheimer.

Do, or do not. There is no try, Yoda.

Recall

Definition. A differential equation is an equation that involves one or more functions and their derivatives. It relates the function itself (dependent variable), its derivatives with respect to one or more independent variables, and the independent variables themselves, e.g., $\frac{dy}{dx} = 3x +5y, y’ + y = 4xcos(2x), \frac{dy}{dx} = x^2y+y, etc.$

Key Components (e.g., $\frac{dy}{dx} = 3x +5y$):

Separation of Variables

Separable differential equations are a special class of differential equations that can be manipulated algebraically to separate the variables, allowing us to integrate and find solutions.

A separable differential equation is any differential equation that can be written in the form $\frac{dy}{dx}=f(x)g(y)$. This form allows us to separate the variables x and y on opposite sides of the equation, facilitating integration.

Steps to Solve Separable Differential Equations

  1. Check for any values of y that make g(y) = 0. These correspond to constant (equilibrium) solutions where $\frac{dy}{dx} = 0$.
  2. Rewrite the equation to isolate y terms on one side and x terms on the other: $\frac{dy}{g(y)} = f(x)dx$
  3. Integrate both sides of the equation: $\int \frac{dy}{g(y)} = \int f(x)dx$
  4. Solve the resulting equation for y if possible to find the general solution.
  5. If an initial condition y(x0 = y0) is provided, substitute x0 and y0 into the general solution and solve for the constant of integration C.

Bernoulli Equations

Differential Equations: Integral Factors

Definition. A first-order differential equation is called linear if it can be written in the form $\frac{dy}{dx} +P(x)y = Q(x)$ where P(x) and Q(x) are continuous functions of x over some interval I. This form only involves the first derivative of y with respect to x, hence it is called a first-order differential equation.

Examples of Linear First-Order Differential Equations

These equations fit the standard linear form $\frac{dy}{dx} +P(x)y = Q(x)$:

Non-Examples (Nonlinear Equations)

These equations are not linear due to the presence of non-linear terms in y or y′:

The Method of Integrating Factors

The integrating factor method is a useful technique for solving first-order linear ordinary differential equations (ODEs). This method involves multiplying the entire equation by a carefully chosen function, called the integrating factor. The purpose of this function, denoted μ(x), is to transform the left side of the equation into the derivative of a product, which simplifies integration.

First, we multiply our equation for the integrating factor: uy’ + P(x)u(x)y = uQ(x)

We aim to get (uy)’ = uy’ + P(x)uy and this only works if u’y = P(x)uy ↭ u’ = P(x)u ⇒[Separate variables] $\frac{u’}{u} = P ⇒[\text{Taking integrals}] \int \frac{du}{u} = \int P(x)dx ↭ lnu = \int P(x)dx ⇒[\text{Taking exponentials}] u = e^{\int P(x)dx}$

We are not going to use any arbitrary constant since only one integrating factor u is required. The integrating factor, μ(x), is defined as $μ(x) = e^{\int P(x)dx}$

The solution to the differential equation is obtained by multiplying both sides of the equation by the integrating factor $μ(\frac{dy}{dx} +P(x)y) = μ·Q(x)$, which becomes $\frac{d}{dx}(μ·y)=μ·Q(x)$ (💡Recognize the left side as the derivative of a product.) and then integrating both sides with respect to x (This transformation allows us to integrate both sides easily and find the solution), $μ·y = \int μ·Q(x)dx$, and now the ODE can be solved.

JustToThePoint. Calculus III. Differential Equations

The Method Step-by-Step

  1. Ensure that the differential equation is written in the standard linear form: $\frac{dy}{dx} +P(x)y = Q(x).$
  2. Calculate the Integrating Factor. The integral factor μ(x) is given by: $μ(x) = e^{\int P(x)dx}$
  3. Multiply both sides of the differential equation by the integrating Factor μ(x): $μ(x)\frac{dy}{dx} +μ(x)P(x)y = μ(x)Q(x).$ By construction, the left-hand side becomes the derivate of the product μ(x)y with respect to x, i.e., $\frac{d}{dx}(μ(x)y) = μ(x)Q(x).$
  4. Integrate both sides of the equation: $\int \frac{d}{dx}(μ(x)·y)dx = \int μ(x)Q(x)dx ↭[\text{Simplifying, this becomes:}] μ(x)y = \int μ(x)Q(x)dx + C$ where C is the constant of integration.
  5. Solve for y. Finally, divide both sides by μ(x) to get y(x): y = $\frac{1}{μ(x)}(\int μ(x)Q(x)dx + C)$

Examples

  1. The equation is already in standard form: $\frac{dy}{dx} +P(x)y = Q(x)$ where P(x) = -3 and Q(x) = 6.
  2. Second, we compute the integrating factor, μ(x). It is defined as $μ(x) = e^{\int P(x)dx} = e^{\int -3dx} = e^{-3x}$
  3. Third, we write the differential equation in the form $\frac{d}{dx}(μ·y)=μ·Q(x)$ by multiplying both sides of the differential equation by the integrating factor, $e^{-3x}(\frac{dy}{dx} -3y) = 6·e^{-3x} ↭ \frac{d}{dx}(e^{-3x}·y) = 6·e^{-3x}$.
  4. Next, we can solve the differential equation integrating with respect to x, $e^{-3x}·y = \int 6·e^{-3x}dx$ =[u = -3x, du = -3dx ⇒ $dx = \frac{-du}{3}$] $\int -2e^udu = -2e^u = -2e^{-3x} + C ⇒ e^{-3x}·y = -2e^{-3x} + C$ where C is the constant of integration.
  5. Finally, solving for y by multiplying by e3x, we get y = $-2 + C·e^{3x}$
  1. The equation is already in standard form: $\frac{dy}{dx} +P(x)y = Q(x)$ where P(x) = 1 and Q(x) = 5x2.

  2. Second, we compute the integrating factor, μ(x). It is defined as $μ(x) = e^{\int P(x)dx} = e^{\int dx} = e^{x}$

  3. Third, multiply both sides of the equation by the integrating factors: $e^xy’ + e^xy = e^x5x^2$ ↭[Recall $\frac{d}{dx}(μ·y)=μ·Q(x)$, the left-hand side is the derivative of the product μ(x)=ex and y] $\frac{d}{dx}(e^x·y) = e^x5x^2$

  4. Next, we can solve the differential equation integrating with respect to x, $\int \frac{d}{dx}(e^x·y)dx = \int e^x5x^2dx ↭ e^x·y = \int e^x5x^2dx$

    $\int e^x5x^2dx = $[Integration by parts ∫udv=uv−∫vdu, u = 5x2 ⇒ du = 10xdx; dv = exdx ⇒ v = ex] = $5x^2e^x -\int 10xe^xdx$ [Integration by parts ∫udv=uv−∫vdu, u = 10x ⇒ du = 10dx; dv = exdx ⇒ v = ex] $5x^2e^x -(10xe^x-\int 10e^xdx) = 5x^2e^x-10xe^x +10e^x + C$

  5. Therefore, $e^x·y = \int e^x5x^2dx = 5x^2e^x-10xe^x +10e^x + C ⇒[\text{Divide both sides by eˣ to solve for y}] y = 5x^2-10x+10 + Ce^{-x}$

  1. The equation is already in standard form: $\frac{dy}{dx} +P(x)y = Q(x)$ where P(x) = 2 and Q(x) = x2.

  2. Second, we compute the integrating factor, μ(x). It is defined as $μ(x) = e^{\int P(x)dx} = e^{\int 2dx} = e^{2x}$

  3. Third, we write the differential equation in the form $\frac{d}{dx}(μ·y)=μ·Q(x)$ by multiplying both sides of the differential equation by the integrating factor, $e^{2x}(\frac{dy}{dx} + 2y) = e^{2x}·x^2 ↭ \frac{d}{dx}(e^{2x}·y) = e^{2x}·x^2$.

  4. Next, we can solve the differential equation by integrating with respect to x, $e^{2x}·y = \int e^{2x}·x^2 dx$ =[Recall Integration by parts formula $\int udv = uv - \int vdu$, u = x2 (so du = 2xdx) dv = $e^{2x}dx$, so v = $\frac{1}{2}e^{2x}$] $x^2\frac{1}{2}e^{2x}- \int \frac{1}{2}e^{2x}2xdx = \frac{1}{2}x^2e^{2x}- \int e^{2x}xdx$

    $\int e^{2x}xdx$ =[Apply integration by parts again, u = x, dv = $e^{2x}dx, du = dx, v = \frac{1}{2}e^{2x}$] $\frac{1}{2}xe^{2x} -\int \frac{1}{2}e^{2x}dx = \frac{1}{2}xe^{2x} -\frac{1}{4}e^{2x} + C.$ Therefore, $e^{2x}·y = \frac{1}{2}x^2e^{2x}- \int e^{2x}xdx = \frac{1}{2}x^2e^{2x} -\frac{1}{2}xe^{2x} +\frac{1}{4}e^{2x} - C = e^{2x}(\frac{1}{2}x^2-\frac{1}{2}x+\frac{1}{4}) - C$

  5. Finally, we can solve for y: $y = \frac{1}{2}x^2-\frac{1}{2}x+\frac{1}{4} - C·e^{-2x}$ where C is a constant determined by initial conditions, if provided.

This differential equation models processes like Newton’s Law of Cooling, where T is the temperature of an object over time, k is a positive constant, and Te is the surrounding environment’s temperature.

  1. Write the differential equation in standard form: $\frac{dT}{dt}+kT = kT_e$. It is already in standard form: $\frac{dT}{dt} +P(t)T = Q(t)$ where P(t) = k and Q(t) = kTe.
  2. Compute the integrating factor: $μ = e^{\int P(t)dt} = e^{\int kdt} = e^{kt}$.
  3. Multiply both sides of the differential equation by the integrating factor ekt: $e^{kt}\frac{dT}{dt}+kTe^{kt} = kT_ee^{kt}$
  4. By construction, the left-hand side becomes the derivative of the product ektT, i.e., $(e^{kt}T)’ = kT_ee^{kt}$
  5. Integrate both sides of the equation with respect to t: $e^{kt}T = \int kT_ee^{kt}dt + C$ where C is the constant of integration.
  6. Solve for t, $T(t) = e^{-kt}\int kT_e(t)e^{kt}dt + Ce^{-kt}$

If an initial condition T(0) = T0 is provided, we can determine C: $T_0 = e^{-0·t}\int_{0}^{0} kT_e(t)e^{kt}dt + C = C$. Thus, C = T0 and $T(t) = e^{-kt}\int_{0}^{t} kT_e(t_1)e^{kt_1}dt_1 + T_0e^{-kt}$.

If Te(t) is bounded and k > 0, the exponential term $T_0e^{-kt}$ approaches zero as t → ∞, so $e^{-kt}\int_{0}^{t} kT_e(t_1)e^{kt_1}dt_1$ is the steady-state solution.

For constant external temperature Te(t), Te(t) = Te, $T = e^{-kt}\int kT_e(t)e^{kt}dt + Ce^{-kt} = e^{-kt}kT_e\int e^{kt}dt + Ce^{-kt} = e^{-kt}kT_e·\frac{e^{kt}}{k} + Ce^{-kt} = T_e + Ce^{-kt}=$ [Using the initial condition T(0) = T0] T(0) = T0 = Te + C⇒ C = T0 - TeThe solution to the differential equation modelling Newton's Law of Cooling for constant external temperature Te and initial condition T(0) = T0 is $T = T_e + (T_0-T_e)e^{-kt}$.

This solution describes the temperature T(t) approaching Te as t → ∞, with the rate of approach determined by k.

Bibliography

This content is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
  1. NPTEL-NOC IITM, Introduction to Galois Theory.
  2. Algebra, Second Edition, by Michael Artin.
  3. LibreTexts, Calculus. Abstract and Geometric Algebra, Abstract Algebra: Theory and Applications (Judson).
  4. Field and Galois Theory, by Patrick Morandi. Springer.
  5. Michael Penn, and MathMajor.
  6. Contemporary Abstract Algebra, Joseph, A. Gallian.
  7. YouTube’s Andrew Misseldine: Calculus. College Algebra and Abstract Algebra.
  8. MIT OpenCourseWare, 18.01 Single Variable Calculus, Fall 2007M. 18.02 Multivariable Calculus, Fall 2007. 18.03 Differential Equations, Spring 2006.
  9. Calculus Early Transcendentals: Differential & Multi-Variable Calculus for Social Sciences.
Bitcoin donation

JustToThePoint Copyright © 2011 - 2025 Anawim. ALL RIGHTS RESERVED. Bilingual e-books, articles, and videos to help your child and your entire family succeed, develop a healthy lifestyle, and have a lot of fun. Social Issues, Join us.

This website uses cookies to improve your navigation experience.
By continuing, you are consenting to our use of cookies, in accordance with our Cookies Policy and Website Terms and Conditions of use.