Short clarification of the Interval halving method

Click For Summary
SUMMARY

The interval halving method, also known as the bisection method, is a technique used to find the roots of continuous functions, specifically for solving equations of the form f(x) = 0. To effectively apply this method, it is crucial to select points a and b such that f(a) > 0 and f(b) < 0, ensuring the existence of a root between these points. The process involves evaluating the midpoint c = (a + b) / 2 and determining the sign of f(c) to narrow down the interval. If f(c) equals zero, the solution is found; otherwise, the interval is halved based on the sign of f(c) compared to f(a) and f(b).

PREREQUISITES
  • Understanding of continuous functions
  • Knowledge of the bisection method for root-finding
  • Familiarity with derivatives and critical points
  • Basic algebra for evaluating functions
NEXT STEPS
  • Study the bisection method in-depth, including its convergence properties
  • Learn about other root-finding methods such as Newton's method and the secant method
  • Explore the application of derivatives in finding local maxima and minima
  • Investigate numerical methods for solving equations in various programming languages
USEFUL FOR

Mathematicians, engineers, computer scientists, and anyone involved in numerical analysis or optimization techniques will benefit from this discussion on the interval halving method.

McDuck
Messages
4
Reaction score
0
It should perhaps go without saying but I suppose, using the interval halving method for minimizing or maximizing purposes, that you have to choose your points, a and b, well so that you for sure get the global minimum or maximum within those points?

Otherwise you'll never find the right point?
 
Mathematics news on Phys.org
Yes, of course. If there is no such solution between a and b, you can go on "halving" all you like and never get close to a solution. Typically, the problem is to solve f(x)= 0 where f is a continuous function. That is, strictly speaking, the "interval halving" method is a method for solving an equation. To find max or min for the function F(x) means solving F'(x)= 0.

If you can find "a" such that f(a)> 0 and "b" such that f(b)< 0, then you know there exist x such that f(x)= 0 between a and b. One easy "try" is to take c halfway between a and b: c= (a+b)/2. Then evaluate f(c). Of course if it happens that f(c)= 0, you are done. If not, then it is either positive or negative and so different from either f(a) or f(b). That allows you to choose one of those "half size" intervals being assured that there is a solution in that interval. If there is no solution in the initial interval, then both f(a) and f(b) will have the same sign and so will f(c)= f((a+b)/2) so you would have no reason to chose one "half-interval" over the other.
 
Thanks!
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 35 ·
2
Replies
35
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 64 ·
3
Replies
64
Views
5K
  • · Replies 47 ·
2
Replies
47
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 12 ·
Replies
12
Views
13K