4.6.6 · D4Ordinary Differential Equations

Exercises — Exact equations — exactness condition, finding potential function

2,806 words13 min readBack to topic

Throughout, an equation is written , where:

  • is the ==coefficient multiplying == (the "-slope" of the hidden hill),
  • is the ==coefficient multiplying == (the "-slope"),
  • means (differentiate in , treating as frozen),
  • means (differentiate in , treating as frozen).

The picture to keep in your head:

Figure — Exact equations — exactness condition, finding potential function

Level 1 — Recognition

Goal: run the test correctly. No solving yet.

Exercise 1.1

Is exact?

Recall Solution 1.1

Read off and .

  • (the has no , so it vanishes).
  • (the has no , so it vanishes).

exact.

Exercise 1.2

Is exact?

Recall Solution 1.2

, .

  • .
  • .

in general ⟹ not exact.

Exercise 1.3

Is exact?

Recall Solution 1.3

, . These need the product rule.

  • .
  • .

Equal ⟹ exact. ✓ (This is .)


Level 2 — Application

Goal: run the full I-D-M-I recipe on clean equations.

Exercise 2.1

Solve .

Recall Solution 2.1

, . Test: , ⟹ exact. Integrate in (treat as a constant): The is the "constant" of -integration — it can depend on because was frozen. Differentiate in , match : Integrate: . Answer:

Exercise 2.2

Solve .

Recall Solution 2.2

, . Test: , ⟹ exact. Integrate : Match : Answer:

Exercise 2.3

Solve .

Recall Solution 2.3

Be careful with the minus sign: . . Test: ; ⟹ exact. Integrate : (here is a constant w.r.t. ). Match : Answer:


Level 3 — Analysis

Goal: decide whether to use exactness, and diagnose failures.

Exercise 3.1

Show is not exact, then note what fixes it.

Recall Solution 3.1

, . , . not exact. What fixes it: multiply by the integrating factor (a separate topic — see Integrating Factors for ODEs). Then Now and ⟹ exact, and the left side is exactly . Solution: .

Exercise 3.2

For which constant is exact? Then solve it.

Recall Solution 3.2

, . Force the test: , . Match them: for all . With : . Integrate : Match : Answer: and

Exercise 3.3

The equation claims to be exact. Verify, then find the particular solution through .

Recall Solution 3.3

, . Test: ; ⟹ exact. ✓ Integrate : Match : General solution: Apply : Answer:


Level 4 — Synthesis

Goal: combine exactness with the "integrate first" route, and with initial conditions.

Exercise 4.1

Solve by integrating in first (the symmetric route). State the domain restriction.

Recall Solution 4.1

, . (Requires .) Test: ; ⟹ exact. ✓ Integrate in (treat as constant), add this time: (Note .) Match : Answer:

Exercise 4.2

Solve the IVP , .

Recall Solution 4.2

, . Test: ; ⟹ exact. Integrate : recall , so Match : General: Apply : Answer:

Exercise 4.3

A student integrated and got , then matched against . Complete the solution — and explain, using the picture, why no term of gets integrated twice.

Recall Solution 4.3

Test first (the student skipped it): , ⟹ exact. ✓ Match : Answer: Why no double-counting: the part of that equals is already produced by differentiating in . On the hill picture, that slope is already built into . Only the leftover slope — the part with no in it — is new information, and it becomes . Subtracting it out is exactly step M of I-D-M-I.


Level 5 — Mastery

Goal: reverse-engineer the machinery and handle degenerate / limiting cases.

Exercise 5.1

Design a potential . Write the exact ODE it satisfies (in form), then recover back from and to confirm the round trip.

Recall Solution 5.1

Forward (build the ODE): .

  • ,
  • .

ODE: Sanity test: , ⟹ exact by construction. ✓ Reverse (recover ): integrate in : . Match : . Recovered ✓ — the round trip closes. Solution family: .

Exercise 5.2

Consider . Solve it. Then examine the degenerate level geometrically: what curve(s) does describe?

Recall Solution 5.2

, . Test: , ⟹ exact. Integrate : Match : General solution: , i.e. Degenerate level : splits into (the -axis) or , i.e. and (two horizontal lines). So the single level curve is actually a union of three straight lines crossing the plane — a reminder that a contour need not be one smooth curve; it can branch or split where the level passes through a saddle/crossing.

Figure — Exact equations — exactness condition, finding potential function

Exercise 5.3

The equation with is exact for a suitable with . Reconstruct .

Recall Solution 5.3

Exactness demands . Compute So . Integrate in to recover (the "constant" is a function of ): Pin using : set : Answer: (Quick check that a real exists: gives and . ✓)

Exercise 5.4

Show that every separable equation is automatically exact. Where does the potential come from?

Recall Solution 5.4

Here depends on only; depends on only. Test: (no inside), and (no inside). always exact.The potential: , and the solution is — precisely the answer the separable method gives. So separable equations are a special, "already-split" case of exact ones.


Recall One-line self-check of the whole ladder

If you can (a) run , (b) integrate either coefficient and patch with or , (c) apply an initial condition to fix , and (d) reverse the process to build an exact equation from a chosen — you own this topic.