∫Calc Practice

Derivative of \( \displaystyle \cos{\left(x + 2 \right)} \)

Problem 2.433 · easy Mental math

Differentiate \( \displaystyle f(x) = \cos{\left(x + 2 \right)} \).
  1. \[ \frac{d}{d x} \cos{\left(x + 2 \right)} \]
    Start with the derivative of the function.✓ Proved
  2. \[ = - \sin{\left(x + 2 \right)} \]
    trigThe derivative of cos(u) is -sin(u).✓ Proved
  3. \[ = - \sin{\left(x \right)} \cos{\left(2 \right)} - \sin{\left(2 \right)} \cos{\left(x \right)} \]
    algebraExpand using the sine addition formula.✓ Proved
Answer \( - \sin{\left(x + 2 \right)} \)

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. The reviewers disagree about how one step is explained; every verdict is in the receipt.

The full receipt
LineStatusChecked byDetail
1✓ Provedsympy 1.14.0line 1 is the problem as stated
2✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
3✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
answer✓ Provedsympy 1.14.0final line against the stated answer: simplify(a - b) reduced to 0
answer, a second way✓ Provedsympy 1.14.0SymPy differentiated f directly and got the stated answer

Reviewers

  • gpt-oss:20b: fail (error) — Step 1 applies the derivative of cos(u) but omits the chain rule for the inner function u=x+2. The correct first derivative should be -sin(x+2)·1, i.e. -sin(x+2).
  • qwen3.6:27b-mlx: fail (error) — Step 2 is mathematically incorrect because it omits the chain rule factor (the derivative of the inner function x+2), resulting in an incomplete derivative. Step 3 incorrectly applies the sine addition formula to -sin(x+2) instead of sin(x+2), introducing a sign error.
Every verdict on record (6)
  • qwen3.6:27b-mlx: fail (error) 2026-09-21 — Step 2 is mathematically incorrect because it omits the chain rule factor (the derivative of the inner function x+2), resulting in an incomplete derivative. Step 3 incorrectly applies the sine addition formula to -sin(x+2) instead of sin(x+2), introducing a sign error.
  • gpt-oss:20b: fail (error) 2026-09-21 — Step 1 applies the derivative of cos(u) but omits the chain rule for the inner function u=x+2. The correct first derivative should be -sin(x+2)·1, i.e. -sin(x+2).
  • qwen3.6:27b-mlx: fail (error) 2026-09-20 — Step 2 is mathematically incorrect because it omits the chain rule factor (the derivative of the inner function x+2). Step 3 is also incorrect because it applies the sine addition formula to -sin(x+2) instead of the correct derivative -sin(x+2).
  • gpt-oss:20b: fail (style) 2026-09-20 — Step 1 lacks a proper rule label (should be "chain"), and step 3 is labeled "algebra" but actually applies the sine addition formula, which belongs to the "trig" rule. These labeling errors affect the granularity of the solution.
  • qwen3.6:27b-mlx: fail (error) 2026-09-20 — Step 2 claims the derivative of cos(x+2) is -sin(x+2) using the 'trig' rule, but this omits the chain rule factor (the derivative of the inner function x+2). The step applies both the trigonometric derivative and the chain rule simultaneously, violating the one-rule-per-step constraint, and the label 'trig' does not account for the missing chain rule application.
  • gpt-oss:20b: fail (error) 2026-09-20 — Step 2 applies the derivative of cos(u) but omits the chain‑rule factor d(u)/dx. Step 3 uses the sine addition formula, which is a trig identity, not an algebraic simplification, yet it is labeled "algebra". Both steps violate the rule‑granularity requirement.

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 gemma4:26b, checked 2026-09-26 with SymPy 1.14.0.