An ellipsoid is a type of quadric surface that is a higher dimensional analogue of an ellipse. The equation of a standard axis-aligned ellipsoid body in an xyz-Cartesian coordinate system is where ax and ay are the transverse, equatorial radii (along the x and y axes) and b is the conjugate, polar radius (along the z-axis), all of which are fixed positive real numbers determining the shape of the ellipsoid (traditionally, ax and ay are denoted as a and b, respectively——thereby defining the equator as an ellipse——and b as c; however, in most cases——such as Earth——the equator is considered spherical, with the equatorial radius being defined simply as a and the polar as b——like an ellipse——thus a,b,c notation can be needlessly confusing).

More generally, a not-necessarily-axis-aligned ellipsoid is defined by the equation where A is a symmetric positive definite matrix and x is a vector. In that case, the eigenvectors of A define the principal directions of the ellipsoid and the inverse of the square root of the eigenvalues are the corresponding equatorial radii.

If all three radii are equal, the solid body is a sphere; if two radii are equal, the ellipsoid is a spheroid:

• Sphere;
• Oblate spheroid, or oblatum (disk-shaped);
• Prolate spheroid, or prolatum (like a rugby ball);
• Scalene ellipsoid ("three unequal sides").

The points (ax,0,0), (0,ay,0) and (0,0,b) lie on the surface and the line segments from the origin to these points are called the semi-principal axes. These correspond to the semi-major axis and semi-minor axis of the appropriate ellipses.

Scalene ellipsoids are frequently called "triaxial ellipsoids", the implication being that all three axes need to be specified to define the shape.

## Parameterization

Using the common coordinates, where is a point's reduced, or parametric latitude and is its planetographic longitude, an ellipsoid can be parameterized by:  (Note that this parameterization is not 1-1 at the poles, where )

Or, using spherical coordinates, where is the colatitude, or zenith, and is the longitude in ;, or azimuth:  ## Volume

The volume of an ellipsoid is given by the formula Note that this equation reduces to that of the volume of a sphere when all three elliptic radii are equal, and to that of an oblate or prolate spheroid when two of them are equal.

## Surface area

The surface area of an ellipsoid is given by: where is the modular angle, or angular eccentricity; ; and , are the incomplete elliptic integrals of the first and second kind.

In the case of a spheroid, the above simplifies to closed-form expressions:

Oblate: Prolate: An approximate formula for any ellipsoid is: Where p ≈ 1.6075 yields a relative error of at most 1.061% (Knud Thomsen's formula); a value of p = 8/5 = 1.6 is optimal for nearly spherical ellipsoids, with a relative error of at most 1.178% (David W. Cantrell's formula).

In the "flat" limit of , the area is approximately , or, more precisely, which, for a spheroid, reduces to ## Mass properties

The mass of an ellipsoid of uniform density is: where is the density.

The mass moments of inertia of an ellipsoid of uniform density are:   where , , and are the moments of inertia about the x, y, and z axes, respectively. Products of inertia are zero.

It can easily be shown that if ax=ay=b, then the moments of inertia reduce to those for a uniform-density sphere.

Conversely, if the mass and principle inertias of an arbitrary rigid body are known, an equivalent ellipsoid of uniform density can be constructed, with the following characteristics:    ## Rotational equilibrium

Scalene ellipsoids and cuboids rotate stably along their major or minor axes, but not along their median axis. This can be seen experimentally by throwing an eraser with some spin. In addition, moment of inertia considerations mean that rotation along the major axis is more easily perturbed than rotation along the minor axis. One practical effect of this is that scalene astronomical bodies such as generally rotate along their minor axes (as does the Earth, which is merely oblate); in addition, because of tidal locking, scalene moons in synchronous orbit such as those of Saturn orbit with their major axis aligned radially to their planet.

A relaxed ellipsoid, that is, one in hydrostatic equilibrium, has an oblateness ax − b directly proportional to its mean density and mean radius. Ellipsoids with a differentiated interior—that is, a denser core than mantle—have a lower oblateness than a homogeneous body. Over all, the ratio (ay–b)/(ax−b) is approximately 0.25, though this drops for rapidly rotating bodies.

## Linear transformations

If one applies an invertible linear transformation to a sphere, one obtains an ellipsoid; it can be brought into the above standard form by a suitable rotation, a consequence of the spectral theorem. If the linear transformation is represented by a symmetric 3-by-3 matrix, then the eigenvectors of the matrix are orthogonal (due to the spectral theorem) and represent the directions of the axes of the ellipsoid: the lengths of the semiaxes are given by the eigenvalues.

The intersection of an ellipsoid with a plane is either empty, a single point, or an ellipse (including a circle).

One can also define ellipsoids in higher dimensions, as the images of spheres under invertible linear transformations. The spectral theorem can again be used to obtain a standard equation akin to the one given above.