Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

4.1: Vectors in Rⁿ

( \newcommand{\kernel}{\mathrm{null}\,}\)

Outcomes

  1. Find the position vector of a point in Rn.

The notation Rn refers to the collection of ordered lists of n real numbers, that is Rn={(x1xn):xjR for j=1,,n} In this chapter, we take a closer look at vectors in Rn. First, we will consider what Rn looks like in more detail. Recall that the point given by 0=(0,,0) is called the origin.

Now, consider the case of Rn for n=1. Then from the definition we can identify R with points in R1 as follows: R=R1={(x1):x1R} Hence, R is defined as the set of all real numbers and geometrically, we can describe this as all the points on a line.

Now suppose n=2. Then, from the definition, R2={(x1,x2):xjR for j=1,2} Consider the familiar coordinate plane, with an x axis and a y axis. Any point within this coordinate plane is identified by where it is located along the x axis, and also where it is located along the y axis. Consider as an example the following diagram.

Plot of point Q = (-3,4): above -3 on x-axis, left of 4 on y-axis, Q = (2,1): above 2 on x-axis, right of 1 on y-axis.
Figure 4.1.1

Hence, every element in R2 is identified by two components, x and y, in the usual manner. The coordinates x,y (or x1,x2) uniquely determine a point in the plan. Note that while the definition uses x1 and x2 to label the coordinates and you may be used to x and y, these notations are equivalent.

Now suppose n=3. You may have previously encountered the 3-dimensional coordinate system, given by R3={(x1,x2,x3):xjR for j=1,2,3}

Points in R3 will be determined by three coordinates, often written (x,y,z) which correspond to the x, y, and z axes. We can think as above that the first two coordinates determine a point in a plane. The third component determines the height above or below the plane, depending on whether this number is positive or negative, and all together this determines a point in space. You see that the ordered triples correspond to points in space just as the ordered pairs correspond to points in a plane and single real numbers correspond to points on a line.

The idea behind the more general Rn is that we can extend these ideas beyond n=3. This discussion regarding points in Rn leads into a study of vectors in Rn. While we consider Rn for all n, we will largely focus on n=2,3 in this section.

Consider the following definition.

Definition 4.1.1 The Position Vector

Let P=(p1,,pn) be the coordinates of a point in Rn. Then the vector 0P with its tail at 0=(0,,0) and its tip at P is called the position vector of the point P. We write 0P=[p1pn]

For this reason we may write both P=(p1,,pn)Rn and 0P=[p1pn]TRn.

This definition is illustrated in the following picture for the special case of R3.

Plot of P=(p1,p2,p3) and line segment 0P =[p1 p2 p3]^T and the axes shown.
Figure 4.1.2

Thus every point P in Rn determines its position vector 0P. Conversely, every such position vector 0P which has its tail at 0 and point at P determines the point P of Rn.

Now suppose we are given two points, P,Q whose coordinates are (p1,,pn) and (q1,,qn) respectively. We can also determine the position vector from P to Q (also called the vector from P to Q) defined as follows. PQ=[q1p1qnpn]=0Q0P

Now, imagine taking a vector in Rn and moving it around, always keeping it pointing in the same direction as shown in the following picture.

Plot of vector 0P = [p1,p2,p3] from (0,0,0) to (p1,p2,p3).  Also plotted is vector AB which is vector OP shifted up and left.
Figure 4.1.3

After moving it around, it is regarded as the same vector. Each vector, 0P and AB has the same length (or magnitude) and direction. Therefore, they are equal.

Consider now the general definition for a vector in Rn.

Definition 4.1.2 Vectors in Rn

Let Rn={(x1,,xn):xjR for j=1,,n}. Then, x=[x1xn] is called a vector. Vectors have both size (magnitude) and direction. The numbers xj are called the components of x.

Using this notation, we may use p to denote the position vector of point P. Notice that in this context, p=0P. These notations may be used interchangeably.

You can think of the components of a vector as directions for obtaining the vector. Consider n=3. Draw a vector with its tail at the point (0,0,0) and its tip at the point (a,b,c). This vector it is obtained by starting at (0,0,0), moving parallel to the x axis to (a,0,0) and then from here, moving parallel to the y axis to (a,b,0) and finally parallel to the z axis to (a,b,c). Observe that the same vector would result if you began at the point (d,e,f), moved parallel to the x axis to (d+a,e,f), then parallel to the y axis to (d+a,e+b,f), and finally parallel to the z axis to (d+a,e+b,f+c). Here, the vector would have its tail sitting at the point determined by A=(d,e,f) and its point at B=(d+a,e+b,f+c). It is the same vector because it will point in the same direction and have the same length. It is like you took an actual arrow, and moved it from one location to another keeping it pointing the same direction.

We conclude this section with a brief discussion regarding notation. In previous sections, we have written vectors as columns, or n×1 matrices. For convenience in this chapter we may write vectors as the transpose of row vectors, or 1×n matrices. These are of course equivalent and we may move between both notations. Therefore, recognize that [23]=[23]T

Notice that two vectors u=[u1un]T and v=[v1vn]T are equal if and only if all corresponding components are equal. Precisely, u=vif and only ifuj=vjfor allj=1,,n Thus [124]TR3 and [214]TR3 but [124]T[214]T because, even though the same numbers are involved, the order of the numbers is different.

For the specific case of R3, there are three special vectors which we often use. They are given by i=[100]T j=[010]T k=[001]T We can write any vector u=[u1u2u3]T as a linear combination of these vectors, written as u=u1i+u2j+u3k. This notation will be used throughout this chapter.

Below is a video on vectors in 2D.

Below is a video on finding a unit vector given the graph of a vector in 2D.

Below is a video on finding the component form of a vector from its graph.

Below is a video on plotting vectors in 3D.

 


This page titled 4.1: Vectors in Rⁿ is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Ken Kuttler (Lyryx) .

  • Was this article helpful?

Support Center

How can we help?