Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Quadratic Response Surfaces

A first-order model supplies a direction of improvement. Near an optimum, curvature becomes essential: we need to estimate how the slope changes as each factor moves. A second-order response surface supplies this local shape and a candidate operating point.

At a Glance

Locate
Classify & confirm

Set the fitted gradient to zero and solve for the stationary point.

Why More Design Points Are Needed

For kk quantitative factors, the full quadratic model is

y=β0+∑j=1kβjxj+∑j=1kβjjxj2+∑i<jβijxixj+ϵ.y=\beta_0+\sum_{j=1}^k\beta_jx_j+\sum_{j=1}^k\beta_{jj}x_j^2+\sum_{i<j}\beta_{ij}x_ix_j+\epsilon.

There are p=1+2k+k(k−1)/2=(k+1)(k+2)/2p=1+2k+k(k-1)/2=(k+1)(k+2)/2 coefficients, including the intercept. Estimating them requires a design matrix of rank pp, not merely pp observations.

At two-level factorial corners, every xj2=1x_j^2=1. Thus all pure quadratic columns coincide with the intercept. Adding the center separates the intercept from the sum of the quadratic coefficients, but the quadratic columns still coincide with one another. Opposing curvatures can even cancel in that sum.

Axial points vary one factor while holding the others at zero. They provide the information needed to separate individual quadratic terms.

Central Composite Designs

A central composite design (CCD) combines three sets of runs:

ComponentCoded settingsNumber of runs without replication outside the center
FactorialAll combinations of xj=±1x_j=\pm12k2^k
AxialOne coordinate ±α\pm\alpha, all others zero2k2k
CenterAll coordinates zeronCn_C

The total is N=2k+2k+nCN=2^k+2k+n_C. For k≥2k\geq2 and distinct axial settings, there are 2k+2k+12^k+2k+1 distinct conditions. Repeated center runs add pure-error information without adding new locations. A suitable fractional factorial core can reduce the run count, provided the required quadratic model remains estimable.

Choosing the Axial Distance

ChoiceMeaningPractical implication
α=1\alpha=1Face-centered CCDThree levels per factor; axial settings stay within the factorial bounds.
α=k\alpha=\sqrt{k}Spherical geometryAll noncenter points lie at the same radius.
α=nF1/4\alpha=n_F^{1/4}Rotatable standard CCD, with an appropriate factorial core and one run per axial pointPrediction variance depends on distance from the center rather than direction.

Spherical geometry and rotatability are different properties. For a full factorial core with k=2k=2, both give α=2\alpha=\sqrt2; with k=3k=3, they give 3\sqrt3 and 81/48^{1/4} respectively. Replication patterns affect the rotatability condition. See the CCD design guidance for the standard construction.

A face-centered CCD equals the full three-level factorial when k=2k=2, but not generally: with three factors it has 15 distinct settings, versus 27 for a full three-level factorial.

Factorial, axial, and center points in a two-factor CCD

Matrix Form & the Stationary Point

Write the fitted surface as

y^(x)=β^0+bTx+xTBx.\widehat y(\mathbf x)=\widehat\beta_0+\mathbf b^\mathsf T\mathbf x+\mathbf x^\mathsf T B\mathbf x.

The vector b\mathbf b contains linear coefficients. The symmetric matrix BB has pure quadratic coefficients on its diagonal and half each interaction coefficient off the diagonal. With two factors,

B=(β^11β^12/2β^12/2β^22).B=\begin{pmatrix}\widehat\beta_{11}&\widehat\beta_{12}/2\\\widehat\beta_{12}/2&\widehat\beta_{22}\end{pmatrix}.

The halving matters because the matrix product contains both B12x1x2B_{12}x_1x_2 and B21x2x1B_{21}x_2x_1.

The gradient and Hessian are

∇y^=b+2Bx,H=2B.\nabla\widehat y=\mathbf b+2B\mathbf x,\qquad H=2B.

If BB is invertible, setting the gradient to zero gives

xs=−12B−1b.\boxed{\mathbf x_s=-\tfrac12 B^{-1}\mathbf b}.

In computation, solve Bxs=−b/2B\mathbf x_s=-\mathbf b/2 directly rather than explicitly forming an inverse.

Derive the predicted response at the stationary point

At the stationary point, Bxs=−b/2B\mathbf x_s=-\mathbf b/2. Therefore

xsTBxs=−12xsTb.\mathbf x_s^\mathsf T B\mathbf x_s=-\tfrac12\mathbf x_s^\mathsf T\mathbf b.

Substituting into the fitted surface yields

y^s=β^0+12xsTb.\widehat y_s=\widehat\beta_0+\tfrac12\mathbf x_s^\mathsf T\mathbf b.

Classifying the Surface

Eigenvalues of BBClassification
All negativeStrict maximum of the fitted quadratic
All positiveStrict minimum of the fitted quadratic
Both positive and negativeSaddle point
One or more zeroFlat direction; investigate rank and the gradient before claiming an isolated optimum

Negative diagonal entries alone do not guarantee a maximum: a strong interaction can create an upward direction. Eigenvalues check every direction simultaneously.

Why eigenvalues describe the local shape

Let u=x−xs\mathbf u=\mathbf x-\mathbf x_s. The linear terms cancel at a stationary point, giving

y^(x)=y^s+uTBu.\widehat y(\mathbf x)=\widehat y_s+\mathbf u^\mathsf T B\mathbf u.

For B=QΛQTB=Q\Lambda Q^\mathsf T, rotate coordinates to w=QTu\mathbf w=Q^\mathsf T\mathbf u. Then

y^=y^s+∑jλjwj2.\widehat y=\widehat y_s+\sum_j\lambda_jw_j^2.

Each eigenvalue is curvature along one rotated axis. Mixed signs mean some directions increase the response while others decrease it.

Worked Optimization

Suppose the fitted local surface, using x1=(A−85)/5x_1=(A-85)/5 and x2=(Bnatural−175)/5x_2=(B_{\mathrm{natural}}-175)/5, is

y^=79.94+0.995x1+0.515x2−1.376x12−1.001x22+0.25x1x2.\widehat y=79.94+0.995x_1+0.515x_2-1.376x_1^2-1.001x_2^2+0.25x_1x_2.

Here the curvature matrix is B=(−1.3760.1250.125−1.001)B=\begin{pmatrix}-1.376&0.125\\0.125&-1.001\end{pmatrix}. The matrix symbol BB is separate from the natural-unit factor name.

The candidate is approximately (86.95,176.53)(86.95,176.53) in natural units, with predicted response 80.21. Both eigenvalues are negative, so the fitted surface has a maximum there. This is a model prediction, not a new observed outcome.

Adequacy, Constraints & Confirmation

A full-rank quadratic fit needs more than algebraic solvability. Check residuals, constant variance, influential runs, and lack of fit. With gg distinct conditions and NN runs, pure-error df are N−gN-g, residual df are N−pN-p, and lack-of-fit df are g−pg-p. When both components have positive df,

FLOF=SSLOF/(g−p)SSPE/(N−g).F_{\mathrm{LOF}}=\frac{SS_{\mathrm{LOF}}/(g-p)}{SS_{\mathrm{PE}}/(N-g)}.

For a two-factor CCD with four corners, four axial points, and five centers, N=13N=13, g=9g=9, p=6p=6: residual df 7 split into 4 pure-error and 3 lack-of-fit df.

A stationary point outside the studied or feasible region is an extrapolation. Optimize within the actual constraints and inspect boundaries if needed. Near-singular curvature can make the calculated location very unstable. Round settings to achievable values, recompute the prediction there, and perform independent confirmation runs.

Sequential augmentation is useful: add axial runs after a factorial-and-center experiment reveals curvature. If stages occur on different days, include stage effects where estimable and check their confounding with curvature; shared center runs help assess stage shifts.