I know the from the basic rule of the covariance we have: $$\text{Cov(aX,Y)=aCov(X,Y)}$$ however now i'm looking at a case that is creating me some doubt: Looking at the covariance of the same random variable:
$1)$ $\text{Cov(aX,X)=aCov(X,X)=aVar(X)}$
$2)$ $\text{Cov(aX,X)=Var(aX)=}a^2\text{Var(X)}$
which one is the correct solution?
Thank you in advance