∫Calc Practice
Home›Calculus 1›Tangent lines›Problem 2.1149

Tangent lines

Problem 2.1149 · medium

Find an equation of the tangent line to \( \displaystyle y = 2 x - \sin{\left(x \right)} + 1 \) at \( \displaystyle x = \frac{\pi}{2} \).
  1. The tangent line passes through the point (a, f(a)) and has slope f'(a).
  2. \[ \left. 2 x - \sin{\left(x \right)} + 1 \right|_{\substack{ x=\frac{\pi}{2} }} = \pi \]
    The point of tangency.✓ Proved
  3. \[ \frac{d}{d x} \left(2 x - \sin{\left(x \right)} + 1\right) = 2 - \cos{\left(x \right)} \]
    Differentiate.✓ Proved
  4. \[ \left. 2 - \cos{\left(x \right)} \right|_{\substack{ x=\frac{\pi}{2} }} = 2 \]
    The slope at the point.✓ Proved
  5. \[ 2 x \]
    Point-slope form, then simplify.✓ Proved
Answer \( y = 2 x \)

Lines: 4 proved, 1 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.

The full receipt
LineStatusChecked byDetail
1Not checked—a sentence; read, not computed
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.0the line meets the curve at x = a, and its slope matches a central difference quotient of f there

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: fail (error) — The solution fails to apply the point-slope formula using the calculated point (pi/2, pi) and slope 2. It incorrectly jumps to y = 2x, which does not pass through the point of tangency.
Every verdict on record (4)
  • qwen3.6:27b-mlx: fail (error) 2026-09-28 — The solution fails to apply the point-slope formula using the calculated point (pi/2, pi) and slope 2. It incorrectly jumps to y = 2x, which does not pass through the point of tangency.
  • gpt-oss:20b: pass 2026-09-28
  • qwen3.6:27b-mlx: fail (error) 2026-09-28 — The solution fails to use the point-slope formula correctly. It ignores the y-coordinate of the point of tangency (which is \pi, not 0) and the x-coordinate (\pi/2), resulting in a line y=2x that does not pass through the point (\pi/2, \pi).
  • gpt-oss:20b: pass 2026-09-28

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