A differential equation is an equation, where the unknown is a function and both the function and its derivatives may appear in the equation.

Let us first look at some famous laws in the history of science:

**Newton’s law**: Mass times acceleration equals force, , where m is the particle mass, is the particle acceleration, and f is the force acting on the particle. Hence Newton’s law is the differential equation :

where the unknown is x(t)—the position of the particle in space at the time t. As we

see above, the force may depend on time, on the particle position in space, and on the

particle velocity.

**Note**: This is a **second order Ordinary Differential Equation** (ODE).

**Radioactive Decay**: The amount u of a radioactive material changes in time as follows,

where k is a positive constant representing radioactive properties of the material.

**Note**: This is a **first order ODE.**

**Schrödinger Equation (Wave Equation):**The Schrodinger Equation is:

where,

- x:Position
- : Schrödinger Wave Function
- E: Energy
- V: Potential Energy

**Note: **This is a second order in time and space Partial Differential Equation (PDE).

There are numerous other applications of Differential Equations in varied fields including, but not limited to:

**Biology**: Verhulst equation, Bertalanffy model, Replicator dynamics, Hodgkin–Huxley model, etc.**Chemistry**: The rate law or rate equation for a chemical reaction is a differential equation that links the reaction rate with concentrations or pressures of reactants and constant parameters.**Economics:**Solow–Swan model, The Black–Scholes PDE, Malthusian growth model, The Vidale–Wolfe advertising model, etc.

Hence, we can see that differential equations are essential for a mathematical description of nature, and they lie at the core of many theories, and is a very essential tool to any scientist in any field of study.

**Definitions:**

Let us get comfortable with some basic definitions:

**Ordinary Differential Equations (ODE)**— the unknown function depends on a single independent variable.**Partial Differential Equations (PDE)**—The unknown function depends on two or more independent variables, and their partial derivatives appear in the equations.- The
**order**of a differential equation is the highest derivative order that appears in the equation. - A
**first order ODE**on the unknown y is where f is given and .

**Linear Differential Equations:**

The First Order ODE is** linear** iff the source function f is** linear** on its second argument,

The linear equation has **constant coefficients** iff both a and b above are constants. Otherwise

the equation has **variable coefficients**.

**Example:**

- —- First Order Linear ODE with constant coefficients.
- —-First order linear ODE with variable coefficients.
- —– Non-Linear

A real-valued function defined on a domain D is said to be the **solution** of a differential equation iff the equation is satisfied for all values of the independent variable, say t, on the domain D.

**Theorem 1 (Constant Coefficients):** The linear differential equation

#### with , b constants, has infinitely many solutions,

**This is called the general solution of the differential equations. The constant c can be obtained using some given initial values.**

**Proof**: Try the proof. Hint:

- First prove for b=0.
- Then take .

**Method 2: Integrating Factor Method:**

The theorem given above cannot be used for all linear equations with variable coefficients. However, we can solve those by using a method called Integrating Factor Method.

- Write the equation in standard form: .
- Determine the integrating factor.
- Multiply the equation in standard form by the integrating factor.
- Using the product and chain rule of differentiation, write the left hand side of the equation in the following way:
- Hence, we can see:
- Integrate both sides of the new equation:

The fundamental theorem of Calculus gives: , where is an arbitrary constant. Let solution of the other equation is: . Then: - Divide by integrating factor to get the solution:

Hence, we can now give Theorem 2:

**Theorem 2 (Variable Coefficients): **If the functions a, b are continuous, then has infinitely many solutions given by:

**where and .**

Thus we have successfully solved the Linear Differential Equations for both constant and variable coefficients.

**Bernoulli Equation: **

**Definition: The Bernoulli Equation is:**

where p, q are given functions and .

**Remarks**:

- For n 6= 0, 1 the equation is nonlinear.
- If n = 2 we get the logistic equation.
- This is a non-linear equation which can be transformed into a linear one.

**Theorem 3: The function y is a solution of the Bernoulli Equation:**

**iff the function is solution of the linear differential equation**

**Separable Equations:**

More often than not nonlinear differential equations are harder to solve than linear equations. Separable equations are an exception—they can be solved just by integrating on both sides of the differential equation.

**Definition: **A separable differential equation for a function y is

where h and g are given functions.

**Theorem 4: If h, g are continuous, with , then **** has infinitely many solutions y satisfying the algebraic equation:**

**where is arbitrary, H and G are antiderivatives of h and g.**

Thus, in this article, we have learned the methodology for solving Linear Differential Equations, with both constant and varying coefficients, Bernoulli Equations, and Separable Equations. We will continue in the next post, starting with the Euler Homogenous Equations.

Pingback: Ordinary Differential Equations: Part-II

Pingback: Ordinary Differential Equations: Part-3