The study of continuous change.
Table of Contents
- OVERVIEW
- HOW TO SOLVE A DIFFERENTIAL EQUATION
- UNDERSTANDING f(x)
- CLASSIFICATION OF DIFFERENTIAL EQUATIONS
- EXAMPLES
Documentation and Reference
-
Calculus is a broad field of mathematics that includes differentiation (finding derivatives) and integration (finding integrals). It focuses on rates of change and accumulation.
-
Differential Equations (DiffEQ) are a specific branch of mathematics that deals with equations involving derivatives. A differential equation expresses a relationship between a function and its derivatives. Differential equations are used to model real-world phenomena involving rates of change and accumulation.
It's important to understand the role of
CONTEXT | WHAT f(x) REPRESENTS | WHAT WE WANT TO FIND |
---|---|---|
CALCULUS (Derivatives) |
|
The derivative |
CALCULUS (Integrals) |
|
Function |
DIFFERENTIAL EQUATIONS |
|
Solve for |
It's also important to understand the notation,
-
means a small change in x -
means a small change in y -
means the rate of change of y with respect to x
The goal of diffEQ is to find the function y(x) that satisfies the
differential equation.
Given this first-order ordinary differential equation let's walk through the steps to solve it.
Separate the variables,
Integrate both sides.
Solve for the constant C using initial conditions.
Hence
Therefore, the solution to the differential equation is
Understanding the role of
- In calculus, you typically differentiate or integrate
to get new functions. - In differential equations, you start with
and integrate to recover . - The notation can be tricky, but knowing whether
is the function or its derivative helps avoid confusion.
Given a function, find the rate of change.
Original function,
Derivative of that function (find rate of change),
As an example,
The derivative of this function (rate of change) is,
Given the rate of change, find the function.
Original function,
Integral of that function (find function),
As an example,
The integral of this function is (find function),
You may also see the integral written as,
In differential equations, f(x) is often used to represent the derivative of another function y(x). Like integrals, start with the rate of change and find the function.
Separate the variables
integrate both sides of the equation,
As an example,
or
Separate the variables,
Integrate both sides,
Differential equations can be classified in many ways, we will classify them by type and order.
- Ordinary Differential Equations (ODEs) involve only one independent variable. For example,
- Partial Differential Equations (PDEs) involve more than one independent variable. For example,
where
- First-order differential equations involve only the first derivative. For example,
- Second-order differential equations involve the second derivative. For example,
Since differential equations are used to model real-world phenomena,
let's consider a simple example. Remember, the goal of differential
equations is to find the function
Consider a population of bacteria that grows at a rate proportional to the current population. The differential equation that models this growth is,
where
To solve this differential equation, we integrate both sides,
Solving for natural log we get
where
As an example, if we have an initial popular of 100 bacteria thats doubles every 3 hours,
the constant k would be
Therefore, the population at time t would be,