∫Calc Practice

The chain rule in Leibniz notation

Problem 2.2434 · easy

Let \( \displaystyle y = u^{4} \) and \( \displaystyle u = \cos{\left(x \right)} \). Find \( \displaystyle \dfrac{dy}{dx} \) using \( \displaystyle \dfrac{dy}{dx} = \dfrac{dy}{du}\dfrac{du}{dx} \).
  1. \[ \frac{d}{d u} u^{4} = 4 u^{3} \]
    dy/du.✓ Proved
  2. \[ \frac{d}{d x} \cos{\left(x \right)} = - \sin{\left(x \right)} \]
    du/dx.✓ Proved
  3. \[ - \sin{\left(x \right)} \left. 4 u^{3} \right|_{\substack{ u=\cos{\left(x \right)} }} = - 4 \sin{\left(x \right)} \cos^{3}{\left(x \right)} \]
    Multiply, and write u in terms of x.✓ Proved
Answer \( \frac{dy}{dx} = - 4 \sin{\left(x \right)} \cos^{3}{\left(x \right)} \)

✓ Nihil obstat Every line of this solution was proved by the computer algebra system SymPy. 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
1✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
2✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
3✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0a central difference of y(u(x)) at three points

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: pass — The solution correctly applies the chain rule, computes the individual derivatives, and substitutes back to express the result in terms of x.
Every verdict on record (6)
  • qwen3.6:27b-mlx: pass 2026-10-19 — The solution correctly applies the chain rule, computes the individual derivatives, and substitutes back to express the result in terms of x.
  • gpt-oss:20b: pass 2026-10-19
  • qwen3.6:27b-mlx: pass 2026-10-16 — The solution correctly applies the chain rule and substitutes the intermediate variable.
  • gpt-oss:20b: pass 2026-10-16
  • qwen3.6:27b-mlx: pass 2026-10-16 — The solution correctly applies the chain rule, computes the derivatives accurately, and substitutes back to express the result in terms of x.
  • gpt-oss:20b: pass 2026-10-16

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/chain_rule_leibniz, checked 2026-10-19 with SymPy 1.14.0.