Given arbitrary $x \in \mathbb{R}^n$ and $A = A^T \in \mathbb{R}^{n \times n}$ such that $x^Tx = 1$ prove that:
$$(x^TAx)^2 - x^TA^2x \le 0 $$
My attempt
Diagonalize $A$ as $A = L\Lambda L^T$. Thus $A^2 = L\Lambda^2 L^T$. Let $w = L^Tx$.
Thus we need to prove
$$(w^T\Lambda w)^2 - w^T\Lambda^2w \le 0 \quad \text{for} \quad w^Tw=1 $$
I'm stuck here.
$w^{T}\Lambda w=\sum d_iw_i^{2}$ where $d_i$'s are the diagonal elements. What you need is $(\sum d_iw_i^{2})^{2} \leq \sum d_i^{2}w_i^{2}$. Apply Cauchy -Scawrtaz inequlaity $(\sum a_ib_i)^{2} \leq \sum a_i^{2}\sum b_i^{2}$ with $a_i=d_iw_i$ and $b_i=w_i$.