# 5.3: Introduction to Differential Equations

$$\newcommand{\vecs}{\overset { \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$$$\newcommand{\AA}{\unicode[.8,0]{x212B}}$$

Sometimes we don’t quite know what kind of function we are dealing with exactly, but we know some basic things about its derivative. For example, consider how many people live in a town or city. We’ll call this $$P(t)$$. One general principle that often holds true for population is that the rate it is growing is proportional to the size of the population. That is, the bigger the city, the faster the growth. This is just saying in terms of raw numbers, a city like Hong Kong has the ability to add people much faster than Dillon, Montana, since Hong Kong is a much bigger city. Now, this doesn’t have to hold: some big cities actually shrink, while some small towns explode in population overnight. But on average, this is true. It follows the equation

$$\frac{dP}{dt} = 0.03 \cdot P$$

The left hand side represents how fast $$P$$ is growing, and the right hand side represents some fraction of $$P$$. The value $$0.03$$ is called the growth rate. This is an example of a differential equation. A differential equation is an equation relating a unknown function and its derivatives. Another way to write the same differential equation is to use Newton’s notation.

$$P'(t) = 0.03 \cdot P(t)$$

Again, this is just saying how fast $$P(t)$$ is growing is equal to some constant times the size of $$P(t)$$.

We’ll learn how to “solve” an differential equation later on. But for now, note that $${\color{red} P(t) = e^{0.03 t}}$$ solves this differential equation. Why? We’ll, note that $${\color{blue} P'(t) = 0.03 e^{0.03 t}}$$ by the chain rule. Hence, we can verify that $${\color{red} P(t) = e^{0.03t}}$$ solves this differential equation by using substitution.

\begin{align*} {\color{blue} P'(t)} & = 0.03 \cdot {\color{red} P(t)} \\ ({\color{blue} 0.03 e^{0.03t}}) & = 0.03 \cdot ({\color{red} e^{0.03 t}}) \\ 0.03 e^{0.03t} & = 0.03 e^{0.03t} \end{align*}

Since we get the same thing on both sides via substitution, we know that the differential equation is verified! What does this mean? Well, this says that population follows the exponential function $$e^{0.03t}$$. This means populations eventually start to grow extremely fast. While exponential functions grow bigger and bigger forever, in practice, population growth will eventually slow or even stop due to geographic or other constraints. No exponential function lasts forever in real life!

Let’s see a couple other examples of creating differential equations.

## Creating Differential Equations

• Let $$E(t)$$ be the earnings of a large company, measured in millions of dollars. This company’s growth in earnings is 0.07 times their current earnings. What is a differential equation that models this situation?

We see that growth in earnings is the same thing as derivative. Hence $$E'(t)$$ is the growth in earnings, and this is equal to $$0.07$$ times their current earnings, so $$\boxed{E'(t) = 0.07 \cdot E(t)}$$.

• The growth of a function is $$2.5$$ less than $$0.3$$ times the value of the function. What is the differential equation now?

We see that this can be translated as $$\boxed{f'(t) = 0.3 f(t) - 2.5}$$.

Here are some examples of verifying a given solution is correct.

Verify that $$f(x) = e^x + x + 1$$ solves the differential equation:

$$f'(x) = f(x) - x$$

Here, we see $${\color{red} f(x) = e^x + x + 1}$$ is given, and we can compute this by taking the derivative of each piece.

\begin{align*} {\color{blue} f'(x)} & {\color{blue} = \frac{d}{dx} e^x + x + 1} \\ & {\color{blue} = e^x + 1} \ \end{align*}

We can then verify the differential equation using substitution.

\begin{align*} {\color{blue} f'(x)} & = {\color{red} f(x)} - x \\ {\color{blue} e^x + 1} & = {\color{red} (e^x + x + 1)} - x \\ e^x + 1 & = e^x + 1 \end{align*}

Verify that $$q(x) = \sqrt{2x}$$ solves the differential equation:

$$q'(x) = \frac{1}{q(x)}$$

Here, we see $${\color{red} q(x) = \sqrt{2x}}$$ is given, and we can compute using the chain rule We can then verify the differential equation using substitution.

\begin{align*} {\color{blue} q'(x)} & = \frac{1} ParseError: invalid DekiScript (click for details) Callstack: at (Bookshelves/Calculus/Informal_Calculus_with_Applications_to_Biological_and_Environmental_Sciences_(Seacrest)/05:_Differential_Equations/5.03:_Introduction_to_Differential_Equations), /content/body/div/p/span, line 1, column 1  \\ \left( {\color{blue} \frac{1}{\sqrt{2x}}} \right) & = \frac{1}{({\color{red} \sqrt{2x}})} \\ \frac{1}{\sqrt{2x}} & = \frac{1}{\sqrt{2x}} \end{align*}

This page titled 5.3: Introduction to Differential Equations is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Tyler Seacrest via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.