Level set examples

# Multivariable calculus and vector analysis

## A set of on-line readings

### Non-Math ML version

### Level set examples

#### Example 1

Let f(x,y) = x2 - y2. We look at the level curves c = x2 - y2.

First, look at the case c = 0. The level curve equation x2 - y2 = 0 factors to (x - y)(x + y) = 0. This equation is satisfied if either y = x or y = -x. Both these are equations for lines, so the level curve for c = 0 is two lines.

If c≠0, then we can rewrite the level curve equation c = x2 - y2 as

1 = -. |  |

If you remember you conic sections, you’ll recognize this as the equation for a hyperbola. If c is positive, the hyperbolas open to the left and right. If c is negative, the hyperbolas open up and down.

For example, if c = 1, the equation is x2 - y2 = 1. If c = -1, the equation is y2 - x2 = 1. A number of level curves are plotted below.

We can “stack” these level curves on top of one another to form the graph of the function. Below, the level curves are the thick blue lines. Drag the green point from 0 to 1. When the point is at 1, each level curve given by c = f(x,y) will be at the height z = c.

This is yet another way to visualize the relationship between the level curves and the graph of z = f(x,y) shown below.

#### Example 2

Let f(x,y,z) = x2 + y2 + z2. Although we cannot plot the graph of this function, we can graph some of its level surfaces. The equation for a level surface, x2 + y2 + z2 = c, is the equation for a sphere of radius .

Below is the level surface with c = 1 (i.e., sphere with radius 1) drawn in dark red along with the level surface with c = 4 (i.e., sphere with radius 2) drawn in light green.

## Contents by lecture

### Part 1

### Part 2

### Part 3

### Part 4

- Level sets*
- Quiz 4: Level sets quiz*
- Function notation
- Translation, rescaling, and reflection
- Quadric surfaces
- Level set examples

### Part 5

### Part 6

### Part 7

### Part 8

### Part 9

### Part 10

### Part 11

### Part 12

### Part 13

### Part 14

### Part 15

### Part 16

### Part 17

### Part 18

### Part 19

### Part 20

### Part 21

### Part 22

### Part 23

### Part 24

### Part 25

### Part 26

### Part 27