Newton’s Method, Visually
Use tangent lines to approach a root
Video preview placeholder
No completed video is available for this sample lesson yet.
What you’ll explore
Root-finding turns an equation into a sequence of better guesses. Newton’s method uses the local slope of a function to estimate where its graph crosses the axis.
Newton update
Step by step
- 01
Start with an estimate xₙ where the derivative is defined and nonzero.
- 02
Follow the tangent at (xₙ, f(xₙ)) until it meets the x-axis. That intercept becomes the next estimate.
- 03
The method can converge quickly near a suitable root, but the starting point and function shape matter.
A small code example
Pythondef newton_step(x, f, df):
return x - f(x) / df(x)
x = 1.5
for _ in range(5):
x = newton_step(x, f, df)Related lessons
Lesson 00 · Foundations
What Makes a Set a Vector Space?
An uploaded lesson that introduces the closure conditions behind vector spaces and the idea of a shared algebraic structure.
Open lessonLesson 01 · Foundations
Vectors to Curves
Follow a vector of x-values through function evaluation and see how discrete samples become a plotted curve.
Open lesson