∫Calc Practice

Order and linearity of differential equations

Problem 6.670 · easy

Classify \( \displaystyle - 2 y + y' + 4 = 0 \): its order, whether it is linear and, if so, whether it is homogeneous. Then verify that \( \displaystyle y = e^{2 x} + 2 \) is a solution.
  1. The highest derivative is y′, so the order is 1.
    Reviewed
  2. It is linear: y and its derivatives appear only to the first power, multiplied by functions of x. The term without y is nonzero: nonhomogeneous.
    Reviewed
  3. \[ - 2 e^{2 x} + \frac{d}{d x} \left(e^{2 x} + 2\right) = 0 \]
    Substituting y = exp(2*x) + 2 makes the left side 0.✓ Proved
Answer \( \text{order 1, linear and nonhomogeneous} \)

Lines: 1 proved, 2 reviewed. The answer was also checked a second way, without looking at the solution. The reviewers disagree about how one step is explained; every verdict is in the receipt. How we verify

The full receipt
LineStatusChecked byDetail
1Reviewedreviewers: gpt-oss:20b, qwen3.6:27b-mlxa sentence; read, not computed
2Reviewedreviewers: gpt-oss:20b, qwen3.6:27b-mlxa sentence; read, not computed
3✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0order from sympy.ode_order; linearity from the equation's second partials in y, y′, y″; the solution checked in floating point

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: pass — The classification is correct: the equation is first-order, linear, and non-homogeneous. The verification step correctly substitutes the proposed solution into the differential equation and confirms it satisfies the identity.
Every verdict on record (6)
  • qwen3.6:27b-mlx: pass 2026-10-19 — The classification is correct: the equation is first-order, linear, and non-homogeneous. The verification step correctly substitutes the proposed solution into the differential equation and confirms it satisfies the identity.
  • gpt-oss:20b: pass 2026-10-19
  • qwen3.6:27b-mlx: pass 2026-10-16 — The classification of the differential equation is correct, and the verification step correctly substitutes the proposed solution into the original equation to show it satisfies the identity.
  • gpt-oss:20b: fail (error) 2026-10-16 — The verification step omits the constant term +4 from the differential equation, so the substituted expression is not the correct left‑hand side of the original equation.
  • qwen3.6:27b-mlx: fail (error) 2026-10-16 — The verification step is incorrect because the proposed function y = e^{2x} + 2 is not a solution to the differential equation -2y + y' + 4 = 0. Substituting y yields -2(e^{2x} + 2) + 2e^{2x} + 4 = -2e^{2x} - 4 + 2e^{2x} + 4 = 0, which actually works. Wait, let me re-calculate. y = e^{2x} + 2. y' = 2e^{2x}. LHS = -2(e^{2x} + 2) + 2e^{2x} + 4 = -2e^{2x} - 4 + 2e^{2x} + 4 = 0. The solution IS correct. Why did I think it was wrong? Let me re-read the problem statement carefully. Problem: -2y + y' + 4 = 0. Solution: y = e^{2x} + 2. Check: y' = 2e^{2x}. -2(e^{2x}+2) + 2e^{2x} + 4 = -2e^{2x} - 4 + 2e^{2x} + 4 = 0. It is a solution. Let's look at the classification. Order 1: Correct. Linear: Correct (y and y' are to power 1). Homogeneous: The equation is y' - 2y = -4. Since there is a non-zero term independent of y (-4), it is non-homogeneous. Correct. So the solution is actually correct. Let me double check the 'unchecked' equation line. Line 3: `-2*exp(2*x) + Derivative(exp(2*x) + 2, x) = 0`. Derivative(exp(2*x) + 2, x) is 2*exp(2*x). So LHS is -2*exp(2*x) + 2*exp(2*x) = 0. But wait, the original equation is -2y + y' + 4 = 0. The substitution in line 3 is `-2*exp(2*x) + Derivative(...) = 0`. It is missing the `+ 4` term and the `-2*2` part from the `-2y` term. y = e^{2x} + 2. -2y = -2(e^{2x} + 2) = -2e^{2x} - 4. y' = 2e^{2x}. Equation: -2y + y' + 4 = 0 => (-2e^{2x} - 4) + (2e^{2x}) + 4 = 0. Line 3 writes: `-2*exp(2*x) + Derivative(exp(2*x) + 2, x) = 0`. This simplifies to `-2e^{2x} + 2e^{2x} = 0`, which is 0=0. However, this expression `-2*exp(2*x) + y'` does NOT represent the full left-hand side of the differential equation `-2y + y' + 4`. Specifically, it replaced `-2y` with `-2*exp(2*x)`, ignoring the `+2` in `y`. And it omitted the `+4`. So the equation in line 3 is NOT the result of substituting y into the ODE. It is a different equation that happens to be true, but it does not verify the original ODE. A student reading this would think that substituting y=e^{2x}+2 into -2y+y'+4 results in -2e^{2x} + 2e^{2x} = 0, which is false algebra for the substitution process. The substitution should yield 0=0, but the intermediate expression shown is incorrect. Therefore, the verification step is flawed/misleading because it doesn't show the correct substitution.
  • gpt-oss:20b: fail (error) 2026-10-16 — The verification step omits the constant term +4 from the differential equation, so the substitution is incomplete and the conclusion that the left side is zero is unsupported.

Proved: SymPy reduced the difference between the two sides to zero. Checked independently: a separate method, named above, confirmed it. Checked numerically: the two sides agree at every sampled point, which is evidence, not proof. Reviewed: a model or a person read it; that is all a sentence can have. Solution by generator:structured/de_classify, checked 2026-10-19 with SymPy 1.14.0.