Why Curvature Needs Its Own Description
A quadratic regression curve does not have one unchanging slope: its slope varies with the predictor. The second derivative describes how that slope changes as the predictor increases. This provides a precise way to say whether a fitted curve bends upward or downward, and how rapidly it bends.
Curvature is not the same as whether the outcome is increasing or decreasing. A curve can bend upward while its slope is still negative, or bend downward while its slope is still positive. The second derivative describes the change in slope; the first derivative describes the slope at a particular predictor value.
Quadratic Mean Function and Curvature
For a quantitative predictor \(x\) and outcome \(Y\), write the quadratic regression model as \(Y_i=\beta_0+\beta_1x_i+\beta_2x_i^2+\varepsilon_i\). Here \(\beta_0\), \(\beta_1\), and \(\beta_2\) are model coefficients, and \(\varepsilon_i\) is the deviation of observation \(i\) from the model’s conditional mean. For interpreting the curve as the conditional mean, the key assumption is \(E(\varepsilon_i\mid x_i)=0\), so that \(m(x)=E(Y\mid x)=\beta_0+\beta_1x+\beta_2x^2\). The quadratic form should be a reasonable description over the predictor range being interpreted.
The fitted curve replaces the unknown coefficients with their least-squares estimates, conventionally written \(b_0\), \(b_1\), and \(b_2\): \(\hat{m}(x)=b_0+b_1x+b_2x^2\). Differentiating this polynomial twice gives its estimated curvature.
If \(\beta_2>0\), then \(m''(x)>0\), so the slope increases as \(x\) increases and the curve bends upward. If \(\beta_2<0\), then \(m''(x)<0\), so the slope decreases and the curve bends downward. If \(\beta_2=0\), the second derivative is zero and the mean function is linear rather than curved.
The first derivative makes this interpretation explicit: \(m'(x)=\beta_1+2\beta_2x\). Increasing \(x\) by one unit changes this slope by \(2\beta_2\) outcome units per predictor unit. Thus, the second derivative is a rate of change in slope, not an outcome change by itself.
Worked Example: A Curve That Bends Downward
Suppose a hypothetical fitted model predicts a quiz score in points from study time \(x\), measured in hours: \(\hat{m}(x)=12+3.4x-0.25x^2\). Describe the estimated curvature and its meaning.
The coefficient of \(x^2\) is \(b_2=-0.25\), so the second derivative is \(\hat{m}''(x)=2b_2=2(-0.25)=-0.50\) points per hour squared. The negative sign means the curve bends downward.
The fitted slope at study time \(x\) is \(\hat{m}'(x)=3.4-0.50x\) points per hour. At \(x=2\) hours, it is \(3.4-0.50(2)=2.4\) points per hour. At \(x=3\) hours, it is \(3.4-0.50(3)=1.9\) points per hour. The slope therefore decreases by \(2.4-1.9=0.50\) points per hour as study time increases by one hour, consistent with the curvature of \(-0.50\) points per hour squared.
This describes the fitted mean curve, not a guarantee about any individual student’s score. It also does not say that the score is decreasing at either of these times: both calculated slopes are positive. The curve is bending downward while still rising at those values of \(x\).
Why the Factor of Two Appears
The quadratic term’s coefficient is not itself the second derivative. Differentiating \(x^2\) once gives \(2x\); differentiating again gives \(2\). The constant and linear terms have second derivatives of zero. Consequently, the second derivative is twice the coefficient of the squared term.
There is also a useful interpretation in terms of equal steps along the predictor scale. For any positive step size \(h\), compare the mean at \(x+h\), at \(x\), and at \(x-h\). Expanding each quadratic term gives \(m(x+h)=\beta_0+\beta_1(x+h)+\beta_2(x+h)^2\) and \(m(x-h)=\beta_0+\beta_1(x-h)+\beta_2(x-h)^2\). Subtracting twice the middle value cancels the constant and linear terms. The remaining quadratic terms are \(2\beta_2h^2\). Therefore:
This identity shows why positive curvature corresponds to the middle value lying below the average of the two equally spaced outer values, while negative curvature corresponds to the middle value lying above that average. It also confirms that the second derivative describes a consistent pattern across the quadratic curve, not just at one selected \(x\).
Interpreting Curvature with Units
Units help keep curvature distinct from slope. If \(Y\) is measured in outcome units and \(x\) in predictor units, then the slope has units of outcome units per predictor unit. The second derivative has units of outcome units per predictor unit squared. For example, if the outcome is a concentration in milligrams per litre and the predictor is a dose in milligrams, curvature is measured in \((\text{milligrams per litre})/\text{milligram}^2\).
The coefficient \(b_2\) has the same units as curvature, because it multiplies \(x^2\) to produce an outcome in the model. The coefficient is half the curvature: \(\hat{m}''=2b_2\). Reporting the coefficient without multiplying by two, or describing it as a change in outcome per predictor unit, gives the wrong interpretation.
Worked Example: Curvature in Dose and Concentration Units
A hypothetical model predicts an enzyme concentration \(c\), measured in units per litre, from dose \(d\), measured in milligrams. The fitted model uses \(z=d/10\), so one unit of \(z\) represents ten milligrams: \(\hat{m}(z)=4+1.2z-0.15z^2\). Find and interpret the curvature per milligram squared.
First calculate curvature with respect to \(z\): \(\frac{d^2\hat{m}}{dz^2}=2(-0.15)=-0.30\) units per litre per \(z\)-unit squared. But the question asks for curvature with respect to \(d\), in milligrams. Since \(z=d/10\), substituting gives \(\hat{m}(d)=4+1.2(d/10)-0.15(d/10)^2\).
Simplifying, \(\hat{m}(d)=4+0.12d-0.0015d^2\). Differentiating twice with respect to \(d\) gives \(\frac{d^2\hat{m}}{dd^2}=2(-0.0015)=-0.00300\) units per litre per milligram squared.
Thus, for each additional milligram in dose, the fitted slope of concentration with respect to dose decreases by \(0.00300\) units per litre per milligram. The curve bends downward. The value \(-0.30\) was curvature per squared \(z\)-unit, not per squared milligram; those units cannot be interchanged without converting the predictor scale.
Curvature Describes Shape, Not Causation
A fitted second derivative describes the shape of the model’s estimated conditional mean over the predictor range in question. It is an association-based description unless the study design and assumptions support a causal interpretation. A curved regression fit by itself does not show that changing the predictor would cause the outcome to change.
The quadratic model has constant curvature, but that mathematical feature does not guarantee that a quadratic form is suitable at every possible predictor value. Interpret the curve over a range where the data provide a reasonable basis for the model; far outside that range, the polynomial may give implausible predictions or a shape unsupported by observations. Curvature alone also does not tell you where the slope is zero.
The calculation \(2b_2\) is a description of the fitted curve. How uncertain that estimate is, and whether the data provide evidence of nonzero curvature, are separate inferential questions. The sign of a point estimate should not be treated as proof that the underlying mean curve bends in that direction.
Common Mistakes
- Using \(b_2\) instead of \(2b_2\). The squared term’s coefficient is half the second derivative. Differentiate \(b_2x^2\) twice to obtain \(2b_2\).
- Calling curvature the slope. Curvature is the rate at which slope changes. The slope itself is \(b_1+2b_2x\), which depends on \(x\).
- Reading the sign as the direction of change in the outcome. A positive second derivative means the slope is increasing, not necessarily that the outcome is increasing. Check the slope separately if that question matters.
- Leaving out squared predictor units. Curvature is measured in outcome units per squared predictor unit, not in outcome units per predictor unit.
- Assuming the fitted shape establishes a causal effect. A regression curve summarizes a modeled relationship; causal conclusions require appropriate design and assumptions.
Check Your Understanding
Use the second derivative to describe curvature, and take care to distinguish it from slope.
- A fitted model is \(\hat{m}(x)=7-2x+0.4x^2\). What is its curvature, including units if \(Y\) is measured in kilograms and \(x\) in metres?
- For a quadratic model with a negative second derivative, must the fitted outcome be decreasing? Explain.
- If the fitted quadratic coefficient is \(b_2=0.12\), what is the fitted second derivative, and how should its units be written when \(Y\) is in points and \(x\) in hours?
- A predictor is recorded in units of ten minutes. Why can curvature per squared predictor unit not be reported directly as curvature per minute squared?
- In one sentence, distinguish what the first derivative describes from what the second derivative describes.