10/8/2021

5.1 Critical Valuesap Calculus

97

All local extrema occur at critical points of a function — that’s where the derivative is zero or undefined (but don’t forget that critical points aren’t always local extrema). So, the first step in finding a function’s local extrema is to find its critical numbers (the x-values of the critical points).

Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. The critical values of a quadratic inequality are also the x-intercepts of the corresponding quadratic equation. This tutorial provides a great explanation of the critical values of a quadratic inequality! These three x-values are critical numbers of f.Additional critical numbers could exist if the first derivative were undefined at some x-values, but because the derivative, 15x 4 – 60x 2, is defined for all input values, the above solution set, 0, –2, and 2, is the complete list of critical numbers. Calculus requires knowledge of other math disciplines. To make studying and working out problems in calculus easier, make sure you know basic formulas for geometry, trigonometry, integral calculus, and differential calculus.

Here’s an example: Find the critical numbers of f (x) = 3x5– 20x3, as shown in the figure.

f (x) = 3x5– 20x3.”/>

Here’s what you do:

  1. Find the first derivative of f using the power rule.

  2. Set the derivative equal to zero and solve for x.

These three x-values are critical numbers of f. Additional critical numbers could exist if the first derivative were undefined at some x-values, but because the derivative, 15x4– 60x2, is defined for all input values, the above solution set, 0, –2, and 2, is the complete list of critical numbers. Because the derivative of f equals zero at these three critical numbers, the curve has horizontal tangents at these numbers. In the figure, you can see the little horizontal tangent lines drawn where x = –2 and x = 2. The third horizontal tangent line where x = 0 is the x-axis.

A curve has a horizontal tangent line wherever its derivative is zero, namely, at its stationary points. A curve will have horizontal tangent lines at all of its local mins and maxes (except for sharp corners) and at all of its horizontal inflection points.

Now that you’ve got the list of critical numbers, you need to determine whether peaks or valleys or inflection points occur at those x-values. You can do this with either the first derivative test or the second derivative test. You may be wondering why you have to test the critical numbers when you can see where the peaks and valleys are by just looking at the graph in the figure — which you can, of course, reproduce on your graphing calculator. Good point. Okay, so this problem — not to mention countless other problems you’ve done in math courses — is somewhat contrived and impractical. So what else is new?

In order to develop a general method for classifying the behavior of a function of two variables at its critical points, we need to begin by classifying the behavior of quadratic polynomial functions of two variables at their critical points.

To see why this will help us, consider that the quadratic approximation of a function of two variables (its 2nd-degree Taylor polynomial) shares the same first and second partials as the function it approximates at the chosen point of tangency (or center point). Since sharing the same second partials means the two surfaces will share the same concavity (or curvature) at the critical point, this causes these quadratic approximation surfaces to share the same behavior as the function (z = f(x, y)) that they approximate at the point of tangency. In other words, if the original function has a relative maximum at this point, so will the quadratic approximation. If the original function has a relative minimum at this point, so will the quadratic approximation, and if the original function has a saddle point at this point, so will the quadratic approximation.

Now there are really three basic behaviors of a quadratic polynomial in two variables at a point where it has a critical point. It will fit one of the following three forms, often being a transformation of one of the following functions.

  1. A sum of two squared terms, like (z = x^2 + y^2), producing a paraboloid that opens up and has a relative (absolute) minimum at its vertex. See the plot on the left side of Figure (PageIndex{4}).
  2. The negative of a sum of two squared terms, like (z = -left(x^2 + y^2right)), producing a paraboloid that opens down and has a relative (absolute) maximum at its vertex. See the plot on the right side of Figure (PageIndex{4}).
  3. The difference of two squared terms, like (z = f(x, y) = x^2 - y^2) or (z = f(x, y) = y^2 - x^2), producing a saddle with a saddle point at its critical point. See Figure (PageIndex{3}).

Figure (PageIndex{4}): (z = x^2 + y^2) has an absolute minimum of (0) at ( (0,0)), while (z = -(x^2 + y^2)) has an absolute maximum of (0) at ( (0,0)),

Example (PageIndex{1}): Classifying the critical points of a function

5.1

Use completing the square to identify local extrema or saddle points of the following quadratic polynomial functions:

  1. (f(x,y) = x^2 - 6x + y^2 + 10y + 20)
  2. (f(x,y) = 12 - 3x^2 - 6x - y^2 + 12y)
  3. (f(x,y) = x^2 + 8x - 2y^2 + 16y)
  4. (f(x,y) = x^2 + 6xy + y^2)

Solution

a. To determine the critical points of this function, we start by setting the partials of (f) equal to (0). [ begin{align*} text{Set}quad f_x(x,y) &= 2x -6 = 0 & implies x &= 3 text{and}quad f_y(x,y) &= 2y + 10 = 0 & implies y &= -5 end{align*} ]We obtain a single critical point with coordinates ( (3, -5) ). Next we need to determine the behavior of the function (f) at this point.

Completing the square, we get: [begin{align*} f(x,y) &= x^2 - 6x + y^2 + 10y + 20 &= x^2 - 6x + 9 + y^2 + 10y + 25 + 20 - 9 - 25 &= (x - 3)^2 + (y + 5)^2 - 14 end{align*}]Notice that this function is really just a translated version of (z = x^2 + y^2), so it is a paraboloid that opens up with its vertex (minimum point) at the critical point ( (3, -5) ). We can argue that it has an absolute minimum value of (-14) at the point ( (3, -5) ), since we are adding squared terms to (-14) and thus cannot get a value less than (-14) for any values of (x) and (y), while we do obtain this minimum value of (-14) at the vertex point ( (3, -5) ).

b. Setting the partials of (f) equal to (0), we obtain: [ begin{align*} text{Set}quad f_x(x,y) &= -6x -6 = 0 & implies x &= -1 text{and}quad f_y(x,y) &= -2y + 12 = 0 & implies y &= 6 end{align*} ]We obtain a single critical point with coordinates ( (-1, 6) ). Next we need to determine the behavior of the function (f) at this point.

To complete the square here, we first need to factor out the factors of the squared terms. Doing this and reordering the terms some gives us: [begin{align*} f(x,y) &= 12 - 3x^2 - 6x - y^2 + 12y &= - 3left(x^2 + 2xquadquadright) - 1left(y^2 - 12y quadquadright) + 12 &= -3left(x^2 + 2x + 1right) - 1left(y^2 - 12y +36right) + 12 +3+36 &= 51 - 3(x + 1)^2 - (y - 6)^2 end{align*}]Notice that this function is an elliptic paraboloid that opens down with its vertex (maximum point) at the critical point ( (-1, 6) ). We can argue that it has an absolute maximum value of (51) at the point ( (-1, 6) ), since we are subtracting squared terms from (51) and thus cannot get a value more than (51) for any values of (x) and (y), while we do obtain this minimum value of (51) at the vertex point ( (-1, 6) ).

c. Setting the partials of (f) equal to (0), we obtain: [ begin{align*} text{Set}quad f_x(x,y) &= 2x + 8 = 0 & implies x &= -4 text{and}quad f_y(x,y) &= -4y + 16 = 0 & implies y &= 4 end{align*} ]This gives us a critical point with coordinates ( (-4, 4) ). To determine if (f) has a local extremum or saddle point at this point, we complete the square.

Factoring out (-2) from the (y)-squared term gives us: [begin{align*} f(x,y) &= x^2 + 8x - 2y^2 + 16y &= x^2 + 8x +16 - 2left(y^2 - 8y + 16right) - 16 + 32 &= (x + 4)^2 - 2(y - 4)^2 +16end{align*}]Since one squared term is positive and one is negative, we see that this function has the form of (z = x^2 - y^2) and so it has a saddle point at its critical point. That is, (f) has a saddle point at ( (-4, 4, 16) ).

d. Setting the partials of (f) equal to (0), we get: [ begin{align*} text{Set}quad f_x(x,y) &= 2x + 6y = 0 & text{and}quad f_y(x,y) &= 6x + 2y = 0 & implies y &= -3x end{align*} ]Substituting (-3x) into the first equation for (y) gives us, [begin{align*}2x + 6(-3x) &= 0 -16x &= 0 x &= 0end{align*}]Since (y = -3x), we have ( y = -3(0) = 0), so the critical point of (f) is ( (0,0) ). To determine the behavior of (f) at this critical point, we complete the square.

[begin{align*} f(x,y) &= x^2 + 6xy + y^2 &= (x^2 + 6xy + 9y^2) + y^2 - 9y^2 &= (x + 3y)^2 - 8y^2 end{align*}]As this produces a difference of squares with one positive squared term and the other a negative squared term, we see that (f) takes a form similar to (z = x^2 - y^2) and will have a saddle point at ( (0, 0, 0) ).

Now let's consider the quadratic approximation to a function (z = f(x, y)) centered at a critical point ( (x_0, y_0) ) of this function.

[Q(x, y) = f (x_0, y_0) + f_x(x_0, y_0) (x - x_0) + f_y(x_0, y_0) (y - y_0) + frac{f_{xx}(x_0, y_0)}{2}(x-x_0)^2 + f_{xy}(x_0, y_0)(x-x_0)(y-y_0) + frac{f_{yy}(x_0, y_0)}{2}(y-y_0)^2]

But, since the point ( (x_0, y_0) ), in this case, is a critical point of (f), we know that (f_x(x_0, y_0) = 0) and (f_y(x_0, y_0) = 0).

This allows us to simplify (Q(x, y)) to just:

5.1 Critical Valuesap Calculus 2nd Edition

[Q(x, y) = f (x_0, y_0) + frac{f_{xx}(x_0, y_0)}{2}(x-x_0)^2 + f_{xy}(x_0, y_0)(x-x_0)(y-y_0) + frac{f_{yy}(x_0, y_0)}{2}(y-y_0)^2]

Now we need to complete the square on this quadratic polynomial in two variables to learn how we can classify the behavior of this function at this critical point. Remember that the original function will share the same behavior (max, min, saddle point) as this 2nd-degree Taylor polynomial at this critical point.

To make this process easier, let's make some substitutions. Let's choose to let (u = x - x_0) and (v = y - y_0),

and let [begin{align*} a &= frac{f_{xx}(x_0, y_0)}{2}, b &= f_{xy}(x_0, y_0), c &= frac{f_{yy}(x_0, y_0)}{2} ,text{and} d &= f (x_0, y_0) end{align*}]

5.1 critical valuesap calculus 14th edition

Then we need to complete the square on the polynomial: [ Q(x,y) = au^2 +buv + cv^2 + d]

Completing the square:

First we factor out the coefficient of (u^2): [= aleft[ u^2 + frac{b}{a}uv + frac{c}{a}v^2right] + d]

Next, we complete the square using the first two terms: [= aleft[ left(u^2 + frac{b}{a}uv + left(frac{b}{2a}vright)^2right) + frac{c}{a}v^2 - left(frac{b}{2a}vright)^2 right] + d]

Rewriting the perfect square trinomial as the square of a binomial and combining the (v^2) terms yields:

[begin{align*} &= aleft[ left(u+ frac{b}{2a}vright)^2 + left(frac{c}{a} - frac{b^2}{4a^2}right)v^2 right] + d
&= aleft[ left(u+ frac{b}{2a}vright)^2 + left(frac{4ac}{4a^2} - frac{b^2}{4a^2}right)v^2 right] + d
&= aleft[ left(u+ frac{b}{2a}vright)^2 + left(frac{4ac-b^2}{4a^2}right)v^2 right] + d end{align*}]

Note that the shape of this function's graph depends on the sign of the coefficient of (v^2). And the sign of this coefficient is determined only by its numerator, as the denominator is always positive (being a perfect square). This expression, (4ac-b^2), is called the discriminant, as it helps us discriminate (tell the difference between) which behavior the function has at this critical point.

If (D = 4ac-b^2gt 0), then the two squared terms inside the brackets are both positive, and

5.1 Critical Valuesap Calculus Transcendentals

  • if (a = frac{f_{xx}(x_0, y_0)}{2} gt 0), the function (f) opens upwards with a local minimum at the critical point ( (x_0, y_0) ). Note it would be similar to the form, (z = x^2 + y^2).
  • if (a = frac{f_{xx}(x_0, y_0)}{2} lt 0), the function (f) opens downwards with a local maximum at the critical point ( (x_0, y_0) ). Note it would be similar to the form, (z = -left(x^2 + y^2right)).

If (D = 4ac-b^2 lt 0), then either

  • the two squared terms inside the brackets have opposite signs (meaning (f) is concave up along a line parallel to the (x)-axis and concave down along a line parallel to the (y)-axis, or vice-versa) or
  • the (b^2) term, representing the square of the mixed partial (f_{xy}(x_0, y_0)), is larger than the positive product of the two 2nd-partials (f_{xx}(x_0, y_0)) and (f_{yy}(x_0, y_0)). This means that even if the surface is concave up in both (x)- and (y)-directions, or concave down in both (x)- and (y)-directions, a large mixed partial can offset these and cause the surface to have a saddle point at the point ((x_0, y_0)).

In either case, the quadratic polynomial will be in the form of (z = x^2 - y^2) or (z = y^2 - x^2) (i.e., it will be the difference of two squared terms), so we get a saddle point at the critical point ( (x_0, y_0) ).

But if (D = 4ac-b^2 = 0), the quadratic polynomial reduces to (Q(x,y) = aleft(u+ frac{b}{2a}vright)^2 + d), whose graph is a parabolic cylinder, so the behavior of the function is not clear at the critical point ( (x_0, y_0) ).

Now remembering the values of the constants (a), (b), and (c) from above, we see that: [begin{align*} D(x_0, y_0) &= 4frac{f_{xx}(x_0, y_0)}{2}frac{f_{yy}(x_0, y_0)}{2} - big(f_{xy}(x_0, y_0)big)^2 &= f_{xx}(x_0, y_0)f_{yy}(x_0, y_0) - big(f_{xy}(x_0, y_0)big)^2 end{align*}]

5.1 Critical Valuesap Calculus 14th Edition

This formula is called the Second Partials Test, and it can be used to classify the behavior of any function at its critical points, as long as its second partials exist there and as long as the value of this discriminate is not zero.