3D world
In three-dimensional space, a point is determined by three variables:
The coordinate axes give us three independent directions, so one number is no longer enough and two numbers are also not enough. We need all three coordinates to locate a point in 3D space.
Picking a Point in 3D
We use a right-handed 3D coordinate system.
- Point the index finger of your right hand along the positive -axis.
- Point the middle finger along the positive -axis.
- Then the thumb points along the positive -axis.
Equivalently, if you curl the fingers of your right hand from the -axis toward the -axis, your thumb gives the positive orientation of the -axis.
The definition of implicit function
An explicit function writes one variable directly in terms of another, such as
A parametric function uses a parameter and writes both coordinates as functions of that parameter:
An implicit function describes a relationship by an equation involving both variables without solving for one variable explicitly:
The three viewpoints are often compared like this:
| Type | Form | Example | What it describes |
|---|---|---|---|
| Explicit function | one output for each input | ||
| Implicit function | a relation or curve in the plane | ||
| Parametric function | a curve traced by a parameter |
The circle is a simple example of an implicit curve:
Unit circle as an implicit curve
Distance in 3D
For two points
the distance is
This formula comes from applying the Pythagorean theorem twice. First, the horizontal displacement in the -plane gives one right triangle. Then the vertical displacement in gives a second right triangle, and together they form a cuboid.
Distance Between Two Points in 3D
For the two points above, the distance is
Sphere in 3D
The general equation of a sphere in 3D is
where is the center and is the radius.
Now consider the equation
We complete the squares:
Substituting these into the equation gives
so
Therefore this is a sphere with center
and radius