4.5.1 · D4Linear Algebra (Full)

Exercises — Vectors in ℝⁿ — operations, geometric interpretation

2,726 words12 min readBack to topic

A reminder of what each notation means, so you never hit an unexplained symbol:


Level 1 — Recognition

These check that you can name and execute the two operations without thinking about geometry yet.

Recall Solution 1.1

WHAT: add matching components. WHY: each axis is independent, so we combine them one at a time.

Recall Solution 1.2

WHAT: multiply every component by . WHY: scaling stretches the whole arrow uniformly.

Recall Solution 1.3

WHAT: apply Pythagoras. WHY: the arrow is the hypotenuse of a right triangle with legs and .


Level 2 — Application

Now combine the operations and produce quantities you'll actually use.

Recall Solution 2.1

WHAT: scale each vector, then subtract. WHY: subtraction is just adding the negative scaling (, from the cheat-sheet).

Recall Solution 2.2

WHAT: divide by the length. WHY: dividing by rescales to length without rotating. First check so the division is legal: here . ✓ Check:

Recall Solution 2.3

WHAT: multiply matching components and sum. WHY: the dot product weighs how much the two arrows align.


Level 3 — Analysis

Here the numbers must be interpreted: angles, perpendicularity, and what the sign of a dot product tells you.

The figure below shows Exercise 3.1. What to observe: the black arrow lies flat along the horizontal -axis, while the red arrow climbs the diagonal. The small red arc between them is the angle . Notice the red arrow sits exactly halfway between the -axis and straight up — that visual "halfway" is precisely the we compute.

Figure — Vectors in ℝⁿ — operations, geometric interpretation
Recall Solution 3.1

WHAT: use . WHY this tool: the dot product is the only operation that packages the angle into arithmetic — we rearrange its geometric form to isolate . WHAT IT LOOKS LIKE: exactly the red arrow of the figure above — halfway between flat and vertical, hence .

Recall Solution 3.2

WHAT: compute the dot product and read its sign. WHY: perpendicularity is exactly the statement , and the sign otherwise reports whether the angle is acute or obtuse. Zero perpendicular (). Because and the norms are positive, the sign of the dot product is the sign of :

  • Dot : , so — arrows lean the same way.
  • Dot : — a right angle.
  • Dot : , so — arrows lean apart (obtuse).
Recall Solution 3.3

WHAT: apply the same formula, now expecting a negative cosine. WHY: the dot product came out negative, which by the sign rule of 3.2 forces an obtuse angle — we still solve for the same way. The negative dot product forces an obtuse angle — the arrows point into different half-planes.


Level 4 — Synthesis

Combine addition, norms, and dot products in one chain of reasoning.

The figure below illustrates Exercise 4.1. What to observe: the four black arrows form a parallelogram with sides and . The red solid arrow is one diagonal ; the red dashed segment is the other diagonal (running between the tips of and ). The parallelogram law says: square those two red diagonals, add them, and you get exactly twice the squared sides — watch the red objects, they are the whole point.

Figure — Vectors in ℝⁿ — operations, geometric interpretation
Recall Solution 4.1

WHAT: compute both diagonals of the parallelogram and both sides. WHY: the law says the two diagonals' squared lengths together equal twice the two sides' squared lengths. Left side: . Both sides equal . ✓ WHAT IT LOOKS LIKE: the two red diagonals of the parallelogram in the figure above, (short, solid) and (dashed), balance against its four equal black sides.

Recall Solution 4.2

WHAT: set the dot product to zero. WHY: perpendicular dot . So (straight up) and (straight right) — indeed a right angle. Only works.

Recall Solution 4.3

WHAT: use . WHY: scaling by multiplies length by (the absolute value, since flipping doesn't change length). Both are valid: keeps the direction, reverses it — same length either way.


Level 5 — Mastery

One extended problem weaving the whole chapter together.

Recall Solution 5.1

WHAT we're doing: splitting into a piece along and a piece square to it — a first taste of Projections and Orthogonal Decomposition. WHY this works: the parallel piece is a scaling of , and the right scaling is picked so the leftover is perpendicular. The dot product is the exact tool that measures "how much of lies along ."

Step 0 — legality check. We are about to divide by , so we need . Here , so the projection is well-defined. (Projecting onto would be meaningless — points nowhere.)

Step 1 — the parallel part. Write for some scalar (parallel means "a scaled copy"). The formula that makes the remainder perpendicular is Compute:

Step 2 — the perpendicular part. Whatever is left over (using subtraction ):

Step 3 — (b) verify perpendicularity. And

WHY the choice of was forced: we insisted the leftover be perpendicular to , i.e. . Expand that requirement using the dot product's distributive rule: Solving the single unknown gives — this is the only value that makes the leftover square to . Any other would leave a nonzero dot product, so would not be perpendicular. (Note because — the same legality check as Step 0.)

Recall Solution 5.2

WHY this should hold: and meet at a right angle, so they form a right triangle with as the hypotenuse — Pythagoras applies.


Connections