For a function of two (real) variables each element of its domain is an ordered pair of real numbers (x,y) only, and each element of its range is a real number, z, say.

x and y are called independent variables, and z the dependent variable.

To specify such functions we must have both a rule, and a domain.

##### Example

i)

ii)

If no known domain is specified we again take it to be the largest subset of for which the rule makes sense.

A graph of may be drawn in the usual way. (ie. (x,y) in the horizontal plane called the xy plane, and z moving along a third, vertical axis.

For obvious reasons informative graphs are often quite difficult to draw. It’s often useful to draw profiles of f, that is the surface curves where their surface meets planes parallel to the coordinate axis.

##### Example

Sketch

Consider the intersection with x=constant, y=constant and z=constant.

Another useful diagram of f(x,y) is that provided by drawing the contour lines (or level curves). That is we sketch in the x,y plane the graph of y=f(x,y) for various values of z.

Look at again.

so

When,

##### Example

Sketch

For a function we can not sketch profile, and the best we can do is sketch level surfaces.

##### Example

For etc…