SUNY Geneseo Department of Mathematics

3D Rectangular Coordinates

Friday, January 27 - Tuesday, January 3

Math 223
Spring 2023
Prof. Doug Baldwin

Return to Course Outline

Previous Lecture

Anything You Want to Talk About?

(No.)

3-Dimensional Coordinates

Based on “Three Dimensional Coordinate Systems,” “Distance in R3,” and “Writing Equations in R3” in section 1.2 of the textbook.

Key Ideas

3-dimensional coordinate systems are defined by 3 perpendicular axes. Each possible pair (xy, xz, yz) defines a “coordinate plane” (which you can think of as having a 2D coordinate system in it, for points in which 2 of the 3D coordinates can vary but the third is always 0). The coordinate planes split space into 8 “octants,” analogous to the 4 quadrants in 2D coordinates.

There’s a distance formula for 3D space, which really just adds a z term to the formula for 2 dimensions:

Distance is square root difference of x coordinates squared plus difference of y squared plus difference of z squared

This distance formula is really an application of the Pythagorean Theorem, although it might have a different name because the Pythagorean Theorem is specifically about triangles in 2 dimensions, while the distance formula applies to the distance between points in any number of dimensions. And as someone mentioned to me after class, the connection between triangles and distances between points may not be obvious if no-one has pointed it out to you before: the “x2-x1,” “y2-y1,” etc. terms in the distance formula are the lengths of sides of triangles, for example like so in 2 dimensions:

Diagonal line between 2 points has horizontal and vertical parts whose lengths are differences of x and y coordinates

Many things you’re used to from 2 dimensions scale up in natural ways to 3 dimensions. The distance formula is a good example. Another is the equation for a sphere, which is just like the equation for a circle, but with a “z” term added. But there are also sometimes new behaviors that the third dimension makes possible, for example two non-parallel lines that don’t intersect.

A third dimension also lets you create shapes that are infinite in some dimensions but not others, in a richer set of ways than you can in 2 dimensions. For example cylinders that are closed circles in 2 of the dimensions but infinitely long in the third.

Questions

How to read and create 3 dimensional graphs?

Creating them is best done with a calculator on computer tool. I’ll demonstrate one, Mathematica, on Monday.

To help with understanding what they mean, we tried locating some points in the classroom relative to a physical 3D coordinate system.

(There’s no particular reason why the y axis has to be horizontal and the z axis vertical, that’s just the most common convention. Some math communities, notably computer graphics, do usually think of y as up and z as forward/backward.)

We also thought about some simple equations in 3 dimensions. For example the equations x = y = z define a straight line through the origin that makes 45 degree angles with each of the 3 axes. A sphere with radius r and centered at (a, b, c) would have equation (x-a)2 + (y-b)2 + (z-c)2 = r2.

Examples

Find the distance between the table top and ceiling corner points mentioned above. Plugging the points into the distance formula (it doesn’t matter which you consider the starting point and which the ending) gives…

Distance from point 10, 4, 5 to point negative 2, negative 2, negative 0.5 calculated with distance formula

Problem Set

The first problem set is available. It covers 3D coordinate systems, and working with Mathematica (which I’ll introduce on Monday).

Work on it through next week, and grade it the week after.

See the handout for more information.

Next

An introduction to Mathematica, with particular attention to plotting in 3 dimensions with it.

There’s no reading, but…

Please be sure that Mathematica is installed on your computer by Monday. Instructions for doing it are here, and there’s a link to them from the syllabus.

Please bring the computer to class so you can try out things I show.

Next Lecture