Bisection
Bisection is a method of mathematical optimization, root-finding, and numerical analysis that divides an interval into two halves and selects the subinterval in which a root exists. This process is repeated on the chosen subinterval until a satisfactory approximation to the root is found or the interval is narrowed down to a predefined precision. The bisection method is one of the simplest and most reliable numerical methods for solving equations of the form \(f(x) = 0\), where \(f\) is a continuous function.
Overview[edit | edit source]
The bisection method is based on the Intermediate Value Theorem, which states that if \(f\) is a continuous function on the interval \([a, b]\) and \(N\) is a number between \(f(a)\) and \(f(b)\), then there exists at least one \(c\) in \([a, b]\) such that \(f(c) = N\). In the context of root-finding, \(N\) is typically set to zero.
To apply the bisection method, one starts with two points, \(a\) and \(b\), such that \(f(a)\) and \(f(b)\) have opposite signs, indicating that a root lies between \(a\) and \(b\). The midpoint \(c = \frac{a + b}{2}\) is then calculated, and the value of \(f(c)\) is evaluated. If \(f(c)\) is close enough to zero for the purposes of the problem, \(c\) is accepted as the root. Otherwise, if \(f(c)\) has the same sign as \(f(a)\), the interval \([c, b]\) is chosen for the next iteration. If \(f(c)\) has the same sign as \(f(b)\), the interval \([a, c]\) is chosen instead. This process is repeated until the root is found to the desired accuracy.
Algorithm[edit | edit source]
The algorithm for the bisection method can be summarized as follows: 1. Choose initial endpoints \(a\) and \(b\) such that \(f(a) \cdot f(b) < 0\). 2. Compute the midpoint \(c = \frac{a + b}{2}\). 3. If \(f(c) = 0\) or the size of the interval \([a, b]\) is below a predetermined tolerance, stop and return \(c\) as the root. 4. If \(f(c) \cdot f(a) < 0\), set \(b = c\); otherwise, set \(a = c\). 5. Go back to step 2.
Advantages and Disadvantages[edit | edit source]
The bisection method has several advantages, including simplicity, reliability, and guaranteed convergence for continuous functions over a closed interval where the function changes sign. However, it also has disadvantages, such as potentially slow convergence compared to other methods like Newton's method or the Secant method, and the requirement that the initial interval must be chosen such that the function changes sign over it.
Applications[edit | edit source]
The bisection method is widely used in various fields of science and engineering for solving equations where no analytical solution is available. It is particularly useful in situations where the equation to be solved is complex or when an approximate solution is sufficient.
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD