# Homework 3.8 — Newton's method

Source: https://cca.twango.dev/AP-Calculus-AB/homework/HW3.8

# Homework 3.8 — Newton's method

These are James Ding's handwritten solutions. The textbook prompts are not included; the functions and problem numbers below are those actually written. See [[../assets/HW3.8.pdf|original handwritten page]].

## 13 — Polynomial root

**Original work, a.** $f(x)=3x^4-8x^3+2$ is continuous on $\mathbb R$. Since $f(2)<0$ and $f(3)>0$, the Intermediate Value Theorem gives a root in $[2,3]$.

**Original work, b.** $f'(x)=12x^3-24x^2$ and

$$x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)}.$$

Starting at $x_1=3$, the written iterates are $2.73148$, $2.64044$, $2.63015$, $2.63002$, $2.63002$. Boxed answer: $2.63002$.

## 17 — Trigonometric roots

$f(x)=3\cos x-x-1$, $f'(x)=-3\sin x-1$. The work identifies roots near $-4,-2,1$ and uses the same Newton iteration.

| Starting value | Subsequent written iterates | Boxed approximation |
| --- | --- | --- |
| $-4$ | $-3.68228,-3.63896,-3.63796,-3.63796$ | $-3.63796$ |
| $-2$ | $-1.85622,-1.86236,-1.86236$ | $-1.86236$ |
| $1$ | $0.892438,0.889473,0.88947,0.88947$ | $0.88947$ |

## 19 — Cube-root equation

$f(x)=\sqrt[3]{x}-1/x-1$ and $f'(x)=\frac13x^{-2/3}+x^{-2}$; the function is undefined at zero. Roots are sought near $-1$ and $3$.

| Starting value | Subsequent written iterates | Boxed approximation |
| --- | --- | --- |
| $-1$ | $-0.25,-0.390739,-0.50619,-0.546524,-0.549634,-0.5497$ | $-0.5497$ |
| $3$ | $2.59863,2.62942,2.62966,2.62966$ | $2.62966$ |

## 25 — Rational function and square root

$$f(x)=\frac{x}{x^2+1}-\sqrt{1-x},\qquad f'(x)=\frac{1-x^2}{(x^2+1)^2}+\frac{1}{2\sqrt{1-x}}.$$

![[../assets/diagrams/ab_home_4-hw38-25.svg|Newton root location for the rational and square root function]]

Analytic plot of the written function on its real domain $x\le1$, with the written root approximation marked and the endpoint $(1,1/2)$ included.

The work seeks a root near $0.5$. Written iterates: $0.5,0.758702,0.766859,0.766826,0.766826$. Boxed answer: $0.766826$.

## 29 — Newton iteration at a horizontal tangent

$f(x)=x^3-3x+6$, $f'(x)=3x^2-3$. Original explanation: at $x=1$ the derivative is zero, and the tangent line will not cross the $x$ axis.

> [!note] Clarification
> Newton's quotient is undefined at $x=1$ because $f'(1)=0$ while $f(1)=4$; the horizontal tangent is $y=4$.
