∫Calc Practice

Line integrals of scalar functions

Problem 12.419 · medium

Evaluate \( \displaystyle \int_C x + y \, ds \), where \( \displaystyle C \) is the segment from (0, 1, 0) to (1, 0, 0).
  1. Parametrize: r(t) = <t, 1 - t, 0>, 0 ≤ t ≤ 1; ds = ‖r′(t)‖ dt.
    Reviewed
  2. \[ \sqrt{\left(\frac{d}{d t} 0\right)^{2} + \left(\frac{d}{d t} t\right)^{2} + \left(\frac{d}{d t} \left(1 - t\right)\right)^{2}} = \sqrt{2} \]
    ‖r′(t)‖.✓ Proved
  3. \[ \int\limits_{0}^{1} \sqrt{2} \left. x + y \right|_{\substack{ x=t\\ y=1 - t\\ z=0 }}\, dt = \sqrt{2} \]
    ∫ f(r(t)) ‖r′(t)‖ dt.✓ Proved
Answer \( \sqrt{2} \)

✓ Nihil obstat Lines: 2 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
1Reviewedreviewers: gpt-oss:20b, qwen3.6:27b-mlxa sentence; read, not computed
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.0f at each segment's midpoint times its length, over a 20,000-segment polyline

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: pass
Every verdict on record (6)
  • qwen3.6:27b-mlx: pass 2026-10-18
  • gpt-oss:20b: pass 2026-10-18
  • qwen3.6:27b-mlx: pass 2026-10-16
  • gpt-oss:20b: pass 2026-10-16
  • qwen3.6:27b-mlx: pass 2026-10-15 — The parametrization correctly models the line segment from (0, 1, 0) to (1, 0, 0). The calculation of the magnitude of the derivative and the subsequent integration are correct.
  • gpt-oss:20b: pass 2026-10-15

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