Source codeVideos
Vector and Operations

Two-Dimensional Vector

Nabil Akbarazzima Fatih

Mathematics

Two-Dimensional Vector Concept

In the Cartesian coordinate system, each point on a plane can be represented by a pair of numbers (x,y)(x, y), where xx is the horizontal position and yy is the vertical position. The origin point is O(0,0)O(0, 0).

If we draw a straight line from the origin OO to another point, for example Q(x,y)Q(x, y), we get a vector. This vector is often written as OQ\overrightarrow{OQ}. A vector has both magnitude (line length) and direction (indicated by the arrow).

To simplify, we use unit vectors. Unit vectors have a length of 1 unit.

  • i\mathbf{i} is the unit vector in the positive xx -axis direction (horizontal).
  • j\mathbf{j} is the unit vector in the positive yy -axis direction (vertical).

Vector OQ\overrightarrow{OQ} can be expressed as a combination of horizontal movement of xx and vertical movement of yy. In unit vector form, we write:

OQ=xi+yj\overrightarrow{OQ} = x\mathbf{i} + y\mathbf{j}

Vector Components and Magnitude

The values xx and yy in vector OQ=xi+yj\overrightarrow{OQ} = x\mathbf{i} + y\mathbf{j} are called the vector components.

  • xx is the horizontal component. It's like the shadow of the vector on the xx -axis when illuminated from above.
  • yy is the vertical component. It's like the shadow of the vector on the yy -axis when illuminated from the side.

A vector with these two components is called a two-dimensional vector.

The length or magnitude of vector OQ\overrightarrow{OQ}, written as OQ|\overrightarrow{OQ}|, is the distance from the origin point OO to the endpoint QQ. If Q(x,y)Q(x,y) is the endpoint of the vector and R(x,0)R(x,0) is the projection of point Q onto the xx-axis, we can calculate it using the Pythagorean theorem on the right-angled triangle ORQORQ:

OQ=x2+y2|\overrightarrow{OQ}| = \sqrt{x^2 + y^2}

Two-Dimensional Vector Visualization

Observe the following vector visualization to understand the concept of vectors in the Cartesian plane:

Vector in the Coordinate Plane
Visualization of vector OQ = 4i + 3j in the Cartesian coordinate system

In this visualization, we don't use the zz-axis because we're working in a two-dimensional plane.

In the visualization above:

  • Vector OQ\overrightarrow{OQ} (light green) has initial point O(0,0)O(0,0) and endpoint Q(4,3)Q(4,3)
  • The xx-component (light blue) is the projection of vector OQ\overrightarrow{OQ} on the xx-axis, which is 4i4\mathbf{i}
  • The yy-component (yellow) is the projection of vector OQ\overrightarrow{OQ} on the yy-axis, which is 3j3\mathbf{j}
  • The magnitude of the vector OQ=42+32=16+9=25=5|\overrightarrow{OQ}| = \sqrt{4^2 + 3^2} = \sqrt{16 + 9} = \sqrt{25} = 5