Mathematics guides →

Math · Vector components and dot products

A sum gives a vector, a dot product gives a number: checking perpendicularity

Edited by: Hitoiki Arcade / Hitoiki Learning team · Published: · Editorial policy

Travel 3 units right and 2 up, then 1 left and 1 up. Your total displacement is 2 right and 3 up. Vector components organize movement, including its direction, into a pair of numbers.

Start with the horizontal–vertical order and negative numbers in the graphs and coordinates article. We use perpendicular axes with the same unit length on each. Separate component-wise addition from a dot product, which produces a single number, and then examine why it can test perpendicularity.

1. Add horizontal and vertical components separately

The vector (a, b) represents a displacement of a horizontally and b vertically. A negative component means movement opposite to that axis’s positive direction. Following it with (c, d) gives total displacement (a + c, b + d). Distinguish the starting position from the displacement.

The first example asks for (2, −1) + (−3, 4). Horizontally, 2 − 3 = −1; vertically, −1 + 4 = 3. The result is (−1, 3). This displacement is unchanged if the journey starts somewhere other than the origin.

2. A dot product adds products of matching components

For plane vectors u = (a, b) and v = (c, d), define u · v = ac + bd. Addition returns a pair of components; a dot product returns one number. Check the operation symbol before calculating.

In the second example, (1, 2) · (3, −1) = 1 × 3 + 2 × (−1) = 1. Multiply horizontal by horizontal and vertical by vertical, then add. For our total displacement (2, 3) and another vector (3, −2), the dot product is 2 × 3 + 3 × (−2) = 0.

3. Why does a zero dot product mean perpendicular?

By Pythagoras, the squared length of u = (a, b) is a² + b². Draw both vectors from the same starting point. The squared distance between their tips is (a − c)² + (b − d)². Expanding gives the squared length of u plus the squared length of v minus 2(ac + bd).

For two nonzero vectors that are perpendicular, Pythagoras says that the squared distance between their tips equals the sum of their squared lengths. Comparing with the expansion gives ac + bd = 0. Conversely, a zero dot product gives that length equality, so the converse of Pythagoras establishes perpendicularity.

For (2, 3) and (3, −2), each squared length is 13. The squared distance between the tips is (2 − 3)² + (3 + 2)² = 26, which equals 13 + 13. The calculation of a zero dot product now connects to a right angle.

4. Use the three questions to distinguish displacement, number and condition

Solve the examples in order. Explain that the first asks for a displacement pair, the second for a numerical dot product, and the third for a vector satisfying perpendicularity. In the third, (2, 1) · (1, −2) = 2 × 1 + 1 × (−2) = 0. Calculate the other listed candidates too, checking that exactly one gives zero.

Return to graphs and coordinates if signs or component order are unclear. Next, use the related geometry article to reinforce reasoning from stated conditions when identifying right angles and heights.

TRY & READ

Check your understanding with examples

Compare the choices before opening the answer and explanation. Reading an example does not save a test answer or score.

Example 3 · Geometry

Which vector is perpendicular to (2, 1)?

  1. (1,2)
  2. (−2,−1)
  3. (1,−2)
  4. (2,1)
Read the answer and explanation

Answer: (1,−2)

Perpendicular vectors have zero dot product. For (1, −2), the dot product is 2 × 1 + 1 × (−2) = 0. The other listed products are nonzero.

Sources for this example

Sources for this guide

Continue with a quiz

Topics: Geometry. Range: General knowledge. Difficulty: Standard. These are selected initially. You can change these on the setup screen.

Try this topic in a quiz

This opens the setup screen with this subject and topic selected. Check the mode and question count before you start.

A test shows explanations after submission. Continuous challenge explains each answer. Review uses unresolved mistakes recorded on this device. Casual mode does not update learning records.

Enjoyed it? Share the link

Only the page address is shared. Your saves and results are not included.

Link to this page