Lesson 3 of 18
Second Derivative
The Second Derivative
The second derivative is the derivative of — the rate of change of the slope.
Geometric Meaning
- : curve is concave up (holds water, like a bowl)
- : curve is concave down (spills water, like a hill)
- : possible inflection point (concavity changes)
Numerical Formula
The second derivative can be approximated directly from without computing first:
Derivation: expand and using Taylor series:
Add them: , so:
Inflection Points
At an inflection point, and the sign of changes. Example: has an inflection at .
Second Derivative Test
For a critical point where :
- → local minimum
- → local maximum
- → inconclusive
Your Task
Implement double second_derivative(double (*f)(double), double x, double h).
TCC compiler loading...
Loading...
Click "Run" to execute your code.