Unit 4 - Notes

MTH165

Unit 4: Multivariate functions

1. Functions of Two Variables

Definition

A real-valued function of two variables, , assigns a unique real number to each ordered pair in a subset of .

  • Independent Variables: and .
  • Dependent Variable: .

Domain and Range

  • Domain (): The set of all pairs for which the function is mathematically defined.
    • Example: For , the domain is (a disk of radius 3).
  • Range: The set of all possible output values .

Graphical Representation

  • Surface: The graph of a function is a surface in 3-dimensional space (Euclidean space ).
  • Level Curves (Contour Lines): The set of points in the -plane where (a constant).
    • If you slice the surface with horizontal planes , the intersection curves projected onto the -plane are level curves.
    • Closely spaced level curves indicate a steep slope; widely spaced curves indicate a gentle slope.

2. Limits and Continuity

Limit of a Function

The notation means that values of approach the number as the point approaches along any path within the domain.

The Two-Path Test (Non-existence of Limits)

Unlike single-variable calculus (where you check left and right limits), in 2D, you can approach a point from infinitely many directions.

  • Rule: If along Path A, and along Path B, and , then the limit does not exist.
  • Common Paths to Check:
    1. Along the x-axis ().
    2. Along the y-axis ().
    3. Along the line or .
    4. Along parabolas (e.g., ) if degrees imply it.

Continuity

A function is continuous at a point if three conditions are met:

  1. is defined.
  2. exists.
  3. .

Polynomial functions are continuous everywhere. Rational functions are continuous everywhere except where the denominator is zero.


3. Partial Derivatives

Definition

A partial derivative measures the rate of change of the function with respect to one variable while holding the other variable(s) constant.

Given :

  • Partial with respect to :


    (Treat as a constant constant).

  • Partial with respect to :


    (Treat as a constant constant).

Geometric Interpretation

  • is the slope of the tangent line to the curve at (intersection of the surface with the plane ).
  • is the slope of the tangent line to the curve at (intersection of the surface with the plane ).

Higher-Order Partial Derivatives

  • Second order derivatives:
    • Mixed Partials:

Clairaut's Theorem (Equality of Mixed Partials):
If and are both continuous on a disk containing , then .


4. Total Derivative and Differentiability

Total Differential

If , the total differential is defined as:

  • Usage: Used for approximation and error estimation. If and are small changes, the change in () is approximated by:

Differentiability

Existence of partial derivatives does not guarantee differentiability.
A function is differentiable at if the increment can be written as:


where as .

Geometrically: If is differentiable at a point, the surface has a unique non-vertical tangent plane at that point.

Sufficient Condition for Differentiability: If partial derivatives and exist and are continuous near , then is differentiable at .


5. Chain Rule

The Chain Rule for multivariate functions depends on the dependency tree of variables.

Case 1: One Independent Variable

If , where and :

Case 2: Two Independent Variables

If , where and :


Implicit Differentiation

If defines implicitly as a function of :


6. Euler's Theorem for Homogeneous Functions

Homogeneous Function

A function is homogeneous of degree if, for any constant :

Alternatively, a function can be written as or .

Euler's Theorem

If is a homogeneous function of degree having continuous partial derivatives, then:

Corollary (Second Order)

For a homogeneous function of degree :


7. Maxima and Minima (Unconstrained Optimization)

Critical Points

A point is a critical point (stationary point) if:

  1. and , or
  2. The partial derivatives do not exist.

Second Derivative Test

To classify a critical point where :

  1. Calculate second partials at : , , .
  2. Compute the discriminant (Hessian determinant):

Classification Rules:

  • Local Minimum: If and (convex up).
  • Local Maximum: If and (concave down).
  • Saddle Point: If (curve goes up in one direction and down in another, like a Pringles chip).
  • Inconclusive: If (test fails; further investigation required).

8. Lagrange Method of Multipliers

Purpose

Used to find the local maxima and minima of a function subject to a constraint .

The Method

  1. Formulate the Lagrangian Function:


    Here, is a new variable called the Lagrange Multiplier.

  2. Determine the Gradient Conditions:
    Solve the system of equations formed by setting the partial derivatives of to zero:

  3. Solve the System:
    Solve the simultaneous equations for and .

  4. Evaluate:
    Evaluate at all solution points to determine which are maximum or minimum values.

Geometric Interpretation

At the optimum point under constraint, the level curve of the function is tangent to the constraint curve . Therefore, their gradients are parallel: