Absolute extrema of a function on a constraint set (3 variables)

If you cannot load the graph below, try to use another browser. Make sure Java Plugin is enabled and you have allowed Java applets to run.

Alternatively, you may try to do the following:

  1. Make sure you have the latest version of Java 7 installed in your computer. Tablets and smartphones are not supported.
  2. Click here to open GeoGebra.
  3. After you open GeoGebra, click "File" in the toolbar, then click "Open Webpage...".
  4. Enter the web address of this page and click "Open".
  5. Now you should be able to view the graph inside GeoGebra.

To rotate the graph, right click and drag.


Here we shows the extreme value of \[f(x,y,z) = x-y-z\] subject to the constraint \[g(x,y,z) = x^2+y^2+z-2 = 0.\] On the constraint set (the blue surface), the lowest value of \(f(x,y,z)\) one can attain is \(-2.5\). This happens when the level surface \(f(x,y,z) = C\) (the red surface) just touches the constraint set, which is precisely at \(C = -2.5\).

There is no maximum value of \(f\) on the given constraint set.

This is a Java Applet created using GeoGebra from www.geogebra.org - it looks like you don't have Java installed, please go to www.java.com

Joseph Lo, Created with GeoGebra