Local Extrema
Saitama, also known as One Punch Man, is an extremely powerful human being that can wipe out planets with a single swing of his fist. How he obtained his strength? No one knows. What we are able to know, however, is the maximum height of a rock he tosses (at bare minimum strength, of course) and the time it takes for the rock to reach that height. For instance, say Saitama effortlessly tosses a pebble up into the air, where the height $h$ in kilometers at any time $t$ in seconds is given by the function:
$$h(t) = 5 + 12t – 3t^2$$
Using the power of calculus, we are able to discern that the rock thrown reaches a maximum height of 17 kilometers at the time of 2 seconds. Yeesh.
How did we figure this out? Let’s break it down.
If we graphed out the function, it would look something like this:
As you can see, in the case of a smooth, continuous graph of a function, the maximum height is the highest point, which would lead us to think that the minimum is the lowest point of the graph relative to a point $p$, which it is.
These highest and lowest points are called maxima and minima, and in the case of this blog post we will be focusing on a more condensed spectrum realtive to point $p$, so we will refer to them as local maxima and minima. They are collectively called local extrema.
Looking at a graph, the local maxima and minima are the points where the graph flattens out and changes from increasing to decreasing, or vice versa. When the graph is flat, that means the slope is zero. We can find out when the slope is zero using the derivative.
(Image source: Just Contemplating a Few Things. Digital Image. Gfycat.com)
Derivatives
The first concept we ought to have in our arsenal in order to figure out things like what the maximum height of a rock thrown by Saitama (at bare minimum power) is, is the derivative. Fundamental to calculus, the derivative is essentially figuring out the slope of a function. Put in other words, the derivative tells us the rate at which something occurs at a given point. Looking at the previous function
$$h(t) = 5 + 12t – 3t^2$$
we derive the derivative using a number of rules.
Just a refresher, the first rule we use is the constant rule, which says that the slope of any constant $c$ is 0. So the 5 in the above function is nullified.
The second rule we utilize is that the slope of a line $ax$ has a derivative of $a$. In the example, $12t$ is converted into merely $12$ as the derivative.
Finally, the power rule, which says that any function $x^n$ has a derivative of $nx^{n-1}$. In the above case, $3t^2$ becomes $6t$ because $3\times 2= 6$ and $2-1 = 1$.
The same rules are applied to the Derivative to find the Second Derivative, which can be thought of as the rate of change of the rate of change (woah).
Now that we know how to find both the derivative and second derivative, there’s so much we can calculate. We can find, for instance, where the derivative is zero, and thus what the maximum height of Saitama’s tossed pebble is.
Looking at our function:
$$h(t) = 5 + 12t – 3t^2$$
we find the derivative using the previously mentioned rules:
$$h'(t) = 12 – 6t$$
then we set the derivative equal to $0$ in order to find the value of $t$, the time when the slope is $0$.
$$0 = 12 – 6t$$
$$-12 = -6t$$
$$\frac{-12}{-6} = \frac{-6t}{-6}$$
$$2 = t$$
Once the time that the rock reaches its maximum height is known, we can calculate the maximum height by substituting the value of $t$ we have into the original equation.
$$h(2) = 5 + 12(2) – 3(2)^2$$
$$h(2) = 5 + 24 – 12$$
$$h(2) = 17 km/sec$$
That’s how we can derive a local maxima if we are given a function. Now let’s delve deeper into this concept by looking at graphs and their relationship with the first and second derivative.
We know that
if $f'(x) > 0$ on an interval, then $f(x)$ is increasing on that interval.
if $f'(x) < 0$ on an interval, then $f(x)$ is decreasing on that interval.
if $f”(x) > 0$ on an interval, then $f(x)$ is concave up on that interval.
if $f”(x) < 0$ on an interval, then $f(x)$ is concave down on that interval.
Knowing this, we can do something called the Second Derivative Test to discern whether or not the graph of a function has a local maxima or minima.
When a function’s derivative is $0$ at point $p$, then we can determine if it is a local maximum or minimum depending on whether or not the second derivative is less than, greater than, or equal to $0$. According to the principles mentioned above, if it is less than, the graph is concave down and the point is a local maximum. If it is greater than, the graph is concave up and the point is a local minimum. For instance, let’s look at a function with the derivative $f(t) = 12 – 9t$ which is a negative slope.
The second derivative would be $-9$ , which is less than $0$ which would mean that the original function is concave down and that there is a local maximum, which looking at the graph, appears to be true
The First Derivative Test can also be used, which says that if $f'(t)$ goes from positive to negative after passing the point where the slope is $0$, then it is a local maximum. The reverse holds true for local minima.
The point where the slope, or $f'(t)$ is equal to $0$ or is undefined is known as a critical point, which makes it true that all maxima and minima are critical points. However, not all critical points are maxima or minima, which can be seen from the following examples of graphs.
$f(x) = x^3 + 2$
Though there is a critical point because there is a point where the slope is $0$, there is neither a minimum or maximum because the slope does not change from positive to negative or negative to positive.
Keeping all of these rules in mind, we are able to discern when and at what height Saitama’s thrown pebble reaches its maximum height.
(image source: Saitama. Digital Image. Konbini.com)
Sources
Applied Calculus, 5th Edition. John Wiley & Sons
Chapter 4, Using the Derivative
https://learning.oreilly.com/library/view/applied-calculus-5th/9781118174920/06_chapter07.html#
Desmos Graphing Calculator. (2015). Desmos Graphing Calculator. [online] Available at: https://www.desmos.com/calculator?create_account
This post was simply awesome. I loved how you animated these concepts with Saitama, bringing life to mathematics. The casual, funny language such as “yeesh” and “woah” really engaged me. It was like attending class with a really goofy, laid-back professor. Using pictures was an awesome way to make the reading even more enjoyable. Reflecting back on my blog, I would definitely insert pictures to enrich the post quality.
You did a fantastic job of connecting Saitama’s rock toss to our course material. We have evaluated function derivatives and concavity in the last few weeks. I liked how you inserted a concave down function to illustrate Saitama’s toss. From the concave down function, we have learned that the apex of the function is called the local max extrema. Also, we know that the second derivative of the function is decreasing on that interval. Your graph clearly depicted these concepts.
I appreciated how extensively you explained and applied rules for derivatives. By describing the derivative as basically “the slope of a function,” it becomes easier for the reader to envision a derivative. Then you walk through the differentiation rules well. By using the constant and power rules, you clarify what we should do to differentiate a function. For the second derivative, the step-by-step process, breaking down each differentiation step one line at a time, explains the derivative concept well. I liked the four fact summary about the first and second derivatives, regarding how there increase/decrease and concavity. Lastly, you add another element to the post, stating not all critical points are maxima or minima. Then, you illustrate this idea with a tan graph. I did not know this and appreciate this newfound knowledge!
While I read this post, I had a couple questions for you. Can a function that represents an object being thrown be cos/sin graph? Can you use the chain rule to differentiate this function? Are there any other types of graphs that model an object in the air? Can an airplane flying be modeled by a log function? A bird’s descent into water modeled by a negative linear function?
Another perspective I would offer is mentioning a tangent line. A tangent line could further depict the function’s slope, even as it changes concavity or direction. On the midterm, drawing a tangent line was a helpful way for me to find inflection points. In addition, I would mention gravity’s effect on the object. We know that an object accelerates at -9.81m/s^2 down towards Earth. What does this acceleration look like in terms of a derivative? Would it be a straight slope? It would also help with differentiation practice.
Overall, I really enjoyed the post! Very entertaining, engaging, and instructive. I look forward to reading more of your work. Awesome job!
Thank you for the kind words! Glad you appreciated the example. I tried to be as thorough but as simple as possible with my explanations, and I’m happy to hear it came across that way. Regarding your questions, let me first say that they are really good ones.
First, when it comes to the example of throwing something up into the air, unless we’re dealing with some bizarre gravity, cos/sin graphs wouldn’t model the action.
I believe there are some cases where the chain rule would be necessary to use in order to find derivatives for functions.
I believe that a parabola graph most accurately represents an object thrown into the air.
Regarding modeling the other real life examples, I’m not too sure, but I would love to look into a traveling airplane’s graphical representations.
The tangent line is certainly an important and useful bit that I missed mentioning, glad you caught that. I hope it didn’t take away from the explanation too much.
Thanks again for the comment!
I really enjoyed this post, it seemed super informative yet super easy to digest! I don’t know much about Saitama, but this post was a great way to tie both math and your interests together! I especially enjoyed how you put in graphs to illustrate how the derivatives can be applies to graphs.
Furthermore, I really like how descriptive and thorough you were in talking through all aspects of derivatives. I don’t have much else to add, because I found this post to be extremely informative and very helpful especially the part about using the second derivative to find the local extrema (i.e maximums or minimums).
Thank you for the comment and your support of my blog post! I really tried to be as visual as possible with this concept, as I believe it’s the best way to learn about local extrema!
This is a great post! I enjoyed how you incorporated a fun example that kept readers engaged while breaking down the concept and math behind local extrema into easy to understand chunks! I think this application of calculus to your interest in Saitama was unique and refreshing, and it helps readers learn about you while also deepening their understanding of this concept.
Thanks for the comment! I wanted to add something interesting to a concept we have already gone over in class and put my own spin on it. I hope it was informative, and I’m glad you enjoyed the example I chose.