0

Consider the function $f: \mathbb R^n \to \mathbb R$ defined by $$ f(x) = (w_0 + x_1w_1 + x_2w_2 + ... + x_nw_n )^2 $$ , where $w_i \in \mathbb R$.

Is this function strictly convex? If no, is there any condition about $w_i$ under which we can be sure that this function is strictly convex?

alireza
  • 205
  • 1
  • 7

1 Answers1

1

It's exactly as you said in the comments. The Hessian is $2ww^T$, and it cannot be positive definite (unless $n = 1$).

Indeed, $\text{rank} \ ww^T = \text{rank} \ w = 1$. But positive definiteness requires $\text{rank} \ n$.

So, assuming you are interested in case $n > 1$, $f(x)$ is never strictly convex.

Remark: In general, Hessian being positive definite is sufficient for strict convexity, but not necessary. For example, $f(x) = x^4$ has zero second derivative at $x = 0$, but it's still strictly convex. However, for quadratic functions (which applies to your case), strict convexity is equivalent to Hessian being positive definite.

nowhere
  • 1,056