Extreme Values

Every function that is continuous on a closed interval must have a maximum and a minimum value on the interval. These values may all be the same (y = 2 on [-3,3]); or the function may reach these values more than once (y = sin(x)).

If the function is defined on a closed interval, then the extreme values are either (1) at an endpoint of the interval or (2) at a critical number. This is known as the Extreme Value Theorem. Thus, one way of finding the extreme values is to simply find the value of the function at the endpoints and the critical points and compare these to find the largest and smallest. This is called the Candidates’ Test or the Closed Interval Test. It is a good one to “play” with: do some sketches of the different situation above; discuss why the interval must be closed.

On an open or closed interval, the shapes can change if the first derivative is zero or undefined at the point where two shapes join. In this case the point is a local extreme value of the function – a local maximum or minimum value. Specifically:

  • If the first derivative changes from positive to negative, the shape of the function changes from increasing to decreasing and the point is a local maximum.  If the first derivative changes from negative to positive, the shape of the function changes from decreasing to increasing and the point is a local minimum.

This is a theorem called the First Derivative Test. By finding where the first derivative changes sign and in which direction it changes (positive to negative, or negative to positive) we can locate and identify the local extreme value precisely.

  • Another way to determine if a critical number is the location of a local maximum or minimum is a theorem called the Second Derivative Test.

If the first derivative is zero (and specifically not if it is undefined) and the second derivative is positive, then the graph has a horizontal tangent line and is concave up. Therefore, this is the location of a local minimum of the function.

Likewise, if the first derivative is zero at a point and the second derivative is negative there, the function has a local maximum there.

If both the first and second derivatives are zero at a point, then the second derivative test cannot be used, for example y = x4 at the origin.

The mistake students make with the second derivative test is in not checking that the first derivative is zero. If “justify your answer” is required, students should be sure to show that the first derivative is zero as well as the sign of the second derivative.

In the case where both the first and second derivatives are zero at the same point the function changes direction but not concavity (e.g.  (x) = xat the origin), or changes concavity but not direction (e.g.  (x) = xat the origin).

This is a revised version of a post published on October 22, 2012

Advertisement

Unit 5 – Analytical Applications of Differentiation

Unit 5 covers the application of derivatives to the analysis of functions and graphs. Reasoning and justification of results are also important themes in this unit. (CED – 2019 p. 92 – 107). These topics account for about 15 – 18% of questions on the AB exam and 8 – 11% of the BC questions.

You may want to consider teaching Unit 4 after Unit 5. Notes on Unit 4 are here.

Reasoning and writing justification of results are mentioned and stressed in the introduction to the topic (p. 93) and for most of the individual topics. See Learning Objective FUN-A.4 “Justify conclusions about the behavior of a function based on the behavior of its derivatives,” and likewise in FUN-1.C for the Extreme value theorem, and FUN-4.E for implicitly defined functions. Be sure to include writing justifications as you go through this topic. Use past free-response questions as exercises and also as guide as to what constitutes a good justification. Links in the margins of the CED are also helpful and give hints on writing justifications and what is required to earn credit. See the presentation Writing on the AP Calculus Exams and its handout

Topics 5.1

Topic 5.1 Using the Mean Value Theorem While not specifically named in the CED, Rolle’s Theorem is a lemma for the Mean Value Theorem (MVT). The MVT states that for a function that is continuous on the closed interval and differentiable over the corresponding open interval, there is at least one place in the open interval where the average rate of change equals the instantaneous rate of change (derivative). This is a very important existence theorem that is used to prove other important ideas in calculus. Students often confuse the average rate of change, the mean value, and the average value of a function – See What’s a Mean Old Average Anyway?

Topics 5.2 – 5.9

Topic 5.2 Extreme Value Theorem, Global Verses Local Extrema, and Critical Points An existence theorem for continuous functions on closed intervals

Topic 5.3 Determining Intervals on Which a Function is Increasing or Decreasing Using the first derivative to determine where a function is increasing and decreasing.

Topic 5.4 Using the First Derivative Test to Determine Relative (Local) Extrema Using the first derivative to determine local extreme values of a function

Topic 5.5 Using the Candidates’ Test to Determine Absolute (Global) Extrema The Candidates’ test can be used to find all extreme values of a function on a closed interval

Topic 5.6 Determining Concavity of Functions on Their Domains FUN-4.A.4 defines (at least for AP Calculus) When a function is concave up and down based on the behavior of the first derivative. (Some textbooks may use different equivalent definitions.) Points of inflection are also included under this topic.

Topic 5.7 Using the Second Derivative Test to Determine Extrema Using the Second Derivative Test to determine if a critical point is a maximum or minimum point. If a continuous function has only one critical point on an interval then it is the absolute (global) maximum or minimum for the function on that interval.

Topic 5.8 Sketching Graphs of Functions and Their Derivatives First and second derivatives give graphical and numerical information about a function and can be used to locate important points on the graph of the function.

Topic 5.9 Connecting a Function, Its First Derivative, and Its Second Derivative First and second derivatives give graphical and numerical information about a function and can be used to locate important points on the graph of the function.

Topics 5.10 – 5.11

Optimization is an important application of derivatives. Optimization problems as presented in most textbooks, begin with writing the model or equation that describes the situation to be optimized. This proves difficult for students, and is not “calculus” per se. Therefore, writing the equation has not been asked on AP exams in recent years (since 1983). Questions give the expression to be optimized and students do the “calculus” to find the maximum or minimum values. To save time, my suggestion is to not spend too much time writing the equations; rather concentrate on finding the extreme values.

Topic 5.10 Introduction to Optimization Problems 

Topic 5.11 Solving Optimization Problems

Topics 5.12

Topic 5.12 Exploring Behaviors of Implicit Relations Critical points of implicitly defined relations can be found using the technique of implicit differentiation. This is an AB and BC topic. For BC students the techniques are applied later to parametric and vector functions.


Timing

Topic 5.1 is important and may take more than one day. Topics 5.2 – 5.9 flow together and for graphing they are used together; after presenting topics 5.2 – 5.7 spend the time in topics 5.8 and 5.9 spiraling and connecting the previous topics. Topics 5.10 and 5.11 – see note above and spend minimum time here. Topic 5.12 may take 2 days.

The suggested time for Unit 5 is 15 – 16 classes for AB and 10 – 11 for BC of 40 – 50-minute class periods, this includes time for testing etc.

Finally, were I still teaching, I would teach this unit before Unit 4. The linear motion topic (in Unit 4) are a special case of the graphing ideas in Unit 5, so it seems reasonable to teach this unit first. See Motion Problems: Same thing, Different Context

This is a re-post and update of the third in a series of posts from last year. It contains links to posts on this blog about the differentiation of composite, implicit, and inverse functions for your reference in planning. Other updated post on the 2019 CED will come throughout the year, hopefully, a few weeks before you get to the topic. 


Previous posts on these topics include:

Then There Is This – Existence Theorems

What’s a Mean Old Average Anyway

Did He, or Didn’t He?   History: how to find extreme values without calculus

Mean Value Theorem

Foreshadowing the MVT

Fermat’s Penultimate Theorem

Rolle’s theorem

The Mean Value Theorem I

The Mean Value Theorem II

Graphing

Concepts Related to Graphs

The Shapes of a Graph

Joining the Pieces of a Graph

Extreme Values

Extremes without Calculus

Concavity

Reading the Derivative’s Graph

        Other Asymptotes

Real “Real-life” Graph Reading

Far Out! An exploration

Open or closed Should intervals of increasing, decreasing, or concavity be open or closed?

Others

Lin McMullin’s Theorem and More Gold  The Golden Ratio in polynomials

Soda Cans Optimization video

Optimization – Reflections   

Curves with Extrema?

Good Question 10 – The Cone Problem

Implicit Differentiation of Parametric Equations    BC Topic


Here are links to the full list of posts discussing the ten units in the 2019 Course and Exam Description.

Limits and Continuity – Unit 1  (8-11-2020)

Definition of t he Derivative – Unit 2  (8-25-2020)

Differentiation: Composite, Implicit, and Inverse Function – Unit 3  (9-8-2020)

Contextual Applications of the Derivative – Unit 4   (9-22-2002)   Consider teaching Unit 5 before Unit 4

Analytical Applications of Differentiation – Unit 5  (9-29-2020) Consider teaching Unit 5 before Unit 4 THIS POST

LAST YEAR’S POSTS – These will be updated in coming weeks

2019 – CED Unit 6 Integration and Accumulation of Change

2019 – CED Unit 7 Differential Equations  Consider teaching after Unit 8

2019 – CED Unit 8 Applications of Integration   Consider teaching after Unit 6, before Unit 7

2019 – CED Unit 9 Parametric Equations, Polar Coordinates, and Vector-Values Functions 

2019 CED Unit 10 Infinite Sequences and Series


Analytical Applications of Differentiation – Unit 5

Unit 5 covers the application of derivatives to the analysis of functions and graphs. Reasoning and justification of results are also important themes in this unit. (CED – 2019 p. 92 – 107). These topics account for about 15 – 18% of questions on the AB exam and 8 – 11% of the BC questions.

You may want to consider teaching Unit 4 after Unit 5. Notes on Unit 4 are here.

Reasoning and writing justification of results are mentioned and stressed in the introduction to the topic (p. 93) and for most of the individual topics. See Learning Objective FUN-A.4 “Justify conclusions about the behavior of a function based on the behavior of its derivatives,” and likewise in FUN-1.C for the Extreme value theorem, and FUN-4.E for implicitly defined functions. Be sure to include writing justifications as you go through this topic. Use past free-response questions as exercises and also as guide as to what constitutes a good justification. Links in the margins of the CED are also helpful and give hints on writing justifications and what is required to earn credit. See the presentation  Writing on the AP Calculus Exams and its handout

Topics 5.1

Topic 5.1 Using the Mean Value Theorem While not specifically named in the CED, Rolle’s Theorem is a lemma for the Mean Value Theorem (MVT). The MVT states that for a function that is continuous on the closed interval and differentiable over the corresponding open interval, there is at least one place in the open interval where the average rate of change equals the instantaneous rate of change (derivative). This is a very important existence theorem that is used to prove other important ideas in calculus. Students often confuse the average rate of change, the mean value, and the average value of a function – See What’s a Mean Old Average Anyway?

Topics 5.2 – 5.9

Topic 5.2 Extreme Value Theorem, Global Verses Local Extrema, and Critical Points An existence theorem for continuous functions on closed intervals

Topic 5.3 Determining Intervals on Which a Function is Increasing or Decreasing Using the first derivative to determine where a function is increasing and decreasing.

Topic 5.4 Using the First Derivative Test to Determine Relative (Local) Extrema Using the first derivative to determine local extreme values of a function

Topic 5.5 Using the Candidates’ Test to Determine Absolute (Global) Extrema The Candidates’ test can be used to find all extreme values of a function on a closed interval

Topic 5.6 Determining Concavity of Functions on Their Domains FUN-4.A.4 defines (at least for AP Calculus) When a function is concave up and down based on the behavior of the first derivative. (Some textbooks may use different equivalent definitions.) Points of inflection are also included under this topic.

Topic 5.7 Using the Second Derivative Test to Determine Extrema Using the Second Derivative Test to determine if a critical point is a maximum or minimum point. If a continuous function has only one critical point on an interval then it is the absolute (global) maximum or minimum for the function on that interval.

Topic 5.8 Sketching Graphs of Functions and Their Derivatives First and second derivatives give graphical and numerical information about a function and can be used to locate important points on the graph of the function.

Topic 5.9 Connecting a Function, Its First Derivative, and Its Second Derivative First and second derivatives give graphical and numerical information about a function and can be used to locate important points on the graph of the function.

Topics 5.10 – 5.11

Optimization is important application of derivatives. Optimization problems as presented in most text books, begin with writing the model or equation that describes the situation to be optimized. This proves difficult for students, and is not “calculus” per se. Therefore, writing the equation has not be asked on AP exams in recent years (since 1983). Questions give the expression to be optimized and students do the “calculus” to find the maximum or minimum values. To save time, my suggestion is to not spend too much time writing the equations; rather concentrate on finding the extreme values.

Topic 5.10 Introduction to Optimization Problems 

Topic 5.11 Solving Optimization Problems

Topics 5.12

Topic 5.12 Exploring Behaviors of Implicit Relations Critical points of implicitly defined relations can be found using the technique of implicit differentiation. This is an AB and BC topic. For BC students the techniques are applied later to parametric and vector functions.


Timing

Topic 5.1 is important and may take more than one day. Topics 5.2 – 5.9 flow together and for graphing they are used together; after presenting topics 5.2 – 5.7 spend the time in topics 5.8 and 5.9 spiraling and connecting the previous topics. Topics 5.10 and 5.11 – see note above and spend minimum time here. Topic 5.12 may take 2 days.

The suggested time for Unit 5 is 15 – 16 classes for AB and 10 – 11 for BC of 40 – 50-minute class periods, this includes time for testing etc.

Finally, were I still teaching, I would teach this unit before Unit 4. The linear motion topic (in Unit 4) are a special case of the graphing ideas in Unit 5, so it seems reasonable to teach this unit first. See Motion Problems: Same thing, Different Context

This is a re-post and update of the third in a series of posts from last year. It contains links to posts on this blog about the differentiation of composite, implicit, and inverse functions for your reference in planning. Other updated post on the 2019 CED will come throughout the year, hopefully, a few weeks before you get to the topic. 


Previous posts on these topics include:

Then There Is This – Existence Theorems

What’s a Mean Old Average Anyway

Did He, or Didn’t He?   History: how to find extreme values without calculus

Mean Value Theorem

Foreshadowing the MVT

Fermat’s Penultimate Theorem

Rolle’s theorem

The Mean Value Theorem I

The Mean Value Theorem II

Graphing

Concepts Related to Graphs

The Shapes of a Graph

Joining the Pieces of a Graph

Extreme Values

Extremes without Calculus

Concavity

Reading the Derivative’s Graph

        Other Asymptotes

Real “Real-life” Graph Reading

Far Out! An exploration

Open or Closed  Should intervals of increasing, decreasing, or concavity be open or closed?

Others

Lin McMullin’s Theorem and More Gold  The Golden Ratio in polynomials

Soda Cans  Optimization video

Optimization – Reflections   

Curves with Extrema?

Good Question 10 – The Cone Problem

Implicit Differentiation of Parametric Equations    BC Topic


Here are links to the full list of posts discussing the ten units in the 2019 Course and Exam Description.

Limits and Continuity – Unit 1  (8-11-2020)

Definition of t he Derivative – Unit 2  (8-25-2020)

Differentiation: Composite, Implicit, and Inverse Function – Unit 3  (9-8-2020)

Contextual Applications of the Derivative – Unit 4   (9-22-2002)   Consider teaching Unit 5 before Unit 4

Analytical Applications of Differentiation – Unit 5  (9-29-2020) Consider teaching Unit 5 before Unit 4 THIS POST

LAST YEAR’S POSTS – These will be updated in coming weeks

2019 – CED Unit 6 Integration and Accumulation of Change

2019 – CED Unit 7 Differential Equations  Consider teaching after Unit 8

2019 – CED Unit 8 Applications of Integration   Consider teaching after Unit 6, before Unit 7

2019 – CED Unit 9 Parametric Equations, Polar Coordinates, and Vector-Values Functions 

2019 CED Unit 10 Infinite Sequences and Series


2019 CED Unit 5 Analytical Applications of Differentiation

Unit 5 covers the application of derivatives to the analysis of functions and graphs. Reasoning and justification of results are also important themes in this unit. (CED – 2019 p. 92 – 107). These topics account for about 15 – 18% of questions on the AB exam and 8 – 11% of the BC questions.

Reasoning and writing justification of results are mentioned and stressed in the introduction to the topic (p. 93) and for most of the individual topics. See Learning Objective FUN-A.4 “Justify conclusions about the behavior of a function based on the behavior of its derivatives,” and likewise in FUN-1.C for the Extreme value theorem, and FUN-4.E for implicitly defined functions. Be sure to include writing justifications as you go through this topic. Use past free-response questions as exercises and also as guide as to what constitutes a good justification. Links in the margins of the CED are also helpful and give hints on writing justifications and what is required to earn credit. See the presentation Writing on the AP Calculus Exams and its handout

Topics 5.1

Topic 5.1 Using the Mean Value Theorem While not specifically named in the CED, Rolle’s Theorem is a lemma for the Mean Value Theorem (MVT). The MVT states that for a function that is continuous on the closed interval and differentiable over the corresponding open interval, there is at least one place in the open interval where the average rate of change equals the instantaneous rate of change (derivative). This is a very important existence theorem that is used to prove other important ideas in calculus. Students often confuse the average rate of change, the mean value, and the average value of a function – See What’s a Mean Old Average Anyway?

Topics 5.2 – 5.9

Topic 5.2 Extreme Value Theorem, Global Verses Local Extrema, and Critical Points An existence theorem for continuous functions on closed intervals

Topic 5.3 Determining Intervals on Which a Function is Increasing or Decreasing Using the first derivative to determine where a function is increasing and decreasing.

Topic 5.4 Using the First Derivative Test to Determine Relative (Local) Extrema Using the first derivative to determine local extreme values of a function

Topic 5.5 Using the Candidates’ Test to Determine Absolute (Global) Extrema The Candidates’ test can be used to find all extreme values of a function on a closed interval

Topic 5.6 Determining Concavity of Functions on Their Domains FUN-4.A.4 defines (at least for AP Calculus) When a function is concave up and down based on the behavior of the first derivative. (Some textbooks may use different equivalent definitions.) Points of inflection are also included under this topic.

Topic 5.7 Using the Second Derivative Test to Determine Extrema Using the Second Derivative Test to determine if a critical point is a maximum or minimum point. If a continuous function has only one critical point on an interval, then it is the absolute (global) maximum or minimum for the function on that interval.

Topic 5.8 Sketching Graphs of Functions and Their Derivatives. First and second derivatives give graphical and numerical information about a function and can be used to locate important points on the graph of the function.

Topic 5.9 Connecting a Function, Its First Derivative, and Its Second Derivative. First and second derivatives give graphical and numerical information about a function and can be used to locate important points on the graph of the function.

Topics 5.10 – 5.11

Optimization is important application of derivatives. Optimization problems as presented in most text books, begin with writing the model or equation that describes the situation to be optimized. This proves difficult for students, and is not “calculus” per se. Therefore, writing the equation has not be asked on AP exams in recent years (since 1983). Questions give the expression to be optimized and students do the “calculus” to find the maximum or minimum values. To save time, my suggestion is to not spend too much time writing the equations; rather concentrate on finding the extreme values.

Topic 5.10 Introduction to Optimization Problems 

Topic 5.11 Solving Optimization Problems

Topics 5.12

Topic 5.12 Exploring Behaviors of Implicit Relations Critical points of implicitly defined relations can be found using the technique of implicit differentiation. This is an AB and BC topic. For BC students the techniques are applied later to parametric and vector functions.


Timing

Topic 5.1 is important and may take more than one day. Topics 5.2 – 5.9 flow together and for graphing they are used together; after presenting topics 5.2 – 5.7 spend the time in topics 5.8 and 5.9 spiraling and connecting the previous topics. Topics 5.10 and 5.11 – see note above and spend minimum time here. Topic 5.12 may take 2 days.

The suggested time for Unit 5 is 15 – 16 classes for AB and 10 – 11 for BC of 40 – 50-minute class periods, this includes time for testing etc.

Finally, were I still teaching, I would teach this unit before Unit 4. The linear motion topic (in Unit 4) are a special case of the graphing ideas in Unit 5, so it seems reasonable to teach this unit first. See Motion Problems: Same thing, Different Context


Previous posts on these topics include:

Then There Is This – Existence Theorems

What’s a Mean Old Average Anyway

Did He, or Didn’t He?   History: how to find extreme values without calculus

Mean Value Theorem

Foreshadowing the MVT

Fermat’s Penultimate Theorem

Rolle’s theorem

The Mean Value Theorem I

The Mean Value Theorem II

Graphing

Concepts Related to Graphs

The Shapes of a Graph

Joining the Pieces of a Graph

Extreme Values

Extremes without Calculus

Concavity

Reading the Derivative’s Graph

Real “Real-life” Graph Reading

Far Out! An exploration

Open or Closed  Should intervals of increasing, decreasing, or concavity be open or closed?

Others

Lin McMullin’s Theorem and More Gold  The Golden Ratio in polynomials

Soda Cans  Optimization video

Optimization – Reflections   

Curves with Extrema?

Good Question 10 – The Cone Problem

Implicit Differentiation of Parametric Equations    BC Topic


Here are links to the full list of posts discussing the ten units in the 2019 Course and Exam Description.

2019 CED – Unit 1: Limits and Continuity

2019 CED – Unit 2: Differentiation: Definition and Fundamental Properties.

2019 CED – Unit 3: Differentiation: Composite , Implicit, and Inverse Functions

2019 CED – Unit 4 Contextual Applications of the Derivative  Consider teaching Unit 5 before Unit 4

2019 – CED Unit 5 Analytical Applications of Differentiation  Consider teaching Unit 5 before Unit 4

2019 – CED Unit 6 Integration and Accumulation of Change

2019 – CED Unit 7 Differential Equations  Consider teaching after Unit 8

2019 – CED Unit 8 Applications of Integration   Consider teaching after Unit 6, before Unit 7

2019 – CED Unit 9 Parametric Equations, Polar Coordinates, and Vector-Values Functions 

2019 CED Unit 10 Infinite Sequences and Series


Implicit Differentiation

I discovered in doing next week’s post that I apparently never wrote about implicit differentiation. So here goes – an extra post this week!

Implicit Differentiation

The technique of implicit differentiation allows you to find slopes of relations given by equations that are not written as functions or may even be impossible to write as functions.

Example 1: A good way to start investigating this idea is to give your class the equation of a circle, say {{x}^{2}}+{{y}^{2}}=25 and ask them to find the slope of the tangent line (the derivative) where x = 3. No hints, just let them try.

Most students will hit upon solving for y and then differentiating:

y=\pm \sqrt{{25-{{x}^{2}}}}

\displaystyle \frac{{dy}}{{dx}}=\frac{{-2x}}{{\pm 2\sqrt{{25-{{x}^{2}}}}}}=\frac{{-x}}{{\pm \sqrt{{25-{{x}^{2}}}}}}

There are two points where x = 3: (3, 4) and (3, –4) at the first point the slope is – ¾ and at the second ¾.

Then show them another way – implicit differentiation.

To use this technique, assume that y is a function of x, but do not bother to find that function. Then using the chain rule on any terms containing a y. For{{x}^{2}}+{{y}^{2}}=25 , we have

\displaystyle 2x+2y\frac{{dy}}{{dx}}=0

Then solve for the derivative

\displaystyle \frac{{dy}}{{dx}}=-\frac{x}{y}

We see that this is the same as we found the first time, since y=\pm \sqrt{{25-{{x}^{2}}}}! There is a slight advantage here: we can now find the slopes from the coordinates without solving or dealing with the plus/minus sign. *

Example 2: Now let’s consider a more difficult example. Find the derivative of {{x}^{2}}+4{{y}^{2}}=7+3xy. To solve for y here is possible but somewhat difficult (Hint: use the quadratic formula). We can continue writing {y}' for dy/dx.

2x+8y{y}'=0+3x{y}'+3y

Note that the last term on the right is differentiated using the product rule.  Since this happens fairly often, students need to be reminded of it.

Now solving for {y}'gives

\displaystyle {y}'=\frac{{3y-2x}}{{8y-3x}}

Then we can find the derivatives at specific points by substituting the coordinates of the point. At the point (3,2) on the curve, the slope is \displaystyle {y}'=\frac{{3\left( 2 \right)-2\left( 3 \right)}}{{8\left( 2 \right)-3\left( 3 \right)}}=\frac{0}{7}=0

Note: the derivative of an implicit relation usually involves both the x and y coordinates.

Second Derivatives

This idea can be repeated to find second and higher derivatives.

Example 1 continued: In the first example with \displaystyle \frac{{dy}}{{dx}}=\frac{{-x}}{y}  we differentiate using the quotient rule:

\displaystyle  {{y}'}'=\frac{{y(-1)-(-x){y}'}}{{{{y}^{2}}}}

The second derivative is a function, not just of x and y, but also of {y}'. We can replace it with the first derivative and simplify.

\displaystyle  {{y}'}'=\frac{{-y+x\left( {\frac{{-x}}{y}} \right)}}{{{{y}^{2}}}}=\frac{{-{{y}^{2}}-{{x}^{2}}}}{{{{y}^{3}}}}=-\frac{{25}}{{{{y}^{3}}}}

(This might be a good time to do a quick review of simplifying complex fractions; they occur often in implicit differentiation problems.)

To find the value of the second derivative at a given point we can substitute into either of the two expressions above. At (3, –4) where the derivative has been previously found to be ¾ we have \displaystyle  {{y}'}'=\frac{{y(-1)-(-x){y}'}}{{{{y}^{2}}}}=\frac{{\left( {-4} \right)\left( {-1} \right)-\left( {-3} \right)\left( {\frac{3}{{-4}}} \right)}}{{{{{\left( {-4} \right)}}^{2}}}}=-\frac{{-16-9}}{{-48}}=\frac{{25}}{{48}}

Or we can use the second form

\displaystyle {{y}'}'=-\frac{{25}}{{{{y}^{3}}}}=-\frac{{25}}{{{{{\left( {-4} \right)}}^{3}}}}=\frac{{25}}{{48}}

Example 2 continued: The second example was taken from an AB Calculus exam (2004 AB 4). The first part gave the first derivative and asked students to show that it was correct. This was done (instead of just asking the students to find the first derivative) so that students would be sure to have the correct derivative to use later in the question.

The second part asked students to show that the tangent line is horizontal at the point where x = 3. This included finding the coordinates of the point, (3, 2) and showing that it is on the curve.

The third part of the question asked students to determine whether the point from part (b) was a relative maximum, a relative minimum or neither, and to justify their answer. Since there is no way to determine how the sign of the first derivative changes at the point the First Derivative Test cannot be used. Likewise, the Candidates’ Test (a/k/a the closed interval test) cannot be used without solving for y, and determining the domain of each part. That leaves the Second Derivative Test as the easiest choice.

\displaystyle {y}'=\frac{{3y-2x}}{{8y-3x}}  at (3,2) \displaystyle {y}'=\frac{{3\left( 2 \right)-2\left( 3 \right)}}{{8\left( 2 \right)-3\left( 3 \right)}}=0

\displaystyle {{y}'}'=\frac{{\left( {8y-3x} \right)\left( {3{y}'-2} \right)-\left( {3y-2x} \right)\left( {8{y}'-3} \right)}}{{{{{\left( {8y-3x} \right)}}^{2}}}}

Substituting the values into this without doing the algebra to remove the first derivative gives

\displaystyle \begin{array}{l}{{y}'}'=\frac{{\left( {8\left( 2 \right)-3\left( 3 \right)} \right)\left( {0-2} \right)-\left( {3\left( 2 \right)-2\left( 3 \right)} \right)\left( {8\left( 0 \right)-3} \right)}}{{{{{\left( {8\left( 2 \right)-3\left( 3 \right)} \right)}}^{2}}}}=\frac{{\left( {16-9} \right)\left( {-2} \right)-0}}{{{{{\left( {16-9} \right)}}^{2}}}}=-\frac{2}{7}\\\end{array}

So, the point (3, 2) is a relative maximum.

The graph of the relation, an ellipse is shown below.


* Incidentally, there is another clever way of doing example 1: The radius to any point on a circle centered at the origin has a slope of y/x.  Since tangents to circles are perpendicular to the radii drawn to the point of tangency, the slope of the tangent must be –x/y.



Good Question 2: 2002 BC 5

This is the second in my occasional series on good questions, good from the point of view of teaching about the concepts involved. This one is about differential equations and slope fields.The question is from the 2002 BC calculus exam. Question 5. while a BC question, all but part b are suitable for AB classes.

2002 BC 5

The stem presented the differential equation \displaystyle \frac{dy}{dx}=2y-4x. Now the only kind of differential equation that AP calculus students are expected to be able to solve are those that can be separated. This one cannot be separated, so some other things must be happening.

Part a concerns slope fields. Often on the slope field questions students are asked to draw a slope field of a dozen or so points. While drawing a slope field by hand is an excellent way to help students learn what a slope fields is, in “real life” slope fields are rarely drawn by hand. The real use of slope fields is to investigate the properties of a differential equation that perhaps you cannot solve. It allows you to see something about the solutions. And that is what happens in this question.

In the first part of the question students were asked to sketch the solutions that contained the points (0, 1) and (0, –1). These points were marked on the graph. The solutions are easy enough to draw.

But the question did not stop there, as we shall see, using the slope field could help in other parts of the question.

Part c: Taking these out of order, we will return to part b in a moment. Part c told students that there was a number b for which y = 2x + b is a solution to the differential equation. Students were required to find the value of b and (of course) justify their answer.

There are two approaches. Since y = 2x + b is a solution, we can substitute it into the differential equation and solve for b. Since for this solution dy/dx = 2 we have

2=2\left( 2x+b \right)-4x

2=4x+2b-4x

1=b

So b = 1 and the solution serves as the justification.

The other method, I’m happy to report, had some students using the slope field. They noticed that the solution through the point (0, 1) is, or certainly appears to be, the line y = 2x + 1. So students guessed that b  = 1 and then checked their guess by substituting y = 2x + 1 into the differential equation:

2=2\left( 2x+1 \right)-4x

2=4x+2=4x

2=2

The solution checks and the check serves as the justification.

I like the second solution much better, because it uses the slope field as slope field are intended to be used.

Incidentally, this part was included because readers noticed in previous years that many students did not understand that the solution to a differential equation could be substituted into the differential equation to obtain a true equation as was necessary using either method for part b.

There is yet another approach. Since the solution is given as linear the second derivative must by 0. So

\displaystyle \frac{{{d}^{2}}y}{d{{x}^{2}}}=2\frac{dy}{dx}-4=2\left( 2y-4x \right)-4

2\left( 2y-4x \right)-4=0

4y-8x-4=0

4y=8x+4

y=2x+1

And again b = 1

Returning to part b.

Part b asked students to do an Euler’s method approximation of f(0.2) with two equal steps  of the solution of the differential equation through (0, 1). The computation looks like this:

f\left( 0.1 \right)\approx 1+\left( 2\left( 1 \right)-4\left( 0 \right) \right)\left( 0.1 \right)=1.2

f\left( 0.2 \right)\approx 1.2+\left( 2\left( 1.2 \right)-4\left( 0.1 \right) \right)\left( 0.1 \right)=1.4

So far so good. But this is is about the solution through the point (0, 1). Again referring to the slope field, there is no reason to approximate (except that students were specifically told to do so). Substituting into y = 2x + 1, f(0.2) = 1.4 exactly!

Part d: In the last part of the question students were asked to consider a solution of the differential,  g, that satisfied the initial condition g(0) = 0, a solution containing the origin. Students were asked to determine if g(x) had a local extreme at the origin and, if so, to tell what kind (maximum or minimum), and to justify their answer.

Looking again at the slope field it certainly appears that there is a maximum at the origin, and since substituting (0, 0) into the differential equation gives dy/dx = 2(0) – 4(0) = 0, it appears there could be an extreme there. So now how do we determine and justify if this is a maximum or minimum? We cannot use the Candidates’ Test (Closed Interval Test) since we do not have a closed interval, nor can we easily determine if there are any other points nearby where the derivative is zero (there are). Therefore, the First Derivative Test does not help. That leaves the Second Derivative Test.

To use the Second Derivative Test we must use implicit differentiation. (Notice that two unexpected topics now appear extending the scope of the question in a new direction).

\displaystyle \frac{{{d}^{2}}y}{d{{x}^{2}}}=2\frac{dy}{dx}-4

At the origin dy/dx = 0 as we already determined, so

\displaystyle \frac{{{d}^{2}}y}{d{{x}^{2}}}=2\left( 0 \right)-4<0

Therefore, since at x = 0, the first derivative is zero and the second derivative is negative the function g(x) has a maximum value at (0, 0) by the Second Derivative Test .

More: Can we solve the differential equation? Yes. The solution has two parts. First we solve the homogeneous differential equation \frac{dy}{dx}=2y, ignoring the –4x for the moment. This is easily solved by separating the variables y=C{{e}^{2x}}, which can be checked by substituting.

Because the differential equation contains x and y and ask ourselves what kind of function might produce a derivative of 2y – 4x? Then we assume there is a solution of the form y = Ax + B where A and B are to be determined and proceed as follows.

\displaystyle \frac{dy}{dx}=2y-4x

A=2\left( Ax+B \right)-4x=\left( 2A-4 \right)x+2B

Equating the coefficients of the like terms we get the system of equations:

A=2B

0=2A-4

A=2\text{ and }B=1

Putting the two parts together the solution is y=C{{e}^{2x}}+2x+1. This may be checked by substituting. Notice that when C = 0 the particular solution is y = 2x + 1, the line through the point (0, 1).

(Extra: It is not unreasonable to think that instead of y = Ax + B we should assume that the solution might be of the form y = Ax2 + Bx + C. Substitute this into the differential equation and show why this is not the case; i.e. show that A = 0, B = 2 and C = 1 giving the same solution as just found.)

Using a graphing program like Winplot, we can consider all the solutions. Below the slope field is graphed using a slider for C to animate the different solutions. The video below shows this with the animation pausing briefly at the two solutions from part a. Notice the maximum point as the graphs pass through the origin.

Slope field

 

But wait! There’s more!

The next post will take this question further – Look for it soon.

Update June 27, 2015. Third solution to part c added.

Extreme Values

Every function that is continuous on a closed interval must have a maximum and a minimum value on the interval. These values may all be the same (y = 2 on [-3,3]); or the function may reach these values more than once (y = sin(x)) .

The extreme values are either (1) at an endpoint of the interval (y = 4 – 2x, on [-3, 3]), or (2) at a critical number. This is known as the Extreme Value Theorem. It is a good one to “play” with: do some sketches of the different situation above; discuss why the interval must be closed.

One way the shapes can change is if the first derivative is zero or undefined at the point where two shapes join. In this case the point is a local extreme value of the function – a local maximum or minimum value. Specifically:

  • If the first derivative changes from positive to negative, the shape of the function changes from increasing to decreasing and the point is a local maximum.  If the first derivative changes from negative to positive, the shape of the function changes from decreasing to increasing and the point is a local minimum.

This is a theorem called the First Derivative Test. By finding where the first derivative changes sign and in which direction it changes (positive to negative, or negative to positive) we can locate and identify the local extreme value precisely.

  • Another way to determine if a critical number is the location of a local maximum or minimum is a theorem called the Second Derivative Test.

If the first derivative is zero (and specifically not if it is undefined) and the second derivative is positive, then the graph has a horizontal tangent line and is concave up. Therefore, this is the location of a local minimum of the function.

Likewise, if the first derivative is zero at a point and the second derivative is negative there, the function has a local maximum there.

If both the first and second derivatives are zero at a point, then the second derivative test cannot be used, for example y = x4 at the origin.

The mistake students make with the second derivative test is in not checking that the first derivative is zero.

In the case where both the first and second derivatives are zero at the same point the function changes direction but not concavity (e.g.  (x) = xat the origin), or changes concavity but not direction (e.g. .  (x) = xat the origin).

Next: More about Concavity