2.1 Flashcards
What is the intermediate value theorem?
if f is continuous from a to b and K is any number between f(a) and f(b), then there exists a number, c, between a and b where f(c) = K
What is the underlying theorem of the bisection method?
if f is continuous from a to b with f(a) and f(b) of opposite sign, then there exists a root between a and b
What is the general algorithm of the bisection method?
Set a1=a, b1=b, p1 = (a1+b1)/2 = a1 + (b1-a1)/2 if f(p1) = 0, then p = p1 STOP if sign(f(p1)) == sign(f(a)) p is within (p1, b1). Set a2=p1, b2=b1 else p is within (p1, b1). Set a2=a1, b2=p1
When are the 2 times the bisection method fails?
- f(x) is continuous, but has no sign change
2. f(x) is not continuous, but has a sign change
In practice, which 2 stopping criteria should we use?
- Stop after a fixed number of iterations and
2. |pn-p(n-1)| < tol
__________ the starting interval decreases the number of operations
Minimizing
For the order of convergence, which 2 constants do we use to define the speed?
Lambda and alpha
Lambda affects speed, but alpha affects the order, which affects the speed much more
When a = 1, convergence is ______. When a = 2, convergence is _________.
linear, quadratic
What order of convergence is the bisection method and what is it’s lambda value?
linear and lambda = 1/2. It is quite slow, but reliable