Differential Equations

Linear First Order Differential Equations<!-- --> | Differential Equations

Linear First Order Differential Equations

Sharan Sajiv Menon - October 4th, 2021


What are Differential Equations?

A differential equation is simply a equation with a derivative in it. The following equation is considered a differential equation.

dydx=xy\frac{dy}{dx} = xy

This equation can also be considered a differential equation.

y+2y+4y=4sin(t)y'' + 2y' + 4y = 4\sin(t)

Both these equations have derivatives in them. The purpose of this guide is to serve as a compilation of my notes for differential equations. I include many solved problems to help understand the concepts presented.

First Order Differential Equations

First order differential equations are equations that have only the first derivative in it (dydx)\frac{dy}{dx}).

Example: Solve the First Order DE dydx=2x\frac{dy}{dx}=2x.

Solution: This is a very simple differential equation and it only requires a simple integration. To solve for yy, we simply move the dxdx over to the right side and integrate both sides.

dy=2xdx\int dy=\int2xdx

Solving this integral will gives us the following equation.

y=x2+Cy=x^2 + C

This is known as the general solution of the Differential Equation. There is another type of solution known as a particular solution, which will be covered in the Initial Value Problem Section (IVP).

We used a technique known as Separation of Variables, which will be discussed in more detail in a later section.

Linear First Order DE's

A first order differential equations is linear if it can be written as:

y+p(x)y=f(x)y'+p(x)y=f(x)

If f(x)=0f(x)=0, then the DE is homogenous, otherwise it is non-homogenous. A first order DE that cannot be written in the above form is non-linear.

Example: Find the general solution yay=0y'-ay=0

  1. Rewrite: yy=a\frac{y'}{y}=a
  2. Integrate: 1ydy=adxlny=ax+k\int \frac{1}{y}dy=\int adx \rightarrow ln|y|=ax+k
  3. Isolate yy: y=ekeaxy=e^ke^{ax}
  4. Rewrite eke^k as CC: y=ceaxy=ce^{ax}.

You can also rewrite the equation to dydx=ay\frac{dy}{dx}=ay, and use separation of variables to solve it.

Created by Sharan Sajiv Menon, © 2022