First Order and Second Order Differential Equations: First Order Differential Equations and Integrating Factor

First Order and Second Order Differential Equations| Mathematical Physics | University Notes | Physics Notes | B.Sc. Physics Notes by Study Buddy Notes


First Order and Second Order Differential Equations| Mathematical Physics | University Notes | Physics Notes | B.Sc. Physics Notes by Study Buddy Notes


Differential equations are equations that include one or more derivatives of a function. They are fundamental tools in modeling real-world phenomena in fields such as physics, biology, economics, and engineering. This article will explore first and second order differential equations in depth, with particular focus on solving first order linear differential equations using an integrating factor.


1. Introduction to Differential Equations

Differential equations are equations that link a function with its derivatives, representing how one quantity changes in relation to another. They help us understand and predict how variables evolve over time or space.

  • Definition: A differential equation is an equation that involves a function and one or more of its derivatives. For example, if yy is a function of xx, then a differential equation might involve yy, dydx\frac{dy}{dx}, or even higher-order derivatives like d2ydx2\frac{d^2y}{dx^2}.

  • Importance: Differential equations play a crucial role in modeling systems that evolve over time or in response to external factors. For example:

    • In physics, Newton’s laws of motion lead to differential equations that describe the motion of objects under forces.
    • In biology, models of population growth are expressed as differential equations to show how populations change over time.
    • In finance, differential equations model the dynamics of stock prices and interest rates.
  • Classification:

    • First Order Differential Equations: These are equations where the highest derivative present is the first derivative (e.g., dydx=f(x,y)\frac{dy}{dx} = f(x, y)).
    • Second Order Differential Equations: These equations involve the second derivative (e.g., d2ydx2=f(x,y,dydx)\frac{d^2y}{dx^2} = f(x, y, \frac{dy}{dx})). Second order equations often arise in physics, such as in systems involving acceleration.

2. Understanding First Order Differential Equations

First order differential equations involve the first derivative of a function. They often describe processes where the rate of change of a quantity depends on the quantity itself.

  • General Form: The standard form of a first order differential equation is:

    dydx=f(x,y)\frac{dy}{dx} = f(x, y)

    Here, f(x,y)f(x, y) represents a function that could depend on both xx and yy.

  • Interpretation: The equation tells us how yy changes with respect to xx. For instance, if yy represents population size and xx represents time, then dydx=f(x,y)\frac{dy}{dx} = f(x, y) could represent how the population size changes over time based on current population and external factors.

  • Applications: First order differential equations are fundamental in many real-world scenarios:

    • Population Growth: Population growth models often assume that the growth rate of a population dydt\frac{dy}{dt} depends on its current size yy, leading to equations like dydt=ky\frac{dy}{dt} = ky, where kk is a constant.
    • Radioactive Decay: Radioactive substances decay at a rate proportional to the current quantity of the substance, represented by dydt=ky\frac{dy}{dt} = -ky, where kk is a positive constant.

3. Solving First Order Differential Equations

Several methods are available to solve first order differential equations, depending on the equation's form.

a. Separable Differential Equations

Separable differential equations can be expressed as the product of two functions, each dependent on a single variable.

  • Form: A separable equation is written as:

    dydx=g(x)h(y)\frac{dy}{dx} = g(x) h(y)

    This can be rearranged to:

    1h(y)dy=g(x)dx\frac{1}{h(y)} dy = g(x) dx
  • Solution:

    1. Separate Variables: Rewrite the equation so that all terms involving yy are on one side, and all terms involving xx are on the other.
    2. Integrate Both Sides: Integrate with respect to xx and yy separately to find a general solution.

b. Exact Differential Equations

An exact differential equation can be solved if it satisfies a certain condition involving partial derivatives.

  • Form: A differential equation is exact if there exists a function F(x,y)F(x, y) such that:

    Fx=M(x,y)andFy=N(x,y)\frac{\partial F}{\partial x} = M(x, y) \quad \text{and} \quad \frac{\partial F}{\partial y} = N(x, y)

    where M(x,y)M(x, y) and N(x,y)N(x, y) are functions of xx and yy.

  • Solution:

    1. Identify the functions M(x,y)M(x, y) and N(x,y)N(x, y) from the differential equation.
    2. Check for Exactness: Verify if My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}. If true, the equation is exact.
    3. Find Potential Function: Solve for F(x,y)F(x, y) to obtain the general solution.

4. Integrating Factor for First Order Linear Differential Equations

The integrating factor is a technique used to solve first order linear differential equations. It simplifies the equation into a form that allows straightforward integration.

  • Form of a Linear First Order Equation:

    dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x)

    where P(x)P(x) and Q(x)Q(x) are functions of xx.

  • Integrating Factor:

    • To solve the equation, we find an integrating factor μ(x)\mu(x) such that: μ(x)=eP(x)dx\mu(x) = e^{\int P(x) dx}
    • This factor transforms the differential equation into an exact form, allowing for integration.

5. Solving First Order Equations Using Integrating Factor

Let’s outline the steps for using an integrating factor:

  1. Identify P(x)P(x) and Q(x)Q(x): Write the equation in the form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x).
  2. Compute the Integrating Factor: Calculate μ(x)=eP(x)dx\mu(x) = e^{\int P(x) dx}.
  3. Multiply Both Sides by μ(x)\mu(x): Multiply every term in the equation by the integrating factor. This transforms the left side into the derivative of μ(x)y\mu(x)y: ddx(μ(x)y)=μ(x)Q(x)\frac{d}{dx}(\mu(x)y) = \mu(x)Q(x)
  4. Integrate Both Sides: Integrate both sides with respect to xx to find yy.
  5. Solve for yy: Divide by the integrating factor to get the solution.

6. Example Problems on First Order Equations with Integrating Factor

Here’s a sample problem to illustrate the method.

  • Example: Solve the differential equation

    dydx+3y=6\frac{dy}{dx} + 3y = 6
    • Step 1: Identify P(x)=3P(x) = 3 and Q(x)=6Q(x) = 6.
    • Step 2: Compute the integrating factor μ(x)=e3dx=e3x\mu(x) = e^{\int 3 dx} = e^{3x}.
    • Step 3: Multiply both sides by e3xe^{3x}: e3xdydx+3e3xy=6e3xe^{3x} \frac{dy}{dx} + 3e^{3x} y = 6e^{3x}
    • Step 4: Rewrite as: ddx(e3xy)=6e3x\frac{d}{dx}(e^{3x} y) = 6e^{3x}
    • Step 5: Integrate both sides: e3xy=2e3x+Ce^{3x} y = 2e^{3x} + C Solving for yy: y=2+Ce3xy = 2 + Ce^{-3x}

    This is the general solution.


7. Introduction to Second Order Differential Equations

Second order differential equations involve the second derivative of a function. They often model systems with acceleration or oscillation, such as spring-mass systems or electrical circuits.

  • Form: The general form of a second order differential equation is:

    d2ydx2=f(x,y,dydx)\frac{d^2y}{dx^2} = f(x, y, \frac{dy}{dx})
  • Types:

    • Homogeneous Second Order Equations: If f(x,y,dydx)=0f(x, y, \frac{dy}{dx}) = 0, the equation is homogeneous. For example, d2ydx2+pdydx+qy=0\frac{d^2y}{dx^2} + p\frac{dy}{dx} + qy = 0.
    • Non-Homogeneous Second Order Equations: When f(x,y,dydx)0f(x, y, \frac{dy}{dx}) \neq 0, the equation is non-homogeneous.

8. Applications of First and Second Order Differential Equations

Differential equations are crucial in describing systems across disciplines:

  • First Order:

    • Population Growth: A first order model, dydt=ky\frac{dy}{dt} = ky, models exponential growth.
    • Radioactive Decay: The decay rate of a radioactive material follows dydt=ky\frac{dy}{dt} = -ky.
  • Second Order:

    • Harmonic Oscillator: d2xdt2=kx\frac{d^2x}{dt^2} = -kx models simple harmonic motion, like a mass-spring system.
    • Electrical Circuits: In RLC circuits, the second derivative represents the rate of change in current or voltage.

9. Conclusion

Understanding first and second order differential equations opens the door to modeling complex real-world phenomena. The integrating factor provides a powerful tool for solving linear first order equations, while second order equations describe systems with more dynamic changes, including oscillations and accelerations. These mathematical tools are essential for analyzing and predicting behavior in science and engineering.