2081 10

CSC212 ยท 2081 ยท 5 marks

What is differential equation? Differentiate between ODE and PDE with example.

What is differential equation? Differentiate between ODE and PDE with example. [5]

Numerical MethodChapter 5: Solution of Ordinary Differential EquationsReview of differential equations

Quick answer

An equation which uses differential calculus to express relationship between variables is known as a differential equation.

Differential Equation, ODE and PDE

Differential Equation

In other words, a differential equation is an equation that contains one or more derivatives of a dependent variable with respect to one or more independent variables.


Types of Differential Equations

Differential equations are of two types:

1. Ordinary Differential Equation (ODE)

A differential equation with a single independent variable (i.e., the quantity with respect to which the dependent variable is differentiated) is called an Ordinary Differential Equation (ODE).

Example:

$$\frac{dy}{dx} + 2y = x$$

Here, y is the dependent variable and x is the only independent variable. Since there is only one independent variable, this is an ODE.

Another example:

$$\frac{d^2y}{dx^2} + 3\frac{dy}{dx} + y = 0$$


2. Partial Differential Equation (PDE)

A differential equation with more than one independent variable is called a Partial Differential Equation (PDE).

Example:

$$\frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} = 0$$

Here, u is the dependent variable and x, y are two independent variables. Since there are more than one independent variable, this is a PDE.


Comparison Table: ODE vs PDE

FeatureODEPDE
Independent VariablesSingle independent variableMore than one independent variable
Derivative TypeOrdinary derivativesPartial derivatives
ComplexityRelatively simplerMore complex
Notation$\frac{dy}{dx}$, $\frac{d^2y}{dx^2}$$\frac{\partial u}{\partial x}$, $\frac{\partial^2 u}{\partial x^2}$
Example$\frac{dy}{dx} + 2y = x$$\frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} = 0$

Note: The relationship between dependent and independent variables that satisfies a differential equation is called the solution of the differential equation.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.