∫Calc Practice

Order and linearity of differential equations

Problem 6.425 · easy

Classify \( \displaystyle - x + y y' = 0 \): its order, whether it is linear and, if so, whether it is homogeneous. Then verify that \( \displaystyle y = \sqrt{x^{2} + 2} \) is a solution.
  1. The highest derivative is y′, so the order is 1.
  2. It is nonlinear: y appears squared or multiplied by its own derivative.
  3. \[ - x + \sqrt{x^{2} + 2} \frac{d}{d x} \sqrt{x^{2} + 2} = 0 \]
    Substituting y = sqrt(x**2 + 2) makes the left side 0.✓ Proved
Answer \( \text{order 1, nonlinear} \)

Lines: 1 proved, 2 not checked. 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
1Not checked—a sentence; read, not computed
2Not checked—a 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: inconclusive — reviewer response could not be parsed: {"verdict":"fail","severity":"error","notes":"The verification step does not compute the derivative of \(y=\sqrt{x^{2}+2}\). It merely states the substituted expression equals zero without showing tha
  • qwen3.6:27b-mlx: fail (error) — The solution incorrectly classifies the ODE as nonlinear. The equation -x + y y' = 0 can be rewritten as y' - (1/y)x = 0, which is not linear in y, but the standard definition of linearity for first-order ODEs requires the equation to be of the form y' + P(x)y = Q(x). Here, the term y y' makes it nonlinear in the dependent variable y if we consider the standard form y' = f(x,y). Wait, let's re-evaluate. A first-order ODE is linear if it can be written as y' + p(x)y = q(x). The given equation is y y' = x, or y' = x/y. This is not linear because of the 1/y term. So 'nonlinear' is correct. Let me re-read the prompt's stated answer. Stated answer: 'order 1, nonlinear'. The solution says 'nonlinear'. Why did I think it was an error? Let's look closer. Is -x + y y' = 0 linear? No. Linearity requires the dependent variable y and its derivative y' to appear to the first power and not multiplied together. Here y and y' are multiplied. So it is nonlinear. However, the solution's reasoning in step 2 says 'y appears squared or multiplied by its own derivative'. In the equation -x + y y' = 0, y is NOT squared. It is multiplied by its derivative. The reasoning 'y appears squared OR multiplied...' is logically inclusive, so if one part is true, the statement is true. But is it misleading? It suggests y might be squared. It is not. Let's check the verification step. y = sqrt(x^2 + 2). y' = (1/2)(x^2+2)^(-1/2) * 2x = x/sqrt(x^2+2). LHS: -x + y y' = -x + sqrt(x^2+2) * (x/sqrt(x^2+2)) = -x + x = 0. This is correct. So the classification is correct. The verification is correct. Is there a subtle error? 'Classify ... whether it is linear and, if so, whether it is homogeneous.' The solution says 'nonlinear'. It does not address homogeneity. The prompt asks 'if so [if linear], whether it is homogeneous'. Since it is not linear, we do not need to check homogeneity. So why would this fail? Maybe the definition of 'homogeneous' in the context of linear ODEs? A linear ODE is homogeneous if Q(x) = 0. Since it's not linear, this doesn't apply. Let's look at the sentence again: 'It is nonlinear: y appears squared or multiplied by its own derivative.' This is a bit sloppy. It implies that y appearing squared is a reason for nonlinearity, which is true generally, but here y does NOT appear squared. It's a 'or' statement. 'A or B' is true if B is true. So the sentence is technically true. Is there any other interpretation? Some texts define 'homogeneous' for non-linear ODEs too (homogeneous of degree 0). But the prompt specifically links homogeneity to linearity ('if so'). Let's look at the stated answer again: 'order 1, nonlinear'. The solution matches this. Is it possible the ODE IS linear? No. y y' = x is a classic non-linear ODE (Bernoulli with n=-1? No, Bernoulli is y' + p(x)y = q(x)y^n. Here y' = x/y => y' = x y^{-1}. This is Bernoulli with n=-1. Bernoulli equations are non-linear unless n=0 or n=1. Here n=-1, so non-linear. Wait, look at the verification equation line: `-x + sqrt(x**2 + 2)*Derivative(sqrt(x**2 + 2), x) = 0` The solution says 'Substituting y = ... makes the left side 0'. This is correct. Is there a trap? 'y appears squared' -> False. 'multiplied by its own derivative' -> True. The sentence claims nonlinearity because of these reasons. If a student reads 'y appears squared', they might look for a y^2 term and not find it, getting confused. This is 'misleading'. Also, the prompt asks to classify 'whether it is linear and, if so, whether it is homogeneous'. The solution concludes 'nonlinear'. It stops there. This is correct behavior. However, often 'homogeneous' can refer to the property f(tx, ty) = t^n f(x,y) for non-linear ODEs. But the prompt structure 'if so [linear], whether it is homogeneous' restricts the scope. Let's consider if the solution is 'pass'. The reasoning 'y appears squared or multiplied...' is poor style/misleading because y does not appear squared. It creates a false impression of the equation's structure. Let's check if there is a more severe error. What if the question implies the ODE is linear? -x + y y' = 0. If we swap x and y? x x' - y = 0? No. It is definitely non-linear. I will mark it as 'misleading' because the justification for nonlinearity cites a feature (y squared) that is not present in the equation, which could confuse a student about what makes an ODE nonlinear in this specific case.
Every verdict on record (6)
  • qwen3.6:27b-mlx: fail (error) 2026-10-17 — The solution incorrectly classifies the ODE as nonlinear. The equation -x + y y' = 0 can be rewritten as y' - (1/y)x = 0, which is not linear in y, but the standard definition of linearity for first-order ODEs requires the equation to be of the form y' + P(x)y = Q(x). Here, the term y y' makes it nonlinear in the dependent variable y if we consider the standard form y' = f(x,y). Wait, let's re-evaluate. A first-order ODE is linear if it can be written as y' + p(x)y = q(x). The given equation is y y' = x, or y' = x/y. This is not linear because of the 1/y term. So 'nonlinear' is correct. Let me re-read the prompt's stated answer. Stated answer: 'order 1, nonlinear'. The solution says 'nonlinear'. Why did I think it was an error? Let's look closer. Is -x + y y' = 0 linear? No. Linearity requires the dependent variable y and its derivative y' to appear to the first power and not multiplied together. Here y and y' are multiplied. So it is nonlinear. However, the solution's reasoning in step 2 says 'y appears squared or multiplied by its own derivative'. In the equation -x + y y' = 0, y is NOT squared. It is multiplied by its derivative. The reasoning 'y appears squared OR multiplied...' is logically inclusive, so if one part is true, the statement is true. But is it misleading? It suggests y might be squared. It is not. Let's check the verification step. y = sqrt(x^2 + 2). y' = (1/2)(x^2+2)^(-1/2) * 2x = x/sqrt(x^2+2). LHS: -x + y y' = -x + sqrt(x^2+2) * (x/sqrt(x^2+2)) = -x + x = 0. This is correct. So the classification is correct. The verification is correct. Is there a subtle error? 'Classify ... whether it is linear and, if so, whether it is homogeneous.' The solution says 'nonlinear'. It does not address homogeneity. The prompt asks 'if so [if linear], whether it is homogeneous'. Since it is not linear, we do not need to check homogeneity. So why would this fail? Maybe the definition of 'homogeneous' in the context of linear ODEs? A linear ODE is homogeneous if Q(x) = 0. Since it's not linear, this doesn't apply. Let's look at the sentence again: 'It is nonlinear: y appears squared or multiplied by its own derivative.' This is a bit sloppy. It implies that y appearing squared is a reason for nonlinearity, which is true generally, but here y does NOT appear squared. It's a 'or' statement. 'A or B' is true if B is true. So the sentence is technically true. Is there any other interpretation? Some texts define 'homogeneous' for non-linear ODEs too (homogeneous of degree 0). But the prompt specifically links homogeneity to linearity ('if so'). Let's look at the stated answer again: 'order 1, nonlinear'. The solution matches this. Is it possible the ODE IS linear? No. y y' = x is a classic non-linear ODE (Bernoulli with n=-1? No, Bernoulli is y' + p(x)y = q(x)y^n. Here y' = x/y => y' = x y^{-1}. This is Bernoulli with n=-1. Bernoulli equations are non-linear unless n=0 or n=1. Here n=-1, so non-linear. Wait, look at the verification equation line: `-x + sqrt(x**2 + 2)*Derivative(sqrt(x**2 + 2), x) = 0` The solution says 'Substituting y = ... makes the left side 0'. This is correct. Is there a trap? 'y appears squared' -> False. 'multiplied by its own derivative' -> True. The sentence claims nonlinearity because of these reasons. If a student reads 'y appears squared', they might look for a y^2 term and not find it, getting confused. This is 'misleading'. Also, the prompt asks to classify 'whether it is linear and, if so, whether it is homogeneous'. The solution concludes 'nonlinear'. It stops there. This is correct behavior. However, often 'homogeneous' can refer to the property f(tx, ty) = t^n f(x,y) for non-linear ODEs. But the prompt structure 'if so [linear], whether it is homogeneous' restricts the scope. Let's consider if the solution is 'pass'. The reasoning 'y appears squared or multiplied...' is poor style/misleading because y does not appear squared. It creates a false impression of the equation's structure. Let's check if there is a more severe error. What if the question implies the ODE is linear? -x + y y' = 0. If we swap x and y? x x' - y = 0? No. It is definitely non-linear. I will mark it as 'misleading' because the justification for nonlinearity cites a feature (y squared) that is not present in the equation, which could confuse a student about what makes an ODE nonlinear in this specific case.
  • gpt-oss:20b: inconclusive 2026-10-17 — reviewer response could not be parsed: {"verdict":"fail","severity":"error","notes":"The verification step does not compute the derivative of \(y=\sqrt{x^{2}+2}\). It merely states the substituted expression equals zero without showing tha
  • qwen3.6:27b-mlx: inconclusive 2026-10-14 — reviewer response could not be parsed: { "verdict": "fail", "severity": "error", "notes": "The solution incorrectly classifies the ODE as nonlinear. The equation -x + y y' = 0 is linear in y' but nonlinear in y? No, wait. A linear ODE must
  • gpt-oss:20b: pass 2026-10-14
  • qwen3.6:27b-mlx: fail (error) 2026-10-14 — The solution incorrectly classifies the ODE as nonlinear. The equation -x + y y' = 0 can be rewritten as y' - (1/y)x = 0, which is not linear in y, but the standard definition of linearity for first-order ODEs requires the equation to be linear in y and y'. Here, the term y y' makes it nonlinear in the dependent variable y. Wait, let me re-evaluate. A first-order ODE is linear if it can be written in the form y' + P(x)y = Q(x). The given equation is y y' = x, or y' = x/y. This is not of the form y' + P(x)y = Q(x) because of the 1/y term. So it IS nonlinear. Why did I think it was an error? Let me re-read the prompt's stated answer. Stated answer: 'order 1, nonlinear'. The solution says 'It is nonlinear'. This matches. Is there an error in the reasoning? 'y appears squared or multiplied by its own derivative'. y is not squared. y is multiplied by y'. This is a valid reason for nonlinearity. So the classification is correct. Let's look at the verification. y = sqrt(x^2 + 2). y' = (1/2)(x^2+2)^(-1/2) * 2x = x/sqrt(x^2+2). Then y y' = sqrt(x^2+2) * (x/sqrt(x^2+2)) = x. So -x + x = 0. The verification is correct. The classification is correct. The reasoning 'y appears squared or multiplied by its own derivative' is slightly imprecise (it's the latter, not the former), but not false. Is it misleading? No. Is it an error? No. Wait, look at line 2 again. 'It is nonlinear: y appears squared or multiplied by its own derivative.' The 'or' implies one of these conditions is sufficient. y is multiplied by its derivative. This is sufficient. So the statement is true. Why would this fail? Maybe the prompt implies I should find a subtle error. Let's look closer. Is -x + y y' = 0 linear? No. Is it homogeneous? The problem asks to classify whether it is homogeneous. The solution does NOT address the homogeneity part of the question. The problem asks: 'Classify ... its order, whether it is linear and, if so, whether it is homogeneous.' The solution determines order and linearity. Since it is nonlinear, the 'if so' condition for checking homogeneity is not triggered. So it doesn't need to check homogeneity. The stated answer is 'order 1, nonlinear'. This is a complete answer to the classification part. The verification is done. It seems correct. Let me double check the definition of linear ODE. An ODE is linear if it is linear in the dependent variable and its derivatives. y y' is a product of dependent variable and derivative, so it is nonlinear. Correct. The solution is sound. Why did I hesitate? Maybe the phrasing 'y appears squared' is confusing? It says 'y appears squared OR multiplied...'. Since y is not squared, but IS multiplied, the disjunction is true. It's a bit sloppy to mention 'squared' if it's not, but not false. I will mark it as pass.
  • gpt-oss:20b: pass 2026-10-14

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-17 with SymPy 1.14.0.