A squared linear function

A squared linear function is a quadratic function q : mathbf{R}^n rightarrow mathbf{R} of the form

 q(x) = (v^Tx)^2,

for some vector v in mathbf{R}^n.

The function vanishes on the space orthogonal to v, which is the hyperplane defined by the single linear equation v^Tx = 0. Thus, in effect this function is really one-dimensional: it varies only along the direction v.

Level curve of $p$ 

Level sets and graph of a dyadic quadratic function, corresponding to the vector v = (2,1). The function is constant along hyperplanes orthogonal to v.