Source codeVideos

Command Palette

Search for a command to run...

Vectors and Operations

Vectors and Coordinate System

Cartesian Coordinate System

To specify the position of an object, such as an aircraft in flight, we need a frame of reference or coordinate system. The most commonly used system is the Cartesian Coordinate System, developed by René Descartes.

The Cartesian Coordinate System uses perpendicular axes to determine the location of a point.

  • In two dimensions (2D), we use the xx axis (horizontal) and yy axis (vertical). A point's position is expressed as an ordered pair (x,y)(x, y), for example, point P(3,4)P(3, 4).

    This means that point PP is located 33 units to the right (positive xx axis) and 44 units upward (positive yy axis) from the origin O(0,0)O(0, 0).

    Position Vector P(3,4)P(3, 4)
    Origin O(0,0)O(0, 0) to point P(3,4)P(3, 4)
  • In three dimensions (3D), we add a zz axis that is perpendicular to the xyxy plane. A point's position is expressed as (x,y,z)(x, y, z), used for determining the position of objects like aircraft in space.

    We can think of xx as length, yy as width, and zz as height.

    Position Vector P(3,4,5)P(3, 4, 5)
    Origin O(0,0,0)O(0, 0, 0) to point P(3,4,5)P(3, 4, 5)

Difference Between Vectors and Coordinates

Unlike coordinates which represent the position of a point, a vector is a quantity that has both magnitude (length) and direction. Imagine a fly traveling from point P(3,4)P(3, 4) to point Q(2,8)Q(-2, -8). The fly's displacement can be represented as a vector.

  • Position Vector: A vector starting from the origin O(0,0)O(0, 0) to a point P(x,y)P(x, y). The position vector of PP is written as OP\overrightarrow{OP}.

    Example: OP=(3,4)\overrightarrow{OP} = (3, 4).

  • Displacement Vector (or Free Vector): A vector connecting any two points, for example, from point P(xP,yP)P(x_P, y_P) to point Q(xQ,yQ)Q(x_Q, y_Q). This vector is written as PQ\overrightarrow{PQ}. It doesn't have to start from the origin.

    Example: displacement vectors from P(3,4)P(3, 4) to Q(2,8)Q(-2, -8) or from Q(2,8)Q(-2, -8) to R(1,3)R(1, 3).

    Displacement Vectors
    Displacement vectors from PP to QQ or from QQ to RR

Vector Notation

Vectors can be written in several ways:

  • Row Vector: Using regular parentheses.

    Example: OP=(3,4)\overrightarrow{OP} = (3, 4).

  • Column Vector: Using square brackets or large parentheses.

    Example: OP=(34)\overrightarrow{OP} = \begin{pmatrix} 3 \\ 4 \end{pmatrix}.

  • Unit Vector Notation (for 3D): Using a combination of unit vectors i\mathbf{i}, j\mathbf{j}, and k\mathbf{k} which are aligned with the xx, yy, and zz axes.

    Example: a vector AB\overrightarrow{AB} can be written as i3j4k\mathbf{i} - 3\mathbf{j} - 4\mathbf{k}, meaning vector AB\overrightarrow{AB} has a component of 11 in the xx direction, 3-3 in the yy direction, and 4-4 in the zz direction.

Why Are Coordinate Systems Important?

Imagine a map application on your phone. This application relies on coordinate systems to:

  1. Determine your current location.
  2. Find your destination.
  3. Calculate the shortest or fastest route.
  4. Provide direction instructions (turn left, turn right, go straight).

Without coordinate systems, it would be impossible for applications to accurately understand position and direction. Every movement, such as an aircraft changing altitude or direction, needs to be reported and processed using coordinate systems and vector concepts.