Find a course

Module 3: Qualitative Methods and Special EquationsLesson 6 of 1214 min

Existence, Uniqueness, Exact and Bernoulli Equations

Learn when a solution must exist and be unique, spot cases where uniqueness fails, and solve exact equations and Bernoulli equations by substitution.

Step 1 of 13Learn

Can we trust a solution to exist?

Before solving an initial value problem, it's worth asking: does a solution exist at all? And if so, is there only one? For prediction, uniqueness is essential. If two different futures fit the same present, the model can't tell you which happens.

The standard answer is the existence and uniqueness theorem (often credited to Picard and Lindelöf):

For y′ = f(t, y) with y(t₀) = y₀, if f and ∂f/∂y are continuous in a rectangle around (t₀, y₀), then there is exactly one solution on some interval around t₀.

Three things to notice:

  1. The conditions are sufficient, not necessary. A problem can have a unique solution even if they fail.
  2. The guarantee is local: the interval might be small. For y′ = y2, y(0) = 1, both f = y2 and ∂f/∂y = 2y are continuous everywhere, yet the solution y = 1/(1 − t) blows up at t = 1. The theorem promises a solution near t = 0, not forever.
  3. Uniqueness has a geometric meaning: solution curves cannot cross where the conditions hold. If they did, the crossing point would have two different solutions through it.

For linear equations y′ + P(t)y = Q(t), the news is even better: if P and Q are continuous on an interval, the solution exists and is unique on that whole interval. Linear equations can't blow up unless their coefficients do.

Step 2 of 13Learn

When uniqueness fails

Consider y′ = 3y^(2/3) with y(0) = 0.

Here f = 3y^(2/3) is continuous, but ∂f/∂y = 2y^(−1/3) is infinite at y = 0. The theorem doesn't apply, and in fact uniqueness fails:

  • y = 0 is a solution (both sides are 0).
  • y = t3 is also a solution: y′ = 3t2, and 3(t3)^(2/3) = 3t2.

Worse, you can wait at zero for any amount of time a and then take off: y = 0 for t ≤ a and y = (t − a)3 for t > a. Infinitely many solutions pass through the same starting point.

Physically, this happens when a model has a sharp corner in its rules. A classic example is water draining from a tank through a hole at the bottom. By Torricelli's law the height obeys h′ = −k√h. Run backward in time from an empty tank and you can't tell when it emptied: every emptying time fits h = 0 now. The square root, whose derivative is infinite at 0, is the culprit.

Common mistake: assuming a numerical solver's output is "the" answer for such a problem. A solver will usually follow one branch, often y = 0, silently.

Checking the conditions quickly: compute ∂f/∂y and look for points where it is undefined: division by zero, roots of zero, absolute values at their corners.

Step 3 of 13Chart

Three solutions through the same point

For y′ = 3y^(2/3), y(0) = 0, the zero solution, y = t3 and a delayed cubic that waits until t = 1 all satisfy the equation and the initial condition. In fact infinitely many do: wait any time, then take off.

Three solutions through the same pointLine chart with 6 categories: t = 0: y = 0 0, y = t^3 0, Waits, then (t − 1)^3 0; 0.5: y = 0 0, y = t^3 0.125, Waits, then (t − 1)^3 0; 1: y = 0 0, y = t^3 1, Waits, then (t − 1)^3 0; 1.5: y = 0 0, y = t^3 3.38, Waits, then (t − 1)^3 0.125; 2: y = 0 0, y = t^3 8, Waits, then (t − 1)^3 1; 2.5: y = 0 0, y = t^3 15.63, Waits, then (t − 1)^3 3.38.05101520t = 00.511.522.5
Three solutions through the same point
Itemy = 0y = t^3Waits, then (t − 1)^3
t = 0000
0.500.1250
1010
1.503.380.125
2081
2.5015.633.38

Step 4 of 13Practice · Select all that apply

For which initial value problems does the existence and uniqueness theorem guarantee a unique solution near the starting point?

Select all that apply.

Step 5 of 13Learn

Exact equations

Sometimes a first-order equation is written in differential form:

M(x, y) dx + N(x, y) dy = 0

Suppose there is a function ψ(x, y) with ∂ψ/∂x = M and ∂ψ/∂y = N. Then the equation says dψ = 0, so ψ is constant along solutions: the solutions are the level curves ψ(x, y) = C. Such an equation is called exact.

Test for exactness: because mixed partial derivatives agree, an exact equation must have

∂M/∂y = ∂N/∂x

and on a simple region, that condition is also enough.

Example. Solve (2xy + 3) dx + (x2 + 4y) dy = 0.

  1. Test. M_y = 2x and N_x = 2x. Exact.
  2. Integrate M in x. ψ = ∫(2xy + 3) dx = x2y + 3x + g(y), where g is an unknown function of y alone.
  3. Match N. ∂ψ/∂y = x2 + g′(y) must equal x2 + 4y, so g′(y) = 4y and g = 2y2.
  4. Answer. x2y + 3x + 2y2 = C.

Exact equations often come from physics: ψ plays the role of a conserved quantity like energy or a potential.

Common mistake: forgetting the "+ g(y)" in step 2. When integrating with respect to x, any function of y alone acts like a constant and must be included.

Step 6 of 13Practice · Choose one

Which of these equations is exact?

Step 7 of 13Diagram

Solving an exact equation

The method for M dx + N dy = 0, step by step.

Solving an exact equationProcess diagram: Test: ∂M/∂y = ∂N/∂x? → Integrate M in x → Differentiate in y, set = N → Integrate to find h(y) → Answer: ψ(x, y) = C.Test: ∂M/∂y =∂N/∂x?Integrate M in xDifferentiate in y,set = NIntegrate to find h(y)Answer: ψ(x, y) = C

Tap a shape with to see more.

Test: ∂M/∂y = ∂N/∂x?

If the mixed partials differ, the equation is not exact (an integrating factor may fix it).

Integrate M in x

ψ = ∫M dx + h(y), where h is an unknown function of y alone.

Differentiate in y, set = N

This gives h′(y).

Integrate to find h(y)

Constants of integration can be dropped here.

Answer: ψ(x, y) = C

The solutions are level curves of ψ; use the given point to find C.

Step 8 of 13Note

Step 9 of 13Learn

A Bernoulli example

Let's solve y′ + y = y2 with y(0) = 1/2 using the substitution.

  1. Identify n. Here P = 1, Q = 1 and n = 2. Let v = y^(1 − 2) = 1/y.
  2. Transform. Since y = 1/v, y′ = −v′/v2. Substituting: −v′/v2 + 1/v = 1/v2. Multiply by −v2: v′ − v = −1. This is linear in v.
  3. Solve the linear equation. μ = e^(−t). (e^(−t)v)′ = −e^(−t), so e^(−t)v = e^(−t) + C, and v = 1 + Cet.
  4. Back-substitute. y = 1/v = 1/(1 + Cet).
  5. Initial condition. y(0) = 1/(1 + C) = 1/2, so C = 1, and y = 1/(1 + et).

Check the behavior: as t → ∞, y → 0, consistent with y′ = y2 − y = y(y − 1) having a stable equilibrium at 0 and an unstable one at 1. Our starting value 1/2 lies between them, so the solution slides down to 0.

Notice that y = 0 is also a solution of the original equation but is lost by the substitution v = 1/y. As with separable equations, always check whether dividing has thrown away a constant solution.

Bernoulli's trick, linear substitutions and integrating factors are the main tools for first-order equations. For anything they can't handle, use qualitative analysis or a numerical solver.

Step 10 of 13Practice · Work it out

Solve the exact equation (2x + y) dx + (x + 2y) dy = 0 through the point (1, 1). The solution has the form x2 + xy + y2 = C. What is C?

Step 11 of 13Practice · Fill in the blanks

Fill in the blanks

For the Bernoulli equation y′ + 2y = t·y3, the substitution is v = y raised to the power .

Step 12 of 13Flashcards

Recognize the first-order type

Tap a card to flip it.

Step 13 of 13Practice · What would you do?

What would you do?

An engineer models a draining tank with h′ = −0.2√h and measures h = 0 at t = 10 minutes. She asks a solver to run the model backward to find when the tank started draining from its initial height. The solver reports that h stays 0 for all earlier times. What's going on?