Why is the standard deviation always positive?

$\begingroup$

I wondered why the standard deviation always has to be positive. I found the following answers: answer 1, answer 2.

There's a lot of people saying that the standard deviation is positive because it's the root of a positive number, and hence by definition positive.. I don't think this is true since every positive number has a negative square root ($\sqrt4 = -2$).

However, I assume that we just agree that the standard deviation is positive because it's indicates a distance from the mean. Is that correct; that it's just agreed on?

$\endgroup$ 2

3 Answers

$\begingroup$

Yes and no. The standard deviation is always positive precisely because of the agreed on convention you state - it measures a distance (either way) from the mean.

But you're wrong about square roots. Every positive real number has two of them. but only the positive one is meant when you use the $\sqrt{}$ sign. (That's another convention.)

$\endgroup$ $\begingroup$

Suppose $$x^2 = 4$$ then it is true that $$x = \pm 2$$ but by convention, we define $\sqrt{4}$ to be the positive value of $x$ such that $x^2 = 4$, hence $\sqrt{4} = 2$.

Note that it makes no sense for $\sqrt{4}$ to equal two values, because $\sqrt{\cdot}$ is meant to be a function (and a function only has one output, not two).

$\endgroup$ $\begingroup$

One look at the functional form of s.d. gives away the answer:

\begin{equation} \sigma = \sqrt{\frac{\sum_{i=1}^n (x_i - \bar{x})^2}{n-1}} \end{equation}

If the difference $(x_i-\bar{x})$ is negative, the square of this difference is positive. If the difference $(x_i-\bar{x})$ is positive, the square is positive. Variance is the sum of squares, and s.d. is the square root of the variance.

$\endgroup$

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like