University Institute of Engineering Department of Computer Science and Engineering
University Institute of Engineering Department of Computer Science and Engineering
ENGINEERING
DEPARTMENT OF COMPUTER SCIENCE
AND ENGINEERING
• Introduction
• The Bisection Method is a fundamental numerical technique used for finding roots of a
continuous function. It is a bracketing method, meaning it works by narrowing down the
interval in which a root lies until the interval is sufficiently small. The Bisection Method is
particularly useful due to its simplicity and guaranteed convergence for continuous functions
where the Intermediate Value Theorem applies.
2
Basic Principle
• The Bisection Method relies on the Intermediate Value Theorem, which states that if a
continuous function f(x) changes sign over an interval [a,b], then there exists at least one root
in that interval. The method repeatedly bisects the interval and selects the subinterval in
which the function changes sign, thereby narrowing down the interval that contains the root.
3
Steps of the Bisection Method
4
Pseudocode
• Here's a simple pseudocode representation of the Bisection Method:
5
Example:
6
7
8
9
10
11
Advantages and Disadvantages
• Advantages:
• Simplicity: The method is easy to understand and implement.
• Guaranteed Convergence: It always converges to a root if the initial interval is chosen
correctly.
• Robustness: Works well for a wide range of functions.
• Disadvantages:
• Slow Convergence: The method converges linearly, which can be slow compared to other
methods like Newton's method.
• Initial Interval Requirement: Requires an initial interval where the function changes sign.
12
Applications
• The Bisection Method is used in various fields such as engineering, physics, economics, and
any area that requires finding roots of equations. It is particularly useful in scenarios where
the function is not well-behaved or where other root-finding methods may fail.
13
Conclusion
• The Bisection Method is a powerful tool in numerical analysis for finding roots of continuous
functions. Its simplicity and guaranteed convergence make it a reliable choice, especially
when dealing with functions that exhibit problematic behavior. Despite its slow convergence,
its robustness ensures that it remains a valuable method in the numerical analyst's toolkit.
14
THANK YOU
15