![[Graphics:Images/index_gr_1.gif]](Images/index_gr_1.gif)
![[Graphics:Images/index_gr_2.gif]](Images/index_gr_2.gif)
![[Graphics:Images/index_gr_3.gif]](Images/index_gr_3.gif)
![[Graphics:Images/index_gr_4.gif]](Images/index_gr_4.gif)
![[Graphics:Images/index_gr_5.gif]](Images/index_gr_5.gif)
We would like to find the extrema of the function f(x,y) with the constraint that g(x,y) = 0.
![[Graphics:Images/index_gr_6.gif]](Images/index_gr_6.gif)
![[Graphics:Images/index_gr_7.gif]](Images/index_gr_7.gif)
![[Graphics:Images/index_gr_8.gif]](Images/index_gr_8.gif)
![[Graphics:Images/index_gr_9.gif]](Images/index_gr_9.gif)
Here is the surface plot with the elliptic paraboloid drawn as a wire frame and the points corresponding to g(x,y) = 0 colored in red.
![[Graphics:Images/index_gr_10.gif]](Images/index_gr_10.gif)
![[Graphics:Images/index_gr_11.gif]](Images/index_gr_11.gif)
If we draw just the points on the surface where g(x,y) = 0, we can see that there are maxima and minima on this curve.
![[Graphics:Images/index_gr_13.gif]](Images/index_gr_13.gif)
![[Graphics:Images/index_gr_14.gif]](Images/index_gr_14.gif)
Using Lagrange's Theorem, the extrema must occur where the gradients of f and g are parallel. Thus we must solve the following system of equations.
![[Graphics:Images/index_gr_16.gif]](Images/index_gr_16.gif)
![[Graphics:Images/index_gr_18.gif]](Images/index_gr_18.gif)
A rectangular box is to be constructed from 12 square meters of cardboard. Find the dimensions of the box with the largest volume that can be constructed.
![[Graphics:Images/index_gr_20.gif]](Images/index_gr_20.gif)
![[Graphics:Images/index_gr_21.gif]](Images/index_gr_21.gif)
The dimensions of the rectangular box will have to be chosen off of the following surface.
![[Graphics:Images/index_gr_22.gif]](Images/index_gr_22.gif)
![[Graphics:Images/index_gr_23.gif]](Images/index_gr_23.gif)
Using Lagrange's Theorem,the extrema must occur where the gradients of v and s are parallel.Thus we must solve the following system of equations.
![[Graphics:Images/index_gr_25.gif]](Images/index_gr_25.gif)
![[Graphics:Images/index_gr_27.gif]](Images/index_gr_27.gif)
The first solution reported contains negative values for the dimensions, so it must be discarded. Here is the maximum valome of the rectangular box that can be constructed.
![[Graphics:Images/index_gr_29.gif]](Images/index_gr_29.gif)
The location of the optimal box dimensions on the constraint surface is shown below. The constraint surface is drawn as a wire frame for clarity.
![[Graphics:Images/index_gr_31.gif]](Images/index_gr_31.gif)
![[Graphics:Images/index_gr_32.gif]](Images/index_gr_32.gif)
![[Graphics:Images/index_gr_33.gif]](Images/index_gr_33.gif)
Find the points on the sphere of radius 2 centered at the origin which are closest and farthest from the point with coordinates (3,1,-1).
![[Graphics:Images/index_gr_35.gif]](Images/index_gr_35.gif)
![[Graphics:Images/index_gr_36.gif]](Images/index_gr_36.gif)
Compare the sphere and the point (3,1,-1).
![[Graphics:Images/index_gr_37.gif]](Images/index_gr_37.gif)
![[Graphics:Images/index_gr_38.gif]](Images/index_gr_38.gif)
Here we can see the location of the point (3,1,-1) relative to the sphere of radius 2 centered at the origin.
![[Graphics:Images/index_gr_39.gif]](Images/index_gr_39.gif)
![[Graphics:Images/index_gr_40.gif]](Images/index_gr_40.gif)
Using Lagrange's Theorem,the extrema must occur where the gradients of d and g are parallel.Thus we must solve the following system of equations.
![[Graphics:Images/index_gr_42.gif]](Images/index_gr_42.gif)
![[Graphics:Images/index_gr_44.gif]](Images/index_gr_44.gif)
![[Graphics:Images/index_gr_46.gif]](Images/index_gr_46.gif)
We can now see the locations of the closest and farthest points. The points of interest are shown in red and the sphere is drawn as a wire frame for clarity.
![[Graphics:Images/index_gr_48.gif]](Images/index_gr_48.gif)
![[Graphics:Images/index_gr_49.gif]](Images/index_gr_49.gif)
The distances from the closest and farthest point found are shown below.
![[Graphics:Images/index_gr_51.gif]](Images/index_gr_51.gif)
![[Graphics:Images/index_gr_53.gif]](Images/index_gr_53.gif)
![[Graphics:Images/index_gr_54.gif]](Images/index_gr_54.gif)
![[Graphics:Images/index_gr_55.gif]](Images/index_gr_55.gif)
We want to find the extrema of the function f on the intersection of g and h.
![[Graphics:Images/index_gr_56.gif]](Images/index_gr_56.gif)
![[Graphics:Images/index_gr_57.gif]](Images/index_gr_57.gif)
![[Graphics:Images/index_gr_58.gif]](Images/index_gr_58.gif)
The intersection of the cylinder defined by h and the plane defined by g is an elliptical curve. Thus we want to find the extrema of the plane defined by f on this elliptical curve. The figure immediately below shows just the plane given by g and the cylinder given by h.
![[Graphics:Images/index_gr_59.gif]](Images/index_gr_59.gif)
![[Graphics:Images/index_gr_60.gif]](Images/index_gr_60.gif)
The next figure shows the plane and cylinder above rendered as wire frames. Their intersection is shown as a thick red curve. The graph of the plane defined by f is also drawn.
![[Graphics:Images/index_gr_62.gif]](Images/index_gr_62.gif)
![[Graphics:Images/index_gr_63.gif]](Images/index_gr_63.gif)
Lastly we see just the intersection curve.
![[Graphics:Images/index_gr_65.gif]](Images/index_gr_65.gif)
![[Graphics:Images/index_gr_66.gif]](Images/index_gr_66.gif)
Using Lagrange's Theorem for locating the extrema of functions of several variables, we must solve the following system of equations.
![[Graphics:Images/index_gr_68.gif]](Images/index_gr_68.gif)
![[Graphics:Images/index_gr_70.gif]](Images/index_gr_70.gif)
The points where the function f takes on its maximum and minimum values on the elliptical curve are superimposed in the curve as black points.
![[Graphics:Images/index_gr_72.gif]](Images/index_gr_72.gif)
![[Graphics:Images/index_gr_73.gif]](Images/index_gr_73.gif)
The level sets of function f are planes, so by plotting these planes we can get some picture of the extrema of f on the intersection of g and h.
![[Graphics:Images/index_gr_75.gif]](Images/index_gr_75.gif)
![[Graphics:Images/index_gr_77.gif]](Images/index_gr_77.gif)
![[Graphics:Images/index_gr_78.gif]](Images/index_gr_78.gif)
![[Graphics:Images/index_gr_79.gif]](Images/index_gr_79.gif)