Mindfulness

Vectors Cheat Sheet for Math and Physics

Updated · By the Relaxmid editors

Reading time
5 min
Sections
6
Topic
Mindfulness

A vector is a quantity that has both magnitude (size) and direction, typically represented as an arrow connecting an initial point to a terminal point. Most people mistake vectors for simple lists of numbers, but a vector is actually a geometric object that remains the same even if you move its starting position in space.

Define the Vector Before You Calculate

Before performing any operation, you must decide how to represent your vector. In a 2D plane, a vector is often written as a pair of components, such as (x, y), or using unit vector notation as ax î + by ĵ. The components tell you how far to move along each axis to get from the start to the end of the arrow. Magnitude is the total length of this arrow, calculated using the Pythagorean theorem: the square root of the sum of the squares of the components.

Direction is usually expressed as an angle θ relative to a reference axis, typically the positive x-axis. You find this angle using the inverse tangent of the vertical component divided by the horizontal component. It is important to check which quadrant your vector is in, as the calculator result for inverse tangent may require you to add 180 degrees to find the true direction. For example, a vector with components (-3, -4) is in the third quadrant, but a calculator might show a positive angle that suggests the first quadrant.

Combine Vectors Using Addition and Subtraction

Adding vectors allows you to find a resultant, which is the single vector that represents the combined effect of two or more individual vectors. The simplest method is the head-to-tail method: place the start of the second vector at the end of the first. The resultant vector is the arrow drawn from the very first start point to the very last end point.

When working with components, addition is straightforward. You add the x-components together and the y-components together separately. If vector A is (2, 3) and vector B is (4, -1), the resultant vector R is (2+4, 3-1), which equals (6, 2). Subtraction works the same way, but you subtract the components of the second vector from the first. Subtracting vector B from A is the same as adding vector A to the negative of vector B. A negative vector has the same magnitude but points in the exact opposite direction (180 degrees apart).

Operation Component Action Geometric Meaning
Addition Sum x and y separately Tip-to-tail path
Subtraction Subtract x and y separately Vector between two tips
Scalar Mult. Multiply each component Stretch or shrink length

Calculate the Dot Product for Projections

The dot product is a way to multiply two vectors that results in a scalar, which is a single number rather than another vector. This operation tells you how much one vector goes in the direction of another. You calculate it by multiplying the corresponding components and adding the results: (Ax * Bx) + (Ay * By). Alternatively, you can use the magnitudes of both vectors multiplied by the cosine of the angle between them.

The dot product is most useful for determining if two vectors are perpendicular. If the dot product of two non-zero vectors is exactly 0, the angle between them is 90 degrees. This is because the cosine of 90 degrees is 0. If the dot product is positive, the vectors point in generally the same direction (angle less than 90 degrees). If it is negative, they point in generally opposite directions (angle greater than 90 degrees).

A common use for the dot product is finding the projection of one vector onto another. This is like finding the shadow that one vector casts on the other when a light is shining perpendicular to the target vector. To find the scalar projection of A onto B, divide the dot product of A and B by the magnitude of B. This gives you the length of the projection along B’s line of action.

Determine the Cross Product for 3D Space

Unlike the dot product, the cross product of two vectors results in a new vector. This new vector is unique because it is perpendicular to both of the original vectors. This operation only exists in three dimensions. To find the direction of the resulting vector, use the right-hand rule: point your fingers in the direction of the first vector, curl them toward the second, and your thumb will point in the direction of the cross product.

The magnitude of the cross product is equal to the product of the magnitudes of the two vectors multiplied by the sine of the angle between them. Geometrically, this magnitude represents the area of the parallelogram formed by the two vectors. If two vectors are parallel or anti-parallel, the angle between them is 0 or 180 degrees. Since the sine of these angles is 0, the cross product of parallel vectors is always the zero vector.

To calculate the cross product using components, you use a determinant matrix. For vectors A (Ax, Ay, Az) and B (Bx, By, Bz), the x-component of the result is (AyBz – AzBy), the y-component is (AzBx – AxBz), and the z-component is (AxBy – AyBx). This process is more tedious than the dot product and requires careful attention to the minus signs in the middle term.

Correct Component and Angle Errors

The most frequent error in vector math is forgetting to adjust the angle based on the quadrant. If you use the formula tan(θ) = y/x, your calculator will always give a value between -90 and 90 degrees. If your x-component is negative, you are in the second or third quadrant. You must add 180 degrees to the calculator’s result to get the correct standard position angle. If you do not do this, your vector will point in the opposite direction of where it should be.

Another common mistake is confusing the dot product with the cross product. Remember that the dot product results in a number (scalar) and uses cosine, while the cross product results in a vector and uses sine. If a problem asks for the “work done” by a force, you are looking for a scalar, so use the dot product. If a problem asks for “torque” or a “magnetic force,” you are looking for a vector, so use the cross product.

Rule of thumb: always draw a rough sketch of your vectors on a coordinate plane before calculating. If your math says the resultant vector is pointing North-East, but your sketch shows both original vectors pointing South, you know there is a sign error in your components. A quick visual check prevents simple arithmetic mistakes from ruining a complex physics problem.

Vector Scaling and Unit Vectors

A unit vector is a vector with a magnitude of exactly 1. You create a unit vector by dividing a vector by its own magnitude. This is called normalization. Unit vectors are essential when you only care about the direction and not the size of the vector. For example, in 3D space, the unit vectors î, ĵ, and k represent the x, y, and z axes respectively.

When you multiply a vector by a scalar (a regular number), you change its magnitude. Multiplying by 2 doubles the length; multiplying by 0.5 halves it. If you multiply by a negative number, the vector flips direction. This is useful for representing opposite forces or reversing a velocity vector in a simulation. Always apply the scalar to every component of the vector to maintain the correct direction.

Related

General information for everyday wellbeing, not medical advice. If something affects your health, sleep or mood for more than a short while, talk to a qualified professional. Read more

Spotted an error? Tell us and we will correct it (corrections policy).