**Contents:**

## Vector Definition

When you learn about vectors in math, you’re usually learning about a specific type of vector called a **Euclidean vector**. Most authors just shorten the name to “vector” and assume you know that you’re dealing with vectors in Euclidean space. Vectors in this “Euclidean” sense are extremely useful for many mathematical applications.

When you have one dimension, magnitude is given by a single number, and direction can be noted by either a positive direction (+) or a negative direction (-). For example, -10 means go 10 spaces to the left on the number line (i.e. in a negative direction), while +10 means to go 10 spaces to the right. When you have more than one dimension, you need a *vector *to show **magnitude and direction. **

A vector can be represented by an arrow. It’s magnitude is represented by its length.

As a simple example, let’s say you wanted to walk a mile home from work. A scalar tells you how far (1 mile) but in order to get home **you need to know which direction **to walk: North? Southwest? East? EEW? A vector tells you how far and in what direction: 2 miles West.

## Vector Notation

Usually, vectors are denoted by bold face type: **V**. They can be written mathematically in a few different ways. For example, take the following vector, represented by an arrow:

The vector is placed on this coordinate system (a Cartesian plane) at location x = 2, y = 4, which can be written as an ordered pair: (2, 4). The vector, which tells you how far a point is from the origin, can also be written as:

Note the circumflex above the x and y: that tells you you’re dealing with a vector.

The same vector can also be represented by an array (grid):

Note though, that you need to give the array a context in order to fully describe the vector. As we’re dealing with an x-y coordinate system here, the array would be fully described by:

Watch the following TEDEd video for a fantastic (and short!) overview of vectors:

## Finding the Magnitude and Direction of a Vector

Let’s take a look at line AB on the following graph:

To find the magnitude of vector AB we need to determine the distance between points A and B. Where we are provided with the coordinates of the points we can use the distance formula).

The formula for distance is:

AB = √(x_{2} – x_{1})^{2} + (y_{2} – y_{1})^{2}

**Example**:

Find the magnitude of vector AB where the initial point A is (2, 2) and the end point B is (6, 4).

Plug the values into our distance formula:

AB = √(6-2)^{ 2} + (4-2)^{ 2} = √4^{ 2} + 2^{ 2 }= √16 + 4 = √20

The magnitude of AB = 4.72

## Determining the Direction of a Vector

To find the direction of a vector we measure the angle that the vector makes with a horizontal line. We use the following formula:

tanΘ = y_{2} – y_{1}/x_{2} – x_{1}

**Example**:

What is the direction of vector AB where the initial point A is (2,3) and the end point B is (5,8)

First, we plug the coordinates into our formula for direction:

tanΘ = 8-3/5-2 = 5/3

To find the direction we use the inverse of tan:

Θ = tan^{-1} (5/3)

Vector AB has a direction of 59 degrees.

Check out our YouTube channel for hundreds of videos on elementary stats, linear algebra and more!

## Zero Vector

A **zero vector** has no magnitude and an undefined direction. It is usually denoted by a bold **0 **, 0^{→} or .

Zero vector acts like a placeholder, much like the number “0” acts like a placeholder for a number system. Another way to think of this type of vector is that it’s simply **a vector with the same start and end positions. **

Examples of null vectors:

- The position vector for the origin in a coordinate system,
- Displacement of a car that ends up back where it started from,
- The velocity vector of a stationary object.

## Direction and Dimensions

Two-dimensional vectors have vector components which tell you how far the vector goes in each direction. Zero vector has components of (0, 0). Three-dimensional vectors add an additional direction, so there is an extra component for zero vector (0, 0, 0).

## Properties of Zero Vector

In many ways the properties of null vectors are similar to the number 0. Consistent with the additive identity property, when we add a null vector to vector a the result is vector *a*:

a^{→} + 0 = a^{→}

Where a null vector is subtracted from vector a the result is vector *a*:

a^{→} – 0 = a

Non-zero vector *v* multiplied by null vector results in zero vector:

v x 0^{→} = 0^{→}

Zero multiplied by vector results in a null vector:

0 x a = 0

Finally, the null vector is perpendicular to every vector of that vector space.

## Additive Identity

The **additive identity property **tells us that you can add any number to zero and that number remains the same. In other words, any number added to zero keeps its *identity*. For example:

**3 + 0 = 3 = 0 = 3**

An “identity” just tells you what an item *is*, intrinsically. It never changes, even when you perform operations (like addition). For example, if you add apple to apples you get apples, and if you add complex numbers to complex numbers you’ll get complex numbers.

The *multiplicative property* is similar, only this time you’re looking for an identity which, when multiplied by any number, leaves that number unchanged. In that case, the multiplicative identity is “1.”

## More Formal Definition

More formally, you would say that:

**a + 0 = a and a + 0 = a, where “a” is an identity.**

The set of natural numbers (whole, non-negative numbers that we use to count) doesn’t have a zero, and so doesn’t have an additive identity.

## Additive Identity and Vector Spaces

The additive identity property has applications outside of simply adding 0 to any number. In vector spaces, the additive identity is defined as follows:

**There exists an element Θ ∈ V such that 0 + v = v for all v ∈ V;**

Where”∈” is set notation for “is in” (i.e. the element Θ is in a particular set V).

Vector addition is used for many fields including physics, engineering and computing, but where it really excels is at showing some fundamental differences between vectors and scalars.

## Dot Product

The **dot product** is used to multiply two vectors with the same number of dimensions.

When the dot product multiplies two vectors, the end result is a single number. In other words, the answer will be a scalar and not a vector. For this reason, the dot product is also called a **scalar product**.

The symbol is a heavy dot ( **· **).

There are two ways to calculate the dot product of two vectors.

**The first is:**

**a · b = │a│ · │b│ · cos(θ)**

Where:

- a · b is the dot product of a and b
- │a│ is the magnitude of vector a
- │b│ is the magnitude of vector b
- θ is the angle between a and b

We can multiply two vectors lengths together where they point in the same direction. For this reason we multiply by **cos(θ)**.

The **second method **is simply to multiply the *x* values together, then multiply the y values and add the two sums together. The formula is:

**a · b = a _{x} x b_{x} + a_{y} x b_{y}**

## Example

Find the dot product of vector a and vector b:

Either of the two formulas will solve this problem.

**First formula:**

- a · b = │a│ · │b│ · cos(θ)
- a · b = 10 · 5 · cos(73.7)
- = 10 · 5 · 0.28
- = 14

**Second formula:**

- a · b = a
_{x}· b_{x}+ a_{y}· b_{y} - a · b = -6 · 3 + 8 · 4
- = -18 + 32
- a · b = 14

The dot product of vectors a and b is 14.

One final point worth noting. You will occasionally encounter two vectors that are at a perfect right angle to each other. In those cases, the dot product will always be zero.

## Vector Field

A **vector field** (sometimes called a *directional field*) represents the solutions to a first order differential equation of a scalar function. A series of tic marks indicate slope. The terms slope field and vector field are sometimes used to mean the same thing, but there is an important difference: The marks in vector fields vary in length according to the magnitude of the vector; All the tic marks in a slope field have the same length.

Extremely complex vector fields can be generated quickly (by a computer), so they are often the first step in understanding a problem before a decision is made on how to find an exact solution. They can also be used to outline possible solutions or to generate numeric solutions through more complex routines.

## Vector Function

A **vector function** (also called a *vector-valued function*) takes in a real number as input and returns a vector. For example, if your real number is represented by the letter *t*, the vector valued function might return [*h(t), g(t), f(t)*]

In some cases, it may take vectors as inputs also, and there are some functions of this type with infinite-dimensional vectors as output.

This class of functions enables you to summarize a lot of information in a single statement. They can help measure many things in physics and engineering: Position, velocity, acceleration, and force can all be measured by a position vector.

## Position Vector Functions

When we use position vector valued functions to describe a graph, our function will have the form:

Where:

- f(t) = the position in the x-direction at t,
- g(t) = the position in the y-direction at t,
- h(t) = the position in the z-direction.

This one function has summarized all the information in the parameterized three-part series of equations that reads:

- x = f(t)
- y = g(t)
- z = h(t)

The image below is the graph of the function r (t) = [2 cos t,4 sin t, t]. This one function gives complete three dimensional position information over all *t*.

## Linear Vector Function

A **linear vector valued function **can be written as:

Here:

- y is a n · 1 output vector, such that n is greater than 1 ·
- x is the input, and is a k · 1 vector, with k, either equal to or greater than 1.

In this equation:

*A*is a n · k matrix of parameters,- b is a vector of parameters (of dimension n · 1).

## Vector Function: References

Calculus 13.02. Whitman College Online Calculus. Retrieved from https://www.whitman.edu/mathematics/calculus_online/section13.02.html on May 12, 2019.

Cohen, D. (2004). Precalculus: A Problems Oriented Approach. Cengage Learning.

Jeffrey, A. (2001). Advanced Engineering Mathematics. Elsevier.

Larson, L. (2008). Intermediate Algebra.

Skriletz, Jaimos. Vector Function I. Multivariable Calculus Notes. Boise State University Department of Mathematics Retrieved from https://math.boisestate.edu/~jaimos/classes/m275-spring2017/notes/vector-fcn1.html on May 14, 2019

**CITE THIS AS:**

**Stephanie Glen**. "Vector Function: Definition, Examples, Position & Linear" From

**StatisticsHowTo.com**: Elementary Statistics for the rest of us! https://www.statisticshowto.com/vector-function/

**Need help with a homework or test question?** With Chegg Study, you can get step-by-step solutions to your questions from an expert in the field. Your first 30 minutes with a Chegg tutor is free!

**Comments? Need to post a correction?** Please ** Contact Us**.