From Scalar Changes to Vector Transformations
A scalar location-scale transformation shifts and rescales a random variable. For a random vector, a matrix can also stretch, compress, reflect, or mix its coordinates. The same compact expression describes all these operations, but the matrix’s rank matters: an invertible matrix transforms the full-dimensional space without collapsing it, while a rank-deficient matrix sends the vector into a lower-dimensional affine subspace.
Let \(\mathbf Z\) be a random vector in \(\mathbb R^k\), let \(\boldsymbol\mu\in\mathbb R^p\), and let \(A\) be a fixed \(p\times k\) real matrix. The resulting vector \(\mathbf X\) lies in \(\mathbb R^p\). The entries of \(\boldsymbol\mu\) set the location, while \(A\) determines how the coordinates of \(\mathbf Z\) are transformed.
Means, Covariances, and Characteristic Functions
The transformation rules for moments follow from linearity. Write \(E[\mathbf Z]\) for the vector of coordinatewise expectations and \(\operatorname{Cov}(\mathbf Z)\) for the matrix whose \((i,j)\) entry is \(\operatorname{Cov}(Z_i,Z_j)\). A finite mean is enough for the mean rule; the covariance rule requires finite second moments.
To verify the mean formula, write the \(i\)th coordinate as \(X_i=\mu_i+\sum_{j=1}^k A_{ij}Z_j\). Taking expectations term by term gives \(E[X_i]=\mu_i+\sum_{j=1}^k A_{ij}E[Z_j]\), which is the \(i\)th coordinate of \(\boldsymbol\mu+A E[\mathbf Z]\). For the covariance, set \(\mathbf m=E[\mathbf Z]\). Since \(\mathbf X-E[\mathbf X]=A(\mathbf Z-\mathbf m)\), its \((i,\ell)\) covariance entry is
This is exactly the \((i,\ell)\) entry of \(A\operatorname{Cov}(\mathbf Z)A^T\). The finite second-moment assumption ensures these expectations and covariance entries are finite. \(\square\)
For \(\mathbf t\in\mathbb R^p\), define the characteristic function by \(\varphi_{\mathbf X}(\mathbf t)=E[\exp(i\mathbf t^T\mathbf X)]\). Characteristic functions always exist, whether or not moments do.
Indeed, \(\mathbf t^T\mathbf X=\mathbf t^T\boldsymbol\mu+\mathbf t^TA\mathbf Z=\mathbf t^T\boldsymbol\mu+(A^T\mathbf t)^T\mathbf Z\). Exponentiating, taking expectations, and factoring out the nonrandom term gives the result. No density or moment condition is needed. \(\square\)
Worked Example: An Invertible Map of a Uniform Square
Let \(Z_1,Z_2\) be independent and uniform on \([-1,1]\), set \(\mathbf Z=(Z_1,Z_2)^T\), and define \(\mathbf X=\boldsymbol\mu+A\mathbf Z\), where \(\boldsymbol\mu=(1,-1)^T\) and \(A=\begin{pmatrix}2&1\\1&-1\end{pmatrix}\). Compute the mean, covariance, characteristic function, and support.
The determinant is \(2(-1)-1(1)=-3\), so \(A\) is invertible. Since each coordinate of \(\mathbf Z\) has mean \(0\) and variance \(1/3\), \(E[\mathbf Z]=(0,0)^T\) and \(\operatorname{Cov}(\mathbf Z)=\frac13 I_2\). Therefore
For a uniform variable on \([-1,1]\), the characteristic function is \(\sin(t)/t\) when \(t\ne0\), and \(1\) at \(t=0\). Independence gives \(\varphi_{\mathbf Z}(s_1,s_2)=\operatorname{sinc}(s_1)\operatorname{sinc}(s_2)\), with this convention for \(\operatorname{sinc}\). Here \(A^T=A\), so
The original support is the square \([-1,1]^2\). Its four corners map as follows: \((-1,-1)\mapsto(-2,-1)\), \((-1,1)\mapsto(0,-3)\), \((1,-1)\mapsto(2,1)\), and \((1,1)\mapsto(4,-1)\). Thus the transformed support is the parallelogram with those vertices. Because the original density is \(1/4\) on the square and \(|\det A|=3\), the change-of-variables formula gives density \(1/12\) on the parallelogram and zero outside it.
Support Under an Affine Map
The support of a random vector is the set of points for which every open neighborhood has positive probability. It describes where the distribution is concentrated, including boundary points of probability zero. For a continuous affine map, the transformed support is the closure of the image of the original support.
For completeness, \(\mathbf Z\) belongs to its support with probability one: the complement can be covered by a countable collection of open balls with rational centers and radii, each of which has probability zero if it misses the support. If a point \(\mathbf y\) is outside the closure of \(g(S)\), it has an open neighborhood disjoint from \(g(S)\). Since \(\mathbf Z\in S\) almost surely, \(\mathbf X\) has probability zero in that neighborhood, so \(\mathbf y\) is not in the transformed support.
Conversely, suppose \(\mathbf y\) is in the closure of \(g(S)\). Every open neighborhood \(O\) of \(\mathbf y\) contains some \(g(\mathbf z)\) with \(\mathbf z\in S\). By continuity of \(g\), there is an open neighborhood \(U\) of \(\mathbf z\) whose image is contained in \(O\). The definition of support gives \(P(\mathbf Z\in U)>0\), hence \(P(\mathbf X\in O)>0\). Thus \(\mathbf y\) is in the transformed support, proving the equality. Finally, every \(A\mathbf z\) lies in \(\operatorname{col}(A)\), which proves the containment. \(\square\)
When \(A\) is square and invertible, it maps open sets to open sets and has a continuous inverse. The support is then exactly \(\boldsymbol\mu+A S\), with no need for a closure beyond the usual closed support \(S\). If \(\mathbf Z\) has a density \(f_{\mathbf Z}\), the transformed density is \(f_{\mathbf X}(\mathbf x)=f_{\mathbf Z}(A^{-1}(\mathbf x-\boldsymbol\mu))/|\det A|\). If \(A\) is rank deficient, its image lies in a proper affine subspace of \(\mathbb R^p\). In that case the transformed distribution cannot have a density with respect to \(p\)-dimensional Lebesgue measure: that subspace has \(p\)-dimensional measure zero, yet it contains probability one.
Worked Example: A Parallelogram in a Plane in Three Dimensions
Let \(U,V\) be independent uniform variables on \([-1,1]\), take \(\mathbf Z=(U,V)^T\), and set \(\boldsymbol\mu=(1,-1,0)^T\) and \(A=\begin{pmatrix}1&0\\0&1\\1&1\end{pmatrix}\). Then \(\mathbf X=(1+U,-1+V,U+V)^T\). Find its mean, covariance, characteristic function, and support.
The columns of \(A\) are linearly independent, so \(A\) has rank \(2\), but it maps into \(\mathbb R^3\). Since \(E[\mathbf Z]=(0,0)^T\) and \(\operatorname{Cov}(\mathbf Z)=\frac13I_2\),
For \(\mathbf t=(t_1,t_2,t_3)^T\), \(A^T\mathbf t=(t_1+t_3,t_2+t_3)^T\). Thus
Every transformed point satisfies \(X_3=X_1+X_2\), because \((1+U)+(-1+V)=U+V\). Also \(0\le X_1\le2\) and \(-2\le X_2\le0\). The support is the parallelogram in that plane with vertices \((0,-2,-2)\), \((0,0,0)\), \((2,-2,0)\), and \((2,0,2)\), obtained by substituting the four pairs \((U,V)=(-1,-1),(-1,1),(1,-1),(1,1)\). The covariance matrix has rank \(2\), consistent with the fact that the law is confined to a plane and has no three-dimensional density.
Worked Example: Rank Deficiency Does Not Guarantee a Filled Support
Let \(\mathbf Z\) equal \((0,0)^T\) or \((1,0)^T\), each with probability \(1/2\). Set \(\boldsymbol\mu=(2,-1,4)^T\) and \(A=\begin{pmatrix}1&1\\2&2\\0&0\end{pmatrix}\), which has rank \(1\). Determine the transformed distribution and its support.
The two possible transformed values are \(\boldsymbol\mu+A(0,0)^T=(2,-1,4)^T\) and \(\boldsymbol\mu+A(1,0)^T=(3,1,4)^T\), each with probability \(1/2\). Therefore the support consists of exactly these two points, not every point on the line between them. The image of the affine hull of the original support is a line segment, but the support itself is only the two-point set.
The mean is the midpoint, \(E[\mathbf X]=(5/2,0,4)^T\). The difference between the second possible value and the first is \(\mathbf d=(1,2,0)^T\); the two centered values are \(-\mathbf d/2\) and \(\mathbf d/2\). Consequently,
For \(\mathbf t=(t_1,t_2,t_3)^T\), the characteristic function is \(\varphi_{\mathbf X}(\mathbf t)=\frac12e^{i(2t_1-t_2+4t_3)}+\frac12e^{i(3t_1+t_2+4t_3)}\). This also follows from the general rule: the two values of \(\mathbf Z\) give \(\varphi_{\mathbf Z}(s_1,s_2)=\frac12(1+e^{is_1})\), and \(A^T\mathbf t=(t_1+2t_2,t_1+2t_2)^T\).
Common Pitfalls and Why Rank Matters
A frequent mistake is to treat a rank-deficient transformation as though it merely produced a very thin full-dimensional distribution. It does not: all its probability lies exactly in \(\boldsymbol\mu+\operatorname{col}(A)\). This has practical consequences. For example, a covariance matrix from such a vector is singular, and standard formulas requiring an inverse covariance matrix cannot be applied without additional treatment.
- Using the wrong dimensions. If \(A\) is \(p\times k\), then \(A^T\mathbf t\) has dimension \(k\), while \(\mathbf X\) and \(\boldsymbol\mu\) have dimension \(p\).
- Forgetting the transpose in the covariance rule. The correct transformation is \(A\operatorname{Cov}(\mathbf Z)A^T\), a \(p\times p\) matrix.
- Assuming a rank-\(r\) map fills its image. The transformed support is the closure of the image of the actual support, not necessarily the entire affine subspace or even its full image region.
- Applying a full-dimensional density formula to a singular map. The determinant-based formula requires a square invertible matrix; a rank-deficient image has zero ambient volume.
The mean, covariance, and characteristic-function formulas require different assumptions: a finite mean for the first, finite second moments for the second, and no moment assumptions for the third. Keeping these conditions distinct makes the rules valid for discrete, continuous, and mixed distributions alike.
Check Your Understanding
Use the transformation rules, and check dimensions and rank in each answer.
- If \(A\) is a \(3\times2\) matrix of rank \(2\), what is the largest possible dimension of the affine subspace containing \(\mathbf X\)?
- State the moment condition needed for \(E[\mathbf X]=\boldsymbol\mu+A E[\mathbf Z]\), and the condition needed for the covariance formula.
- Write the characteristic function of \(\mathbf X=\boldsymbol\mu+A\mathbf Z\) at an arbitrary \(\mathbf t\in\mathbb R^p\).
- Why can a rank-deficient transformation from \(\mathbb R^k\) to \(\mathbb R^p\) not have a density with respect to \(p\)-dimensional Lebesgue measure?
- Can a rank-one linear map produce a two-point support? Explain using the support-image rule.