Introduction to Multivariable Calculus - Grade 2

Learn to work with functions of multiple variables through visual exercises and step-by-step examples. Understand basic function evaluation, partial derivatives, and geometric interpretation.

Solution: Exercises 1 to 3
1 Function evaluation
Exercise 1
Evaluate:
\(f(x, y) = x + y\) when \(x = 2\) and \(y = 3\)
Definition:

Function of two variables: A function that takes two inputs (x and y) and produces one output. We substitute the given values for x and y.

Function evaluation method:
  1. Identify the function definition
  2. Replace each variable with its given value
  3. Perform the arithmetic operations
Function
\(f(x, y) = x + y\)
Values
\(x = 2, y = 3\)
Substitute
\(f(2, 3) = 2 + 3\)
Result
\(f(2, 3) = 5\)
Step 1: Identify the function

\(f(x, y) = x + y\)

Step 2: Substitute the values

Replace x with 2 and y with 3: \(f(2, 3) = 2 + 3\)

Step 3: Calculate the result

\(f(2, 3) = 5\)

\(f(2, 3) = 5\)
Final answer:

\(f(2, 3) = 5\)

Applied rules:

• Substitution: Replace variables with their given values

• Evaluation: Perform arithmetic operations in the correct order

• Function notation: f(x, y) means "f of x and y"

f(2, 3)
=
2 + 3
=
5
f(x,y) = x+y
x=2, y=3
f(2,3)=5
2 Partial derivative introduction
Exercise 2
Find the partial derivative of:
\(f(x, y) = 2x + 3y\) with respect to x
Definition:

Partial derivative: The rate of change of a function with respect to one variable while keeping others constant. We treat other variables as constants.

Function
\(f(x, y) = 2x + 3y\)
Derivative w.r.t. x
\(\frac{\partial f}{\partial x}\)
Differentiate
\(2\)
Step 1: Identify the function

\(f(x, y) = 2x + 3y\)

Step 2: Differentiate with respect to x

Treat y as a constant: \(\frac{\partial}{\partial x}(2x + 3y) = \frac{\partial}{\partial x}(2x) + \frac{\partial}{\partial x}(3y)\)

Step 3: Apply differentiation rules

\(\frac{\partial}{\partial x}(2x) = 2\) and \(\frac{\partial}{\partial x}(3y) = 0\) (since y is treated as constant)

Step 4: Combine results

\(\frac{\partial f}{\partial x} = 2 + 0 = 2\)

\(\frac{\partial f}{\partial x} = 2\)
Final answer:

\(\frac{\partial f}{\partial x} = 2\)

Applied rules:

• Constant rule: Derivative of a constant is zero

• Linearity: Derivative of sum is sum of derivatives

• Partial differentiation: Treat other variables as constants

f(x,y) = 2x + 3y
→
∂f/∂x = 2
f(x,y) = 2x + 3y
∂f/∂x = 2
∂f/∂y = 3
3 Geometric interpretation
Exercise 3
Describe the graph of:
\(f(x, y) = x^2 + y^2\)
Definition:

Geometric interpretation: Functions of two variables can be visualized as surfaces in 3D space. The function \(f(x, y) = x^2 + y^2\) forms a paraboloid shape.

Function
\(f(x, y) = x^2 + y^2\)
Shape
Paraboloid
Vertex
(0, 0, 0)
Step 1: Analyze the function

\(f(x, y) = x^2 + y^2\) involves squares of both variables

Step 2: Identify the surface

This creates a bowl-shaped surface called a paraboloid

Step 3: Locate the vertex

The minimum occurs at (0, 0, 0) where both x and y are zero

Step 4: Describe the behavior

As |x| and |y| increase, f(x, y) increases, forming a bowl shape

\(f(x, y) = x^2 + y^2\) forms a paraboloid
Final answer:

The graph of \(f(x, y) = x^2 + y^2\) is a paraboloid with vertex at (0, 0, 0)

Applied rules:

• 3D visualization: Functions of two variables form surfaces in 3D space

• Level curves: Cross-sections at constant z values form circles

• Minimization: Paraboloids have a unique minimum point

f(x,y) = x² + y²
→
Paraboloid
f(0,0) = 0
f(1,0) = 1
f(1,1) = 2
Rules and methods, laws,...
\(f(x, y) = z\)
Multivariable Function
Rule 1
\(\frac{\partial}{\partial x}(x^n) = nx^{n-1}\)
Partial Derivative
Rule 2
\(\frac{\partial}{\partial y}(c) = 0\)
Constant Rule
Rule 3
\(\frac{\partial}{\partial x}(x^2 + y^2) = 2x\)
Partial Derivative
Key definitions:

Function of two variables: A rule that assigns a unique output value z to each pair of input values (x, y)

Partial derivative: The derivative of a function with respect to one variable while treating others as constants

Domain: The set of all possible input pairs (x, y) for which the function is defined

Range: The set of all possible output values

Multivariable calculus steps:
  1. Function identification: Recognize functions of multiple variables
  2. Evaluation: Substitute values to find function outputs
  3. Partial differentiation: Find rates of change with respect to each variable
  4. Visualization: Understand geometric interpretations
Tip 1: When taking partial derivatives, treat other variables as constants.
Tip 2: Functions of two variables create surfaces in 3D space.
Tip 3: Use level curves to visualize functions in 2D.
Common errors: Forgetting to treat other variables as constants, incorrect differentiation rules, misunderstanding 3D visualization.
Memory aid: "Partial" means "with respect to one variable only".
Rules to remember:

• \(\frac{\partial}{\partial x}(x^n) = nx^{n-1}\) (power rule)

• \(\frac{\partial}{\partial x}(c) = 0\) (constant rule)

• \(\frac{\partial}{\partial x}(x + y) = 1\) (treating y as constant)

• \(\frac{\partial}{\partial y}(x + y) = 1\) (treating x as constant)

• \(\frac{\partial}{\partial x}(xy) = y\) (product rule with constant)

Multivariable Calculus Infographic

Function Types

📊
Single Variable: f(x)
Two Variables: f(x,y)
Three Variables: f(x,y,z)
f(x,y) = x + y
→
Plane
Function Evaluation Rule

When evaluating f(x, y):

1. Substitute given values for x and y

2. Perform arithmetic operations

3. The result is the function value

Examples

f(x,y) = x + y → Plane

f(x,y) = x² + y² → Paraboloid

f(x,y) = xy → Hyperbolic paraboloid

Partial Differentiation Process
1
Identify
2
Treat Other
3
Differentiate
4
Simplify
3D Surface Visualization

f(x,y) = x + y → Flat plane

f(x,y) = x² + y² → Bowl shape

f(x,y) = xy → Saddle shape

Remember: Keep Other Variables Constant!

Partial Derivatives

🎨
Partial Derivative Steps

\(\frac{\partial}{\partial x}[f(x,y)]\):

1. Treat y as a constant

2. Differentiate with respect to x

3. Simplify the result

f(x,y) = x²
∂f/∂x = 2x
∂f/∂y = 0
f(x,y) = 3x + 2y
→
∂f/∂x = 3
,
∂f/∂y = 2
Verification Tips

• Check that other variables are treated as constants

• Verify the differentiation rules are applied correctly

• Confirm the units make sense

Key Concepts: Multivariable Calculus Fundamentals
\(\frac{\partial f}{\partial x} = \lim_{h \to 0} \frac{f(x+h, y) - f(x, y)}{h}\)
Partial Derivative Definition
Key definitions:

Multivariable function: A function that depends on more than one independent variable (e.g., f(x, y), f(x, y, z))

Partial derivative: The derivative of a multivariable function with respect to one variable while holding others constant

Domain: The set of all possible input combinations for which the function is defined

Range: The set of all possible output values the function can produce

Level curve: The set of points where the function has a constant value

Gradient: A vector containing all partial derivatives of a function

Complete methodology:
  1. Function identification: Recognize functions of multiple variables
  2. Evaluation: Substitute specific values to find function outputs
  3. Partial differentiation: Find rates of change with respect to each variable individually
  4. Geometric interpretation: Understand how functions behave in 3D space
  5. Application: Use multivariable concepts to solve real-world problems
Tip 1: When taking partial derivatives, imagine other variables as fixed numbers.
Tip 2: Functions of two variables form surfaces in 3D space.
Tip 3: Use contour plots to visualize complex functions in 2D.
Tip 4: The gradient points in the direction of greatest increase.
Common errors: Forgetting to treat other variables as constants, applying single-variable rules incorrectly, misinterpreting geometric representations.
Memory aid: "Partial" means "with respect to one variable only" - hold others constant.
Formulas to know by heart:

• \(\frac{\partial}{\partial x}(x^n) = nx^{n-1}\) (power rule)

• \(\frac{\partial}{\partial x}(c) = 0\) (constant rule)

• \(\frac{\partial}{\partial x}(x + y) = 1\) (treating y as constant)

• \(\frac{\partial}{\partial y}(x + y) = 1\) (treating x as constant)

• \(\frac{\partial}{\partial x}(xy) = y\) (product rule with constant)

Detailed Summary: Introduction to Multivariable Calculus

This section introduces the fundamental concepts of multivariable calculus, which extends single-variable calculus to functions of multiple variables. This is essential for modeling real-world phenomena that depend on more than one factor.

Definitions and Key Concepts

Function of Multiple Variables: A rule that assigns a unique output value to each combination of input values (e.g., f(x, y) assigns a value z to each pair (x, y)).

Partial Derivative: The rate of change of a function with respect to one variable while keeping others constant, denoted as ∂f/∂x or ∂f/∂y.

Domain: The set of all possible input combinations for which the function is defined.

Range: The set of all possible output values the function can produce.

Core Rules and Laws

Partial Differentiation Rule: When taking ∂f/∂x, treat all other variables as constants.

Power Rule: ∂/∂x(x^n) = nx^(n-1)

Constant Rule: ∂/∂x(c) = 0 where c is a constant

Linearity: ∂/∂x(f + g) = ∂f/∂x + ∂g/∂x

Step-by-Step Methods

1. Identify the function and variables involved

2. For function evaluation, substitute the given values for each variable

3. For partial derivatives, differentiate with respect to the specified variable while treating others as constants

4. For geometric interpretation, visualize the function as a surface in 3D space

5. Apply appropriate calculus rules during computation

Examples (Simple → Advanced)

Simple: f(x, y) = x + y → ∂f/∂x = 1, ∂f/∂y = 1

Intermediate: f(x, y) = x² + y² → ∂f/∂x = 2x, ∂f/∂y = 2y

Advanced: f(x, y) = x²y + sin(xy) → ∂f/∂x = 2xy + y cos(xy)

Complex: f(x, y, z) = x²yz + e^(xyz) → multiple partial derivatives

Tips and Tricks

• Always remember to treat other variables as constants when taking partial derivatives

• Functions of two variables create surfaces in 3D space

• Use level curves (contour plots) to visualize complex functions in 2D

• The gradient vector points in the direction of greatest increase

Common Mistakes and Pitfalls

• Forgetting to treat other variables as constants during partial differentiation

• Applying single-variable differentiation rules incorrectly • Misinterpreting geometric representations of functions • Confusing the order of partial derivatives in mixed cases • Not considering the domain restrictions of multivariable functions

Key Notes for Memorization

• "Partial" means "with respect to one variable only" - keep others constant

• Functions of two variables form surfaces in 3D space

• Partial derivatives measure sensitivity to changes in each variable independently

• The notation ∂f/∂x reads as "partial f with respect to x"

Questions & Answers

Question: I don't understand why we treat other variables as constants when taking partial derivatives. Why not differentiate them too?

Answer: Great question! Partial derivatives measure how a function changes when we vary only ONE variable at a time, while keeping others fixed. This helps us understand the individual contribution of each variable to the overall change.

Think of it like measuring how temperature changes with latitude while keeping longitude fixed, or vice versa. If we changed both at once, we wouldn't know which variable caused the change.

For example, if f(x, y) represents the height of a hill, ∂f/∂x tells us how steep the hill is going east/west, while ∂f/∂y tells us how steep it is going north/south.

Question: How do I visualize functions with two variables? It's hard to picture something in 3D.

Answer: There are several ways to visualize functions of two variables:

  1. 3D graphs: The function f(x, y) creates a surface in 3D space where z = f(x, y)
  2. Contour plots: Curves showing points where the function has the same value (like topographic maps)
  3. Cross-sections: Fix one variable and plot the function as a 2D curve

For example, f(x, y) = x² + y² creates a bowl-shaped surface (paraboloid), while f(x, y) = xy creates a saddle-shaped surface.

Question: What happens if I take the partial derivative of a constant with respect to x?

Answer: The partial derivative of any constant with respect to any variable is always zero. This follows the same principle as ordinary derivatives:

If f(x, y) = 5, then ∂f/∂x = 0 and ∂f/∂y = 0

This makes sense because a constant doesn't change regardless of how the variables change. Whether we change x or y, the output remains the same, so the rate of change is zero.

Similarly, if f(x, y) = 7x + 3, then ∂f/∂x = 7 (not 7x + 3) because the constant 3 disappears when taking the derivative.