vectors basics
Introduction to vectors
There are two types of quantities that you should know of: Scalars and Vectors
scalars
A scalar only has magnitude and is specified by a real number. Examples of such scalars are mass, speed, distance, volume and time. They have one value "attaced" to them and thats it.
In the example above, is the quantity, is the magnitude, and is the unit.
vectors
A vector has both magnitude and direction. They are specified by a real number and a direction. Examples of vectors are forces, displacement, velocity and acceleration.
In the example above, is the quantity, is the magnitude, is the unit and is the direction.
notation
Vectors can be written in two ways.
Typically in physics and other subjects, vectors are written as a variable with an arrow above them: , ,
They are also written as two points where the vector points from points to .
Formation of vectors using points
You can form a vector that goes from one point to another by subtracting them.
For two points and , the vector pointing from to is determined by:
Say, we have two points and . Then would be:
Representation of vectors
Cartesian representation
You may be most familiar with cartesian representation, since it resembles points on a graph.
The cartesian representation of vectors consists of a ordered pair of coordinates as follows:
In this representation, you draw an arrow from the origin to the coordinates . The arrow's "head" points at the ordered coordinate pair.
Here is a visualization of cartesian vectors:
Polar representation
The polar representation of a vector consists of a magnitude (length) denoted as as well as an angle that it makes with the positive x-axis denoted as .
The magnitude is always positive, and the angle is positive in the clockwise direction.
Here is what it looks like on a graph:
Converting representations
Both cartesian and polar coordinates can easily be converted from one to the other.
Cartesian to polar
As stated previously, cartesian coordinates are a pair of and coordinates. You can actually use trigonometry to calculate the magnitude and angle of the vector!
Think of the vector as a right angle triangle. For the magnitude, you need to get the hypotenus. For the angle, you need to get the angle between the vector's arrow and the positive x-axis.
To calculate the magnitude of the vector, use the Pythagorean Theorem. Note that is notation for the magnitude of a vector. The angle of the vector is calculated by using inverse the tan function ():
example
Convert the following vector to polar coordinates:
answer
Polar to cartesian
You can also convert polar coordinates to cartesian. Just like before, if you think of the vector as a right angle triangle, you can use trigonometry to determine the and coordinates.
To get the coordinate, you multiply the magnitude of the vector by the cosine of the angle. For the coordinate, use the sine of the angle:
example
Find the and coordinates of the following vector:
answer
Types of vectors
There are two type vectors that you should know when solving problems involving them.
Algebraic vectors
Algebraic vectors are the vectors that we have seen up to now. They are vectors that have a reference to some coordinate axes/plane.
Here are a couple examples of algebraic vectors:
Geometric vectors
Geometric vectors are vectors without a reference frame. Their magnitude is identified by the length of the vector itself, and their direction is indicated by the orientation of the vector.
Here is a parallelogram formed by four geometric vectors:
Vectors in the 3rd dimension
As of now, we have only dealt with vectors in second dimension, or . Vectors in the 3rd dimension, or are very similar.
Instead of two coordinates, they have three:
In fact, vectors are not only limited to or . They be in any dimension where is any real number, however, it may be difficult for you to visualize it, since you live only in the 3rd dimension!
The unit vector
The unit vector is vector that points in a certain direction, and has a magnitude equal to .
You can think of the unit vector as a "direction" vector. Whatever constant you multiply to it, its magnitude will be equal to that constant.
For example, the vector is a unit vector.
Its magnitude is
notation
Vectors can be written as a combination of the unity vectors , and , where , and .
For example, the vector can be written as . This is because the sum of the unit vectors times their coefficents equals .
Converting vectors to a unit vector
You can convert any vector to a unit vector by dividing it by its magnitude:
example
Convert to a unit vector.
answer
The magnitude of is
Now plug it into the formula:
The unit vector of is