0:00 / 0:00

Definition of a Linear Differential Equation

A differential equation is an equation relating a function and its derivatives. The goal is to solve for this unknown function!

The order of a differential equation is the highest derivative it contains.

Examples
  1. y=3yy'=3y is a first order differential equation
  2. y+5y3y=0y''+5y'-3y=0 is a second order differential equation
These are also examples of linear differential equations, since yy (and its derivatives) are only ever multiplied by constants.

Note: Differential equations can be non-linear, for example:

(y)2ln(y)=3y(y'')^2-\ln(y')=3y

We will only be focusing on linear differential equations.
0:00 / 0:00

Simplest Differential Equation: y=ay\colorOne{y'=ay}

The simplest differential equation (DE) is:
y=ayy'=ay
You should memorize the solution to this equation:
y=ay    y(x)=Ceaxy'=ay \qquad \implies \qquad \boxed{\quad y(x)=Ce^{ax} \quad}
where CC is an arbitrary constant (it can be any number).
Wize Tip
Note that the solution to a differential equation is always a function.

Check
To verify the solution, we plug it into the DE and check that LHS=RHS.
y=Ceax    LHS of DERHS of DEy=  a(Ceax)ay=  a(Ceax)y = Ce^{ax} \quad \implies \quad \begin{array}{c |c} \text{LHS of DE} \quad &\quad \text{RHS of DE}\\ \hline\\[-1em] \begin{aligned} &y' \\ =\ \ &a(Ce^{ax}) \end{aligned} & \begin{aligned} &ay \\ =\ \ &a(Ce^{ax}) \end{aligned} \end{array}
Since LHS=RHS, we've shown that our solution does indeed satisfy y=ayy'=ay.
PAGE BREAK
Examples
a) y=7yy'=-7y. What function satisfies this relationship?
y=Ce7xy=Ce^{-7x}
Check your answer by taking the derivative of your solution.
y=Ce7x    y=7(Ce7x)y=7yy=Ce^{-7x} \quad \implies \quad y' = -7\underbrace{\colorOne{(Ce^{-7x})}}_{\normalsize y}=-7y
b) y=35yy'=\frac{3}{5}y. What is the solution?
y=Ce35xy=Ce^{{\normalsize \frac{3}{5}}x}
0:00 / 0:00

Initial Value Problems

We saw that the solution to the differential equation y=ayy'=ay is y=Ceaxy=Ce^{ax}.
If the problem provides initial conditions (an initial value for yy), then we can find a specific value for CC.
A differential equation with an initial condition is called an initial value problem.
Example
Find the function yy such that y=5yy'=5y and y(0)=4y(0)=4.
Start by writing the general solution to this DE:
y=Ce5xy=Ce^{5x}
Since we want y(0)=4y(0) = 4, we know that y=4y=4 when x=0x=0.
Plug these into our solution, and solve for CC:
4=Ce5(0)4=Ce04=C(1)    4=C\begin{aligned} 4&=Ce^{5(0)}\\ 4&=Ce^0\\ 4&=C(1) \\ \implies 4&=C \end{aligned}
Therefore, the solution is y=4e5x\boxed{y=4e^{5x}}
0:00 / 0:00

Example: Solving an Initial Value Problem

Find the function such that y=6yy'=-6y with y(0)=ln(2)y(0)=\ln(2).

y=6yhas solutiony=Ce6xy'=-6y \quad \xrightarrow{\text{has solution}} \quad y=Ce^{-6x}
We want y=ln(2)y=\ln(2) when x=0x=0. Plugging these values into our solution, we solve for CC:
ln(2)=Ce6(0)ln(2)=Ce0    ln(2)=C\begin{aligned} \ln(2)&=Ce^{-6(0)}\\ \ln(2)&=Ce^0\\ \implies \ln(2)&=C \end{aligned}
So the solution is therefore: y=ln(2)e6x\boxed{y=\ln(2)e^{-6x}}

Practice: Simple Differential Equations

For each differential equation (DE), find the general solution (i.e. the function that satisfies it):

a) y1=3y1y_1'=-3y_1

b) y2=12y2y_2'=-\frac{1}{2}y_2

c) y3=5y3y_3'=5y_3

(Don't forget the arbitrary constant, CC)

Practice: Initial Value Problems

Find the function that satisfies the differential equation y=12yy'=\frac{1}{2}y with initial condition y(2)=1y(2)=1.
Extra Practice