Dimensions and Coordinates
How many numbers does it take to describe something?
Think about making an appointment with a friend. To meet, you need to agree on both where and when. If I wanted to direct you to my apartment, I would need to give you not only the two street intersections (two numbers, specifying a point on the Earth's surface) but also the floor I live on (the height above the surface).
The space around us is three-dimensional because three numbers are needed to describe a location in it. But the space-time we live in is four-dimensional because if we wanted to meet for lunch, I would need to give you four numbers: my position in space and when to meet. Otherwise, we might miss each other, with you thinking lunch is at 11 and me thinking noon.
Definition 1.1 (Dimension). The dimension of a space is the minimum number of numbers needed to fully specify a point in it.
Thus, there are direct physical reasons to consider calculus in two, three, and four dimensions. Our best physical theories of the world at human scales, such as classical mechanics, are written in this language. Understanding weather, planetary motion, fluid flow, and black holes requires a solid grounding in multivariable calculus. But since the real world is only four-dimensional, does that mean there is no need for calculus in 7-, 13-, or 132,234,453-dimensional space?
1.1Describing Objects with Numbers
All the spaces we have discussed so far represent physical space, but
mathematics allows us to be much more general than this. Imagine you are
designing a tin can, and you want to start by thinking of the space of
possibilities: what are all the possible shapes of a cylindrical can? Since
such a can is fully determined by its radius and height, we can think of these
as two coordinates and express a particular can by an ordered pair
What about the space of
But where really mind-blowing numbers of dimensions begin to arise is in the study of data. Imagine you are modeling the conditions in the San Francisco Bay, and you take a measurement of the sea height for every square kilometer. The bay has an area of about 4,000 square kilometers, so this means your data point has 4,000 numbers in it! Your approximation to the bay's surface is a point in four-thousand-dimensional space!
Or, consider an image taken by a digital camera: for simplicity assume the image is in black and white and has 10 megapixels. This means each pixel is determined by a single number (how light or dark the pixel is), and the image has 10 million pixels, so it is encoded by 10 million numbers! That means even simple images are worked with mathematically as points in spaces with millions of dimensions.
The small image below works the same way. Paint on it and then unroll it to see the list of numbers hidden inside.
1.2Dimension, Tuples, and Coordinates
Every example above follows the same pattern. Once we decide which independent
numbers completely describe an object, the number of them tells us the
dimension of its space. To write these numbers down, we use an
Definition 1.2 ($n$-Tuple). An
Tuples are sometimes written horizontally and sometimes vertically, depending on convenience. Various styles of brackets are used depending on the author and the purpose. In these notes, points will usually be written horizontally with round brackets.
Just as numbers represent locations on the line, tuples can be used to
represent locations in a space. When we use them as such, we call the entire
Definition 1.3 (Point). A point is an
Here, a location need not be a physical location. The point
You are already familiar with this from single-variable calculus, where we use
ordered pairs
Counting the dimension of a space can be subtler than counting the number of coordinates in the space around it. A plane is two-dimensional, but so is the surface of a sphere: if your friend called you and gave you two numbers---their latitude and longitude---you could precisely locate them on the Earth's surface.
Thus, the surface of the sphere is two-dimensional even though it sits inside three-dimensional space. We call two the intrinsic dimension of the surface and three the dimension of its ambient space. The dimension of an object and the dimension of the space it sits inside are two different questions!
1.3Cartesian Coordinates
What do the actual numbers in an
Definition 1.4 (Cartesian Coordinates). Cartesian coordinates start by choosing
Here is an animation showing a point in three-dimensional space and how its three coordinates locate it. Try making one of the coordinates negative: the corresponding part of the walk simply reverses direction.
We can also use Cartesian coordinates to describe simple pieces of space, such
as coordinate axes and planes. In
Definition 1.5 (Coordinate Axes and Planes). The
A point can be projected onto a coordinate plane by setting the coordinate perpendicular to that plane equal to zero. It can be projected onto a coordinate axis by setting all the other coordinates equal to zero. The resulting point is the closest point on that plane or line to the original point.
For example, projecting
Cartesian coordinates are not the only possible interpretation of an
1.4Distance in Higher Dimensions
Perhaps the most famous theorem of geometry is the Pythagorean theorem, which tells us how to compute distance in Cartesian coordinates on the plane.
Theorem 1.6 (The Pythagorean Theorem). The distance of the point
Once we know this theorem is true in
The second application gives
Nothing about this argument depends on stopping after three coordinates.
Theorem 1.7 (Distance in $\RR^n$). In
In general, if
For example, the point
units from the origin. Notice that negative coordinates cause no trouble: they record direction along an axis, while distance records how far we traveled.
1.5Spheres, Balls, and Hyperspheres
Given this description of distance, we can give a precise description of circles and spheres: a circle is the set of points which are all a fixed distance (the radius) from a fixed point (the center). The unit circle is the set of points distance 1 from the origin. Similarly, the unit sphere is the set of points distance 1 from the origin in three-dimensional space.
In more generality, we can define a hypersphere in any higher dimension the same way: by taking the set of points which are a fixed distance from the origin in that space!
Definition 1.8 (Spheres and Hyperspheres). The unit circle (also called the unit 1-sphere) is the set of points in
The unit sphere (also called the unit 2-sphere) is the set of points in
The unit 3-sphere is the set of points in four-dimensional space satisfying
and the pattern continues in every dimension.
Exercise 1.9. Why is the circle called a 1-sphere, and the sphere in three-dimensional space called a 2-sphere?
A sphere consists only of the points exactly a fixed distance from its
center. The ball it bounds also includes all the points inside it. Thus the
unit ball in
whereas its boundary, the unit hypersphere, is described by equality.
We cannot draw a four-dimensional ball, but we can learn about it by slicing.
If we fix its last coordinate to be
This is a ball one dimension lower, with radius
There is one more surprise waiting in higher dimensions. We do not yet have the integration machinery needed to derive the volume of a ball in arbitrary dimensions, but we can still look at the answer. One might expect the volume of the unit ball to grow as dimensions are added. Instead, it reaches a maximum in dimension five and then shrinks toward zero!
So far, we have only computed the distance from a point to the origin. To find the distance between two arbitrary points, we need to describe the displacement from one to the other. This is our first job in the next chapter, where we turn from points to vectors.