# Generating level surface from 2 variable function

Painguy

## Homework Statement

given f(x,y)=9/(x+y) find a level surface.

## The Attempt at a Solution

g(x,y,z)=f(x,y)-z=0?
g(x,y,z)=9/(x+y) -z=0?

That answer is wrong. Apparently i must have the following:

g(x,y,z)=z(x+y)=9

How do I solve problems like these?

Another example is to find a function f(x,y,z) whose level surface f=5 is the graph of the paraboloid
g(x,y)=-x^2 -y^2

Homework Helper
Gold Member

## Homework Statement

given f(x,y)=9/(x+y) find a level surface.

## The Attempt at a Solution

g(x,y,z)=f(x,y)-z=0?
g(x,y,z)=9/(x+y) -z=0?

That answer is wrong. Apparently i must have the following:

g(x,y,z)=z(x+y)=9

How do I solve problems like these?

Another example is to find a function f(x,y,z) whose level surface f=5 is the graph of the paraboloid
g(x,y)=-x^2 -y^2

You don't need any ##z## variable. To find level surface of a function ##f(x,y)## just plot the graphs of ##f(x,y)=C## for various constants ##C##. For a two variable problem like yours, they will be curves in the ##xy## plane, not surfaces.

Painguy
Wouldn't that be generating level curves? I guess my terminology is bad. What i am asking is how do make f(x,y) into
F(x,y,z)