Differential Equations -- Diagnostic Tests
flowchart TD
A[Diag Differential Equations] --> B[Key Concepts]
A --> C[Core Principles]
A --> D[Practical Applications]
B --> E[Fundamental definitions]
C --> F[Design patterns]
D --> G[Real-world usage]Differential Equations — Diagnostic Tests
Section titled “Differential Equations — Diagnostic Tests”Unit Tests
Section titled “Unit Tests”Tests edge cases, boundary conditions, and common misconceptions for differential equations.
UT-1: Separable Equations — Lost Equilibrium Solutions
Section titled “UT-1: Separable Equations — Lost Equilibrium Solutions”Question:
(a) Solve with the general solution.
(b) A student separates variables and writes Integrates, and arrives at the general solution . They claim this covers all solutions. Is this correct?
(c) Find the particular solution with .
[Difficulty: hard. Tests the common error of losing equilibrium solutions when dividing by .]
Solution:
(a) First check equilibrium solutions: or .
For Separate variables using partial fractions:
Where . Including the equilibrium solutions, the general solution is:
(b) The student”s solution is incomplete because they lost the equilibrium solutions and . By dividing by The student implicitly assumed . The equilibrium solutions must be stated separately and are not captured by the formula .
(c) The particular solution with is the equilibrium solution for all . This can be verified: and . Confirmed.
Note that if the student tries to use their formula: Which is undefined. This shows the equilibrium solution cannot be obtained from the separated formula.
UT-2: Integrating Factor — Sign Error
Section titled “UT-2: Integrating Factor — Sign Error”Question:
Solve with .
(a) Find the general solution using an integrating factor.
(b) A student rewrites the equation as Computes the integrating factor as And gets the wrong answer. Identify the error in their working:
Their working: .
So .
With : So .
Verify: and . Confirmed.
(c) Was the student actually wrong? If not, explain why.
[Difficulty: hard. Tests the integrating factor method and careful verification of solutions.]
Solution:
(a) Rewrite in standard form: .
Integrating factor: .
Multiply through: .
The left side is :
With : .
Particular solution: .
(b) The student’s working is actually correct. Despite the framing of the question, the student:
- Correctly identified the standard form.
- Correctly computed the integrating factor .
- Correctly applied the method.
- Correctly found the particular solution.
- Correctly verified it.
(c) The student was not wrong. This question is designed to test whether the student can recognise that a seemingly suspicious answer is actually correct when verified. The key lesson is to always verify solutions by substitution, rather than relying on intuition about whether an answer “looks right.”
UT-3: Second Order — Repeated Root Error
Section titled “UT-3: Second Order — Repeated Root Error”Question:
Solve with and .
(a) Find the general solution.
(b) A student writes the general solution as and then uses the initial conditions to find . Explain why this is wrong.
[Difficulty: hard. Tests the repeated root case of the characteristic equation.]
Solution:
(a) Characteristic equation: .
Repeated root: (algebraic multiplicity 2).
The general solution for a repeated root is:
Note the factor of in the second term. This is essential.
(b) The student’s error is treating the repeated root as two independent solutions and . These are the same function, so they are linearly dependent. The general solution requires two linearly independent solutions.
For a repeated root The two independent solutions are and . The factor of is derived from the method of reduction of order or from the Taylor expansion perspective: when the characteristic equation has a repeated root, the second solution involves the derivative of with respect to .
Using the correct general solution with and :
The student’s answer does not satisfy since and .
Integration Tests
Section titled “Integration Tests”Tests synthesis of differential equations with other topics.
IT-1: Newton’s Law of Cooling with Exact Values (with Logarithms)
Section titled “IT-1: Newton’s Law of Cooling with Exact Values (with Logarithms)”Question:
A body at temperature is placed in a room at constant temperature . After minutes, the body’s temperature is .
(a) Find the temperature of the body as a function of time.
(b) Determine how long it takes for the body to cool to . Give your answer in exact form.
(c) Show that the body temperature approaches as .
[Difficulty: hard. Combines separable DEs, exponential modelling, and logarithm manipulation.]
Solution:
(a) Newton’s law of cooling: Where .
Separate variables: .
Initial condition: .
At : .
(b) Set :
Numerically: minutes.
(c) As Since We have .
Therefore .
This confirms that the body temperature asymptotically approaches the ambient temperature, as expected from Newton’s law of cooling.
IT-2: Euler’s Method — Comparing with Exact Solution (with Number and Algebra)
Section titled “IT-2: Euler’s Method — Comparing with Exact Solution (with Number and Algebra)”Question:
Use Euler’s method with step size to approximate for the initial value problem:
(a) Complete the Euler’s method table.
(b) Find the exact solution and compute the exact value of .
(c) Compute the percentage error of the Euler approximation.
[Difficulty: hard. Combines numerical methods, separable DEs, and error analysis.]
Solution:
(a)
| 0 | 1.0 | 2.000 | 0.500 |
| 1 | 1.5 | 2.250 | 0.667 |
| 2 | 2.0 | 2.583 | --- |
Euler approximation: .
(b) Separate variables: .
With : .
(Taking the positive root since .)
(c)
Cross-References
Section titled “Cross-References”- Number and Algebra: Algebra is foundational
- Functions: Functions are central
- Calculus: Calculus is a major topic