Free preview
146 lessons
Essential Calculus for ML
Free preview
Essential Calculus for ML · 146 lessons
No surprise gaps
Actually remember it
Skip what you know
One subscription. All learning paths included.
Our content is best on a larger screen
Concave up and concave down
A graph can rise while bending upwards, or rise while bending downwards. We can distinguish between the cases by where the graph lies relative to its tangent lines. We call this concavity.
Definition
On an interval, is concave up if its graph lies above each of its tangent lines, and concave down if its graph lies below each of its tangent lines.
We cannot test the graph against every one of its tangent lines directly, so we work from instead. Since is the derivative of , its sign tells us whether is rising or falling, just as the sign of tells us whether is rising or falling.
Where the graph is concave up, the tangent slope increases from left to right, moving from negative through zero to positive, so is rising and . Where it is concave down, the slope decreases from left to right, so is falling and .
We find the concave-up and concave-down intervals the same way we found where is increasing or decreasing: test the sign of the derivative on each interval between the points where it is zero. Only now the derivative is .
Procedure
When is linear, each of these is a linear inequality and each solution is a single unbounded interval. To name the concavity at one particular value of , we evaluate there and read its sign.
Find where is concave up and where it is concave down.
Solution
We differentiate to get , then differentiate to get .
We solve for the values of where is concave up.
So is concave up on .
We solve for the values of where is concave down. The same rearrangement with the inequality reversed gives , so is concave down on .
The graph below shows the change of concavity at , from concave down to concave up.
Practice questions
4 questions
Where is concave up, and where is it concave down?
Select the correct answer:
+ 3 more questions
Inflection points
We have found the intervals where a curve is concave up and where it is concave down. The point that separates them, where the concavity changes, is an inflection point.
Definition
An inflection point of is a point on its graph where the concavity changes, from concave up to concave down or from concave down to concave up.
At such a point the tangent line crosses the curve: the graph lies on one side of the tangent just before the point and on the other side just after.
Since is concave up where and concave down where , an inflection point is a point where changes sign. To change sign, must pass through zero, so at every inflection point .
Solving gives the candidates, but on its own is not enough: can reach zero and keep the same sign on both sides, so the concavity does not change and the candidate is not an inflection point. As with any sign analysis, we confirm each candidate by checking the sign of on both sides, and only a genuine change of sign marks an inflection point.
Procedure
Find the inflection points of .
Solution
We differentiate to get , then differentiate to get .
We solve to find the candidates.
So is the only candidate.
We evaluate at a value on each side of , taking and . Here is linear, so it keeps one sign on each side of the candidate and any test value in the interval gives that sign.
The signs differ, so the concavity changes at : concave down to the left, concave up to the right. The candidate is an inflection point. Its height is , so the inflection point is .
Practice questions
4 questions
Where does have an inflection point?
Select the correct answer:
+ 3 more questions