Short clarification of the Interval halving method

AI Thread Summary
The interval halving method requires careful selection of points a and b to ensure the global minimum or maximum is found within those bounds. If no solution exists between a and b, the method will not yield a correct result, as halving will not approach a solution. The method is primarily used to solve equations of the form f(x) = 0, where f is continuous. By identifying points where f(a) > 0 and f(b) < 0, one can confirm the existence of a root between them. If f(c), the midpoint, is not zero, it indicates which half-interval to explore further.
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!
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top