7 Differential Equations

In this section, we discuss differential equations. Putting it simply, differential equations are equations with derivatives. Often this technique is utilized whenever a mathematical model is constructed. Let us explore with a familiar example, a free-fall of an object.

According to the Newton’s second law of motion,

    \begin{align*} F &= ma\\ &= m\frac{dv}{dt}\\ \end{align*}

In the case of a free-fall, the net force applied is gravitational pull minus air resistance. That is,

    \[F=mg-\gamma v\]

where gamma is a drag coefficient.

By equalling both equations, we have

    \begin{align*} m\frac{dv}{dt} &= mg-\gamma v\\ \frac{dv}{dt} &= g-\frac{\gamma}{m} v\\ &= g-kv \end{align*}

The final equation we have \frac{dv}{dt} = g-kv is a simple example of a differential equation. Before getting into more complex differential equations, let us first identify what kinds of differential equations are there.

We can classify differential equations by order and linearity, i.e. whether the given differential equation is linear or nonlinear.

  1. Order
    The order of the highest derivative included in the equation determines the order. That is, an n-th order differential equation can be expressed as

        \[ F\left( t,y,y',\cdots,y^{(n)}\right)=0\]

  2. Linearity
    If a differential equation can be expressed as a linear function of

        \[y,y',\cdots,y^{(n)},\]

    then it is a linear differential equation; otherwise, it is classified non-linear.

Let us clarify with some examples.

Example. Determine the order and the linearity of t^2y''+ty'+t^3y=0 and yy'-2y=t.

We observe t^2y''+ty'+t^3y=0 is a linear function of y,y', and y''. As the highest order of derivative observed is y'', we conclude t^2y''+ty'+t^3y=0 is a 2nd order linear differential equation.

On the other hand, yy'-2y=t is not a linear function of derivatives, owing to the term yy'. Therefore, yy'-2y=t is a 1st order non-linear differential equation.

Let us further explore the 1st-order linear differential equations. The 1st-order linear differential equation in the standard form would look

    \[ \frac{dy}{dt}+p(t)y=g(t)\]

Recall the product rule \frac{d}{dx}\left[f(x)g(x)\right]=f(x)g'(x)+f'(x)g(x) in a former section. Then, if a differential equation is in a form

    \[ \frac{d}{dt}\left( \mu(t)y\right) = \mu(t) \frac{dy}{dt}+\frac{d\mu(t)}{dt}y =G(t)\]

we can immediately integrate both sides and easily solve for y. In this case, \mu(t) is called an integrating factor.

Let us illustrate with an example.

Example. Find the general solution of the differential equation

    \[ \frac{dy}{dt}+\frac{1}{3}y=e^t\]

Let \mu(t) be an integrating factor. Then,

    \[\mu(t)\frac{dy}{dt}+\frac{1}{3}\mu(t)y=\mu(t)e^t\]

We need to find \mu(t) such that \mu'(t)=\frac{1}{3}\mu(t).

    \begin{align*} \mu'(t) &= \frac{1}{3}\mu(t)\\ \frac{\mu'(t)}{\mu(t)} &= \frac{1}{3}\\ \int \frac{\mu'(t)}{\mu(t)}\,dt &= \int \frac{1}{3}\,dt\\ \ln\left\vert \mu(t)\right\vert &= \frac{1}{3}t+C\\ \mu(t) &= \pm e^{\frac{1}{3}t+C}\\ &= c_1e^{\frac{1}{3}t} \end{align*}

Therefore,

    \[ \frac{d}{dt}\left( \mu(t)y\right) = \frac{d}{dt}\left( c_1e^{\frac{1}{3}t}y\right) = \mu(t)e^t = c_1e^{\frac{4}{3}t}\]

Therefore,

    \begin{align*} c_1e^{\frac{1}{3}t}y &= \int c_1 e^{\frac{4}{3}t}\,dt\\ &= \frac{3}{4}c_1e^{\frac{4}{3}t}+c_2 \end{align*}

Therefore,

    \begin{align*} y &= \frac{4}{3}e^t + \frac{c_2}{c_1}e^{-\frac{1}{3}t}\\ &= \frac{4}{3}e^t + ce^{-\frac{1}{3}t} \end{align*}

We conclude this section here, as higher order and nonlinear differential equations are much more complex and cannot be dealt with elementary-level calculus.

License

Portfolio for Bachelor of Science in Mathematics Copyright © by Donovan D Chang. All Rights Reserved.

Share This Book