 . Also, in this direction, the contours get
closer together while decreasing, so the surface must be concave down, which
means
 . Also, in this direction, the contours get
closer together while decreasing, so the surface must be concave down, which
means   . In the y direction, you stay on the contour z=159 (not
shown), so
 . In the y direction, you stay on the contour z=159 (not
shown), so   . Likewise,
 . Likewise,   . To figure out
 . To figure out   , look at
the slope in the x direction as you move to increasing y. The contours
do not change at all, so
 , look at
the slope in the x direction as you move to increasing y. The contours
do not change at all, so   .
 . use the points (-6.2,14,158) and (-6,14,159). Thus
  use the points (-6.2,14,158) and (-6,14,159). Thus   , so
 , so 
  
 
and for   use the points (-6,18.2,158) and (-6,14,159), and
  use the points (-6,18.2,158) and (-6,14,159), and 
  
 
 
 
  , and
 , and
  
 
  .
 .
 which is equivalent to
 
which is equivalent to 
  
 
Using the tangent plane to estimate f(-7,15) yields an approximate value
of z=163.04 which compared to the actual value of f(-7,15)=160.45 gives
a relative error of   . A relative error of 1.6% is a good approximation.
 . A relative error of 1.6% is a good approximation.
 and
  and   give the change of f over x and y. Since f is measured in concentration of oil (moles per liter) and x
and y are measured in distance (km),
  give the change of f over x and y. Since f is measured in concentration of oil (moles per liter) and x
and y are measured in distance (km),   gives the rate of change of
concentration per kilometer traveled in the x direction.
  gives the rate of change of
concentration per kilometer traveled in the x direction.   gives the
rate of change of concentration per kilometer traveled in the y direction.
The gradient gives you the direction in which the rate of change of
concentration is increasing the fastest, and its magnitude gives the maximum
rate of change of concentration.
  gives the
rate of change of concentration per kilometer traveled in the y direction.
The gradient gives you the direction in which the rate of change of
concentration is increasing the fastest, and its magnitude gives the maximum
rate of change of concentration. .
 . for one
unit. The unit vector in that direction is approximately
  for one
unit. The unit vector in that direction is approximately   .
 . , we are at the new point (-6-0.99,14+0.01)=(-6.99,14.01). The gradient at the new point is
 , we are at the new point (-6-0.99,14+0.01)=(-6.99,14.01). The gradient at the new point is 
  
 
  
 
so,
  
 
Since this is greater than 0.05, we must move one unit in the direction of   from the point (-6.99,14.01). The unit vector in
the direction of
  from the point (-6.99,14.01). The unit vector in
the direction of   is
  is   , so we should move one
unit in the positive y direction to the point (-6.99,15.01). The
gradient at this point is
 , so we should move one
unit in the positive y direction to the point (-6.99,15.01). The
gradient at this point is
  
 
The difference in the magnitudes of the gradients from (-6.99,14.01) and (-6.99,15.01) is
  
 
which is less than 0.05, so we can stop.
 . Looking at the contours we see that we are at a
point that is above all the other contours, thus, we must be at the highest
point of the function (local max.) Since this point is where the
concentration of oil is the highest, we should drop the algae here.
 . Looking at the contours we see that we are at a
point that is above all the other contours, thus, we must be at the highest
point of the function (local max.) Since this point is where the
concentration of oil is the highest, we should drop the algae here.