Saturday, May 11, 2024

Linear approximations for functions of two variables

 Goal: Use the tangent line to approximate a function of two variables at a point.

Linear approximations

Let's recall that the linear approximation for a function of one variable f(x) at a point x = a  is given by:


Here is the diagram of the linear approximation of a function of one variable:


When we look at the diagram, for values close to x = a., the tangent line is confounded with the curve of the function represented by y =f(x).

The tangent line can be used as an approximation to the function y = f(x) for values of x reasonably close to x = a. 

The concept is the same for a function of two variables. The tangent line is replaced by the tangent plane.

Definition

Given the function  z = f(x, y) with partial derivatives at the point (x₀, yₒ), the linear approximation of at the point (x₀, yₒ) is given by the equation:


We can notice that this equation represents the tangent line to the surface z = f(x,y) at the point  (x₀, yₒ). It holds all the points (f(x,y) , (x,y)) close to (f(x₀, y₀), (x₀,y₀)) for values of (x,y) close to (x₀,y₀).


Exemple

Given the function: 

Approximate the point f(2.1, 2.9) using the point (2, 3) for (x₀, y₀). What is the approximate value of 


f(2.1, 2.9 to 4 decimal places.

Solution

Let's apply the formula of the equation of the linear approximation:


Let's calculate f(x₀, y₀), fₓ(x₀, y₀), fy(x₀, y₀) for x₀ = 2 and y₀ = 3.


















Let's substitute all the elements in the equation of the linear approximation above:

L(x, y) = 4 - 2(x - 2) - 3/4(y - 3)

Let's substitute x =2.1 and y = 2.9 into L(x, y):







The approximate value of f(2.1, 2.9) to 4 decimal places is:






This corresponds to an error of approximation of 0.2%.

Practice

Given the function 

Approximate f(4.1, 0.9)  using the point (4, 1) for (x₀, y₀). What is the approximation of f(4.1, 0.9) using 4 decimal places?

No comments: