Differential EquationsQualitative and Numerical Methods2 of 3
Qualitative and Numerical Methods · 2

Existence and Uniqueness

When we start at a point (t0,y0)(t_0, y_0) on the slope field for y′=f(t,y)\slope{y'} = \slope{f}(t, y), we want to know when following the slope arrows is guaranteed to trace out one single, predictable solution curve.

1

When a Solution Exists

First, we want to know what guarantees that at least one smooth solution curve passes through our starting point (t0,y0)(t_0, y_0).

Slope Fields and When a Solution Exists
y′=f(t,y)\htmlClass{lc-pink}{y'} = \htmlClass{lc-pink}{f}(t, y)
t\htmlClass{lc-mute}{t}
y\htmlClass{lc-mute}{y}
(t0,y0)(t_0, y_0)

A solution is guaranteed to exist whenever the slope formula f(t,y)\slope{f}(t, y) is continuous in a small region around (t0,y0)(t_0, y_0), with no dividing by zero, square roots of negative numbers, or logarithms of zero or negative numbers near that point.

y′=1t−2\htmlClass{lc-pink}{y'} = \dfrac{1}{t-2}
t\htmlClass{lc-mute}{t}
y\htmlClass{lc-mute}{y}
t=2\htmlClass{lc-mute}{t = 2}
(2,5)(2, 5)
y′=f(t,y)\htmlClass{lc-pink}{y'} = \htmlClass{lc-pink}{f}(t, y)
t\htmlClass{lc-mute}{t}
y\htmlClass{lc-mute}{y}
(t0,y0)(t_0, y_0)
y(t)\htmlClass{lc-blue}{y(t)}
2

When Uniqueness Fails and the Existence and Uniqueness Theorem

Even when f(t,y)\slope{f}(t, y) is continuous everywhere so a solution exists at every point, we also need to know whether a single starting point can split into more than one valid solution curve. Take the initial value problem

y′\displaystyle \slope{y'} =3y2/3,y(0)\displaystyle = 3y^{2/3}, \qquad y(0) =0\displaystyle = 0
When Uniqueness Fails and the Existence and Uniqueness Theorem
y′=3y2/3,y(0)=0\htmlClass{lc-pink}{y'} = 3y^{2/3},\quad y(0) = 0
how many solutions?\text{how many solutions?}
t\htmlClass{lc-mute}{t}
y\htmlClass{lc-mute}{y}

Two curves can only split apart if the slope f(t,y)\slope{f}(t, y) changes infinitely fast in the vertical direction. We measure how fast the slope changes with yy using the partial derivative ∂f∂y\dfdy{\frac{\partial f}{\partial y}}, which we find by taking the derivative of f(t,y)\slope{f}(t, y) with respect to yy while treating tt as a constant.

Text solution:

f(t,y)=3y2/3,ddt(t3)=3t2=3(t3)2/3\displaystyle \begin{aligned} \slope{f}(t, y) &= 3y^{2/3}, \\ \oper{\frac{d}{dt}}(\sol{t^3}) &= 3t^2 = 3(\sol{t^3})^{2/3} \end{aligned}
∂f∂y\displaystyle \dfdy{\frac{\partial f}{\partial y}} =3⋅23y2/3−1\displaystyle = 3 \cdot \frac{2}{3}y^{2/3 - 1} =2y−1/3\displaystyle = 2y^{-1/3} =2y3\displaystyle = \frac{2}{\sqrt[3]{y}}

Because ∂f∂y\dfdy{\frac{\partial f}{\partial y}} goes to infinity along the entire horizontal line y=0\blowup{y = 0}, a solution starting at (0,0)(0, 0) can stay flat along y=0\sol{y = 0} up to any time tt and then branch off smoothly along a cubic curve, creating infinitely many valid solutions through (0,0)(0, 0).

A path from the origin can stay flat along the axis for as long as you want and still peel upward smoothly into a valid solution anywhere along the line.

Putting both checks together gives the Existence and Uniqueness Theorem for an initial value problem y′=f(t,y),  y(t0)=y0\slope{y'} = \slope{f}(t, y),\; y(t_0) = y_0:

f(t,y) is continuous in a region around (t0,y0)⟹a solution exists∂f∂y is continuous in a region around (t0,y0)⟹the solution is unique\displaystyle \begin{aligned} \slope{f}(t, y) \text{ is continuous in a region around } (t_0, y_0) &\quad\Longrightarrow\quad \text{a solution exists} \\[4pt] \dfdy{\frac{\partial f}{\partial y}} \text{ is continuous in a region around } (t_0, y_0) &\quad\Longrightarrow\quad \text{the solution is unique} \end{aligned}

Keep in mind that this theorem only goes one way: if a check fails at (t0,y0)(t_0, y_0), the theorem does not say a unique solution is impossible, it just makes no guarantee there.

3

Finding Where a Unique Solution Is Guaranteed

Now let's find all starting points (t0,y0)(t_0, y_0) in the (t,y)(t, y) plane where the theorem guarantees a unique solution to

y′\displaystyle \slope{y'} =y−1t−4\displaystyle = \frac{\sqrt{y - 1}}{t - 4}
Finding Where a Unique Solution Is Guaranteed
y′=y−1t−4\htmlClass{lc-pink}{y'} = \dfrac{\sqrt{y-1}}{t-4}
unique solution at (t0,y0) ?\text{unique solution at } (t_0, y_0)\,?
t\htmlClass{lc-mute}{t}
y\htmlClass{lc-mute}{y}
2\htmlClass{lc-mute}{2}
4\htmlClass{lc-mute}{4}
6\htmlClass{lc-mute}{6}
8\htmlClass{lc-mute}{8}
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
3\htmlClass{lc-mute}{3}
4\htmlClass{lc-mute}{4}

Text solution:

f(t,y)=y−1t−4⟹y−1≥0    and    t−4≠0⟹y≥1,    t≠4\displaystyle \begin{aligned} \slope{f}(t, y) &= \frac{\sqrt{y - 1}}{t - 4} \\ &\Longrightarrow \quad y - 1 \ge 0 \;\;\text{and}\;\; t - 4 \ne 0 \\ &\Longrightarrow \quad \existok{y \ge 1,\;\; t \ne 4} \end{aligned}
∂f∂y=∂∂y ⁣[(y−1)1/2t−4]=12y−1 (t−4)⟹y>1,    t≠4\displaystyle \begin{aligned} \dfdy{\frac{\partial f}{\partial y}} &= \oper{\frac{\partial}{\partial y}}\!\left[\frac{(y - 1)^{1/2}}{t - 4}\right] \\ &= \frac{1}{2\sqrt{y - 1}\,(t - 4)} \\ &\Longrightarrow \quad \uniqok{y > 1,\;\; t \ne 4} \end{aligned}
y0>1andt0≠4\displaystyle \region{y_0 > 1} \quad \text{and} \quad \region{t_0 \ne 4}

Here is how each part of the (t,y)(t, y) plane behaves for y′=y−1t−4\slope{y'} = \frac{\sqrt{y - 1}}{t - 4}:

Drag the starting point around the plane to see where it gives you one unique solution curve, where more than one solution curve passes through it, and where no curve exists at all.
4

Why Solutions Cannot Cross: Trapping Curves with Equilibria

Anywhere the uniqueness check passes, two different solution curves can never cross or even touch, because if Curve A and Curve B met at a point (t0,y0)(t_0, y_0), that single point would have two different solutions passing through it. This lets us use constant equilibrium solutions (horizontal lines where y′=0\slope{y'} = 0) as walls to trap a solution we cannot integrate by hand, like finding whether the solution to

y′\displaystyle \slope{y'} =y(3−y)cos⁡(t2),y(0)\displaystyle = y(3 - y)\cos(t^2), \qquad y(0) =1\displaystyle = 1

can ever reach y=4y = 4.

Why Solutions Cannot Cross: Trapping Curves with Equilibria
y′=y(3−y)cos⁡(t2),y(0)=1\htmlClass{lc-pink}{y'} = y(3-y)\cos(t^2),\quad y(0) = 1
reach y=4 ?\text{reach } y = 4\,?
t\htmlClass{lc-mute}{t}
y\htmlClass{lc-mute}{y}
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
3\htmlClass{lc-mute}{3}
y=4\htmlClass{lc-mute}{y = 4}
(0,1)(0, 1)

Text solution:

f(t,y)=(3y−y2)cos⁡(t2),∂f∂y=(3−2y)cos⁡(t2)\displaystyle \begin{aligned} \slope{f}(t, y) &= (3y - y^2)\cos(t^2), \\ \dfdy{\frac{\partial f}{\partial y}} &= (3 - 2y)\cos(t^2) \end{aligned}
y(3−y)\displaystyle y(3 - y) =0⟹y(t)=0andy(t)=3\displaystyle = 0 \quad \Longrightarrow \quad \sol{y(t) = 0} \quad \text{and} \quad \sol{y(t) = 3}
0<y(0)<3⟹0<y(t)<3    for all t\displaystyle \sol{0} < y(0) < \sol{3} \quad \Longrightarrow \quad \region{0 < y(t) < 3} \;\;\text{for all } t
Every solution that starts between the two flat equilibrium lines flattens near them and stays trapped between them forever.
5

Interval of Existence for Linear Equations

Once we know a unique solution starts at (t0,y0)(t_0, y_0), we want to find the largest open interval of time tt around t0\region{t_0} where that solution keeps existing. For a linear differential equation, we can find this interval of existence without solving the equation. Let's find the largest interval of time tt where a unique solution is guaranteed for

(t−3)y′+(ln⁡t)y\displaystyle (t - 3)\slope{y'} + (\ln t)y =et,y(1)\displaystyle = e^t, \qquad y(1) =5\displaystyle = 5
Interval of Existence for Linear Equations
(t−3)y′+(ln⁡t) y=et,y(1)=5(t-3)\htmlClass{lc-pink}{y'} + (\ln t)\,y = e^t,\quad y(1) = 5
t\htmlClass{lc-mute}{t}
−1\htmlClass{lc-mute}{-1}
0\htmlClass{lc-mute}{0}
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
3\htmlClass{lc-mute}{3}
4\htmlClass{lc-mute}{4}
5\htmlClass{lc-mute}{5}
6\htmlClass{lc-mute}{6}
(  ?  ,  ?  )(\;?\;,\;?\;)

Text solution:

y′=−ln⁡tt−3 y+ett−3,∂f∂y=−ln⁡tt−3\displaystyle \begin{aligned} \slope{y'} &= -\frac{\ln t}{t - 3}\,y + \frac{e^t}{t - 3}, \\ \dfdy{\frac{\partial f}{\partial y}} &= -\frac{\ln t}{t - 3} \end{aligned}
t>0    and    t≠3⟹(0,3)    and    (3,∞)\displaystyle t > 0 \;\;\text{and}\;\; t \ne 3 \quad \Longrightarrow \quad (0, 3) \;\;\text{and}\;\; (3, \infty)
t\htmlClass{lc-mute}{t}
t0=1\htmlClass{lc-blue}{t_0 = 1}
−1\htmlClass{lc-mute}{-1}
0\htmlClass{lc-mute}{0}
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
3\htmlClass{lc-mute}{3}
4\htmlClass{lc-mute}{4}
5\htmlClass{lc-mute}{5}
(0,3)\htmlClass{lc-blue}{(0, 3)}
(3,∞)(3, \infty)
t0=1∈(0,3)⟹Interval of existence: (0,3)\displaystyle \region{t_0 = 1} \in \region{(0, 3)} \quad \Longrightarrow \quad \text{Interval of existence: } \region{(0, 3)}
6

Going to Infinity in Finite Time and Intervals for Nonlinear Equations

For a nonlinear differential equation, checking the slope formula for discontinuities in tt is not enough. Even when f(t,y)\slope{f}(t, y) and ∂f∂y\dfdy{\frac{\partial f}{\partial y}} are continuous everywhere on the plane, the solution curve can go to infinity at a finite time tt. Let's find the interval of existence for

y′\displaystyle \slope{y'} =y2,y(0)\displaystyle = y^2, \qquad y(0) =y0\displaystyle = y_0
Finite-Time Blow-Up and Intervals for Nonlinear Equations
y′=y2\htmlClass{lc-pink}{y'} = y^2
y(0)=y0y(0) = y_0
interval in t=  ?\text{interval in } t = \;?
t\htmlClass{lc-mute}{t}
y\htmlClass{lc-mute}{y}
(0,y0)(0, y_0)

Text solution:

y−2 dy\displaystyle y^{-2}\,dy =dt⟹−1y\displaystyle = dt \quad \Longrightarrow \quad -\frac{1}{y} =t+C\displaystyle = t + C
−1y=t−1y0⟹1y=1y0−t⟹y(t)=11y0−t\displaystyle \begin{aligned} -\frac{1}{y} &= t - \frac{1}{y_0} \\ \Longrightarrow \quad \frac{1}{y} &= \frac{1}{y_0} - t \\ \Longrightarrow \quad \sol{y(t)} &= \frac{1}{\frac{1}{y_0} - t} \end{aligned}
1y0−t=0⟹t=1y0⟹Interval for y0>0: (−∞,1y0)\displaystyle \begin{aligned} \frac{1}{y_0} - t &= 0 \\ \Longrightarrow \quad t &= \frac{1}{y_0} \\ \Longrightarrow \quad \text{Interval for } \region{y_0 > 0} &\text{: } \region{\left(-\infty, \tfrac{1}{y_0}\right)} \end{aligned}

In the slope field for y′=y2\slope{y'} = y^2, a larger positive starting value y0y_0 puts the curve in steeper slope arrows right at t=0t = 0, pulling the vertical asymptote t=1y0t = \frac{1}{y_0} closer to 00 and shrinking the interval of existence (−∞,1y0)\region{\left(-\infty, \frac{1}{y_0}\right)}.

Starting higher puts the curve into steeper arrows right away, pulling the blow-up time closer to zero and shrinking the interval of existence.

Key concepts

When given an initial value problem y′=f(t,y),  y(t0)=y0\slope{y'} = \slope{f}(t, y),\; y(t_0) = y_0, always start by solving for y′\slope{y'} so you can see the slope formula f(t,y)\slope{f}(t, y):

Existence and uniqueness at (t0,y0)(t_0, y_0)

Check that f(t,y)\slope{f}(t, y) is continuous around (t0,y0)(t_0, y_0) to guarantee a solution exists, and check that ∂f∂y\dfdy{\frac{\partial f}{\partial y}} is continuous around (t0,y0)(t_0, y_0) to guarantee that solution is unique. Watch out for fractional powers of yy: in y′=3y2/3\slope{y'} = 3y^{2/3}, f(t,y)\slope{f}(t, y) is continuous everywhere, but ∂f∂y=2y3\dfdy{\frac{\partial f}{\partial y}} = \frac{2}{\sqrt[3]{y}} divides by zero along y=0\blowup{y = 0}, so uniqueness is not guaranteed at (0,0)(0, 0).

Trapping unknown solutions with equilibria

When f(t,y)\slope{f}(t, y) and ∂f∂y\dfdy{\frac{\partial f}{\partial y}} are continuous everywhere, solution curves can never touch or cross. If you cannot integrate the equation, like y′=y(3−y)cos⁡(t2)\slope{y'} = y(3 - y)\cos(t^2) with y(0)=1y(0) = 1, find the values of yy that make y′=0\slope{y'} = 0 for all tt: these are the flat horizontal equilibrium lines (y=0\sol{y = 0} and y=3\sol{y = 3}), which trap the curve strictly between them (0<y(t)<3\region{0 < y(t) < 3}) for all tt.

Interval of existence: Linear vs. Nonlinear

  • Linear equation (do not solve): If yy only appears to the first power, solve for y′\slope{y'} and mark on a number line where the functions of tt are discontinuous; the interval of existence is the open tt-interval around t0\region{t_0} between those discontinuities, no matter what y0y_0 is. For (t−3)y′+(ln⁡t)y=et,  y(1)=5(t - 3)\slope{y'} + (\ln t)y = e^t,\; y(1) = 5, dividing by t−3t - 3 shows discontinuities at t≤0t \le 0 and t=3t = 3, giving (0,3)\region{(0, 3)} around t0=1\region{t_0 = 1}.
  • Nonlinear equation (when not to just check discontinuities in tt): Do not use the number-line shortcut on a nonlinear equation like y′=y2,  y(0)=2\slope{y'} = y^2,\; y(0) = 2. Even though f(t,y)=y2\slope{f}(t, y) = y^2 and ∂f∂y=2y\dfdy{\frac{\partial f}{\partial y}} = 2y are continuous everywhere, solving the equation gives y(t)=112−t\sol{y(t)} = \frac{1}{\tfrac{1}{2} - t}, which goes to infinity at t=12t = \frac{1}{2} and exists only on (−∞,12)\region{(-\infty, \tfrac{1}{2})}.
7

Practice

1

For the initial value problem y′=(y−2)1/3,  y(0)=2\slope{y'} = (y - 2)^{1/3},\; y(0) = 2, what does the Existence and Uniqueness Theorem guarantee about the solution: existence only, both existence and uniqueness, or neither? Explain why.

Test f(t,y)=(y−2)1/3\slope{f}(t, y) = (y - 2)^{1/3} at (0,2)(0, 2) first, then differentiate with respect to yy and check what happens to the exponent on (y−2)(y - 2).

The slope formula f(t,y)=(y−2)1/3\slope{f}(t, y) = (y - 2)^{1/3} is a cube root, which is continuous everywhere around (0,2)(0, 2) and guarantees that a solution exists. Differentiating with respect to yy gives ∂f∂y=13(y−2)2/3\dfdy{\frac{\partial f}{\partial y}} = \frac{1}{3(y - 2)^{2/3}}. Be careful not to stop after checking f(t,y)\slope{f}(t, y) (which gives the common wrong answer "both existence and uniqueness"), because plugging y=2\blowup{y = 2} into ∂f∂y\dfdy{\frac{\partial f}{\partial y}} divides by zero, so the theorem makes no guarantee of uniqueness. Existence only.
2

For which starting points (t0,y0)(t_0, y_0) does the Existence and Uniqueness Theorem guarantee a unique solution to y′=4−yt+1\slope{y'} = \frac{\sqrt{4 - y}}{t + 1}?

Check which values of tt and yy keep f(t,y)\slope{f}(t, y) real and finite, then take ∂f∂y\dfdy{\frac{\partial f}{\partial y}} and see where 4−y\sqrt{4 - y} ends up.

The formula f(t,y)=4−yt+1\slope{f}(t, y) = \frac{\sqrt{4 - y}}{t + 1} requires 4−y≥04 - y \ge 0 (so y≤4\existok{y \le 4}) and t≠−1\existok{t \ne -1}. Taking the partial derivative gives ∂f∂y=−124−y (t+1)\dfdy{\frac{\partial f}{\partial y}} = -\frac{1}{2\sqrt{4 - y}\,(t + 1)}, which puts 4−y\sqrt{4 - y} into the denominator. Watch out for leaving the equals sign on y0≤4y_0 \le 4, since y=4\blowup{y = 4} makes ∂f∂y\dfdy{\frac{\partial f}{\partial y}} divide by zero. y0<4y_0 < 4 and t0≠−1t_0 \ne -1.
3

Without solving the differential equation, find the largest interval of time tt on which the Existence and Uniqueness Theorem guarantees a unique solution to (t2−4)y′+(ln⁡t)y=t2,  y(1)=−3(t^2 - 4)\slope{y'} + (\ln t)y = t^2,\; y(1) = -3.

Divide by t2−4t^2 - 4 to solve for y′\slope{y'}, mark every tt where a function of tt is discontinuous on a number line, and check which open interval contains the starting time t0\region{t_0}.

Solving for y′\slope{y'} gives the linear equation y′=−ln⁡tt2−4 y+t2t2−4\slope{y'} = -\frac{\ln t}{t^2 - 4}\,y + \frac{t^2}{t^2 - 4}, where only discontinuities in tt can stop the solution. Here t2−4=0t^2 - 4 = 0 rules out t=±2t = \pm 2, and ln⁡t\ln t requires t>0t > 0. Do not overlook that ln⁡t\ln t requires t>0t > 0 (which leads to the common wrong answer (−2,2)(-2, 2)) or mix up y0=−3y_0 = -3 with the starting time t0=1\region{t_0 = 1}. The valid tt-axis splits into (0,2)(0, 2) and (2,∞)(2, \infty), and t0=1\region{t_0 = 1} is in the first interval. (0,2)(0, 2).
4

Consider the initial value problem y′=(y2−4)e−t2,  y(0)=0\slope{y'} = (y^2 - 4)e^{-t^2},\; y(0) = 0. Without solving the equation, find a lower and upper bound that y(t)y(t) stays strictly between for all tt, and determine whether y(t)y(t) can ever reach 33.

Check whether solution curves can cross, then set y2−4=0y^2 - 4 = 0 to find the horizontal equilibrium lines around y(0)=0y(0) = 0.

Both f(t,y)=(y2−4)e−t2\slope{f}(t, y) = (y^2 - 4)e^{-t^2} and ∂f∂y=2ye−t2\dfdy{\frac{\partial f}{\partial y}} = 2ye^{-t^2} are continuous everywhere on the plane, so solution curves can never touch or cross. Setting y2−4=0y^2 - 4 = 0 gives two constant equilibrium solutions, y=−2\sol{y = -2} and y=2\sol{y = 2}. Be careful not to drop the negative root y=−2\sol{y = -2} (without it, there is no lower bound at all) or include the endpoints −2≤y(t)≤2-2 \le y(t) \le 2 as if the curve could touch the equilibrium lines. Since y(0)=0y(0) = 0 starts between −2\sol{-2} and 2\sol{2}, it is trapped between them forever. −2<y(t)<2-2 < y(t) < 2 for all tt, so y(t)y(t) can never reach 33.
5

Find the largest interval of time tt on which the solution to the nonlinear initial value problem y′=3y2,  y(1)=12\slope{y'} = 3y^2,\; y(1) = \frac{1}{2} exists.

Because the equation is nonlinear, separate variables to solve for y(t)y(t) using y(1)=12y(1) = \frac{1}{2}, then find the time tt where the denominator equals zero.

Separating variables and integrating y−2 dy=3 dty^{-2}\,dy = 3\,dt gives −1y=3t+C-\frac{1}{y} = 3t + C. Plugging in t=1t = 1 and y=12y = \frac{1}{2} gives −2=3(1)+C-2 = 3(1) + C, so C=−5C = -5. Be careful to plug in the given starting time t=1t = 1 rather than t=0t = 0 (which gives C=−2C = -2 and the wrong interval (−∞,23)(-\infty, \tfrac{2}{3})), and do not assume (−∞,∞)(-\infty, \infty) just because 3y23y^2 is continuous everywhere. Solving −1y=3t−5-\frac{1}{y} = 3t - 5 gives y(t)=15−3t\sol{y(t)} = \frac{1}{5 - 3t}, which goes to infinity at t=53t = \frac{5}{3} and exists on the open interval containing t0=1\region{t_0 = 1}. (−∞,53)(-\infty, \tfrac{5}{3}).