<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://charlesreid1.com/w/index.php?action=history&amp;feed=atom&amp;title=Solving_Nonlinear_Equations</id>
	<title>Solving Nonlinear Equations - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://charlesreid1.com/w/index.php?action=history&amp;feed=atom&amp;title=Solving_Nonlinear_Equations"/>
	<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=Solving_Nonlinear_Equations&amp;action=history"/>
	<updated>2026-06-19T16:36:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://charlesreid1.com/w/index.php?title=Solving_Nonlinear_Equations&amp;diff=21408&amp;oldid=prev</id>
		<title>Admin: /* Bracketing, Bisection */</title>
		<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=Solving_Nonlinear_Equations&amp;diff=21408&amp;oldid=prev"/>
		<updated>2017-09-25T02:06:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Bracketing, Bisection&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:06, 25 September 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l31&quot;&gt;Line 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Using the Intermediate Value Theorem - if a function is continuous, and it passes through f(a) and then through f(b) for a &amp;lt; b, there must be a value c such that f(a) &amp;lt;= f(c) &amp;lt;= f(b)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Using the Intermediate Value Theorem - if a function is continuous, and it passes through f(a) and then through f(b) for a &amp;lt; b, there must be a value c such that f(a) &amp;lt;= f(c) &amp;lt;= f(b)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Numerics]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Numerical Recipes]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Linear Algebra]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://charlesreid1.com/w/index.php?title=Solving_Nonlinear_Equations&amp;diff=21407&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;==Intro==  Single dimension: solving &lt;math&gt;f(x) = 0&lt;/math&gt;  Multidimensional: solving &lt;math&gt;\mathbf{f(x)} = 0&lt;/math&gt;  Solving nonlinear equations is hard - solving multidimens...&quot;</title>
		<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=Solving_Nonlinear_Equations&amp;diff=21407&amp;oldid=prev"/>
		<updated>2017-09-24T09:18:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Intro==  Single dimension: solving &amp;lt;math&amp;gt;f(x) = 0&amp;lt;/math&amp;gt;  Multidimensional: solving &amp;lt;math&amp;gt;\mathbf{f(x)} = 0&amp;lt;/math&amp;gt;  Solving nonlinear equations is hard - solving multidimens...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Intro==&lt;br /&gt;
&lt;br /&gt;
Single dimension: solving &amp;lt;math&amp;gt;f(x) = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Multidimensional: solving &amp;lt;math&amp;gt;\mathbf{f(x)} = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving nonlinear equations is hard - solving multidimensional nonlinear equations is really hard. Even though they look the same, the second equation is much, much harder than the first.&lt;br /&gt;
&lt;br /&gt;
Nonlinear sets of equations may have no real solutions at all&lt;br /&gt;
&lt;br /&gt;
Implicit function theorem - generically, solutions will be distinct, pointlike, and separated from one another. However, you may have a non-generic (degenerate) case where the solutions are a continuous family.&lt;br /&gt;
&lt;br /&gt;
In one dimension, you can bracket a solution and narrow in on it. In multiple dimensions, you don&amp;#039;t have an analogous approach - you can&amp;#039;t know it&amp;#039;s a solution until you&amp;#039;ve found the solution.&lt;br /&gt;
&lt;br /&gt;
Root-finding proceeds by iteration (in one or in multiple dimensions). It is usually possible to determine the rate of converge of an algorithm in advance.&lt;br /&gt;
&lt;br /&gt;
Good behavior of an algorithm depends crucially on a good first guess, especially with multivariate problems.&lt;br /&gt;
&lt;br /&gt;
Hamming&amp;#039;s motto: &amp;quot;the purpose of computing is insight, not numbers&amp;quot;. Use this to guide your first guess: use insight into the problem, not random/arbitrary guesses!&lt;br /&gt;
&lt;br /&gt;
Before you start, try to see what your function looks like with a graph.&lt;br /&gt;
&lt;br /&gt;
Here are starting points for solving nonlinear equations:&lt;br /&gt;
* Brent&amp;#039;s algorithm - method of choice for finding bracketed root of general 1D function, if you can&amp;#039;t find the derivative&lt;br /&gt;
* Newton-Raphson algorithm - method for finding bracketed root of 1D function (with bookkeeping) if you know the first derivative&lt;br /&gt;
* Halley&amp;#039;s method - finding bracketed root of 1D function if you know the second derivative&lt;br /&gt;
* Roots of polynomials are special case - use Laguerre&amp;#039;s method (and keep in mind that polynomials can potentially be ill-conditioned)&lt;br /&gt;
* For multivariate problems, Newton-Raphson method is the only elementary method, and its performance depends on a good initial guess&lt;br /&gt;
&lt;br /&gt;
==Bracketing, Bisection==&lt;br /&gt;
&lt;br /&gt;
Using the Intermediate Value Theorem - if a function is continuous, and it passes through f(a) and then through f(b) for a &amp;lt; b, there must be a value c such that f(a) &amp;lt;= f(c) &amp;lt;= f(b)&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>