4.1: Vectors in Rⁿ
- Last updated
- May 12, 2023
- Save as PDF
- Page ID
- 127990
( \newcommand{\kernel}{\mathrm{null}\,}\)
Outcomes
- 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={(x1⋯xn):xj∈R 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):x1∈R} 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):xj∈R 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.

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):xj∈R 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.
For this reason we may write both P=(p1,⋯,pn)∈Rn and →0P=[p1⋯pn]T∈Rn.
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.](https://math.libretexts.org/@api/deki/files/74969/clipboard_e82b8a22c24a336d00c9648a43c016dda.png?revision=1)
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=[q1−p1⋮qn−pn]=→0Q−→0P
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.](https://math.libretexts.org/@api/deki/files/74970/clipboard_e29d116f1c6f05217e46dd0513baacdbf.png?revision=1)
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.
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=[u1⋯un]T and →v=[v1⋯vn]T are equal if and only if all corresponding components are equal. Precisely, →u=→vif and only ifuj=vjfor allj=1,⋯,n Thus [124]T∈R3 and [214]T∈R3 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=u1→i+u2→j+u3→k. 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.