mandli / intro-numerical-methods

Jupyter notebooks and other materials developed for the Columbia course APMA 4300
Creative Commons Attribution 4.0 International
278 stars 398 forks source link

05_root_finding_optimization #31

Closed AlexanderSoloviev closed 8 years ago

AlexanderSoloviev commented 8 years ago

For Bracketing Algorithm - Basic Idea:

"If $f(x_3) > f(x_2)$ then we know the minimum is between $x_1$ and $x_4$.

If $f(x_3) < f(x_2)$ then we know the minimum is between $x_3$ and $x_2$."

Shouldn't this be:

"If $f(x_3) > f(x_2)$ then we know the minimum is between $x_1$ and $x_3$.

If $f(x_3) < f(x_2)$ then we know the minimum is between $x_2$ and $x_4$."

mandli commented 8 years ago

Thanks for catching that, had my signs reversed.