Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Tangent Planes & Derivatives of R2 to R Functions: Understanding & Finding Tangents, Lecture notes of Calculus

The concept of finding tangent planes to the graph of a function f(x, y) from R2 to R. how to determine if a plane is tangent to the graph of a function at a given point, and provides the definition of a differentiable function. The document also includes an example of how to show that the graphs of two functions are tangent at a point.

What you will learn

  • How can we determine if the graphs of two functions are tangent at a point?
  • What is the definition of a differentiable function?
  • How can we find the tangent plane to the graph of a function at a given point?
  • What is the role of the derivative in finding the tangent plane to the graph of a function?
  • What is the definition of a tangent plane to the graph of a function from R2 to R?

Typology: Lecture notes

2021/2022

Uploaded on 09/12/2022

explain
explain 🇺🇸

4

(2)

230 documents

1 / 11

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Figure 1: Trying to find the slope of a graph
Math 8
Fall 2019
Tangent Approximations and Differentiability
We have seen how to find derivatives of functions from Rto Rand to Rn.
What should the derivative of a function from Rnto Rbe?
Our first answer might be that the derivative should be the slope. How-
ever, it’s not that simple.
Figure 1 shows the graph of the function f(x, y) = x2+y2. We can try
to find the slope of this graph at some point by looking at a path on the
graph going through that point and finding the slope of the path; that is,
by finding the slope of the tangent line to the path, as (vertical) rise over
(horizontal) run. The two red curves in Figure 1 are paths going through the
same point, and the yellow lines are the tangent lines to those curves at that
point. One line is steeper than the other. The graph has different slopes in
different directions.
Consider the plane z=x. The y-axis (z= 0, x= 0), which is horizontal,
lies in that plane. So does the line z=x,y= 0, which makes a 45 degree
angle with the xy-plane. In one direction, the slope is 0; in another, it is 1.
1
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Tangent Planes & Derivatives of R2 to R Functions: Understanding & Finding Tangents and more Lecture notes Calculus in PDF only on Docsity!

Figure 1: Trying to find the slope of a graph

Math 8 Fall 2019 Tangent Approximations and Differentiability

We have seen how to find derivatives of functions from R to R and to Rn. What should the derivative of a function from Rn^ to R be? Our first answer might be that the derivative should be the slope. How- ever, it’s not that simple. Figure 1 shows the graph of the function f (x, y) = x^2 + y^2. We can try to find the slope of this graph at some point by looking at a path on the graph going through that point and finding the slope of the path; that is, by finding the slope of the tangent line to the path, as (vertical) rise over (horizontal) run. The two red curves in Figure 1 are paths going through the same point, and the yellow lines are the tangent lines to those curves at that point. One line is steeper than the other. The graph has different slopes in different directions. Consider the plane z = x. The y-axis (z = 0, x = 0), which is horizontal, lies in that plane. So does the line z = x, y = 0, which makes a 45 degree angle with the xy-plane. In one direction, the slope is 0; in another, it is 1.

We could decide to take the slope in whatever direction is steepest. In the case of the plane z = x, then, we would say the slope is 1. However, that is not a very satisfying solution. The plane z = y also has slope 1 in its steepest direction. However, the two planes z = x and z = y do not slant in the same direction. We would like graphs passing through the same point with the same derivative to be tangent to each other. We want the derivative of a function to tell us about the slope of its graph in every possible direction.

For functions from R to R, the derivative gives us a tangent line. For functions from R^2 to R, the derivative should give us a tangent plane. Look- ing at Figure 1, it seems that the plane containing the two yellow lines should be tangent to the graph of f , and, in fact, it is. A (non-vertical) line in R^2 is the graph of a function `(x) = ax + b; the slope is determined by a. If this line is tangent to the graph of f at some point, then the derivative of f at that x-value is f ′(x) = a. In the same way, a (non-vertical) plane in R^3 is the graph of a function P(x, y) = ax + by + d; the slope in every direction is determined by a and b. If this plane is tangent to the graph of f at some point, we will say the derivative of f at that (x, y)-value is f ′(x, y) = 〈a, b〉.

To finish the story, we need to answer three questions.

What does it mean for a plane to be tangent to the graph of a function?

If the graph of f does have a tangent plane at a given point, how can we find it?

What about derivatives of functions from R^3 to R? Or functions from R^2 to R^2? (A useful example: f (x, y) = (r, θ), where r and θ are the polar coordinates of the point with rectangular coordinates (x, y).) Or, in general, functions from Rm^ to Rn?

In this handout, we will answer the first question and, to a certain extent, the third question. We will see how to answer the second question very soon.

The intuition from Figure 1 might suggest that a plane containing two different lines tangent to the graph of f at some point must be tangent to

So what does it mean for the plane

z = ax + by + d

to be tangent to the surface z = f (x, y)

at some point (x 0 , y 0 , z 0 ) that is on both the plane and the surface? We answer this questions for functions from R to R by defining the slope of the graph to be the limit of slopes of secant lines, and then saying a line is tangent to the graph of they have the same slope. More precisely, to find the slope of the graph of f at (x 0 , f (x 0 )), we look at slopes of secant lines with one endpoint (x 0 , f (x 0 )) and the other endpoint (x, f (x)), and take the limit as x → x 0 :

f ′(x 0 ) = lim x→x 0

f (x) − f (x 0 ) x − x 0

We will do something like this, but it’s not quite this simple. We have already seen that the slopes of a surface in different directions are likely to be different. We can define the slope of a secant line with endpoints (x 0 , y 0 , f (x 0 , y 0 )) and (x, y, f (x, y)) as (vertical) rise over (horizontal) run, where the run is the distance in the xy-plane between the points (x 0 , y 0 ) and (x, y).

slope =

f (x, y) − f (x 0 , y 0 ) √ (x − x 0 )^2 + (y − y 0 )^2

f (x, y) − f (x 0 , y 0 ) |(x, y) − (x 0 , y 0 )|

But then the limit

lim (x,y)→(x 0 ,y 0 )

slope = lim (x,y)→(x 0 ,y 0 )

f (x, y) − f (x 0 , y 0 ) |(x, y) − (x 0 , y 0 )|

probably doesn’t exist, even if the graph of f is a plane.

Try it yourself, with the example f (x, y) = x and (x 0 , y 0 ) = (0, 0). You can check that the limit

lim (x,y)→(x 0 ,y 0 )

f (x, y) − f (x 0 , y 0 ) |(x, y) − (x 0 , y 0 )|

= lim (x,y)→(0,0)

f (x, y) − f (0, 0) |(x, y) − (0, 0)|

= lim (x,y)→(0,0)

x √ x^2 + y^2

does not exist.

However, we still want to use this idea. If a plane is tangent to the graph of f at some point, then in the limit, secant lines of the graph of f and line segments in the plane should have the same slope. We will say this by saying that, in the limit, the difference of the slopes is zero.

(x 0 , y 0 )

z = z 0 = f (x 0 , y 0 ) = P(x 0 , y 0 )

z = P(x, y)

z = f (x, y)

(x, y)

graph of f

graph of P

Suppose that the point (x 0 , y 0 , z 0 ) lies on both the graph of f and the plane z = P(x, y) = ax + by + d.

This means we must have

f (x 0 , y 0 ) = P(x 0 , y 0 ) = z 0.

Taking a point (x, y) close to (x 0 , y 0 ) in the domain of f gives us (red) secant line of the graph of f , with endpoints (x 0 , y 0 , f (x 0 , y 0 )), (x, y, f (x, y)) and slope f ((x, y) − f (x 0 , y 0 ) |(x, y) − (x 0 , y 0 )|

f ((x, y) − z 0 |(x, y) − (x 0 , y 0 )|

and it also gives us a (green) line segment in the plane, with endpoints (x 0 , y 0 , P(x 0 , y 0 ), (x, y, P(x, y)) and slope

P(x, y) − P(x 0 , y 0 ) |(x, y) − (x 0 , y 0 )|

P(x, y) − z 0 |(x, y) − (x 0 , y 0 )|

The difference of these slopes is

f (x, y) − z 0 |(x, y) − (x 0 , y 0 )|

P(x, y) − z 0 |(x, y) − (x 0 , y 0 )|

f (x, y) − P((x, y) |(x, y) − (x 0 , y 0 )|

We use this same definition for functions f : R^3 → R:

f ′(x 0 , y 0 , z 0 ) = 〈a, b, c〉

if and only if there is a constant d such that the graph of the function

T (x, y, z) = ax + by + cz + d = 〈a, b, c〉 · 〈x, y, z〉 + d

is tangent to the graph of f at (x 0 , y 0 , z 0 ), which means

T (x 0 , y 0 , z 0 ) = f (x 0 , y 0 , z 0 ) lim (x,y,z)→(x 0 ,y 0 ,z 0 )

f (x, y, z) − T (x, y, z) |(x, y, z) − (x 0 , y 0 , z 0 )|

We use the same definition for f : Rn^ → R:

f ′(x 0 , y 0 , z 0 ,... ) = 〈a, b, c,... 〉

if and only if there is a constant d such that the graph of the function

T (x, y, z,... ) = ax + by + cz + · · · + d = 〈a, b, c,... 〉 · 〈x, y, z,... 〉 + d

is tangent to the graph of f at (x 0 , y 0 , z 0 ,... ), which means

T (x 0 , y 0 , z 0 ,... ) = f (x 0 , y 0 , z 0 ,... )

lim (x,y,z,... )→(x 0 ,y 0 ,z 0 ,... )

f (x, y, z,... ) − T (x, y, z,... ) |(x, y, z,... ) − (x 0 , y 0 , z 0 ,... )|

For F : Rm^ → Rn, we can set

F (x 1 , x 2 ,... , xm) = (F 1 (x 1 ,... , xm), F 2 (x 1 ,... , xm),... , Fn(x 1 ,... , xm)).

Then we say F is differentiable when F 1 ,... , Fn all are, and we define the derivative of F coordinatewise:

F ′(p 1 , p 2 ,... , pm) =

(F 1 ′(p 1 , p 2 ,... , pm), F 2 ′(p 1 , p 2 ,... , pm),... , F (^) n′(p 1 , p 2 ,... , pm)).

(This is not quite right. This is a vector of vectors, which actually should be arranged into a matrix.)

Example: Show that the graphs of the functions f (x, y) = x^2 − y^2 and P(x, y) = 2x − 4 y + 3 are tangent at the point (1, 2 , −3). What does this say about the derivative of f?

First we check that (1, 2 , −3) is on both graphs:

f (1, 2) = (1)^2 − (2)^2 = 1 − 4 = − 3

P(1, 2) = 2(1) − 4(2) + 3 = 2 − 8 + 3 = − 3.

Now we use the definition of tangent. Here our point is (x 0 , y 0 ) = (1, 2), so we need to check that

lim (x,y)→(x 0 ,y 0 )

f (x, y) − P(x, y) |(x, y) − (x 0 , y 0 )|

= lim (x,y)→(1,2)

f (x, y) − P(x, y) |(x, y) − (1, 2)|

Evaluating the expression inside the limit:

f (x, y) − P(x, y) |(x, y) − (1, 2)|

(x^2 − y^2 ) − (2x − 4 y + 3) √ (x − 1)^2 + (y − 2)^2

x^2 − 2 x + 1 − y^2 + 4y − 4 √ (x − 1)^2 + (y − 2)^2

(x − 1)^2 − (y − 2)^2 √ (x − 1)^2 + (y − 2)^2

(x − 1)^2 √ (x − 1)^2 + (y − 2)^2

(y − 2)^2 √ (x − 1)^2 + (y − 2)^2

Looking at the first piece of this:

(x − 1)^2 √ (x − 1)^2 + (y − 2)^2

(x − 1)^4 √ (x − 1)^2 + (y − 2)^2

(x − 1)^4 (x − 1)^2 + (y − 2)^2

(x − 1)^2

(x − 1)^2 (x − 1)^2 + (y − 2)^2

(x − 1)^2 = |x − 1 |.

(The ≤ step is because the numerator of

(x − 1)^2 (x − 1)^2 + (y − 2)^2

is less than

or equal to the denominator, so the fraction is at most 1.)

In the same way, we have

(y − 2)^2 √ (x − 1)^2 + (y − 2)^2

≤ |y − 2 |,

Pretty much all our derivatives and tangent approximations can be put in the same basket:

For f : R → R, the tangent approximation at x = x 0 is given by a function T (x) = ax + d, and f ′(x 0 ) = a.

(T (x) = f ′(x 0 )(x − x 0 ) + f (x 0 ) = f ′(x 0 ) ︸ ︷︷ ︸ a

x + (−x 0 f ′(x 0 ) + f (x 0 )) )

For ~r : R → Rn, the tangent approximation at t = t 0 is given by a function T~ (t) = t~a + d~, and ~r ′(t 0 ) = ~a.

( T ~(t) = (t − t 0 )~r ′(t 0 ) + ~r(t 0 ) = ~r ′(t 0 ) ︸ ︷︷ ︸ ~a

t + (−t 0 ~r ′(t 0 ) + ~r(t 0 )) )

For f : Rn^ → R the tangent approximation at (x, y, z... ) = (x 0 , y 0 , z 0... ) is given by a function T (x, y, z,... ) = 〈a, b, c,... 〉 ︸ ︷︷ ︸ ~a

· 〈x, y, z,... 〉 + d, and

f ′(x 0 , y 0 , z 0... ) = 〈a, b, c,... 〉. In fact, to complete the parallel, we will have T (x, y, z,... ) = f ′(x 0 , y 0 , z 0... )·〈x − x 0 , y − y 0 , z − z 0 ,... 〉+f (x 0 , y 0 , z 0... ).

In other words: Near a given point, approximate the function f by a function T that equals a constant multiple of the input (input times A), plus a constant D. If the graphs of f and T are tangent, then A is the derivative of f at that point. We can define tangent in the same way in all case:

T (x 0 ) = f (x 0 ) lim x→x 0

f (x) − T (x) |x − x 0 |

where x, f (x), 0, etc. may be scalars or vectors, depending on the domain and range of f. Constant multiple refers to ordinary multiplication, scalar multiplication, or dot product, depending on what kind of function we are talking about.

In fact, there is a way to express all of these as the same kind of multipli- cation, namely matrix multiplication. For F : Rm^ → Rn, this gives a way to express the tangent approximation to F as a constant multiple of the input plus a constant. We will not get into that in Math 8, however.

Note: Our definition of differentiable is different from the textbook’s, and that is because our definition of tangent is different. (The two definitions are equivalent, they are just phrased differently.)

Suppose we define E(x, y) = f (x, y) − P(x, y) to be the error in using P(x, y) as an approximation to f (x, y) near (x 0 , y 0 ). Then our definition of tangent (assuming that f (x 0 , y 0 ) = P(x 0 , y 0 )) is that

lim (x,y)→(x 0 ,y 0 )

E(x, y) |(x, y) − (x 0 , y 0 )|

The textbook’s definition says we can write the error as the sum of two parts E(x, y) = ε 1 (x, y)(x − x 0 ) + ε 2 (x, y)(y − y 0 )

in such a way that

lim (x,y)→(x 0 ,y 0 )

ε 1 (x, y) = 0 and lim (x,y)→(x 0 ,y 0 )

ε 2 (x, y) = 0.

As we said, these two definitions are equivalent, and you may use either one.

In the example on page 8, we had (x 0 , y 0 ) = (1, 2), and our error function E(x, y) = f (x, y) − P(x, y) was computed to be (x − 1)^2 − (y − 2)^2. We can write this as

E(x, y) = (x − 1) ︸ ︷︷ ︸ ε 1 (x,y)

(x − 1) ︸ ︷︷ ︸ (x−x 0 )

  • (−(y − 2)) ︸ ︷︷ ︸ ε 2 (x,y)

(y − 2) ︸ ︷︷ ︸ (y−y 0 )

and check that

lim (x,y)→(1,2)

(x − 1) = 0 and lim (x,y)→(1,2)

(−(y − 2)) = 0.

This worked out nicely for this example. However, suppose we want to show that the graph of P(x, y) = x + y is tangent to the graph of f (x, y) = sin(x + y) at (0, 0). We can find

E(x, y) = f (x, y) − P(x, y) = sin(x + y) − x − y.

It’s hard to see how we should rewrite this in the form ε 1 (x, y)(x − 0) + ε 2 (x, y)(y − 0). It’s also hard to see how to show

lim (x,y)→(0,0)

sin(x + y) − x − y |(x, y) − (0, 0)|

but we do know what we are trying to do.