Ctrl+k

Determine the dot product of two vectors

The dot product of two vectors is the scalar obtained by multiplying corresponding components and adding the products, such as uv=uxvx+uyvy\mathbf{u}\cdot\mathbf{v}=u_xv_x+u_yv_y (and +uzvz+u_zv_z in three dimensions). It also represents uvcosθ|\mathbf{u}||\mathbf{v}|\cos\theta, allowing interpretation of alignment: a zero dot product indicates perpendicular vectors, while its sign distinguishes acute from obtuse angles; abstract inner products and higher-dimensional generalizations are outside this scope.

Detailed Explanation: Determine the dot product of two vectors

To find the dot product, multiply corresponding components and add the results.

For two-dimensional vectors,

uv=uxvx+uyvy.\mathbf{u}\cdot\mathbf{v}=u_xv_x+u_yv_y.

For three-dimensional vectors, include the third pair:

uv=uxvx+uyvy+uzvz.\mathbf{u}\cdot\mathbf{v}=u_xv_x+u_yv_y+u_zv_z.

Example

Find the dot product of

u=(3,2)andv=(4,5).\mathbf{u}=(3,-2) \qquad\text{and}\qquad \mathbf{v}=(4,5).

Step 1: Multiply corresponding components.

3(4)=12and(2)(5)=103(4)=12 \qquad\text{and}\qquad (-2)(5)=-10

Step 2: Add the products.

uv=12+(10)=2\mathbf{u}\cdot\mathbf{v}=12+(-10)=2

Therefore,

uv=2\boxed{\mathbf{u}\cdot\mathbf{v}=2}

The dot product is a scalar, not a vector. Its sign also gives information about the angle between the vectors:

  • A positive dot product means the angle is acute.
  • A dot product of 00 means the vectors are perpendicular.
  • A negative dot product means the angle is obtuse.

Here, the dot product is positive, so the angle between u\mathbf{u} and v\mathbf{v} is acute.

Learn by doing: Determine the dot product of two vectors

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Practice with unlimited practice problems

Vectors - Dot Product - Vector Notation to Dot Product


    ?