Definition

Level Set ^definition

For any function of arity (i.e. a function with arguments) with domain , the level set is defined as the set:

where is some value in .

Note the gradient vector is always perpendicular to the level set.

Contour

Contour ^definition-contour

A level set in 2 dimensions, i.e. is called a contour:

That is, the contour defines all the points that have the same -value i.e. all inputs which have the same output .

The contour is sometimes called a level curve.

Visualisation

%%🖋 Edit in Excalidraw, and the dark exported image%%

Examples

1: Level sets of a paraboloid

Sketch the level sets for the function