4.4.1Multivariable Calculus

Functions of several variables — graphs, level curves, level surfaces

1,913 words9 min readdifficulty · medium

1. What is a function of several variables?

WHAT the domain is: the set of inputs for which the formula makes sense (no division by zero, no negative inside even roots, no log of non-positive numbers).


2. The graph (Dual Coding: see the surface)

WHY we can only graph n2n\le 2 directly: plotting ff needs n+1n+1 axes (one per input + one for output). For n=2n=2 that's 3 axes — fine. For n=3n=3 we'd need 4 axes — impossible to draw. That's exactly why level sets are invented.

Figure — Functions of several variables — graphs, level curves, level surfaces

3. Level curves (the "contour map" idea)


4. Level surfaces (for f(x,y,z)f(x,y,z))



5. Worked Forecast-then-Verify


Flashcards

What is the domain of a function f:RnRf:\mathbb R^n\to\mathbb R?
The set of all input points (x1,,xn)(x_1,\dots,x_n) for which ff produces a real number (formula is defined).
What does the graph of z=f(x,y)z=f(x,y) live in, and what dimension is it?
It lives in R3\mathbb R^3 and is a 2D surface.
Define a level curve of f(x,y)f(x,y) at value cc.
The set {(x,y):f(x,y)=c}\{(x,y): f(x,y)=c\} — all inputs giving the same output cc; the projection of the slice z=cz=c onto the xyxy-plane.
Why can't we draw the graph of f(x,y,z)f(x,y,z)?
It would need 4 axes (3 inputs + 1 output); we use level surfaces in 3D instead.
Level curves of f=x2+y2f=x^2+y^2?
Concentric circles of radius c\sqrt c for c>0c>0, a point for c=0c=0, empty for c<0c<0.
Level surfaces of f=x2+y2+z2=cf=x^2+y^2+z^2=c?
Spheres of radius c\sqrt c (c>0c>0); origin point at c=0c=0; empty for c<0c<0.
What does crowding of level curves indicate?
Steepness — the function changes rapidly there.
Dimension of a level set of a function of nn variables?
n1n-1 (one equation removes one degree of freedom).
Level curves of the saddle f=x2y2f=x^2-y^2 at c=0c=0?
The two lines y=±xy=\pm x (degenerate hyperbola).

Recall Feynman: explain to a 12-year-old

Imagine a hilly landscape. A machine (ff) tells you how high the ground is at any spot (x,y)(x,y) on the map. The graph is the actual 3D hill. But on a flat paper map you can't show 3D, so you draw rings: each ring connects all spots at the same height (like 100 m, 200 m). Those rings are level curves. Walk where rings are far apart → gentle slope; rings squished together → cliff! For a thing that depends on three numbers (like temperature everywhere in a room), you can't even build the hill — so instead you draw the invisible "shells" where the value is the same. Those shells are level surfaces.

Connections

Concept Map

needs valid inputs

assigns single value

n equals 2 case

n greater than 2

motivates

plotted over

sliced at height c

projected onto xy-plane

crowded curves mean

for n equals 2

for n equals 3

example sqrt 9 minus x2 minus y2

Function f of n variables

Domain D subset R^n

Output z equals f

Graph is surface in R^3

Cannot graph directly

Level sets

Level curves f equals c

Contour map

Steepness

Level surfaces f equals c

Filled disk radius 3

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, ek normal function y=f(x)y=f(x) ek number leta hai aur ek number deta hai — usko hum 2D curve ki tarah draw kar sakte hain. Lekin real life me cheezein ek se zyada inputs pe depend karti hain: jaise kisi jagah ka temperature uski position (x,y)(x,y) pe, ya room ke pressure ka har point (x,y,z)(x,y,z) pe. Isi liye humein functions of several variables chahiye — input ek se zyada, output ek hi number.

Ab z=f(x,y)z=f(x,y) ka graph ek surface hota hai jo 3D space me baithta hai (2 inputs + 1 output = 3 axes). Problem tab aati hai jab inputs 3 ho jaate hain, kyunki tab 4 axes chahiye honge jo draw karna impossible hai. Yahi pe aata hai jugaad: level sets. Pahaad ka map socho — same height waale saare points ko ek ring se jod do, woh ring hai level curve (f(x,y)=cf(x,y)=c). Agar rings paas-paas hain to slope tez (steep), door-door hain to slope dheema.

3 variables ke liye, f(x,y,z)=cf(x,y,z)=c ek level surface deta hai — jaise origin se equal distance waale saare points ek sphere bana dete hain. Yaad rakho: level set hamesha input-space se ek dimension chhota hota hai — 2D me curve, 3D me surface (nn minus one ka rule). Aur sabse common galti: level curve 2D me hota hai, cc to sirf ek label hai, height-coordinate nahi. Yeh concept aage gradient, directional derivative aur tangent plane sab me kaam aata hai, isliye base solid rakho.

Go deeper — visual, from zero

Test yourself — Multivariable Calculus

Connections