4.6.7 · D4Ordinary Differential Equations

Exercises — Integrating factors for non-exact equations

2,168 words10 min readBack to topic

Quick reference (earned in the parent note):


Level 1 — Recognition

Goal: read off whether an equation is exact, and if not, which single-variable test survives.

Exercise 1.1

State whether is exact. If yes, give .

Recall Solution

. Differentiate: (treat as frozen, derivative of in is ), . Since , it is exact.

Find : . Here is the undetermined function defined above (the "-constant" that may still depend on ). Then must equal , so , i.e. is a genuine constant, absorbed into .

Exercise 1.2

For , show it is NOT exact, then decide which of the two tests (-only or -only) yields a clean single-variable function.

Recall Solution

. , . Not exact ().

-test: — pure . ✓ (Case 1 works.)

-test: — pure . ✓ (Case 2 ALSO works.)

Both survive here, a rare happy case. Either factor solves it; the -factor gives (away from ).


Level 2 — Application

Goal: run the full 6-step procedure end to end.

Exercise 2.1

Solve using an integrating factor.

Recall Solution

. . Wait — equal! It is already exact. (with the undetermined -constant); . (Lesson: always test BEFORE hunting a factor — sometimes there is nothing to fix.)

Exercise 2.2

Solve .

Recall Solution

. . Not exact.

-test: — pure . ✓

on (drop the bars; the sign cancels from exactness).

Multiply: , . Re-test: , . ✓

. must equal , so .

Exercise 2.3

Solve .

Recall Solution

. . Not exact.

-test: — has . ✗

-test: — pure . ✓

(valid on ; sign of cancels).

Multiply: , . Re-test: , . ✓

; .


Level 3 — Analysis

Goal: decide the strategy when neither test is obvious, and handle degenerate coefficients.

Exercise 3.1

Show that admits an -only factor but NOT a -only factor, and explain why in terms of the surviving variable.

Recall Solution

. .

-test: . The cancels — pure . ✓ So (on ) exists.

-test: . No cancellation: over still carries . ✗ So no .

Why: a -only factor requires the ratio's 's to all cancel — but here the numerator's and the denominator's live in different combinations ( vs ), so nothing cleans up. This is Worked Example 1 from the parent, giving .

Exercise 3.2

Solve . (Watch the minus sign in .)

Recall Solution

. . Not exact.

-test: — has . ✗

-test: . The cancels — pure . ✓

(on ).

Multiply: , . Re-test: , . ✓

; .


Level 4 — Synthesis

Goal: combine techniques, recognise when a special-form factor (like from Linear first-order ODEs) is the same idea, and integrate by parts inside the potential.

Exercise 4.1

The linear ODE can be written in differential form. Put it as , find its integrating factor by the -test, and confirm it matches the linear factor .

Recall Solution

Rewrite: , i.e. . So . . Not exact.

-test: — pure . ✓ (on ).

Linear-ODE factor: , so . Same factor.

Multiply: . Re-test: . ✓ ; .

Exercise 4.2

Solve (parent Worked Example 2). Find the factor, then determine by integration by parts shown in full, and verify the boxed answer.

Recall Solution

Factor. , ; not exact. -test keeps . ✗ -test — pure . ✓ (on ).

Multiply. . Re-test: . ✓

Build . . Differentiate in and match :

Integrate by parts (why parts? the integrand is a polynomial exponential — parts peels one power of off per pass, and never gets worse). Use .

  • Pass 1: .
  • Pass 2: .
  • Combine: Therefore

Assemble. Check (differentiate the boxed ): ✓; and ✓ (the two exponential pieces cancel to leave exactly , confirming the parts computation).


Level 5 — Mastery

Goal: invent a factor of a mixed form from a hint, and handle a case where neither pure test works.

Exercise 5.1

Neither the -test nor the -test gives a single-variable function for . You are told to try . Find and solve.

Recall Solution

. Compute , .

Confirm both pure tests fail: — has . ✗ — has . ✗

Try . Then and .

Exactness : LHS . RHS .

Match the two independent power-blocks:

  • : .
  • : .

From the first: . Combine with : multiply first by 3, second by 2: and , then . So .

Multiply original by : , . Re-test: , . ✓

; .

Exercise 5.2

Prove the general principle you just used: if makes exact, the exponents solve a linear system (so mastery = matching powers, not guessing).

Recall Solution (sketch)

Exactness demands . Product rule: Cancel : When are polynomials, each distinct monomial in gives one linear equation in . Two independent monomials ⇒ a linear system ⇒ unique when it is consistent. That is exactly the pair of equations solved in Ex 5.1.


Connections