No formula solves .
3 lessons, about 1 h 25 min3 simulations10 problems6 practice questionsPython in every lesson
Most equations have no formula for their roots. A numerical method finds a root to any accuracy we want. The first step is to locate it: if a continuous function changes sign on an interval, a root lies inside. Bisection then halves the interval again and again, keeping the half with the sign change. Each halving gains one binary digit, and the number of steps can be worked out in advance.
Rearrange as and repeat . If the values settle down, they settle on a root, a fixed point of . The slope of at the root decides everything: when the iteration converges, as a staircase if the slope is positive and a cobweb if it is negative. When it runs away. One equation has many rearrangements, and only some work.
Newton's method replaces the curve by its tangent at and takes the point where the tangent meets the axis: . Near a simple root it is very fast: the number of correct digits roughly doubles at each step. It can fail: a flat tangent, a start that sends it to another root or round a cycle, a function like , and a repeated root, where it slows to linear speed.
Log in to join the discussion.
Loading…