Skip to main content

Sample post - critical points and tangent planes

This post is from the summer when the innovation lab is not open so the 3d object is a cucumber from my garden rather than a 3d printed object!

The main ideas

For functions of a single variable the tangent line is the line that is the "closest linear approximation" to the function. For a function \(f(x)\) the tangent to the function at the point \(a,f(a)\) is the line through that point with slope \(f'(a)\). So if we use point slope form the tangent line has the equation $$(y-f(a))=f'(a)(x-a)$$ or in standard form $$y=f'(a)x+(f(a)-f'(a)a).$$
There are many reasons we might be interested in the tangent line to a graph. One of them is to find critical points of that graph. Critical points are points where the tangent line is vertical or horizontal and these are points where we can find local (or global) maximum and minimum values. A tangent line is horizontal if the derivative is zero and it is vertical if the derivative is not defined. (There are other options too!)

These same kind of ideas apply to functions of 2 variables (or more) but now we have tangent planes rather than tangent lines. If \(f(x,y)\) is a function of two variables then $$f_x(a,b)=\lim_{h\to 0}\frac{f(a+h,b)-f(a,b)}{h}$$ is the partial derivative of \(f\) with respect to \(x\). The partial derivative of \(f\) with respect to \(y\) is just a little different $$f_y(a,b)=\lim_{h\to 0}\frac{f(a,b+h)-f(a,b)}{h}$$

To find the equation for the tangent plane remember that the equation for a plane is $$A(x−x_0)+B(y−y_0)+C(z−z_0)=0.$$ We know that the point \((a,b,f(a,b))\) is on the tangent plane so our plane has the form $$A(x−a)+B(y−b)+C(z−f(a,b))=0$$ or $$z=f(a,b)-\frac{A}{C}(x-a)-\frac{B}{C}(y-b).$$ When \(y=b\) the tangent plane should look like the tangent line and so \(\frac{A}{C}=f_x(a,b)\). Similarly, when \(x=a\) the tangent plane should look like the tangent line and so \(\frac{A}{C}=f_y(a,b).\) Then the equation of the tangent plane is $$z=f(a,b)-f_x(a,b)(x-a)-f_y(a,b)(y-b)$$ and one of the places we look for critical points of \(f(x,y)\) is points where the plane is horizontal.

Looking at an example

It isn't exactly true, but the end of a cucumber
is almost the graph of the paraboliod $$z=4-2(x^2+y^2)$$ This is a nice example to think about because we can clearly see a critical point - it is at the top and this is a global maximum for the cucumber. There are many other examples where we can see places where the tangent plane is horizontal, for example the graph of $$z=4-2(x^2-y^2),$$ but another nice thing about the cucumber is we can see the tangent plane at the critical point. In fact, balancing an envelope on the top of the cucumber is the tangent plane at that critical point.
(Try to imagine that the envelope is perfectly straight!) It might seem a little strange but at the top of the cucumber, the envelope is the plane that most closely approximates the cucumber. If we moved the envelope down the side of the cucumber we would need to change the angle of the envelope.

It would be harder to do this for the function $$z=4-2(x^2-y^2),$$ since the critical point at \((0,0,4)\) is not a local maximum or a local minimum. So I was very happy to have an example where I could clearly see the tangent plane.

The math for this example

In this example \(f(x,y)=4-2(x^2-y^2)\) so $$\begin{aligned}f_x(a,b)&=\lim_{h\to 0}\frac{4-2((a+h)^2+b^2)-4+2(a^2+b^2)}{h}\\ &=\lim_{h\to 0}\frac{4-2(a+h)^2-2b^2-4+2a^2+2b^2}{h}\\ &=\lim_{h\to 0}\frac{2(-(a+h)^2+a^2)}{h}\\ &=\lim_{h\to 0}\frac{2(-a^2-2ah-h^2+a^2)}{h}\\ &=\lim_{h\to 0}\frac{2(-2ah-h^2)}{h}\\ &=\lim_{h\to 0}2(-2a-h)=-4a\\ \end{aligned}$$ The computation for \(f_y\) is similiar so \(f_y(a,b)=-4b\).

So the tangent plane for this function \(f(x,)\) is horizontal when \(-4a=0\) and \(-4b=0\). This happens when both \(a\) and \(b\) are zero. Since the function is decreasing as we move away from the point \(0,0\) this is a global maximum. (An this agrees with our experience of cucumbers.)

Popular posts from this blog

The Approximation of a Solid of Revolution

Most math teachers I've had have been able to break down Calculus into two very broad categories: derivatives and integrals. What is truly amazing, is how much you can do with these two tools. By using integration, it is possible to approximate the shape of a 2-D function that is rotated around an axis. This solid created from the rotation is known as a solid of revolution. To explain this concept, we will take a look at the region bounded by the two functions: \[ f(x) = 2^{.25x} - 1 \] and \[ g(x) = e^{.25x} - 1 \] bounded at the line y = 1. This region is meant to represent a cross section of a small bowl. While it may not perfectly represent this practical object, the approximation will be quite textured, and will provide insight into how the process works. The region bounded by the two functions can be rotated around the y-axis to create a fully solid object. This is easy enough to talk about, but what exactly does this new solid look like? Is...

Solids of Revolution Revisited

Introduction In my previous blog post on solids of revolution, we looked at the object formed by rotating the area between \(f(x) = -\frac{1}{9}x^2+\frac{3}{4} \) and \( g(x)=\frac{1}{2}-\frac{1}{2}e^{-x} \) around the \( x \) axis and bounded by \( x = 0 \) and \( x = 1.5 \). When this solid is approximated using 10 washers, the resulting object looks like this: When I was looking back over the 3D prints I’d created for this course, I noticed that the print for this example was the least interesting of the bunch. Looking at the print now, I feel like the shape is rather uninteresting. The curve I chose has such a gradual slope that each of the washers are fairly similar in size and causes the overall shape to just look like a cylinder. Since calculating the changes in the radiuses of the washers is a big part of the washer method, I don’t think this slowly decreasing curve was the best choice to illustrate the concept. The reason I had done this o...

Finding the Center of Mass of a Toy Boat

Consider two people who visit the gym a substantial amount. One is a girl who loves to lift weights and bench press as much as she possibly can. The other is a guy who focuses much more on his legs, trying to break the world record for squat weight. It just so happens that these two are the same height and have the exact same weight, but the center of their weight is not in the same part of their body. This is because the girl has much more weight in the top half of her body and the boy has more weight in the bottom half. This difference in center of mass is a direct result of the different distributions of mass throughout both of their bodies. Moments and Mass There are two main components to finding the center of mass of an object. The first, unsurprisingly, is the mass of the whole object. In this case of the boat example, the mass will be uniform throughout the entire object. This is ideal a majority of the time as it drastically reduces the difficulty...