DE Tutorial - Part I: First Order Equations and Homogeneous Second Order Equations
Once in a while, differential equation questions pop up, so I'm going to point out the various techniques on how to solve them:
1. Direct Integration:
If you have a differential equation in the form
, we can use direct integration to solve the DE.
Example 1:
Solve
To solve, simply integrate both sides of the equation:
Note that we can combine the two constants into a new constant C.
Also, we may encounter differential equations with given conditions. These types of differential equations are called initial value problems (IVP). When solving a DE without conditions, we always find the General Solution to the DE. When an initial condition is applied, then we are finding a Particular Solution. Let's go through a quick example.
Example 2:
Solve =0.)
Directly integrate the DE:

We need to apply integration by parts to the integral on the right side:

let
and
Therefore,
and 
+C.)
Now apply the initial condition =1:)
+C \implies C=2.)
Thus, our particular solution is +2}.)
-------------------------------------------------------------------------
2. Separation of Variables
Another technique in solving differential equations is separation of variables. As the name suggests, we "separate" one variable from another in order to find a solution. Some of these are very straight-forward, whereas some of the DE's require some thought. I will go through an easier example, and then a harder one.
Example 3:
Solve =-3.)
First, factor out a
and then separate the variables:
}y \implies \frac{dy}{y}={\left(4x^3-1\right)}\,dx.)
Integrate both sides and solve for y.
}\,dx \implies \ln\left|y\right|=x^4-x+C \implies \left|y\right|=e^{C}e^{x^4-x} \implies y=Ce^{x^4-x}.)
Apply the initial condition =-3:)


Example 4:
Solve 
Factor the right hand side of the equation:
y^2 \implies x^2\frac{dy}{dx}=(1-x^2)(1+y^2).)
Separate the variables and integrate:
=-\frac{1}{x}-x+C.)
Solve for y:
}}.)
-------------------------------------------------------------------------
I will post more later on today...after I sleep (Sleepy)