# Statics/Vector Math

## Adding Vectors edit

Let's say you have a box on the ground, and the box is being pulled in two directions with a certain force. You can predict the motion of the box by finding the net force acting on the box. If each force vector (where the magnitude is the tension in the rope, and the direction is the direction that the rope is "pointing") can be measured, you can add these vectors to get the net force. There are two methods for adding vectors:

### Parallelogram Method edit

This is a graphical method for adding vectors. First, a little terminology:

- The
*tail*of a vector is where it originates. - The
*head*of a vector is where it goes. The head is the end with the arrowhead.

This method is most easily executed using graph paper. Establish a rectangular coordinate system, and draw the first vector to scale with the tail at the origin. Then, draw the second vector (again, to scale) with its tail coincident with the head of the first vector. Then, the properties of the sum vector are as follows:

- The length of the sum vector is the distance measured from the origin to the head of the second vector.
- The direction of the sum vector is the angle.

#### Example edit

In the image at the right, the vectors (10, 53°07'48") and (10, 36°52'12") are being added graphically. The result is (19.80, 45°00'00"). (How did I measure out those angles so precisely? I did that on purpose.)

The native vector format for the parallelogram method is the 'polar form'.

### Computational Method edit

When you use the computational method, you must resolve each vector into its *x*- and *y*-components. Then, simply add the respective components.

#### Converting Polar Vectors to Rectangular Vectors edit

If a vector is given by (*r*, *θ*), where *r* is the length and *θ* is the direction,

*x*=*r*cos*θ**y*=*r*sin*θ*

#### Converting Rectangular Vectors to Polar Vectors edit

If a vector is given by ,

Remember that the arctan() function only returns values in the range [-*π*/2, *π*/2]; therefore, if your vector is in the second or third quadrant, you will have to add *π* to whatever angle is returned from the arctan() function.

#### Example edit

Again referring to the image at the right, notice that the first vector can be expressed as , and the second is equivalent to . (Verify this.) Then, you simply add the components:

```
```

You should verify that is equal to (19.80, 45°00'00").

## Multiplying Vectors edit

There are two ways to multiply vectors. I will not get into specific applications here; you will see many of those as you progress through the book.

### The Dot Product edit

The dot product of two vectors results in a scalar. The dot product is the sum of the product of the components. For example:

< 1 , 2 > ∙ < 3 , 4 > ----------- | +-----> 2 x 4 = 8 +---------> 1 x 3 = 3 ------ 11

A useful relation between vectors, their lengths, and the angle between them is given by the definition of the dot product:

```
```

- and are the vectors.
- and are the vectors' magnitude.
- is the angle between the vectors.

### The Cross Product edit

The cross product of two vectors results in another vector. The cross product is only applicable to 3-space vectors. Remember the three unit vectors:

- is the unit vector along the
*x*-axis - is the unit vector along the
*y*-axis - is the unit vector along the
*z*-axis

Now if you have two vectors and , the cross product is given by solving a determinant as follows:

```
```

For more information on how to solve a determinant, consult the external links below.

The cross product of two vectors, the lengths of those vectors, and the short angle between the vectors is given by the following relation:

```
```

#### The Right-Hand Rule edit

Geometrically, the cross product gives a vector that is perpendicular to the two arguments. Notice the reference to *a* vector, not *the* vector. This is because there are infinitely many vectors that are normal to two non-zero vectors. The direction of the cross product can be determined using the *right-hand rule*: Extend the fingers of your right hand, lay your straightened hand along the first vector, pointing your finger tips in the same direction as the vector. Curl your fingers through the short angle from the first vector to the second vector. Your thumb will point in the direction of the product vector.

### Dots and Crosses of the Unit Vectors edit

#### Dot Products edit

- A unit vector dotted into itself gives
*one*. - A unit vector dotted into a different unit vector gives
*zero*.

#### Cross Products edit

Order the unit vectors in this order: . Start at the first vector, move to the second vector, and keep going to the cross-product. If you moved immediately to the right first, the answer is positive. If you moved to the left first, the answer is negative. For example:

## Vector Rules edit

Given vectors and scalar *r*: