<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Newton%27s_Method</id>
	<title>Newton's Method - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Newton%27s_Method"/>
	<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Newton%27s_Method&amp;action=history"/>
	<updated>2026-09-19T20:23:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Newton%27s_Method&amp;diff=2874&amp;oldid=prev</id>
		<title>Khanh at 22:13, 22 October 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Newton%27s_Method&amp;diff=2874&amp;oldid=prev"/>
		<updated>2021-10-22T22:13:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://mathresearch.utsa.edu/wiki/index.php?title=Newton%27s_Method&amp;amp;diff=2874&amp;amp;oldid=2869&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Newton%27s_Method&amp;diff=2869&amp;oldid=prev</id>
		<title>Lila: Created page with &quot;In numerical analysis, '''Newton's method''', also known as the '''Newton–Raphson method''', named after Isaac Newton and Joseph Raphson, is a root-finding alg...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Newton%27s_Method&amp;diff=2869&amp;oldid=prev"/>
		<updated>2021-10-22T19:06:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;In &lt;a href=&quot;/wiki/index.php?title=Numerical_analysis&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Numerical analysis (page does not exist)&quot;&gt;numerical analysis&lt;/a&gt;, &amp;#039;&amp;#039;&amp;#039;Newton&amp;#039;s method&amp;#039;&amp;#039;&amp;#039;, also known as the &amp;#039;&amp;#039;&amp;#039;Newton–Raphson method&amp;#039;&amp;#039;&amp;#039;, named after &lt;a href=&quot;/wiki/index.php?title=Isaac_Newton&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Isaac Newton (page does not exist)&quot;&gt;Isaac Newton&lt;/a&gt; and &lt;a href=&quot;/wiki/index.php?title=Joseph_Raphson&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Joseph Raphson (page does not exist)&quot;&gt;Joseph Raphson&lt;/a&gt;, is a root-finding alg...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In [[numerical analysis]], '''Newton's method''', also known as the '''Newton–Raphson method''', named after [[Isaac Newton]] and [[Joseph Raphson]], is a [[root-finding algorithm]] which produces successively better [[Numerical analysis|approximations]] to the [[root of a function|roots]] (or zeroes) of a [[Real number|real]]-valued [[function (mathematics)|function]]. The most basic version starts with a single-variable function {{math|''f''}} defined for a [[real number|real variable]] {{math|''x''}}, the function's [[derivative]] {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.15em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;′''}}, and an initial guess {{math|''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} for a [[Zero of a function|root]] of {{math|''f''}}. If the function satisfies sufficient assumptions and the initial guess is close, then&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x_{1} = x_0 - \frac{f(x_0)}{f'(x_0)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is a better approximation of the root than {{math|''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}}. Geometrically, {{math|(''x''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, 0)}} is the intersection of the {{math|''x''}}-axis and the [[tangent]] of the [[graph of a function|graph]] of {{math|''f''}} at {{math|(''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;, ''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.2em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;''(''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;))}}: that is, the improved guess is the unique root of the [[linear approximation]] at the initial point. The process is repeated as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
until a sufficiently precise value is reached. This algorithm is first in the class of [[Householder's method]]s, succeeded by [[Halley's method]]. The method can also be extended to [[Complex-valued function|complex functions]] and to [[systems of equations]].&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&amp;lt;!-- [[Image:newton iteration.svg|alt=Illustration of Newton's method|thumb|right|300px|An illustration of one iteration of Newton's method (the function {{mvar|f}} is shown in blue and the tangent line is in red). We see that {{math|''x''&amp;lt;sub&amp;gt;''n'' + 1&amp;lt;/sub&amp;gt;}} is a better approximation than {{math|''x''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} for the root {{math|''x''}} of the function {{math|''f''}}.]] --&amp;gt;&lt;br /&gt;
[[Image:NewtonIteration Ani.gif|alt=Illustration of Newton's method|thumb|right|300px|The function {{mvar|f}} is shown in blue and the tangent line is in red. We see that {{math|''x''&amp;lt;sub&amp;gt;''n'' + 1&amp;lt;/sub&amp;gt;}} is a better approximation than {{math|''x''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} for the root {{mvar|x}} of the function {{mvar|f}}.]]&lt;br /&gt;
&lt;br /&gt;
The idea is to start with an initial guess which is reasonably close to the true root, then to approximate the function by its [[tangent line]] using [[calculus]], and finally to compute the {{mvar|x}}-intercept of this tangent line by [[elementary algebra]]. This {{mvar|x}}-intercept will typically be a better approximation to the original function's root than the first guess, and the method can be [[iterative method|iterated]].&lt;br /&gt;
&lt;br /&gt;
More formally, suppose {{math|''f'' : (''a'', ''b'') → ℝ}} is a [[derivative|differentiable]] function defined on the [[interval (mathematics)|interval]] {{math|(''a'', ''b'')}} with values in the [[real number]]s&amp;amp;nbsp;{{math|ℝ}}, and we have some current approximation {{math|''x''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}}. Then we can derive the formula for a better approximation, {{math|''x''&amp;lt;sub&amp;gt;''n'' + 1&amp;lt;/sub&amp;gt;}} by referring to the diagram on the right. The equation of the [[tangent line]] to the curve {{math|''y'' {{=}} ''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.2em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;''(''x'')}} at {{math|''x'' {{=}} ''x''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;y = f'(x_n) \, (x-x_n) + f(x_n),&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where {{mvar|'&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.15em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;′}} denotes the [[derivative]]. The {{mvar|x}}-intercept of this line (the value of {{mvar|x}} which makes {{math|''y'' {{=}} 0}}) is taken as the next approximation, {{math|''x''&amp;lt;sub&amp;gt;''n'' + 1&amp;lt;/sub&amp;gt;}}, to the root, so that the equation of the tangent line is satisfied when {{math|(''x'', ''y'') {{=}} (''x''&amp;lt;sub&amp;gt;''n'' + 1&amp;lt;/sub&amp;gt;, 0)}}:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;0 = f'(x_n) \, (x_{n+1}-x_n) + f(x_n).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for {{math|''x''&amp;lt;sub&amp;gt;''n'' + 1&amp;lt;/sub&amp;gt;}} gives&lt;br /&gt;
:&amp;lt;math&amp;gt;x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We start the process with some arbitrary initial value {{math|''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}}. (The closer to the zero, the better. But, in the absence of any intuition about where the zero might lie, a &amp;quot;guess and check&amp;quot; method might narrow the possibilities to a reasonably small interval by appealing to the [[intermediate value theorem]].) The method will usually converge, provided this initial guess is close enough to the unknown zero, and that {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.15em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;′''(''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;) ≠ 0}}. Furthermore, for a zero of [[Multiplicity (mathematics)|multiplicity]]&amp;amp;nbsp;1, the convergence is at least quadratic (see [[rate of convergence]]) in a [[neighbourhood (mathematics)|neighbourhood]] of the zero, which intuitively means that the number of correct digits roughly doubles in every step. More details can be found in the [[#Analysis|analysis section]] below.&lt;br /&gt;
&lt;br /&gt;
[[Householder's method]]s are similar but have higher order for even faster convergence. However, the extra computations required for each step can slow down the overall performance relative to Newton's method, particularly if {{mvar|f}} or its derivatives are computationally expensive to evaluate.&lt;br /&gt;
&lt;br /&gt;
==Analysis==&lt;br /&gt;
Suppose that the function {{mvar|f}} has a zero at {{mvar|α}}, i.e., {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.2em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;''(''α'') {{=}} 0}}, and {{mvar|f}} is differentiable in a [[topological neighborhood|neighborhood]] of {{mvar|α}}.&lt;br /&gt;
&lt;br /&gt;
If {{mvar|f}} is continuously differentiable and its derivative is nonzero at&amp;amp;nbsp;{{mvar|α}}, then there exists a [[topological neighborhood|neighborhood]] of {{mvar|α}} such that for all starting values {{math|''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} in that neighborhood, the [[sequence]] {{math|(''x''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;)}} will [[limit of a sequence|converge]] to {{mvar|α}}.&amp;lt;ref&amp;gt;{{citation|title=A Theoretical Introduction to Numerical Analysis|first1=Victor S.|last1=Ryaben'kii|first2=Semyon V.|last2=Tsynkov|publisher=CRC Press|year=2006|isbn=9781584886075|page=243|url=https://books.google.com/books?id=V8gWP031-hEC&amp;amp;pg=PA243}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the function is continuously differentiable and its derivative is not 0 at {{mvar|α}} and it has a [[second derivative]] at {{mvar|α}} then the convergence is quadratic or faster. If the second derivative is not 0 at {{mvar|α}} then the convergence is merely quadratic. If the third derivative exists and is bounded in a neighborhood of {{mvar|α}}, then:&lt;br /&gt;
:&amp;lt;math&amp;gt;\Delta x_{i+1} = \frac{f'' (\alpha)}{2 f' (\alpha)} \left(\Delta x_{i}\right)^2 + O\left(\Delta x_{i}\right)^3 \,,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Delta x_i \triangleq x_i - \alpha \,.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the derivative is 0 at {{mvar|α}}, then the convergence is usually only linear. Specifically, if {{mvar|f}} is twice continuously differentiable, {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.15em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;′''(''α'') {{=}} 0}} and {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.15em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;″''(''α'') ≠ 0}}, then there exists a neighborhood of {{mvar|α}} such that, for all starting values {{math|''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} in that neighborhood, the sequence of iterates converges linearly, with [[rate of convergence|rate]] {{sfrac|1|2}}.&amp;lt;ref&amp;gt;{{harvnb|Süli|Mayers|2003|loc=Exercise 1.6}}&amp;lt;/ref&amp;gt; Alternatively, if {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.15em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;′''(''α'') {{=}} 0}} and {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.15em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;′''(''x'') ≠ 0}} for {{math|''x'' ≠ ''α''}}, {{mvar|x}}&amp;amp;nbsp;in a [[topological neighborhood|neighborhood]] {{mvar|U}} of {{mvar|α}}, {{mvar|α}} being a zero of [[Multiplicity (mathematics)|multiplicity]] {{mvar|r}}, and if {{math|''f'' ∈ ''C''{{isup|''r''}}(''U'')}}, then there exists a neighborhood of {{mvar|α}} such that, for all starting values {{math|''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} in that neighborhood, the sequence of iterates converges linearly.&lt;br /&gt;
&lt;br /&gt;
However, even linear convergence is not guaranteed in pathological situations.&lt;br /&gt;
&lt;br /&gt;
In practice, these results are local, and the neighborhood of convergence is not known in advance. But there are also some results on global convergence: for instance, given a right neighborhood {{math|''U''&amp;lt;sub&amp;gt;+&amp;lt;/sub&amp;gt;}} of {{mvar|α}}, if {{mvar|f}} is twice differentiable in {{math|''U''&amp;lt;sub&amp;gt;+&amp;lt;/sub&amp;gt;}} and if {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.15em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;′'' ≠ 0}}, {{math|''f'' · ''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.15em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;″'' &amp;gt; 0}} in {{math|''U''&amp;lt;sub&amp;gt;+&amp;lt;/sub&amp;gt;}}, then, for each {{math|''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} in {{math|''U''&amp;lt;sub&amp;gt;+&amp;lt;/sub&amp;gt;}} the sequence {{math|''x&amp;lt;sub&amp;gt;k&amp;lt;/sub&amp;gt;''}} is monotonically decreasing to {{mvar|α}}.&lt;br /&gt;
&lt;br /&gt;
===Proof of quadratic convergence for Newton's iterative method===&lt;br /&gt;
According to [[Taylor's theorem]], any function {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.2em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;''(''x'')}} which has a continuous second derivative can be represented by an expansion about a point that is close to a root of {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.2em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;''(''x'')}}. Suppose this root is {{mvar|α}}. Then the expansion of {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.2em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;''(''α'')}} about {{math|''x''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} is:&lt;br /&gt;
{{NumBlk|:|&amp;lt;math&amp;gt;f(\alpha) = f(x_n) + f'(x_n)(\alpha - x_n) + R_1 \,&amp;lt;/math&amp;gt;|{{EquationRef|1}}}}&lt;br /&gt;
&lt;br /&gt;
where the [[Lagrange remainder|Lagrange form of the Taylor series expansion remainder]] is&lt;br /&gt;
:&amp;lt;math&amp;gt;R_1 = \frac{1}{2!}f''(\xi_n)\left(\alpha - x_n\right)^{2} \,,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where {{math|''ξ''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} is in between {{math|''x''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} and {{mvar|α}}.&lt;br /&gt;
&lt;br /&gt;
Since {{mvar|α}} is the root, ({{EquationNote|1}}) becomes:&lt;br /&gt;
{{NumBlk|:|&amp;lt;math&amp;gt;0 = f(\alpha) = f(x_n) + f'(x_n)(\alpha - x_n) + \tfrac12f''(\xi_n)\left(\alpha - x_n\right)^2 \,&amp;lt;/math&amp;gt;|{{EquationRef|2}}}}&lt;br /&gt;
&lt;br /&gt;
Dividing equation ({{EquationNote|2}}) by {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.15em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;′''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'')}} and rearranging gives&lt;br /&gt;
{{NumBlk|:|&amp;lt;math&amp;gt; \frac {f(x_n)}{f'(x_n)}+\left(\alpha-x_n\right) = \frac {- f'' (\xi_n)}{2 f'(x_n)}\left(\alpha-x_n\right)^2 &amp;lt;/math&amp;gt;|{{EquationRef|3}}}}&lt;br /&gt;
&lt;br /&gt;
Remembering that {{math|''x''&amp;lt;sub&amp;gt;''n'' + 1&amp;lt;/sub&amp;gt;}} is defined by&lt;br /&gt;
{{NumBlk|:|&amp;lt;math&amp;gt; x_{n+1} = x_{n} - \frac {f(x_n)}{f'(x_n)} \,,&amp;lt;/math&amp;gt;|{{EquationRef|4}}}}&lt;br /&gt;
&lt;br /&gt;
one finds that&lt;br /&gt;
:&amp;lt;math&amp;gt; \underbrace{\alpha - x_{n+1}}_{\varepsilon_{n+1}} = \frac {- f'' (\xi_n)}{2 f'(x_n)} {(\,\underbrace{\alpha - x_n}_{\varepsilon_{n}}\,)}^2 \,.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That is,&lt;br /&gt;
{{NumBlk|:|&amp;lt;math&amp;gt; \varepsilon_{n+1} = \frac {- f'' (\xi_n)}{2 f'(x_n)} \cdot {\varepsilon_n}^2 \,.&amp;lt;/math&amp;gt;|{{EquationRef|5}}}}&lt;br /&gt;
&lt;br /&gt;
Taking the absolute value of both sides gives&lt;br /&gt;
{{NumBlk|:|&amp;lt;math&amp;gt; \left| {\varepsilon_{n+1}}\right| = \frac {\left| f'' (\xi_n) \right| }{2 \left| f'(x_n) \right|} \cdot {\varepsilon_n}^2 \,. &amp;lt;/math&amp;gt; |{{EquationRef|6}}}}&lt;br /&gt;
&lt;br /&gt;
Equation ({{EquationNote|6}}) shows that the [[rate of convergence]] is at least quadratic if the following conditions are satisfied:&lt;br /&gt;
&lt;br /&gt;
# {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.15em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;′''(''x'') ≠ 0}}; for all {{math|''x'' ∈ ''I''}}, where {{mvar|I}} is the interval {{math|[''α'' − ''r'', ''α'' + ''r'']}} for some {{math|''r'' ≥ {{abs|''α'' − ''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}}}};&lt;br /&gt;
# {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.15em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;″''(''x'')}} is continuous, for all {{math|''x'' ∈ ''I''}};&lt;br /&gt;
# {{math|''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} is ''sufficiently'' close to the root {{mvar|α}}.&lt;br /&gt;
&lt;br /&gt;
The term ''sufficiently'' close in this context means the following:&lt;br /&gt;
{{numbered list|list_style_type=lower-alpha&lt;br /&gt;
|Taylor approximation is accurate enough such that we can ignore higher order terms;&lt;br /&gt;
|&amp;lt;math&amp;gt;\frac12 \left |{\frac {f'' (x_n)}{f'(x_n)}}\right |&amp;lt;C\left |{\frac {f''(\alpha)}{f'(\alpha)}}\right |,&amp;lt;/math&amp;gt;&lt;br /&gt;
:for some {{math|''C'' &amp;lt; ∞}};&lt;br /&gt;
|&amp;lt;math&amp;gt;C \left |{\frac {f''(\alpha)}{f'(\alpha)}}\right |\varepsilon_n&amp;lt;1,&amp;lt;/math&amp;gt;&lt;br /&gt;
:for {{math|''n'' ∈ '''ℤ''', ''n'' ≥ 0}} and {{mvar|C}} satisfying condition b.}}&lt;br /&gt;
&lt;br /&gt;
Finally, ({{EquationNote|6}}) can be expressed in the following way:&lt;br /&gt;
:&amp;lt;math&amp;gt; \left | {\varepsilon_{n+1}}\right | \le M{\varepsilon_n}^2 \, &amp;lt;/math&amp;gt;&lt;br /&gt;
where {{mvar|M}} is the [[w:supremum|supremum]] of the variable coefficient of {{math|''ε&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} on the interval {{mvar|I}} defined in condition 1, that is:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;M = \sup_{x \in I} \frac12 \left |\frac {f'' (x)}{f'(x)}\right |. \,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial point {{math|''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} has to be chosen such that conditions 1 to 3 are satisfied, where the third condition requires that {{math|''M'' {{abs|''ε''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} &amp;lt; 1}}.&lt;br /&gt;
&lt;br /&gt;
===Basins of attraction===&lt;br /&gt;
The disjoint subsets of the [[basin of attraction|basins of attraction]]—the regions of the real number line such that within each region iteration from any point leads to one particular root—can be infinite in number and arbitrarily small. For example,&amp;lt;ref&amp;gt;{{cite journal|last=Dence |first=Thomas |title=Cubics, chaos and Newton's method |journal=[[Mathematical Gazette]] |volume=81 |date=Nov 1997 |issue=492 |pages=403–408 |doi=10.2307/3619617|jstor=3619617 }}&amp;lt;/ref&amp;gt; for the function {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.2em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;''(''x'') {{=}} ''x''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; − 2''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; − 11''x'' + 12 {{=}} (''x'' − 4)(''x'' − 1)(''x'' + 3)}}, the following initial conditions are in successive basins of attraction:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|{{val|2.35287527}}||converges to||align=right|4;&lt;br /&gt;
|-&lt;br /&gt;
|{{val|2.35284172}}||converges to||align=right|−3;&lt;br /&gt;
|-&lt;br /&gt;
|{{val|2.35283735}}||converges to||align=right|4;&lt;br /&gt;
|-&lt;br /&gt;
|{{val|2.352836327}}||converges to||align=right|−3;&lt;br /&gt;
|-&lt;br /&gt;
|{{val|2.352836323}}||converges to||align=right|1.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Failure analysis==&lt;br /&gt;
Newton's method is only guaranteed to converge if certain conditions are satisfied. If the assumptions made in the proof of quadratic convergence are met, the method will converge. For the following subsections, failure of the method to converge indicates that the assumptions made in the proof were not met.&lt;br /&gt;
&lt;br /&gt;
===Bad starting points===&lt;br /&gt;
In some cases the conditions on the function that are necessary for convergence are satisfied, but the point chosen as the initial point is not in the interval where the method converges. This can happen, for example, if the function whose root is sought approaches zero asymptotically as {{mvar|x}} goes to {{math|∞}} or {{math|−∞}}. In such cases a different method, such as [[Bisection method|bisection]], should be used to obtain a better estimate for the zero to use as an initial point.&lt;br /&gt;
&lt;br /&gt;
====Iteration point is stationary====&lt;br /&gt;
Consider the function:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;f(x) = 1-x^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It has a maximum at {{math|''x'' {{=}} 0}} and solutions of {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.2em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;''(''x'') {{=}} 0}} at {{math|''x'' {{=}} ±1}}. If we start iterating from the [[stationary point]] {{math|''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; {{=}} 0}} (where the derivative is zero), {{math|''x''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}} will be undefined, since the tangent at {{math|(0, 1)}} is parallel to the {{mvar|x}}-axis:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x_1 = x_0 - \frac{f(x_0)}{f'(x_0)} = 0 - \frac{1}{0}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The same issue occurs if, instead of the starting point, any iteration point is stationary. Even if the derivative is small but not zero, the next iteration will be a far worse approximation.&lt;br /&gt;
&lt;br /&gt;
====Starting point enters a cycle====&lt;br /&gt;
[[Image:NewtonsMethodConvergenceFailure.svg|thumb|300px|The tangent lines of {{math|''x''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; − 2''x'' + 2}} at 0 and 1 intersect the {{mvar|x}}-axis at 1 and 0 respectively, illustrating why Newton's method oscillates between these values for some starting points.]]&lt;br /&gt;
For some functions, some starting points may enter an infinite cycle, preventing convergence. Let&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;f(x) = x^3 - 2x + 2 \!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and take 0 as the starting point. The first iteration produces 1 and the second iteration returns to 0 so the sequence will alternate between the two without converging to a root. In fact, this 2-cycle is stable: there are neighborhoods around 0 and around 1 from which all points iterate asymptotically to the 2-cycle (and hence not to the root of the function). In general, the behavior of the sequence can be very complex (see [[Newton fractal]]). The real solution of this equation is {{val|−1.76929235}}….&lt;br /&gt;
&lt;br /&gt;
===Derivative issues===&lt;br /&gt;
If the function is not continuously differentiable in a neighborhood of the root then it is possible that Newton's method will always diverge and fail, unless the solution is guessed on the first try.&lt;br /&gt;
&lt;br /&gt;
====Derivative does not exist at root====&lt;br /&gt;
A simple example of a function where Newton's method diverges is trying to find the cube root of zero. The cube root is continuous and infinitely differentiable, except for {{math|''x'' {{=}} 0}}, where its derivative is undefined:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;f(x) = \sqrt[3]{x}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For any iteration point {{math|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}}, the next iteration point will be:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)} = x_n - \frac{{x_n}^\frac13}{\frac13{x_n}^{-\frac23}} = x_n - 3x_n = -2x_n.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The algorithm overshoots the solution and lands on the other side of the {{mvar|y}}-axis, farther away than it initially was; applying Newton's method actually doubles the distances from the solution at each iteration.&lt;br /&gt;
&lt;br /&gt;
In fact, the iterations diverge to infinity for every {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.2em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;''(''x'') {{=}} {{abs|''x''}}&amp;lt;sup&amp;gt;''α''&amp;lt;/sup&amp;gt;}}, where {{math|0 &amp;lt; ''α'' &amp;lt; {{sfrac|1|2}}}}. In the limiting case of {{math|''α'' {{=}} {{sfrac|1|2}}}} (square root), the iterations will alternate indefinitely between points {{math|''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} and {{math|−''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}}, so they do not converge in this case either.&lt;br /&gt;
&lt;br /&gt;
====Discontinuous derivative====&lt;br /&gt;
If the derivative is not continuous at the root, then convergence may fail to occur in any neighborhood of the root. Consider the function&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;f(x) = \begin{cases}&lt;br /&gt;
0 &amp;amp; \text{if } x = 0,\\&lt;br /&gt;
x + x^2\sin \frac{2}{x} &amp;amp; \text{if } x \neq 0.&lt;br /&gt;
\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Its derivative is:&lt;br /&gt;
:&amp;lt;math&amp;gt;f'(x) = \begin{cases}&lt;br /&gt;
1 &amp;amp; \text{if } x = 0,\\&lt;br /&gt;
1 + 2x\sin \frac{2}{x} - 2\cos \frac{2}{x} &amp;amp; \text{if } x \neq 0.&lt;br /&gt;
\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Within any neighborhood of the root, this derivative keeps changing sign as {{math|''x''}} approaches 0 from the right (or from the left) while {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.2em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;''(''x'') ≥ ''x'' − ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; &amp;gt; 0}} for {{math|0 &amp;lt; ''x'' &amp;lt; 1}}.&lt;br /&gt;
&lt;br /&gt;
So {{math|{{sfrac|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.2em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;''(''x'')|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.15em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;′''(''x'')}}}} is unbounded near the root, and Newton's method will diverge almost everywhere in any neighborhood of it, even though:&lt;br /&gt;
*the function is differentiable (and thus continuous) everywhere;&lt;br /&gt;
*the derivative at the root is nonzero;&lt;br /&gt;
*{{mvar|f}} is infinitely differentiable except at the root; and&lt;br /&gt;
*the derivative is bounded in a neighborhood of the root (unlike {{math|{{sfrac|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.2em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;''(''x'')|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.15em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;′''(''x'')}}}}).&lt;br /&gt;
&lt;br /&gt;
===Non-quadratic convergence===&lt;br /&gt;
In some cases the iterates converge but do not converge as quickly as promised. In these cases simpler methods converge just as quickly as Newton's method.&lt;br /&gt;
&lt;br /&gt;
====Zero derivative====&lt;br /&gt;
If the first derivative is zero at the root, then convergence will not be quadratic. Let&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;f(x) = x^2 \!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then {{math|''&amp;lt;span style{{=}}&amp;quot;letter-spacing:0.15em&amp;quot;&amp;gt;f&amp;lt;/span&amp;gt;′''(''x'') {{=}} 2''x''}} and consequently&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x - \frac{f(x)}{f'(x)} = \frac{x}{2} .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So convergence is not quadratic, even though the function is infinitely differentiable everywhere.&lt;br /&gt;
&lt;br /&gt;
Similar problems occur even when the root is only &amp;quot;nearly&amp;quot; double. For example, let&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;f(x) = x^2(x-1000)+1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then the first few iterations starting at {{math|''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; {{=}} 1}} are&lt;br /&gt;
:{{math|''x''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} = 1&lt;br /&gt;
:{{math|''x''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}} = {{val|0.500250376}}…&lt;br /&gt;
:{{math|''x''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;}} = {{val|0.251062828}}…&lt;br /&gt;
:{{math|''x''&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;}} = {{val|0.127507934}}…&lt;br /&gt;
:{{math|''x''&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;}} = {{val|0.067671976}}…&lt;br /&gt;
:{{math|''x''&amp;lt;sub&amp;gt;5&amp;lt;/sub&amp;gt;}} = {{val|0.041224176}}…&lt;br /&gt;
:{{math|''x''&amp;lt;sub&amp;gt;6&amp;lt;/sub&amp;gt;}} = {{val|0.032741218}}…&lt;br /&gt;
:{{math|''x''&amp;lt;sub&amp;gt;7&amp;lt;/sub&amp;gt;}} = {{val|0.031642362}}…&lt;br /&gt;
it takes six iterations to reach a point where the convergence appears to be quadratic.&lt;br /&gt;
&lt;br /&gt;
====No second derivative====&lt;br /&gt;
If there is no second derivative at the root, then convergence may fail to be quadratic. Let&lt;br /&gt;
:&amp;lt;math&amp;gt;f(x) = x + x^\frac43.&amp;lt;/math&amp;gt;&lt;br /&gt;
Then&lt;br /&gt;
:&amp;lt;math&amp;gt;f'(x) = 1 + \tfrac43 x^\frac13.&amp;lt;/math&amp;gt;&lt;br /&gt;
And&lt;br /&gt;
:&amp;lt;math&amp;gt;f''(x) = \tfrac49 x^{-\frac23} &amp;lt;/math&amp;gt;&lt;br /&gt;
except when {{math|''x'' {{=}} 0}} where it is undefined. Given {{math|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}},&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x_{n+1} = x_n - \frac{f(x_n)}{f '(x_n)} = \frac{\frac13{x_n}^\frac43}{1 + \tfrac43{x_n}^\frac13} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which has approximately {{sfrac|4|3}} times as many bits of precision as {{math|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}} has. This is less than the 2 times as many which would be required for quadratic convergence. So the convergence of Newton's method (in this case) is not quadratic, even though: the function is continuously differentiable everywhere; the derivative is not zero at the root; and {{mvar|f}} is infinitely differentiable except at the desired root.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Newton%27s_method Newton's Method, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Lila</name></author>
		
	</entry>
</feed>