Distribution of X^2 When X ~ N(0,1)
Question: if X follows N(0, 1), what does X^2 follows? I know it is still normal ( because I gain the visual intuition), but how to show it mathematically?
Your visual intuition that the distribution remains "normal" is actually a common misconception. In fact, if
follows a standard normal distribution, its square
follows a Chi-squared distribution with 1 degree of freedom (
), which looks significantly different from the bell curve.
To see why
cannot be normal, consider two immediate visual contradictions:
- Domain: A normal distribution is defined for all real numbers (positive and negative). However, can never be negative, so its probability density must be zero for all .
- Symmetry: The normal distribution is symmetric around its mean. The distribution of is highly skewed, with a "spike" (vertical asymptote) at zero.
Mathematical Derivation
To find the distribution of
, we use the method of Cumulative Distribution Functions (CDF).
Let
. The PDF of
is
. Let
. We want to find the CDF
.
For
,
(since a square cannot be negative). For
:
where
is the CDF of the standard normal distribution. Using the symmetry property
, we simplify this to:
To find the probability density function (PDF)
, we differentiate the CDF with respect to
:
Substituting the definition of the standard normal PDF
:
This resulting function is the PDF of the Chi-squared distribution with 1 degree of freedom.
Visualizing the Transformation
In the provided diagram:
- The blue curve represents the standard normal distribution . Note how it is centered at 0 and spreads symmetrically.
- The red curve represents the distribution of (the distribution). Note how it only exists for and shoots toward infinity as approaches 0.
- You can move the slider to choose a value for the random variable .
- The black point on the blue curve shows the probability density of .
- The orange point on the red curve shows the corresponding probability density of .
Notice that as
moves further from zero in either direction (positive or negative),
moves to the right. Because both
and
"map" to the same
, the density of the squared distribution accumulates, resulting in the different shape you see.
