algorithmsbooks / optimization

Errata for Algorithms for Optimization book
68 stars 16 forks source link

pg. 172 #75

Closed alextzik closed 2 years ago

alextzik commented 2 years ago

The example mentions "The contour lines of f are lines of constant f . Thus, if a contour line of f is tangent to h, then the directional derivative of h at that point, along the direction of the contour h(x) = 0, must be zero". Shouldn't it be that the directional derivative of f at that point, along the direction of the contour h(x) = 0, must be zero?

tawheeler commented 2 years ago

You are correct! Good catch.

tawheeler commented 2 years ago

Looks like this is already fixed:

If the point $x^*$ optimizes $f$ along $h$, then its directional derivative at $x^*$ along $h$ must be zero.