Selected topic

Differential Equations

Differential Equations

Prefer practical output? Use related tools below while reading.

What is a Differential Equation?

A differential equation is an equation that involves an unknown function or variable and its derivatives. In other words, it's an equation where the dependent variable (the output) is related to its own rate of change (its derivative).

Types of Differential Equations:

There are two main types:
  1. Ordinary Differential Equation (ODE): This type of differential equation involves a function of one independent variable and its derivatives.
  2. Partial Differential Equation (PDE): This type of differential equation involves functions of multiple independent variables and their partial derivatives.

Example 1: Simple ODE

Let's consider the following simple example:

dy/dx = 2x

where y is the dependent variable, and x is the independent variable. In this case, we are trying to find a function y(x) that satisfies the equation.

To solve this differential equation, we can use separation of variables or integration. Let's use separation of variables:

dy = 2xdx

Integrating both sides gives us:

∫dy = ∫2xdx

which simplifies to:

y = x^2 + C

where C is the constant of integration.

Example 2: Real-World Application


Let's consider a more real-world application example, such as modeling population growth. Suppose we have a population that grows at a rate proportional to its current size.

dP/dt = kP

where P(t) is the population size at time t, and k is a constant of proportionality.

To solve this differential equation, we can separate variables and integrate:

dP/P = kdtdt

which simplifies to:

ln(P) = kt + C'

Exponentiating both sides gives us:

P(t) = Ce^(kt)

where C is a constant of integration.

Key Concepts:


In summary, differential equations are used to model real-world phenomena where rates of change are involved. Key concepts include:

  • Separation of variables
  • Integration
  • Constant of integration
  • Exponential growth and decay
These examples illustrate the basics of differential equations in calculus.