Mathematics for AI and Machine Learning

Foundations for modern AI and machine learning

Sphere to Ellipsoid Mapping

Chapter 8 Geometry & transforms

Chapter 8: Singular Value Decomposition (SVD) — Unit Sphere-to-Ellipse Mapping (also appears in Ch. 13)

Animated preview (GIF)
Sphere to Ellipsoid Mapping — animated GIF preview
High-resolution PNG
Sphere to Ellipsoid Mapping — high-resolution mind-map icon

From the book

Chapter 8: Singular Value Decomposition (SVD). In the chapter mind map this icon labels **Trans Geometry: Unit Sphere-to-Ellipse Mapping. The discussion below is excerpted and lightly edited from § Unit Sphere-to-Ellipse Mapping** in Mathematics for AI and Machine Learning. Related material also appears in Chapter 13 (Trans: Jacobian change of variables).

Let $A \in \mathbb{R}^{M \times N}$ be with rank $r$ and the following reduced SVD:

Then for any $\mathbf x \in \mathbb{R}^{N \times 1}$, $A\mathbf x$ can be interpreted as a linear transformation mapping $\mathbf x \in \mathrm{span}(V_r)$ in $\mathbb{R}^N$ to $\mathrm{span}(U_r)$ in $\mathbb{R}^M$.

Specifically, which decomposes into: (1) projection $V_r^\top \mathbf x$ onto $\mathrm{span}(V_r)$ (the row space of $A$), (2) scaling by singular values $\Sigma_r$, and (3) mapping to $\mathrm{span}(U_r)$ (the column space of $A$) via $U_r$.

The transformation $A$ acts as a rank-$r$ linear map, compressing $\mathbb{R}^N$ to an $r$-dimensional intermediate space, then expanding to $\mathbb{R}^M$.

What this drawing shows

What you see. Blue unit sphere fixed; red image ellipse stretches and rotates from a circle under the linear map, with the gray arrow growing across the transform.

In the mind map. Chapter 8 — Trans Geometry: Unit Sphere-to-Ellipse Mapping. See From the book above for definitions, figures, and worked examples.

Also appears in Ch. 13 (Trans: Jacobian change of variables).

Where to read next

Open Chapter 8 companion →

Read the full definitions, figures, and worked examples in Chapter 8: Singular Value Decomposition (SVD) — see the mind-map node Trans Geometry: Unit Sphere-to-Ellipse Mapping.

This concept is also referenced in Chapter 13 (Trans: Jacobian change of variables).