Multivariable Functions Intro


Multivariable Functions Intro

Corey
Okay, let's start with the basics. We're diving into functions of multiple variables. The really important idea is that a function is just a rule — it tells you what to do with whatever you plug into it. It doesn't care about the names we give the variables.

Maria
Right. So if you have f of x, y equals x squared plus 2 y squared, then f of t comma 1 gives t squared plus 2. And f of t plus 1 comma t gives (t plus 1) squared plus 2 t squared, which simplifies to 3 t squared plus 2 t plus 1. You just substitute whatever is in each slot.

Corey
Exactly. That's the core idea. Even f of cat comma dog would be cat squared plus 2 times dog squared — because it's just a rule. Now, let's move to domains. When we find the domain of a function of two variables, we need to avoid three main problems: dividing by zero, taking the square root of a negative, and taking the logarithm of a non-positive number.

Maria
So for a function like f of x, y equals something with a square root in the numerator and a log in the denominator, we have to handle each restriction separately and then combine them. Let's do a concrete example.

Corey
Good. Suppose we have f of x, y equals the square root of (2x minus x squared) divided by the natural log of (x minus y squared). First, the square root: 2x minus x squared must be greater than or equal to zero. That factors as x times (2 minus x), so x must be between 0 and 2 inclusive.

Maria
Got it. Next, the log: we need x minus y squared to be positive. That means x is greater than y squared. So we're to the right of the sideways parabola x equals y squared. And we also have to avoid division by zero, which happens when the log equals zero — that is, when x minus y squared equals 1, or x equals 1 plus y squared.

Corey
Now we combine everything. Draw the strip from x equals 0 to x equals 2. Inside that, we shade the region to the right of the parabola x equals y squared, but we also exclude the curve x equals 1 plus y squared. So the domain looks like a sort of curved strip with a bite taken out.

Maria
And that's how you sketch the domain. Let's try another. Suppose f has a log in the numerator and two square roots in the denominator, like f of x, y equals log of (y minus (x minus 3) squared) divided by (sqrt(9 minus y) minus sqrt(3 minus x)).

Corey
Alright. The log requires y greater than (x minus 3) squared. The square roots need 9 minus y >= 0, so y <= 9, and 3 minus x >= 0, so x <= 3. Then we also have to avoid division by zero: sqrt(9 minus y) equals sqrt(3 minus x). Squaring gives 9 minus y equals 3 minus x, so y equals x plus 6. That line must be excluded.

Maria
Now overlay all conditions. x <= 3 and y <= 9 gives a rectangle to the left of x equals 3 and below y equals 9. But we also need to be above the parabola (x minus 3) squared. The line y equals x plus 6 cuts through, so we remove that line. The final domain is a sort of curved triangular region on the left, open along the parabola and the line.

Corey
Nice. Now let's talk about level curves. For a function f of x, y, a level curve is just the set of points where f equals a constant. For example, take f of x, y equals y over (x squared plus 1). To get the level curves for constants -1, -0.5, 0, 0.5, 1, we set y over (x squared plus 1) equal to each constant and solve for y.

Maria
So for c = 1, we get y = x squared plus 1. For c = 0.5, y = 0.5 x squared plus 0.5. For c = 0, y = 0. For negative c, we get downward-opening parabolas. Then we just sketch those curves in the xy-plane and label each with its constant.

Corey
Right. Level curves for a different function can be more interesting. Consider f of x, y equals 4y over (x squared plus y squared plus 1). For constants 2, 1, 0, -1, -2, we get equations that simplify to circles or points. For example, the level curve at 1 becomes x squared plus (y minus 2) squared equals 3, a circle. At 2, we get x squared plus (y minus 1) squared equals 0, which is just the point (0, 1).

Maria
And that point (0, 1) is actually the maximum of the function. So as the constant increases, the circles shrink toward that point. Similarly for negative constants, the circles center at (0, -2) and shrink to the point (0, -1) for c = -2. So level curves give us a real feel for the shape of the function.

Corey
Now let's step up to three variables. For a function of three variables, we talk about level surfaces. For example, take f of x, y, z equals log of z divided by square root of (1 minus x squared minus y squared minus z squared). The domain requires: z > 0, log z != 0 so z != 1, and 1 minus x squared minus y squared minus z squared >= 0, i.e., inside the unit sphere.

Maria
So the domain is the interior of the unit sphere, but with z > 0, so only the top half, and we also remove the point where z = 1 (the north pole) and the bottom face z = 0. So it's a punctured half-sphere. That's a nice example of how restrictions shape the domain in 3D.

Corey
Finally, level surfaces. For f of x, y, z equals z minus x squared minus y squared, level surfaces are given by z minus x squared minus y squared = constant. So for constant 0, we get z = x squared plus y squared, a paraboloid. For constant 1, it's z = x squared plus y squared plus 1, the same shape shifted up. For constant -1, it's shifted down.

Maria
So you get a family of nested paraboloids, like bowls stacked inside each other. That's the idea of level surfaces — they help us visualize the function in 3D. And that wraps up our practice session. Key takeaway: functions are rules, domains avoid the three evils, and level curves or surfaces give us cross-sections of the function's graph.

Ask anything
We've read this whole study set, so questions about it get the best answers.