4 minutes read

In this topic, we will discuss the Cartesian coordinate system, one way of graphing points in a 2D space. You may have learned about it in school as the xyx-y plane, so this topic will be more of a reminder.

Cartesian coordinates on the plane

The Cartesian coordinate system is the most common coordinate system. It's based on the idea of orthogonal axes, meaning that you can travel in the direction of one axis without affecting your position on the other. For example, on a map, the north-south axis is orthogonal to the east-west axis.

Let's see how it works on the plane. The Cartesian coordinate system consists of a point OO, whose coordinates are (0,0)(0,0), and two orthogonal axes, labeled xx and yy. The axes intersect at OO (for origin), making right angles and dividing the plane into four symmetrical parts.

Every point on the plane is defined in relation to these two axes, giving it two coordinates: the xx-coordinate and the yy-coordinate. Each of these coordinates is a real number. By convention, we write them in parentheses like (x,y)(x,y), so the green point below with coordinates x=2,x=2, y=3y=3 is labeled (2,3)(2,3).

This figure demonstrates that each point can be considered as an xx coordinate (horizontal dotted line) plus a yy coordinate (vertical dotted line) – including the origin point OO, for which each line has 00 length.

Quadrants

As we mentioned earlier, the two axes divide the infinite plane into four parts. These parts are called Quadrants I through IV, in the following order:

Points in the same quadrant will have matching signs (positive/negative) on their xx and yy coordinates.

Since points on the xx–axis all have a yy–coordinate of 00, and vice versa, they don't fit in any quadrant.

If you forget the order, you can start in the first quadrant – the top-right – and draw a C. If you forget the first quadrant, or the shape of a C, you're out of luck.

Quadrants allow us to talk about the xyx-y plane in broad strokes. For example, the line y=xy = x includes points in Quadrants I and III, but none in Quadrants II or IV, where xx and yy have opposite signs. The parabola y=x2y = x^2 starts in Quadrant II (negative xx, positive yy), comes through the origin, and bounces back up into Quadrant I.

Let's look at these points again and sort them into quadrants.

Our green point (2,3)(2,3) is in Quadrant I. Going counterclockwise we see the red (3,1)(-3,1) in Quadrant II and finally (1.5,2.5)(-1.5, -2.5), the blue point, in Quadrant III. The origin doesn't belong to any quadrant.

Distance

With two points on the plane, it's natural to wonder about the distance between them. For a simple example, let's look back at the red point above. How far is it from the origin?

If you draw a blue line between the points (0,0)(0,0) and (3,1)(-3,1), you see that it divides the red rectangle into two right triangles.

Calculating distance between two dots

This blue line is equal to the distance between the dot (3,1)(-3,1) and the origin. How do you find its length? Apply the Pythagorean theorem to one of the right triangles. Since the dot has coordinates (3,1)(-3,1), the horizontal of any triangle side has the length 33 and the vertical side of any triangle has the length 11. So, the blue line has the length 32+12=10\sqrt{3^2 + 1^2} = \sqrt{10}.

When comparing any two points (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2), you can find the same kind of triangle, with horizontal and vertical side lengths given by x1x2x_1 - x_2 and y1y2y_1 - y_2 respectively. So the whole distance formula is d=(x1x2)2+(y1y2)2d=\sqrt{(x_1-x_2)^2+(y_1-y_2)^2}. This formula is just the result of applying the Pythagorean theorem and nothing more!

Cartesian coordinates in 3D and higher space

Why stop at xx and yy? If we add a third axis, zz, orthogonal to both, then we will get a three-dimensional space in which the position of a point is defined by three coordinates.

The Cartesian coordinate system can also be expanded for any nn-dimensional space, where nn is a positive whole number. High-dimensional spaces are not easy to visualize, but the gist of it is that in an nn-dimensional space there will be nn orthogonal axes and every point will be defined by nn coordinates.

In a database of cities, for example, we could look at their latitude, longitude, average temperature, and population. Each city is represented by a point (x,y,z,w)(x,y,z,w) in a 4D4D space.

Conclusion

The Cartesian coordinate system is the standard way of describing points in a plane, so it's important to get comfortable with how it works. Every point is represented by a unique pair of numbers, so it's trivial to tell when two points are the same. Cartesian coordinates lend themselves to drawing straight lines and right angles; it's difficult to use them to describe a circle or a spiral.

320 learners liked this piece of theory. 6 didn't like it. What about you?
Report a typo