What Is Curvature?
Curvature measures how sharply a curve bends at a point: a tight turn has high curvature, a gentle sweep low, a straight line zero. For a graph y = f(x), the exact formula packages the first and second derivatives together:
κ = |f″(x)| / (1 + f′(x)²)^(3/2)
The second derivative supplies the raw bending, and the (1 + f′²) denominator corrects for steepness, so that a line stays uncurved no matter how tilted it is. The reciprocal R = 1/κ is the radius of curvature: the radius of the circle that best hugs the curve there, matching its position, slope, and bending. That circle is the osculating circle, from the Latin for "kissing," and this calculator draws it.
How to Use the Curvature Calculator
Enter a function and a point. The calculator evaluates f′ and f″ there, applies the curvature formula with every number shown, and reports both κ and the radius R. It then locates the center of the osculating circle along the inward normal and draws that circle against the curve, so you can see the geometry: the circle nestles into the bend, sharing the curve's direction and tightness at the point of contact.
Worked Example
Take f(x) = x² at its vertex x = 0. There f′(0) = 0 and f″(0) = 2, so the denominator is simply 1:
κ = |2| / (1 + 0)^(3/2) = 2, radius R = 1/2
The parabola bends, at its tightest point, exactly like a circle of radius one-half. Away from the vertex the slope grows, the denominator inflates, and curvature drops toward zero as the arms straighten out. The cubic chip shows the opposite extreme: x³ at its inflection x = 0 has f″ = 0, so κ = 0 and the osculating circle degenerates into the tangent line, the curve being momentarily straight.
The Osculating Circle and Radius of Curvature
Curvature is easiest to feel through its circle. Imagine driving along the curve at constant speed: at each instant your steering wheel is held at some angle, and the circle that angle would trace if you froze it is the osculating circle. A sharp bend forces a small circle (large κ), a lazy curve a huge one (small κ). This is why road and railway engineers specify curves by radius, why a highway's gentle sweep might have a radius of hundreds of meters while a parking-ramp spiral has a few. The radius of curvature also sets the centripetal acceleration v²/R a vehicle feels, which is the real reason tight bends carry low speed limits. Points of maximum curvature along a curve are called vertices, and the parabola, sine, and exponential chips let you compare where each is at its sharpest.
Common Mistakes to Avoid
- Forgetting the 3/2 power in the denominator. The exponent is not 1 or 2 but 3/2, coming from the arc-length normalization. Dropping it makes straight lines appear curved and ruins every answer.
- Reading curvature as just the second derivative. f″ alone measures bending only when the slope is zero. On a steep part of the curve, a large f″ can still mean modest curvature because the (1 + f′²) term dominates.
- Expecting curvature to be signed. The formula uses |f″|, so κ is never negative. If you need the direction of bending, that is a separate quantity (signed curvature), and concavity from the concavity tool carries the sign instead.
- Confusing radius of curvature with the curve's own size. A tiny wiggle can have a large radius of curvature if it bends gently, and a large arc a small radius if it turns sharply. R is about tightness of bend, not overall scale.
Real-World Applications
Curvature is civil engineering's daily quantity. Highway and railway design bans abrupt curvature changes, because a sudden jump in κ jerks passengers sideways; the fix is the clothoid, a transition curve whose curvature grows linearly, used on every freeway on-ramp and roller-coaster loop so that steering (and lateral force) eases in smoothly. Track superelevation, the banking of a curve, is computed directly from the radius of curvature and design speed.
In optics, the radius of curvature of a lens or mirror surface sets its focal length, the core of every camera, telescope, and pair of glasses. Computer graphics and CAD systems shade and tessellate surfaces by their curvature, allocating more detail where surfaces bend sharply. Physics uses curvature throughout: a charged particle's path curves with radius set by the magnetic field, and Einstein's general relativity recasts gravity itself as the curvature of spacetime, the same geometric idea this page computes for a humble graph, generalized to four dimensions.
Frequently Asked Questions
Why is a straight line's curvature exactly zero?
Because f″ = 0 for any line, the numerator vanishes and κ = 0 everywhere. The osculating circle becomes infinitely large, which is the sensible statement that a line is a circle of infinite radius. Zero curvature is the defining property of straightness.
What is the osculating circle exactly?
The circle that matches the curve's position, tangent direction, and curvature at a point, meaning it agrees with the curve to second order. Its center sits on the inward normal at distance R = 1/κ, and it approximates the curve better than the tangent line, which only matches to first order.
How does curvature relate to concavity?
Both come from f″. Concavity uses its sign to say which way the curve bends, up or down; curvature uses its magnitude, scaled by slope, to say how hard. A curve concave up and one concave down can share the same κ while bending in opposite directions.
Where is a parabola most curved?
At its vertex, where the slope is zero and the denominator is smallest. Moving along either arm, the slope grows and curvature falls monotonically toward zero. Every parabola is sharpest exactly at the turning point, which is why the vertex chip gives the maximum κ.
Does curvature depend on how the curve is drawn or scaled?
Yes. Curvature carries units of inverse length, so stretching the axes changes it. This is why engineering specifications state a physical radius of curvature in meters rather than a unitless number, pinning the bend to real-world scale.
What about curvature of parametric or space curves?
The same idea generalizes: for a parametric curve κ = |x′y″ − y′x″| / (x′² + y′²)^(3/2), and space curves add torsion to measure twisting out of a plane. The graph formula here is the special case y = f(x), and the parametric derivative tool supplies the pieces for the parametric version.