I've run across the following inequality, and haven't been able to come up with a proof for it (and potentially am not convinced it is true).
Show that $$|\langle a, Mb\rangle| \leq \sqrt{ a^\intercal M a b^\intercal M b}$$ for a positive definite matrix $M$ and arbitrary vectors $a$ and $b$.
Attempt at Solution
Using Cauchy Schwarz we get that $$|\langle a, Mb \rangle| \leq \Vert a \Vert \, \Vert b \Vert \\ = \sqrt{a^\intercal a (Mb)^\intercal Mb} \\ = \sqrt{a^\intercal a b^\intercal M M b}.$$
However, from here on out we can't just move around the $M$.
Presumably the symbol $\langle x,y\rangle$ means the Euclidean inner product of two vectors $x$ and $y$. If so, the inequality in question is precisely Cauchy-Schwarz inequality, not just something analogous to it.
Since $M$ is positive definite, $(x,y):=\langle x,My\rangle$ defines an inner product. The inequality in question is thus equivalent to $|(a,b)|\le\sqrt{(a,a)(b,b)}$, which is Cauchy-Schwarz inequality with respect to the new inner product $(\cdot,\cdot)$.
Alternatively, since $M$ is positive definite, it admits a unique positive definite square root $M^{1/2}$. Therefore the inequality in question can be rewritten as $$ |\langle M^{1/2}a,M^{1/2}b\rangle|\le\sqrt{\langle M^{1/2}a,M^{1/2}a\rangle\langle M^{1/2}b,M^{1/2}b\rangle}, $$ which is Cauchy-Schwarz inequality with respect to the old inner product $\langle\cdot,\cdot\rangle$.