∫Calc Practice
Home›Calculus 3›Partial derivatives›Problem 10.129

Partial derivatives

Problem 10.129 · hard

For \( \displaystyle f(x, y) = \frac{x + 3 y}{x - y + 2} \), find \( \displaystyle f_x \), \( \displaystyle f_y \) and \( \displaystyle f_{xy} \).
  1. For f_x hold y constant; for f_y hold x constant.
    Reviewed
  2. \[ \frac{\partial}{\partial x} \frac{x + 3 y}{x - y + 2} = \frac{2 - 4 y}{\left(x - y + 2\right)^{2}} \]
    f_x.✓ Proved
  3. \[ \frac{\partial}{\partial y} \frac{x + 3 y}{x - y + 2} = \frac{4 x + 6}{\left(x - y + 2\right)^{2}} \]
    f_y.✓ Proved
  4. \[ \frac{\partial}{\partial y} \frac{2 - 4 y}{\left(x - y + 2\right)^{2}} = \frac{- 4 x - 4 y - 4}{\left(x - y + 2\right)^{3}} \]
    f_xy: differentiate f_x with respect to y.✓ Proved
  5. \[ \frac{\partial}{\partial x} \frac{4 x + 6}{\left(x - y + 2\right)^{2}} = \frac{- 4 x - 4 y - 4}{\left(x - y + 2\right)^{3}} \]
    Clairaut: f_yx is the same.✓ Proved
Answer \( f_x = \frac{2 \left(1 - 2 y\right)}{\left(x - y + 2\right)^{2}},\quad f_y = \frac{2 \left(2 x + 3\right)}{\left(x - y + 2\right)^{2}},\quad f_{xy} = \frac{4 \left(- x - y - 1\right)}{\left(x - y + 2\right)^{3}} \)

✓ Nihil obstat Lines: 4 proved, 1 reviewed. The answer was also checked a second way, without looking at the solution. Reviewers found nothing wrong with the explanation. How we verify

The full receipt
LineStatusChecked byDetail
1Reviewedclaude-sonnet-5-5claude-sonnet-5-5: This is a sentence, not an equation: it states that f_x holds y constant and f_y holds x constant, which is the definition of a partial derivative.
2✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
3✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
4✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
5✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0difference quotients of f at (0.6, 0.4) agree with f_x and f_y

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: fail (error) — The computed partial derivatives are incorrect. For example, f_x should be -2y/(x-y+2)^2, but the solution gives 2(1-2y)/(x-y+2)^2. The algebraic results in lines 2, 3, 4, and 5 are all wrong.

Senior review claude-sonnet-5-5, 2026-09-30: pass — All derivatives verified by hand: f_x = 2(1-2y)/D^2, f_y = 2(2x+3)/D^2, and both mixed partials equal -4(x+y+1)/D^3. Line 1 is a correct statement of the partial-derivative convention.

  • qwen3.6:27b-mlx: dismiss — By the quotient rule f_x = ((x-y+2)-(x+3y))/(x-y+2)^2 = (2-4y)/(x-y+2)^2 = 2(1-2y)/(x-y+2)^2, so the stated result is correct and the claimed -2y/(x-y+2)^2 is wrong; f_y, f_xy and f_yx also check out by hand.
Every verdict on record (7)
  • claude-sonnet-5-5: pass 2026-09-30 — All derivatives verified by hand: f_x = 2(1-2y)/D^2, f_y = 2(2x+3)/D^2, and both mixed partials equal -4(x+y+1)/D^3. Line 1 is a correct statement of the partial-derivative convention.
  • qwen3.6:27b-mlx: fail (error) 2026-09-28 — The computed partial derivatives are incorrect. For example, f_x should be -2y/(x-y+2)^2, but the solution gives 2(1-2y)/(x-y+2)^2. The algebraic results in lines 2, 3, 4, and 5 are all wrong.
  • gpt-oss:20b: pass 2026-09-28
  • qwen3.6:27b-mlx: pass 2026-09-27 — The solution correctly identifies the partial derivatives and the mixed partial derivative. The application of Clairaut's theorem is valid as the function is rational and smooth away from the singularity.
  • gpt-oss:20b: pass 2026-09-27
  • qwen3.6:27b-mlx: pass 2026-09-26 — The solution correctly identifies the partial derivatives and the mixed partial derivative. The application of Clairaut's theorem is valid as the function is rational and smooth away from the singularity.
  • gpt-oss:20b: pass 2026-09-26

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/partial_derivatives, checked 2026-09-28 with SymPy 1.14.0.