Why a Vanishing Derivative Needs Care
For a smooth one-to-one transformation, the density formula divides by the absolute derivative, or by the absolute Jacobian determinant. If that quantity is zero at an isolated point, the formula cannot be evaluated there. Nearby, its reciprocal may also become large. The right conclusion is not that the transformation has failed: the ordinary formula can still describe the transformed distribution almost everywhere, while the density may be unbounded near the exceptional value.
The distinction between an exceptional point and a whole region matters. A continuous random variable has probability zero of taking any particular value, so an isolated point where the derivative vanishes contributes no probability by itself. But a small neighborhood of that point can be stretched or compressed enough to produce a large density nearby. The resulting density must still integrate to one.
One-Dimensional Formula Away From Critical Points
Write \(Y=g(X)\), where \(X\) has density \(f_X\) and \(P(X\in I)=1\). At points \(y\) whose inverse \(x=g^{-1}(y)\) satisfies \(g'(x)\ne 0\), the usual one-to-one transformation formula is
This formula applies on the image of the regular points, not necessarily at every point of \(g(I)\). At a critical value the expression may be undefined, and a density is only determined up to changes on sets of Lebesgue measure zero. It is therefore appropriate to specify the formula almost everywhere and to treat the critical values separately.
Proof. An isolated subset of an interval is countable, so \(C\) and \(g(C)\) are countable and have Lebesgue measure zero. Also, \(P(X\in C)=0\), since \(X\) has a density. The open set \(I\setminus C\) is a countable union of disjoint open intervals. On each such interval \(J\), the derivative is continuous and nonzero, so it has constant sign; the inverse function theorem makes \(g\) a differentiable one-to-one change of variable there. For any Borel set \(A\subseteq g(I)\), the one-dimensional change-of-variables formula on each \(J\) gives
The omitted set \(C\) has probability zero. Since \(g\) is injective, the intervals \(g(J)\) do not overlap, and the countable sum is the integral of the displayed density over \(A\), apart from the null set \(g(C)\). Taking \(A=g(I)\) shows that the density integrates to one. Finally, for any \(y\), injectivity makes \(g^{-1}(\{y\})\) either empty or a singleton; \(X\) assigns probability zero to either possibility. Thus \(P(Y=y)=0\). \(\square\)
Worked Example: A Cubic Map With an Interior Critical Value
Let \(X\sim\operatorname{Uniform}(-1,1)\), so \(f_X(x)=1/2\) on \((-1,1)\), and set \(Y=X^3\). The map \(g(x)=x^3\) is strictly increasing, with inverse \(g^{-1}(y)=y^{1/3}\). Its derivative \(g'(x)=3x^2\) vanishes only at \(x=0\), and the critical value is \(y=0\).
For \(y\in(-1,0)\cup(0,1)\), substitute the inverse and its derivative into the formula:
The density tends to infinity as \(y\) approaches zero. This does not mean there is positive probability at zero: \(Y=0\) exactly when \(X=0\), an event of probability zero. The singularity is integrable, as a direct check confirms:
The density may be assigned any finite value at \(y=0\) without changing the distribution. It is the formula away from zero, rather than its value at that single point, that determines the law.
How the Input Density Affects the Singularity
A zero derivative does not force every transformed density to diverge. The numerator \(f_X(g^{-1}(y))\) matters too: if the input density is small near the critical point, it can offset the small derivative. The next example keeps the same map but changes the input distribution.
Worked Example: A Vanishing Input Density Cancels the Jacobian
Let \(X\) have density \(f_X(x)=\frac{3}{2}x^2\) on \((-1,1)\). This is a probability density because
Again take \(Y=X^3\). For \(y\ne0\), the inverse is \(x=y^{1/3}\), and
Thus \(Y\) is uniform on \((-1,1)\). Although the change-of-variables expression at zero initially has the indeterminate form \(0/0\), the density is \(1/2\) on either side. Assigning that value at zero gives a convenient version of the density. The transformation itself still has zero derivative there; it is the input density that cancels the potential blow-up.
When \(f_X(x_0)>0\), a derivative that approaches zero often does produce an unbounded transformed density near \(g(x_0)\). The cubic example illustrates the mechanism: a change in \(y\) corresponds to a comparatively larger change in \(x\) near zero, so probability from a wider input interval is concentrated in a narrow output interval. The precise rate depends on how \(g'\) approaches zero and on how \(f_X\) behaves; it is not determined by the fact of vanishing alone.
Multivariate Jacobians With Isolated Zeros
The same issue occurs for a one-to-one transformation of random vectors. Let \(\Omega\subset\mathbb{R}^d\) be open and \(T:\Omega\to T(\Omega)\) be injective and continuously differentiable. Suppose \(\det DT(x)\ne0\) except at isolated points of \(\Omega\), and let \(X\) have density \(f_X\) with \(P(X\in\Omega)=1\). Away from the critical points, the inverse function theorem and the multivariate change-of-variables formula give
This is an almost-everywhere formula. To see why the exceptional points do not invalidate it, the set \(C=\{x:\det DT(x)=0\}\) is countable: every isolated point can be assigned a distinct element of a countable base of open balls in \(\mathbb{R}^d\). Hence \(P(X\in C)=0\), and injectivity makes \(T(C)\) countable as well. On \(\Omega\setminus C\), the inverse function theorem gives a local differentiable inverse at every point. The restriction of \(T\) to this open set is injective, so these local inverses agree wherever their image neighborhoods overlap and together define a differentiable inverse on \(T(\Omega\setminus C)\). Applying the multivariate change-of-variables formula there gives the density above. The omitted critical set has probability zero, and its image has Lebesgue measure zero. As in one dimension, the density’s behavior near a critical value can nevertheless be singular.
Worked Example: A Radial Map With an Isolated Jacobian Zero
Let \(X\) be uniform on the open unit disk in \(\mathbb{R}^2\), so \(f_X(x)=1/\pi\) inside the disk. Define \(T(x)=\|x\|^2x\). In polar coordinates, this map preserves direction and sends radius \(r\) to radius \(s=r^3\). It is one-to-one from the unit disk onto itself.
Writing \(x\) as a column vector, its derivative matrix is \(DT(x)=\|x\|^2 I+2xx^{\mathsf T}\). For \(x\ne0\), vectors perpendicular to \(x\) have eigenvalue \(r^2\), while the direction of \(x\) has eigenvalue \(3r^2\). Therefore \(\det DT(x)=3r^4\), which vanishes only at the origin. For \(y=T(x)\ne0\), \(\|y\|=r^3\), so \(r=\|y\|^{1/3}\). The transformed density is
This density is unbounded near the origin, but it integrates to one. Using polar coordinates in the output disk,
The origin is not an atom: \(T(X)=0\) only when \(X=0\), which has probability zero. The density’s value at that one point is immaterial.
A Boundary Critical Point
Worked Example: A Critical Point at the Edge of the Support
Let \(X\) be uniform on \((0,1)\) and set \(Y=X^3\). The map is strictly increasing, and its derivative vanishes at zero, the boundary of the input support. For \(0<y<1\), the inverse formula gives
The density becomes unbounded as \(y\) approaches the boundary value zero, yet
There is no point mass at the boundary, since \(P(X=0)=0\). A boundary singularity in a density is therefore compatible with a continuous distribution supported on \((0,1)\).
Common Mistake and Practical Check
A common mistake is to substitute a critical value directly into the reciprocal-derivative formula, obtain division by zero, and conclude that the transformed distribution has an atom or that no density exists. Neither conclusion follows. The formula is established off the exceptional set; a density’s value on a null set is arbitrary. To decide whether the transformed law has a density and whether it is integrable, use the change-of-variables argument on the regular region and account for the probability of the critical set.
For an absolutely continuous input and an injective transformation, an isolated critical point has input probability zero and cannot generate an atom. A reciprocal Jacobian may still create an unbounded density nearby. Its integrability is guaranteed by the change-of-variables identity when the stated hypotheses hold; the explicit integral is a useful check in examples. Do not infer the size or rate of a singularity solely from the statement that a derivative or Jacobian vanishes.
Check Your Understanding
Use the definitions and change-of-variables arguments above to answer these questions.
- For \(Y=X^3\) with \(X\sim\operatorname{Uniform}(-1,1)\), identify the critical point and value, and explain why the density is unbounded at the value but \(P(Y=0)=0\).
- Why is it legitimate to assign a finite value to a density at an isolated critical value?
- For \(g(x)=x^3\) and \(f_X(x)=\frac{3}{2}x^2\) on \((-1,1)\), show how the numerator and derivative cancel in the density formula.
- In the radial map \(T(x)=\|x\|^2x\) on the unit disk, where does the Jacobian vanish, and why is the resulting density still integrable?
- What additional information, beyond knowing that a derivative vanishes, is needed to determine the rate at which a transformed density grows near a critical value?