• Practice
  • About 24 min
  • 5 practice questions

Linear approximation of several variables, chain rules, homogeneous functions and Euler's theorem

Write the linear approximation and differential of a function of two or three variables, use the function of function rule, and test homogeneity and apply Euler's theorem.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Write the linear approximation of F(x, y) or F(x, y, z) at a point and use it to estimate values.
  • Find the total differential dF and use it to estimate changes and percentage errors.
  • Use the function of function (chain) rule when x and y depend on t, or on two variables s and t.
  • Decide whether a function is homogeneous and find its degree.
  • State Euler's theorem and use it, including on functions that are not themselves homogeneous.

Section 8.6 of the Tamil Nadu textbook brings the two halves of the chapter together. The tangent line of Lesson 1 becomes a tangent plane, the differential of Lesson 2 becomes a total differential, and the partial derivatives of Lesson 4 supply the coefficients.

Linear approximation and the total differential

Two variables: L(x, y) = F(x₀, y₀) + F_x(x₀, y₀)(x − x₀) + F_y(x₀, y₀)(y − y₀); dF = F_x dx + F_y dy, with dx = Δx, dy = Δy. Three variables: add F_z(x₀, y₀, z₀)(z − z₀) to L and F_z dz to dF.

— Linear approximation and differential

Geometrically, z = L(x, y) is the tangent plane to the surface z = F(x, y) at (x₀, y₀). Close to that point the plane and the surface are nearly the same, so L gives good estimates and dF approximates the actual change ΔF.

Worked example 1: a tangent plane estimate

Find the linear approximation of F(x, y) = x²y + 3y at (1, 2) and use it to estimate F(1.1, 1.9). Working: F(1, 2) = 2 + 6 = 8. F_x = 2xy = 4 at (1, 2); F_y = x² + 3 = 4 at (1, 2). So L(x, y) = 8 + 4(x − 1) + 4(y − 2) = 4x + 4y − 4. Then L(1.1, 1.9) = 4.4 + 7.6 − 4 = 8.0. Exactly, F(1.1, 1.9) = 1.21 × 1.9 + 5.7 = 2.299 + 5.7 = 7.999.

Worked example 2: change in the volume of a cylinder

A cylinder has r = 5 cm and h = 10 cm. The radius increases by 0.1 cm while the height decreases by 0.2 cm. Estimate the change in volume. Working: V = πr²h, so dV = V_r dr + V_h dh = 2πrh dr + πr² dh = 2π(5)(10)(0.1) + π(25)(−0.2) = 10π − 5π = 5π cm³ (about 15.7 cm³).

Worked example 3: a three-variable differential

For w = xyz, dw = yz dx + xz dy + xy dz. Dividing by w = xyz gives dw/w = dx/x + dy/y + dz/z. So if each edge of a box is measured with an error of at most 2%, the volume has an error of at most about 2% + 2% + 2% = 6%.

The function of function rule

If W(x, y) has partial derivatives and x and y are differentiable functions of one variable t, then W is a function of t alone and dW/dt = (∂W/∂x)(dx/dt) + (∂W/∂y)(dy/dt). If instead x = x(s, t) and y = y(s, t), then ∂W/∂s = W_x x_s + W_y y_s and ∂W/∂t = W_x x_t + W_y y_t. A tree diagram keeps track: follow every branch from W down to the final variable, multiply along each branch and add the branches.

Tree diagram for W = W(x, y) with x = x(t), y = y(t)

  • Branch through x Multiply ∂W/∂x by dx/dt.
    • W → x → t
  • Branch through y Multiply ∂W/∂y by dy/dt.
    • W → y → t
  • Add the branches dW/dt = W_x x′(t) + W_y y′(t).

Worked example 4: verifying the chain rule

Let W = x²y + y³ with x = cos t, y = sin t. By the rule: W_x = 2xy, W_y = x² + 3y², dx/dt = −sin t, dy/dt = cos t, so dW/dt = 2 cos t sin t (−sin t) + (cos²t + 3 sin²t) cos t = −2 sin²t cos t + cos³t + 3 sin²t cos t = cos t (cos²t + sin²t) = cos t. Directly: W = cos²t sin t + sin³t = sin t (cos²t + sin²t) = sin t, whose derivative is cos t. The two agree.

Worked example 5: a change to polar coordinates

Let W = x² + y², x = r cos θ, y = r sin θ. Working: W_x = 2x, W_y = 2y. ∂W/∂r = 2x cos θ + 2y sin θ = 2r cos²θ + 2r sin²θ = 2r. ∂W/∂θ = 2x(−r sin θ) + 2y(r cos θ) = −2r² cos θ sin θ + 2r² sin θ cos θ = 0. This matches W = r², which does not depend on θ.

Homogeneous functions

F(x, y) is homogeneous of degree p if F(λx, λy) = λᵖ F(x, y) for all suitably restricted λ, x, y (restricted so that we never divide by zero). The same definition with three variables uses F(λx, λy, λz) = λᵖ F(x, y, z). Homogeneous functions return in Chapter 10, in homogeneous differential equations.

FunctionF(λx, λy)Conclusion
x³ + 4x²y − y³λ³(x³ + 4x²y − y³)homogeneous, degree 3
(x² + y²)/(x + y)λ²(x² + y²)/[λ(x + y)]homogeneous, degree 1
√x + √yλ^(1/2)(√x + √y), λ > 0homogeneous, degree 1/2
sin(y/x)sin(λy/λx) = sin(y/x)homogeneous, degree 0
x² + yλ²x² + λynot homogeneous

Euler's theorem

If F(x, y) is homogeneous of degree p with continuous partial derivatives, then x ∂F/∂x + y ∂F/∂y = pF. For three variables: x F_x + y F_y + z F_z = pF.

— Euler's theorem on homogeneous functions

Worked example 6: verifying Euler's theorem

F = x³ + 4x²y − y³ has degree 3. F_x = 3x² + 8xy and F_y = 4x² − 3y². So xF_x + yF_y = 3x³ + 8x²y + 4x²y − 3y³ = 3x³ + 12x²y − 3y³ = 3(x³ + 4x²y − y³) = 3F, as the theorem says.

Worked example 7: when u itself is not homogeneous

If u = tan⁻¹[(x³ + y³)/(x − y)], show that x u_x + y u_y = sin 2u. Working: u is not homogeneous, but f = tan u = (x³ + y³)/(x − y) is homogeneous of degree 3 − 1 = 2. By Euler, x f_x + y f_y = 2f. Since f = tan u, f_x = sec²u · u_x and f_y = sec²u · u_y. So sec²u (x u_x + y u_y) = 2 tan u, giving x u_x + y u_y = 2 tan u cos²u = 2 sin u cos u = sin 2u. Look for a function of u that is homogeneous; this avoids long direct differentiation.

Key takeaways: L(x, y) = F + F_x(x − x₀) + F_y(y − y₀) is the tangent plane; dF = F_x dx + F_y dy (+ F_z dz); for products, relative errors add; chain rule: add over every path in the tree diagram; F is homogeneous of degree p if F(λx, λy) = λᵖF; Euler: xF_x + yF_y = pF, applied to a homogeneous function of u when u is not homogeneous.

Check your understanding

  1. 1. The linear approximation of F(x, y) = xy at (2, 3) is

    1. 3x + 2y − 6
    2. 3x + 2y
    3. 2x + 3y − 6
    4. 6 + x + y
    Show answer

    Answer: A. F(2, 3) = 6, F_x = y = 3, F_y = x = 2. L = 6 + 3(x − 2) + 2(y − 3) = 3x + 2y − 6.

  2. 2. The total differential of F(x, y) = x²y³ is

    1. 2xy³ + 3x²y²
    2. 6xy² dx dy
    3. 2xy³ dx + 3x²y² dy
    4. 2x dx + 3y² dy
    Show answer

    Answer: C. dF = F_x dx + F_y dy = 2xy³ dx + 3x²y² dy.

  3. 3. If W = x² + y² with x = t and y = t², then dW/dt is

    1. 2t + 2t²
    2. 2t + 4t³
    3. 2t + 2t³
    4. 4t³
    Show answer

    Answer: B. dW/dt = 2x(1) + 2y(2t) = 2t + 4t³. Check: W = t² + t⁴, whose derivative is 2t + 4t³.

  4. 4. The degree of the homogeneous function F(x, y) = (x³ + y³)/(x² + y²) is

    1. 5
    2. 3
    3. 2
    4. 1
    Show answer

    Answer: D. F(λx, λy) = λ³(x³ + y³)/[λ²(x² + y²)] = λ¹F(x, y), so the degree is 1.

  5. 5. If F(x, y, z) is homogeneous of degree 4, then xF_x + yF_y + zF_z equals

    1. F/4
    2. 4F
    3. F⁴
    4. 0
    Show answer

    Answer: B. Euler's theorem for three variables gives xF_x + yF_y + zF_z = pF = 4F.

Privacy · Terms · Refunds · Delivery