∫Calc Practice
Home›Calculus 1›Newton's method›Problem 3.776

Newton's method

Problem 3.776 · medium Video

Use Newton's method on \( \displaystyle f(x) = x^{3} - 2 x - 4 \) with \( \displaystyle x_0 = -1 \). Write the iteration \( \displaystyle x_{n+1} = F(x_n) \) and find \( \displaystyle x_1 \) and \( \displaystyle x_2 \) exactly.
  1. \[ \frac{d}{d x} \left(x^{3} - 2 x - 4\right) = 3 x^{2} - 2 \]
    f′(x).✓ Proved
  2. \[ x - \frac{x^{3} - 2 x - 4}{3 x^{2} - 2} = \frac{2 x^{3} + 4}{3 x^{2} - 2} \]
    Newton's formula x − f(x)/f′(x), simplified.✓ Proved
  3. \[ \left. \frac{2 \left(x^{3} + 2\right)}{3 x^{2} - 2} \right|_{\substack{ x=-1 }} = 2 \]
    x₁ = F(x₀).✓ Proved
  4. \[ \left. \frac{2 \left(x^{3} + 2\right)}{3 x^{2} - 2} \right|_{\substack{ x=2 }} = 2 \]
    x₂ = F(x₁).✓ Proved
Answer \( x_1 = 2,\ x_2 = 2 \approx 2.000000 \)
The graph of f(x) = x³ - 2x - 4. From x₀ = -1, go up to the curve, follow the tangent down to the x-axis to get x₁ = 2, and repeat to get x₂ = 2, closing in on a root.

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. 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
4✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0two Newton steps in 30-digit floating point

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: pass — The solution correctly derives the Newton iteration formula, substitutes the initial value to find x1, and then x2. The algebraic simplification and arithmetic are correct.
Every verdict on record (6)
  • qwen3.6:27b-mlx: pass 2026-11-03 — The solution correctly derives the Newton iteration formula, substitutes the initial value to find x1, and then x2. The algebraic simplification and arithmetic are correct.
  • gpt-oss:20b: pass 2026-11-03
  • qwen3.6:27b-mlx: pass 2026-11-02 — The solution correctly derives the Newton iteration function, substitutes the initial value to find x1, and then x2. The algebraic simplification and arithmetic are correct.
  • gpt-oss:20b: pass 2026-11-02
  • qwen3.6:27b-mlx: fail (error) 2026-11-02 — The simplification in line 2 is algebraically incorrect; x - (x^3 - 2x - 4)/(3x^2 - 2) does not equal 2(x^3 + 2)/(3x^2 - 2). Although the numerical results for x_1 and x_2 happen to be correct due to the specific values, the derived iteration function F(x) is wrong.
  • gpt-oss:20b: pass 2026-11-02

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/newtons_method, checked 2026-11-03 with SymPy 1.14.0.