1. Home
  2. Explore
  3. Mathematics
  4. Multivariable Functions Intro

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Multivariable Functions Intro

Multivariable Calculus Practice Problems

This set of practice problems covers fundamental concepts in multivariable calculus: evaluating functions of multiple variables, determining domains, sketching level curves, and identifying level surfaces. Each problem reinforces the idea that functions with multiple inputs follow clear rules, and careful attention to constraints yields correct domains and graphical representations.


Evaluating Functions of Multiple Variables

A function of multiple variables is a rule that assigns a single output to two or more inputs. The variables are placeholders; the rule itself is independent of the names used.

For the function f(x,y)=x2+2y2f(x,y) = x^2 + 2y^2f(x,y)=x2+2y2, evaluating at different inputs demonstrates how the rule applies:

  • f(0,2)f(0,2)f(0,2): x=0x=0x=0, y=2y=2y=2. Compute: 02+2⋅22=0+2⋅4=80^2 + 2 \cdot 2^2 = 0 + 2 \cdot 4 = 802+2⋅22=0+2⋅4=8.

  • f(1,1)f(1,1)f(1,1): 12+2⋅12=1+2=31^2 + 2 \cdot 1^2 = 1 + 2 = 312+2⋅12=1+2=3.

  • f(t,1)f(t,1)f(t,1): Replace xxx with ttt, yyy with 111. Result: t2+2⋅12=t2+2t^2 + 2 \cdot 1^2 = t^2 + 2t2+2⋅12=t2+2.

  • f(t+1,t)f(t+1, t)f(t+1,t): x→t+1x \to t+1x→t+1, y→ty \to ty→t. Then (t+1)2+2t2=(t2+2t+1)+2t2=3t2+2t+1(t+1)^2 + 2t^2 = (t^2+2t+1) + 2t^2 = 3t^2 + 2t + 1(t+1)2+2t2=(t2+2t+1)+2t2=3t2+2t+1. Keep intermediate steps to see how each substitution contributes.

  • f(y,x)f(y,x)f(y,x): The order of slots matters. The first slot is now yyy, the second slot xxx. So f(y,x)=y2+2x2f(y,x) = y^2 + 2x^2f(y,x)=y2+2x2, which is different from f(x,y)f(x,y)f(x,y) unless the function is symmetric.

  • f(cat,dog)f(\text{cat}, \text{dog})f(cat,dog): The rule squares the first argument and adds twice the square of the second: (cat)2+2(dog)2(\text{cat})^2 + 2(\text{dog})^2(cat)2+2(dog)2. Symbolically, this is the valid output even though the inputs are not numbers.

Key Concept: A function is a rule. When evaluating, substitute the given expressions into the correct positions and simplify. The variable names are just convenient labels.


Domain of a Function of Two Variables

The domain of a function f(x,y)f(x,y)f(x,y) is the set of all (x,y)(x,y)(x,y) for which the function is defined. Common restrictions come from:

  • Division by zero (denominator cannot be zero).

  • Square roots of negatives (radicand must be ≥0\ge 0≥0).

  • Logarithms of non-positive numbers (argument must be >0> 0>0).

To find the domain, identify all constraints and then graph the region in the xyxyxy-plane that satisfies all of them simultaneously.

Problem 1: Domain Involving Square Root and Logarithm

Function: f(x,y)=2x−x2ln⁡(x−y2)f(x,y) = \frac{\sqrt{2x - x^2}}{\ln(x - y^2)}f(x,y)=ln(x−y2)2x−x2​​

Step 1: Square root constraint

2x−x2≥02x - x^2 \ge 02x−x2≥0
Factor: x(2−x)≥0x(2-x) \ge 0x(2−x)≥0. This quadratic opens downward, roots at x=0x=0x=0 and x=2x=2x=2. The inequality holds for 0≤x≤20 \le x \le 20≤x≤2. This gives a vertical strip.

Step 2: Logarithm argument positive

x−y2>0⇒x>y2x - y^2 > 0 \quad \Rightarrow \quad x > y^2x−y2>0⇒x>y2
The curve x=y2x = y^2x=y2 is a right-opening parabola. The inequality x>y2x > y^2x>y2 means points to the right of this parabola.

Step 3: Logarithm non-zero (division by zero)

ln⁡(x−y2)≠0⇒x−y2≠1⇒x≠1+y2\ln(x-y^2) \neq 0 \quad \Rightarrow \quad x - y^2 \neq 1 \quad \Rightarrow \quad x \neq 1 + y^2ln(x−y2)=0⇒x−y2=1⇒x=1+y2
This excludes the parabola x=1+y2x = 1 + y^2x=1+y2 (shifted one unit right from x=y2x = y^2x=y2).

Combined domain:

  • 0≤x≤20 \le x \le 20≤x≤2 (solid boundaries at x=0x=0x=0 and x=2x=2x=2)

  • x>y2x > y^2x>y2 (inside the parabola, dotted curve for x=y2x=y^2x=y2)

  • x≠1+y2x \neq 1+y^2x=1+y2 (dotted curve for this shifted parabola)

The region is the part of the strip 0≤x≤20 \le x \le 20≤x≤2 that also lies to the right of x=y2x=y^2x=y2, with the curve x=1+y2x=1+y^2x=1+y2 removed. Points on x=2x=2x=2 are included if they satisfy the other constraints; intersections with the excluded curves are open circles.

Problem 2: Domain with Two Square Roots and a Logarithm

Function: f(x,y)=9−y⋅3−xln⁡(y−(x−3)2)f(x,y) = \frac{\sqrt{9-y} \cdot \sqrt{3-x}}{\ln(y - (x-3)^2)}f(x,y)=ln(y−(x−3)2)9−y​⋅3−x​​

Constraints:

  • Logarithm: y−(x−3)2>0⇒y>(x−3)2y - (x-3)^2 > 0 \quad \Rightarrow \quad y > (x-3)^2y−(x−3)2>0⇒y>(x−3)2. This is the region above a right-shifted parabola (vertex at x=3x=3x=3). Strict inequality: dotted boundary.

  • First square root: 9−y≥0⇒y≤99 - y \ge 0 \quad \Rightarrow \quad y \le 99−y≥0⇒y≤9. Horizontal boundary y=9y=9y=9 included.

  • Second square root: 3−x≥0⇒x≤33 - x \ge 0 \quad \Rightarrow \quad x \le 33−x≥0⇒x≤3. Vertical boundary x=3x=3x=3 included.

  • Division by zero: Denominator must not be zero: ln⁡(y−(x−3)2)≠0⇒y−(x−3)2≠1⇒y≠(x−3)2+1\ln(y - (x-3)^2) \neq 0 \quad \Rightarrow \quad y - (x-3)^2 \neq 1 \quad \Rightarrow \quad y \neq (x-3)^2 + 1ln(y−(x−3)2)=0⇒y−(x−3)2=1⇒y=(x−3)2+1. However, the numerator also contains square roots; the actual risk of division by zero arises when the two square roots together make the denominator zero. That condition is: 9−y−3−x=0⇒9−y=3−x⇒y=x+6\sqrt{9-y} - \sqrt{3-x} = 0 \quad \Rightarrow \quad 9-y = 3-x \quad \Rightarrow \quad y = x+69−y​−3−x​=0⇒9−y=3−x⇒y=x+6.
    So the line y=x+6y = x+6y=x+6 must be excluded (open circles along it within the region).

Combined domain:

  • x≤3x \le 3x≤3, y≤9y \le 9y≤9 (the region to the left of x=3x=3x=3 and below y=9y=9y=9)

  • y>(x−3)2y > (x-3)^2y>(x−3)2 (above the parabola)

  • Exclude y=x+6y = x+6y=x+6

The intersection is a curved shape bounded by these lines and curves. Note that the parabola y=(x−3)2y = (x-3)^2y=(x−3)2 meets the line y=9y=9y=9 at x=0x=0x=0 and x=6x=6x=6, but x=6x=6x=6 is outside x≤3x\le3x≤3, so only the left part matters. The line y=x+6y=x+6y=x+6 passes through the corner where the parabola touches y=9y=9y=9 at x=0x=0x=0 — that point is excluded.

Result: The domain is the set of points inside the region bounded by x=3x=3x=3, y=9y=9y=9, the parabola, and excluding the line y=x+6y=x+6y=x+6.


Level Curves

Level curves of a function z=f(x,y)z = f(x,y)z=f(x,y) are curves in the xyxyxy-plane obtained by setting f(x,y)=kf(x,y) = kf(x,y)=k (constant). They show all points where the function takes a particular value. To sketch level curves, solve for yyy (or another relation) and graph.

Level Curves of f(x,y)=yx2+1f(x,y) = \frac{y}{x^2+1}f(x,y)=x2+1y​

Given values: k=−1,−12,0,12,1k = -1, -\frac12, 0, \frac12, 1k=−1,−21​,0,21​,1.

Set yx2+1=k\frac{y}{x^2+1} = kx2+1y​=k, then y=k(x2+1)y = k(x^2+1)y=k(x2+1).

  • k=−1k = -1k=−1: y=−x2−1y = -x^2 - 1y=−x2−1 (downward opening parabola, vertex at (0,−1)(0,-1)(0,−1))

  • k=−12k = -\frac12k=−21​: y=−12x2−12y = -\frac12 x^2 - \frac12y=−21​x2−21​ (broader downward parabola)

  • k=0k = 0k=0: y=0y = 0y=0 (the x-axis)

  • k=12k = \frac12k=21​: y=12x2+12y = \frac12 x^2 + \frac12y=21​x2+21​ (upward parabola, narrower)

  • k=1k = 1k=1: y=x2+1y = x^2 + 1y=x2+1 (standard upward parabola shifted up)

Sketch and label each curve with its kkk value. The set of parabolas is symmetric about the x-axis.

Level Curves of z=4yx2+y2+1z = \frac{4y}{x^2 + y^2 + 1}z=x2+y2+14y​

Values: k=2,1,0,−1,−2k = 2, 1, 0, -1, -2k=2,1,0,−1,−2.

Set 4yx2+y2+1=k\frac{4y}{x^2+y^2+1} = kx2+y2+14y​=k and rearrange.

  • k=2k = 2k=2: 4y=2(x2+y2+1)4y = 2(x^2+y^2+1)4y=2(x2+y2+1) → x2+y2−2y+1=0x^2 + y^2 - 2y + 1 = 0x2+y2−2y+1=0 → x2+(y−1)2=0x^2 + (y-1)^2 = 0x2+(y−1)2=0 → single point (0,1)(0,1)(0,1).

  • k=1k = 1k=1: 4y=x2+y2+14y = x^2 + y^2 + 14y=x2+y2+1 → x2+y2−4y+1=0x^2 + y^2 - 4y + 1 = 0x2+y2−4y+1=0 → x2+(y−2)2=3x^2 + (y-2)^2 = 3x2+(y−2)2=3 → circle centered at (0,2)(0,2)(0,2), radius 3\sqrt{3}3​.

  • k=0k = 0k=0: 4y=04y = 04y=0 → y=0y = 0y=0 (the x-axis).

  • k=−1k = -1k=−1: 4y=−(x2+y2+1)4y = -(x^2+y^2+1)4y=−(x2+y2+1) → x2+y2+4y+1=0x^2 + y^2 + 4y + 1 = 0x2+y2+4y+1=0 → x2+(y+2)2=3x^2 + (y+2)^2 = 3x2+(y+2)2=3 → circle centered at (0,−2)(0,-2)(0,−2), radius 3\sqrt{3}3​.

  • k=−2k = -2k=−2: 4y=−2(x2+y2+1)4y = -2(x^2+y^2+1)4y=−2(x2+y2+1) → x2+y2+2y+1=0x^2 + y^2 + 2y + 1 = 0x2+y2+2y+1=0 → x2+(y+1)2=0x^2 + (y+1)^2 = 0x2+(y+1)2=0 → single point (0,−1)(0,-1)(0,−1).

Observations: The function is bounded between −2≤z≤2-2 \le z \le 2−2≤z≤2. Level curves near the peak (0,1)(0,1)(0,1) shrink to a point. For kkk between 000 and 111, circles enlarge as kkk approaches 000; for kkk between −1-1−1 and 000, similar behavior occurs below.

Sketch the circles and the point, labeling each with its kkk value.


Domain of a Function of Three Variables

For a function f(x,y,z)f(x,y,z)f(x,y,z), the domain is a region in R3\mathbb{R}^3R3. Although full 3D sketching is challenging, we can describe it using inequalities and interpret the shape.

Function: f(x,y,z)=1−x2−y2−z2ln⁡zf(x,y,z) = \frac{\sqrt{1 - x^2 - y^2 - z^2}}{\ln z}f(x,y,z)=lnz1−x2−y2−z2​​

Constraints:

  • Square root: 1−x2−y2−z2≥01 - x^2 - y^2 - z^2 \ge 01−x2−y2−z2≥0 → x2+y2+z2≤1x^2 + y^2 + z^2 \le 1x2+y2+z2≤1. This is the interior of the unit sphere (including boundary).

  • Logarithm argument: z>0z > 0z>0 (since ln⁡z\ln zlnz requires z>0z > 0z>0). So only points with positive zzz are allowed.

  • Division by zero: ln⁡z≠0\ln z \neq 0lnz=0 → z≠1z \neq 1z=1. So the point where z=1z=1z=1 (the top of the sphere) is excluded.

Combined domain: All points inside the unit sphere with 0<z<10 < z < 10<z<1. That is the top half of the sphere (excluding the equatorial plane z=0z=0z=0 and the top point z=1z=1z=1). The bottom half (z<0z<0z<0) is not included because zzz must be positive.

Verbal description: The domain consists of all points (x,y,z)(x,y,z)(x,y,z) satisfying x2+y2+z2≤1x^2+y^2+z^2 \le 1x2+y2+z2≤1, z>0z > 0z>0, and z≠1z \neq 1z=1. This is a solid hemisphere (including the interior surface x2+y2+z2=1x^2+y^2+z^2=1x2+y2+z2=1 for 0<z<10<z<10<z<1) with the top point removed.


Level Surfaces

Level surfaces are the three-dimensional analogue of level curves. For a function F(x,y,z)F(x,y,z)F(x,y,z), setting F(x,y,z)=kF(x,y,z) = kF(x,y,z)=k gives a surface (or set of points) in space.

Example: F(x,y,z)=z−x2−y2F(x,y,z) = z - x^2 - y^2F(x,y,z)=z−x2−y2

Choose constants k=−1,0,1k = -1, 0, 1k=−1,0,1:

  • k=−1k = -1k=−1: z=x2+y2−1z = x^2 + y^2 - 1z=x2+y2−1 (paraboloid shifted down 1 unit)

  • k=0k = 0k=0: z=x2+y2z = x^2 + y^2z=x2+y2 (standard upward-opening paraboloid, vertex at origin)

  • k=1k = 1k=1: z=x2+y2+1z = x^2 + y^2 + 1z=x2+y2+1 (paraboloid shifted up 1 unit)

These three surfaces are nested bowls — each is a paraboloid of revolution. The k=0k=0k=0 bowl sits inside the k=1k=1k=1 bowl, and the k=−1k=-1k=−1 bowl is below the k=0k=0k=0 bowl. Level surfaces for other kkk values would be similar shifts; all are parallel translations of the base paraboloid along the zzz-axis.

Key Idea: Level surfaces help visualize how a function behaves in three dimensions. For a given constant, the surface consists of all points where the output equals that constant.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent