In calculus we learn how to “solve” two kinds
of differential equations of the form
dxdy=f(x,y)(1)
Here are two solution methods that come up regularly when studying PDE.
First Order Separable Equations
By definition a separable differential equation is a diffeq of the form
y′(x)=F(x)G(y(x)),ordxdy=F(x)G(y).
Thus the function f(x,y) on the right hand side in
(1) has the special form
f(x,y)=F(x)G(y).(2)
For example, the differential equation
dxdy=sin(x)(1+y2)
is separable, and one has F(x)=sinx and G(y)=1+y2.
On the other hand, the differential equation
dxdy=x+y
is not separable.
Solution method for separable equations.
To solve this equation divide by G(y(x)) to get
G(y(x))1dxdy=F(x).(3)
Next find a function H(y) whose derivative with respect to y is
H′(y)=G(y)1(solution: H(y)=∫G(y)dy.)
Then the chain rule implies that the left hand side in (3) can be written as
G(y(x))1dxdy=H′(y(x))dxdy=dxdH(y(x)).
Thus (3) is equivalent with
dxdH(y(x))=F(x).
In words: H(y(x)) is an antiderivative of F(x), which means we can find H(y(x))
by integrating F(x):
H(y(x))=∫F(x)dx+C.(3)
Once we have found the integral of F(x) this gives us y(x) in implicit form: the
equation (3) gives us y(x) as an implicit
function of x. To get y(x) itself we must solve the equation
(3) for y(x).
Determining the constant. The solution we get from the above
procedure contains an arbitrary constant C. If the value of the solution is
specified at some given x0, i.e. if y(x0) is known then we can express C in
terms of y(x0) by using (3).
First Order Linear Equations
Important example: Exponential growth and decay.
The solution of
dtdu=ku
is
u(t)=u(0)ekt.
General case.
Differential equations of the form equation
dxdy+a(x)y=k(x)(IL)
are called first order linear.
The Integrating Factor.
Linear equations can always be solved by multiplying both sides of the equation
with a specially chosen function m(x) called the integrating factor. It is
defined by
m(x)=eA(x), where A(x)=∫a(x)dx.(IF)
If we multiply the equation (IL) with the integrating
factor m(x) we get
m(x)dxdy+a(x)m(x)y=m(x)k(x).
By the chain rule the integrating factor satisfies
Integrating and then dividing by the integrating factor gives the solution
y=m(x)1(∫m(x)k(x)dx+C).
In this derivation we have to divide by m(x), but since m(x)=eA(x) and since
exponentials never vanish we know that m(x)=0, so we can always divide by m(x).