liveBook · Manning

Second derivative

A second derivative is the derivative of a function’s first derivative with respect to the same variable, describing how its rate of change varies.

How 3 Manning books explain it

Geometry for Programmers

A second derivative is the derivative of a first derivative and measures the rate of change of a function's slope or tangent direction.

How it is used
Connects curve curvature and C2 smoothness to programmable geometric design.
How deep it goes
Explains repeated symbolic differentiation, curvature continuity, and polynomial constraints without deriving the curvature formula.
Examples
Uses SymPy differentiation of a quadratic, road corners, lines and circles, and constrained polynomial graphs.
What you can do after
Apply it via SymPy and polynomial equations to inspect curvature-related behavior and impose derivative constraints.

Read how Geometry for Programmers explains second derivative →

Ensemble Methods for Machine Learning

A second derivative is the derivative of a function's first derivative and describes its local curvature with respect to a variable.

How it is used
Guides Newton optimization and supplies Hessian-based weights for Newton boosting.
How deep it goes
Explains repeated differentiation, Hessian representation, quadratic approximation, and Newton updates with an implemented example.
Examples
Uses the Branin function, logistic loss, and Hessian-weighted residuals to illustrate curvature and optimization.
What you can do after
Build it from scratch by computing gradients, Hessians, Newton directions, updates, and convergence checks.

Read how Ensemble Methods for Machine Learning explains second derivative →

Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

A second derivative measures how the rate of change of a function itself changes with respect to its input.

How it is used
Supports faster, curvature-aware optimization in gradient boosting.
How deep it goes
Explains curvature, Newton-style updates, and Hessian effects, but does not derive the approximation mathematically.
Examples
Uses squared-error boosting and a NewtonianGradientBoosting implementation with Hessian-scaled tree updates.
What you can do after
Apply it via Newton-style gradient boosting to adjust update sizes using objective curvature.

Read how Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI explains second derivative →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.