Quadratic functions in two variables

Two examples of quadratic functions are p,q: \mathbb{R}^2 \rightarrow \mathbb{R}, with values

p(x) = 4x_1^2 + 2x_2^2 + 3x_1 x_2 +4x_1 + 5x_2 + 2\times 10^5
q(x) = 4x_1^2 - 2x_2^2 + 3x_1 x_2 +4x_1 + 5x_2 + 2\times 10^5

The function

r(x) = 4x_1^2 + 2x_2^2 + 3x_1 x_2

is a form, since it has no linear or constant terms in it.

Level curve of $p$ Level sets and graph of the quadratic function p. The epigraph is anything that extends above the graph in the z-axis direction. This function is ‘‘bowl-shaped’’, or convex.
Level curve of $p$ Level sets and graph of the quadratic function q. This quadratic function is not convex.

License

Hyper-Textbook: Optimization Models and Applications Copyright © by L. El Ghaoui. All Rights Reserved.

Share This Book