Let $\xi$ and $\eta$ be random variables. $\mathbb{D}\xi >0$ and $\mathbb{D}\eta>0$ Let $\rho=\rho(\xi,\eta)=\frac{\mathbb{E}(\xi-\mathbb{E}\xi)(\eta-\mathbb{E}\eta)} {\sqrt{\mathbb{D}\xi \mathbb{D}\eta}}$.
I need to show that
1) $|\rho|\leq 1$
2) $\rho=-1$ when $\frac{\eta -\mathbb{E}\eta}{\sqrt{\mathbb{D}\eta}}=-\frac{\xi -\mathbb{E}\xi}{\sqrt{\mathbb{D}\xi}}$
For 1) I think I should use $|\mathbb{E}\xi\eta|\leq \sqrt{\mathbb{E}\xi^2\mathbb{E}\eta^2}$ but actually I don't know how to do it correctly.
For 2) I have no Ideas. How should I start and what should I use?
For 1) you can apply the inequality you want to use on $\xi-E\xi$ and $\eta-E\eta$ instead of $\xi$ and $\eta$. To follow the statement from this, you will have to use that
$E((\xi-E\xi)^2)=E(\xi^2-2\xi E(\xi)+E(\xi)^2)=E(\xi^2)-2E(\xi)E(\xi)+E(\xi)^2=E(\xi^2)-E(\xi)^2=D\xi.$