Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 4 Multivariate differentiation

MTH165 — Mathematics For Engineers 6 min read

Practice MCQs Subjective questions
Text size
100%

I. Orientation — Functions of Several Variables

Multivariate differentiation extends single-variable calculus to functions whose outputs depend on two or more independent variables. For a scalar function , the graph is generally a surface, and differentiation describes its directional rates of change, tangent plane, local extrema, and behavior under constraints.

  • Domain and range: A function assigns a scalar to each vector in its domain .
  • Geometric interpretation: For , fixing produces a curve in the -direction, while fixing produces one in the -direction.
  • Increment convention: Changes in the inputs are denoted by , and the corresponding output change is
    Text
      Δz = f(x + Δx, y + Δy) − f(x, y).

    Here, is the initial point and is its displacement.
  • Local viewpoint: Limits describe behavior near a point; derivatives give local linear approximations; optimization identifies points where nearby function values are larger or smaller.
  • Regularity assumptions: Continuity does not necessarily imply differentiability, but continuous first partial derivatives near a point are sufficient for differentiability there.

II. Limits and Continuity — Local Behavior Near a Point

A. limits and continuity

A multivariable limit exists only when the function approaches the same value along every possible path to the specified point.

  • Formal limit: The statement
    Text
      lim               f(x, y) = L
      (x, y) → (a, b)

    means that for every , there is a such that
    Text
      0 < √[(x − a)² + (y − b)²] < δ  ⇒  |f(x, y) − L| < ε.

    Here, is the limiting point, is the proposed limit, and are positive tolerances.
  • Path requirement: Equal limits along the lines are necessary but not sufficient for existence, because curved paths such as must also agree.
  • Non-existence test: For
    Text
      f(x, y) = xy/(x² + y²),

    approach along to obtain , but along to obtain . The unequal values prove that the limit does not exist.
  • Continuity: The function is continuous at when is defined, the limit exists, and
    Text
      lim               f(x, y) = f(a, b).
      (x, y) → (a, b)
  • Useful properties: Polynomial functions are continuous everywhere; rational functions are continuous wherever their denominators are nonzero; sums, products, quotients, and compositions preserve continuity wherever defined.

III. Differential Structure — Local Linear Change

A. partial derivatives and total derivative

Partial derivatives measure change in one independent variable at a time, whereas the total derivative combines all first-order changes into one linear approximation.

  • First partial derivatives: For ,
    Text
      fₓ(x, y) = ∂f/∂x = lim[h→0] [f(x + h, y) − f(x, y)]/h
      fᵧ(x, y) = ∂f/∂y = lim[k→0] [f(x, y + k) − f(x, y)]/k.

    Here, and are scalar increments; the other variable is held constant in each limit.
  • Higher partial derivatives: Second derivatives include , , and the mixed derivatives and . If the mixed derivatives are continuous near a point, then
    Text
      fₓᵧ = fᵧₓ.
  • Gradient: The first partial derivatives form the vector
    Text
      ∇f = (fₓ, fᵧ).

    The gradient points in the direction of greatest increase, and its magnitude gives the maximum directional rate of change.
  • Differentiability and total differential: If is differentiable at , then
    Text
      Δz = fₓ Δx + fᵧ Δy + o(√[(Δx)² + (Δy)²]),
      dz = fₓ dx + fᵧ dy.

    The notation represents an error that becomes negligible relative to as ; are small input changes.
  • Worked example: For ,
    Text
      fₓ = 2xy,     fᵧ = x² + 6y,
      df = 2xy dx + (x² + 6y)dy.

    At , with and , , approximating the actual change in .

IV. Chain Rule — Differentiating Composite Dependence

A. chain rule

The multivariable chain rule traces how an output changes through every intermediate variable on which it depends.

  • One parameter: If , with and , then
    Text
      dz/dt = (∂f/∂x)(dx/dt) + (∂f/∂y)(dy/dt).

    Here, is the independent parameter and are intermediate variables.
  • Two parameters: If and , then
    Text
      ∂z/∂u = fₓxᵤ + fᵧyᵤ,
      ∂z/∂v = fₓxᵥ + fᵧyᵥ.

    Subscripts denote partial differentiation with respect to the indicated variable.
  • Jacobian form: For differentiable vector functions, composition becomes matrix multiplication:
    Text
      J(F ∘ G) = JF(G) · JG.

    Here, is the outer function, is the inner function, and denotes the matrix of first partial derivatives.
  • Worked example: Let , , and . Then
    Text
      dz/dt = 2x(2t) + 2y(3)
            = 4t³ + 18t.

    This agrees with directly differentiating .

V. Homogeneous Functions — Scaling and Euler’s Identity

A. Euler's theorem for homogeneous functions

Euler’s theorem converts a scaling property into a differential identity for a differentiable homogeneous function.

  • Homogeneity: A function is homogeneous of degree if
    Text
      f(λx, λy) = λⁿf(x, y)

    for every admissible scalar . The number is the degree of homogeneity.
  • Euler’s theorem: If is differentiable and homogeneous of degree , then
    Text
      x(∂f/∂x) + y(∂f/∂y) = nf(x, y).
  • Derivation: Differentiate with respect to :
    Text
      x fₓ(λx, λy) + y fᵧ(λx, λy) = nλⁿ⁻¹f(x, y).

    Setting gives Euler’s identity.
  • Worked example: For , every term has total degree , so . Direct differentiation gives
    Text
      xfₓ + yfᵧ
      = x(3x² + 6xy) + y(3x² + 3y²)
      = 3f.
  • Limitation: Euler’s theorem requires a genuine scaling relation; a function such as is not homogeneous because its terms have different degrees.

VI. Unconstrained Optimization — Stationary-Point Classification

A. maxima and minima for a function of two variables

Local extrema occur where nearby function values are no greater or no smaller, and interior differentiable extrema must be stationary points.

  • Definitions:
    1. Local maximum: for all sufficiently close to .
    2. Local minimum: in a sufficiently small neighborhood.
  • Necessary condition: At an interior local extremum where is differentiable,
    Text
      fₓ(a, b) = 0,     fᵧ(a, b) = 0.

    A solution is a critical point, but it may instead be a saddle point.
  • Second-derivative test: Compute
    Text
      D = fₓₓfᵧᵧ − (fₓᵧ)²

    at the critical point.
    • If and , there is a local minimum.
    • If and , there is a local maximum.
    • If , there is a saddle point.
    • If , the test is inconclusive.
  • Worked example: For ,
    Text
      fₓ = 2x − 4,     fᵧ = 2y + 6.

    Thus the only critical point is . Since , , , and , the point is a local minimum; completing squares shows it is also the global minimum.
  • Boundary issue: On a closed bounded domain, absolute extrema may occur at interior critical points or on the boundary, so both must be checked.

VII. Constrained Optimization — The Multiplier Technique

A. Lagrange method of multiplier

The Lagrange multiplier method finds extrema of subject to a constraint by requiring their gradients to be parallel.

  • Geometric principle: At a constrained extremum, the level curve of is tangent to the constraint curve, giving
    Text
      ∇f = λ∇g.

    Here, is the Lagrange multiplier, , and .
  • System to solve:
    Text
      fₓ = λgₓ,
      fᵧ = λgᵧ,
      g(x, y) = c.

    The equations determine candidate values of , , and , provided .
  • Worked example: To extremize subject to , set
    Text
      y = 2λx,
      x = 2λy,
      x² + y² = 2.

    The nonzero solutions satisfy . The candidates and give the maximum ; and give the minimum .
  • Interpretation of : Under suitable regularity conditions, measures the approximate change in the optimal value when the constraint level changes.
  • Limitations: Singular points where , endpoints, corners, and multiple constraints require separate checks or an extended system with one multiplier per constraint.

Test yourself on unit 4

60 MCQs on what you just read, each marked as you answer with an explanation.