A vector in is a column of real numbers. These real numbers are called the components or entries of the vector.
is a vector in . We say that the first component of is equal to , the second component is equal to , and the third component is equal to .
For typographical convenience, and for consistency with Python Julia we will often write vectors horizontally, like . This notation means the same thing as .
We draw a vector in as an arrow from one point to another so that the horizontal separation between the points is equal to the first component of the vector and the vertical separation between the points is equal to the second component.
We define the norm of a vector to be the length of the associated arrow, which may be calculated as the square root of the
The fundamental vector operations are:
- Vector addition (addition of two vectors), and
- Scalar multiplication (multiplication of a real number and a vector).
These operations are defined componentwise, and they have simple geometric interpretations:
Summing vectors concatenates them tail-to-head, and
Multiplying a vector by a positive real number preserves its direction and multiplies its norm by .
.row.padded .grow figure img(src="/content/linear-algebra/images/vecadd.svg") p.caption.md Vector addition: .grow figure img(src="/content/linear-algebra/images/vecscale.svg") p.caption.md Scalar multiplication:
Scalar multiplication is denoted symbolically by placing the scalar adjacent to the vector, and vector addition is denoted with "+" between two vectors. We use the usual notational conveniences from arithmetic, like writing as an abbreviation for .
The first component of is equal to
Solution. By definition, we have
Determine whether there exists a real number satisfying the vector equation
Solution. For the first component of the two vectors to be equal, the equation would have to hold. This implies that . If we substitute , then the second component on the left-hand side is , so there is no such number.
Show that every nonzero vector can be written as the product of a nonnegative real number and a unit vector .
Solution. We can see that the unit vector must point in the same direction as , since multiplying it by does not change its direction. Furthermore, if is the unit vector pointing in the same direction as , then we must scale by a factor of to get . Thus we find that and .
Find a formula in terms of and which represents the vector from the head of to the head of when and are situated so that their tails coincide.
Note: Two vectors' tails coincide when they originate from the same point.
Solution. The desired vector has the property that adding it to gives . In other words, , which implies that .
Solve for in terms of and in the equation , assuming that and are vectors in and is a nonzero real number.
Solution. We add to both sides and multiply both sides by to get .