\(f(x, y) = x + y\) when \(x = 2\) and \(y = 3\)
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.
- Identify the function definition
- Replace each variable with its given value
- Perform the arithmetic operations
\(f(x, y) = x + y\)
Replace x with 2 and y with 3: \(f(2, 3) = 2 + 3\)
\(f(2, 3) = 5\)
\(f(2, 3) = 5\)
• 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(x, y) = 2x + 3y\) with respect to x
Partial derivative: The rate of change of a function with respect to one variable while keeping others constant. We treat other variables as constants.
\(f(x, y) = 2x + 3y\)
Treat y as a constant: \(\frac{\partial}{\partial x}(2x + 3y) = \frac{\partial}{\partial x}(2x) + \frac{\partial}{\partial x}(3y)\)
\(\frac{\partial}{\partial x}(2x) = 2\) and \(\frac{\partial}{\partial x}(3y) = 0\) (since y is treated as constant)
\(\frac{\partial f}{\partial x} = 2 + 0 = 2\)
\(\frac{\partial f}{\partial x} = 2\)
• 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) = x^2 + y^2\)
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.
\(f(x, y) = x^2 + y^2\) involves squares of both variables
This creates a bowl-shaped surface called a paraboloid
The minimum occurs at (0, 0, 0) where both x and y are zero
As |x| and |y| increase, f(x, y) increases, forming a bowl shape
The graph of \(f(x, y) = x^2 + y^2\) is a paraboloid with vertex at (0, 0, 0)
• 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
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
- Function identification: Recognize functions of multiple variables
- Evaluation: Substitute values to find function outputs
- Partial differentiation: Find rates of change with respect to each variable
- Visualization: Understand geometric interpretations
• \(\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)
Function Types
When evaluating f(x, y):
1. Substitute given values for x and y
2. Perform arithmetic operations
3. The result is the function value
f(x,y) = x + y → Plane
f(x,y) = x² + y² → Paraboloid
f(x,y) = xy → Hyperbolic paraboloid
f(x,y) = x + y → Flat plane
f(x,y) = x² + y² → Bowl shape
f(x,y) = xy → Saddle shape
Partial Derivatives
\(\frac{\partial}{\partial x}[f(x,y)]\):
1. Treat y as a constant
2. Differentiate with respect to x
3. Simplify the result
• Check that other variables are treated as constants
• Verify the differentiation rules are applied correctly
• Confirm the units make sense
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
- Function identification: Recognize functions of multiple variables
- Evaluation: Substitute specific values to find function outputs
- Partial differentiation: Find rates of change with respect to each variable individually
- Geometric interpretation: Understand how functions behave in 3D space
- Application: Use multivariable concepts to solve real-world problems
• \(\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 functionsKey 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:
- 3D graphs: The function f(x, y) creates a surface in 3D space where z = f(x, y)
- Contour plots: Curves showing points where the function has the same value (like topographic maps)
- 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.