Why a Quadratic Turning Point Matters
A quadratic regression describes a curved relationship between a predictor and a fitted outcome. If the curve bends downward, it has a highest point; if it bends upward, it has a lowest point. That point is the turning point, or vertex, of the fitted curve. It can summarize where the fitted outcome changes direction, but its practical meaning depends on whether the predictor value is covered by the data.
For example, a fitted curve might predict that an outcome increases as a predictor rises, then decreases after a particular value. The turning point locates that change in the fitted relationship. It does not by itself establish that the relationship is causal, that an individual outcome will equal the fitted value, or that the turning point is reliably estimated.
The Quadratic Model and Its Vertex
Let \(x\) be a quantitative predictor and \(Y\) an outcome. A quadratic regression represents the conditional mean of the outcome with a quadratic function of \(x\). Its fitted curve uses estimated coefficients, which we write as \(b_0\), \(b_1\), and \(b_2\).
The corresponding regression model for observed values is \(Y_i=\beta_0+\beta_1x_i+\beta_2x_i^2+\varepsilon_i\). Here \(\beta_0+\beta_1x_i+\beta_2x_i^2\) is the conditional mean model, and \(\varepsilon_i\) represents the difference between an observed outcome and that mean. The intended interpretation requires the quadratic mean function to be a reasonable description of the relationship over the predictor values being considered. Standard regression fitting also relies on suitable error conditions, such as independent errors with mean zero and constant variance; normality is relevant to some inferential procedures, not to calculating the vertex of a fitted curve. This tutorial concerns the fitted curve’s geometry, not uncertainty in the estimated turning point.
The units help keep the two coordinates distinct. If \(x\) is measured in hours and \(Y\) in milligrams, then \(x_v\) is in hours and \(\hat{y}_v\) is in milligrams. The coefficients have corresponding units: \(b_1\) is outcome units per predictor unit, while \(b_2\) is outcome units per squared predictor unit.
Deriving the Turning Point
There are two direct ways to identify the vertex. The slope of the fitted quadratic at \(x\) is \(b_1+2b_2x\). Setting that slope equal to zero and solving gives the predictor coordinate. Substituting that coordinate into the fitted curve gives the fitted outcome.
To simplify the fitted outcome, substitute \(x_v\) into the equation and combine the terms:
Equivalently, completing the square rewrites the fitted curve as \(\hat{y}=b_0-b_1^2/(4b_2)+b_2(x+b_1/(2b_2))^2\). The squared term is zero at \(x=-b_1/(2b_2)\), confirming both vertex coordinates. This form also makes the classification clear: if \(b_2<0\), moving away from the vertex makes the squared-term contribution negative, so the vertex is a maximum. If \(b_2>0\), moving away makes it positive, so the vertex is a minimum. This agrees with the second derivative, \(2b_2\).
If \(b_2=0\), the fitted function is linear (or constant), not a quadratic curve with a unique turning point. A calculated vertex should therefore not be reported by dividing by zero or by treating a nearly zero coefficient as automatically meaningful.
Check the Observed Predictor Range
Let \(x_{\min}\) and \(x_{\max}\) be the smallest and largest predictor values in the data used to fit the curve. The vertex is within the observed range when \(x_{\min}\le x_v\le x_{\max}\). This is a useful first check: if the turning point is outside the range, it is an extrapolation beyond the observed predictor values.
When the vertex is outside the range, the fitted curve does not turn within the observed interval. Its slope does not change sign there, so the curve is increasing throughout that interval or decreasing throughout it. If the practical question is which fitted value is highest or lowest within the observed interval, check the fitted values at the interval’s endpoints rather than automatically using the vertex.
An in-range vertex is not necessarily well supported by the data. The smallest and largest observations can enclose a wide gap with few or no observations near the turning point. The range check answers whether the vertex is between the extremes; it does not measure how densely the data cover its neighborhood, validate the quadratic form, or quantify uncertainty in the vertex.
Worked Example: A Maximum Within the Observed Range
Suppose a hypothetical data set records study time \(x\), in hours, and a quiz outcome \(Y\), in points. Its observations are \((0,12)\), \((2,16)\), \((4,16)\), \((6,12)\), and \((8,4)\). These points follow the fitted quadratic \(\hat{y}=12+3x-0.5x^2\). Find and interpret the vertex.
Calculate the predictor coordinate. Here \(b_0=12\), \(b_1=3\), and \(b_2=-0.5\). Since \(b_2<0\), the vertex is a maximum. Its predictor value is
Calculate the fitted outcome. Substitute \(x_v=3\) into the fitted curve:
The vertex is at 3 hours and 16.5 fitted points. The observed predictor range is 0 to 8 hours, so 3 hours is within the range. The fitted curve therefore has its maximum within the observed range. The interpretation concerns the fitted mean relationship: it does not say that every student studying for 3 hours would score 16.5 points.
Worked Example: A Minimum Beyond the Observed Range
Consider hypothetical observations of a predictor \(x\), in concentration units, at \(x=0,1,2,3\), with outcomes following the fitted curve \(\hat{y}=5-2x+0.25x^2\). The corresponding fitted outcomes are 5, 3.25, 2, and 1.25 outcome units. Find the vertex and decide what the data range says about it.
Classify the turning point. Since \(b_2=0.25>0\), the vertex is a minimum. Its predictor coordinate is
Find its fitted outcome.
The observed range is from 0 to 3 concentration units, so the vertex at 4 is outside the range. The model’s fitted slope is \(-2+0.5x\), which is negative for every observed value from 0 through 3. Thus the fitted curve decreases across the observed interval; it does not reach its minimum there. The value of 1 at \(x=4\) is an extrapolated model prediction, not an outcome directly supported by observations at that predictor value.
Worked Example: In Range, but With a Gap in the Data
A hypothetical data set has predictor values \(x=0,1,9,10\) hours and outcomes that follow the fitted curve \(\hat{y}=20+4x-0.4x^2\), in outcome units. Find the vertex and assess the range check.
Find and classify the vertex. The quadratic coefficient is negative, so the vertex is a maximum:
Its fitted outcome is
The observed range is 0 to 10 hours, so the vertex at 5 hours is inside that range. But the observed values are 0, 1, 9, and 10 hours: none is close to 5. The vertex passes the minimum-to-maximum range check, yet there is a substantial gap around it. It is therefore important to distinguish “within the observed range” from “well supported by nearby observations.” The range alone cannot resolve the latter question.
Common Mistakes and Practical Meaning
- Using the wrong sign in the vertex formula. The predictor coordinate is \(-b_1/(2b_2)\), not \(b_1/(2b_2)\). Substituting into the derivative, \(b_1+2b_2x=0\), provides a quick sign check.
- Calling every vertex a maximum. The sign of \(b_2\) determines the shape: negative means a maximum, positive means a minimum.
- Reporting only the predictor coordinate. A turning point has two coordinates. Calculate \(\hat{y}_v\) as well, and state the units of both.
- Assuming the vertex is observed just because it is in range. An in-range value may lie in a sparsely observed gap. Check where the predictor values actually occur, not only their minimum and maximum.
- Treating the fitted value as a guaranteed individual outcome. The vertex gives a feature of the fitted curve. Individual outcomes can differ from fitted values, and the calculation does not establish causation.
A turning point can give a compact description of a quadratic fit: where its direction changes, whether that change is upward or downward, and what outcome the curve predicts there. The range check is essential to that description. A vertex outside the range is an extrapolated feature; a vertex inside the range is still only a preliminary indication of support, not proof that the curve is appropriate or that the turning point is precise.
Check Your Understanding
For each question, distinguish the curve’s algebra from what the data range supports.
- For \(\hat{y}=8+6x-1.5x^2\), calculate the vertex and classify it as a maximum or minimum.
- For \(\hat{y}=3-4x+0.5x^2\), calculate both vertex coordinates. If the observed predictor range is 0 to 3, is the vertex within that range?
- Why does \(b_2=0\) mean that the quadratic vertex formula does not give a unique turning point?
- A vertex lies between the smallest and largest observed predictor values, but there are no observations near it. What does the range check establish, and what does it not establish?
- In a fitted model, the vertex predictor is measured in days and the outcome is measured in grams. State the units of each vertex coordinate.