Is the var$(y_i) = E(y_i^2)$?
Can someone tell me if it's true? Is it always? How so? Assuming that Y is a random variable with normal distribution with $\mu = \beta E(x_i)$ and $\sigma^2$.
Does it apply only to this case? Considering this that Y comes from $Y = \beta X + e$, where $e \sim N(0,\sigma^2$).
The general definition is:
$$ \operatorname{Var}(X) = \operatorname{E} \left[ (X - \operatorname{E}[X])^2 \right] $$
which can also be written as:
$$ \operatorname{E}\left[X^2 \right] - \operatorname{E}[X]^2 $$
In the special case where the mean is 0 (i.e. $E[X]=0$), you get the result that you provided.
More details here: https://en.wikipedia.org/wiki/Variance
I hope this helps.