4.5.2 · D5Linear Algebra (Full)
Question bank — Dot product — formula, cosine formula, Cauchy-Schwarz inequality proof
True or false — justify
True or false: is a vector because you multiplied two vectors.
False. The dot product is built to measure overlap (a single amount of "same-direction-ness"), so its output is a scalar. The Cross product is the operation that returns a vector.
True or false: if then at least one of must be the zero vector.
False. It means they are perpendicular. Two nonzero vectors can be orthogonal, e.g. — see Orthogonality and orthonormal bases.
True or false: can be negative for some strange vector.
False. , a sum of squares, so it is and equals only for the zero vector. This positivity is the whole reason length makes sense.
True or false: the dot product is commutative, .
True. Each term since ordinary number multiplication commutes, so the whole sum is unchanged.
True or false: Cauchy–Schwarz can only be stated for vectors in or .
False. The discriminant proof uses only , so it holds in any inner product space, even infinite-dimensional ones with no picture of an angle.
True or false: (no cosine, equality) means the vectors point the same way.
True. Equality forces , i.e. , so is a positive scalar multiple of . (Recall is defined by the cosine formula in the box above.)
True or false: can happen even when the vectors point in opposite directions.
True. The absolute value ignores sign; opposite directions give , so and equality still holds. Both same and opposite directions are the "parallel" equality case.
True or false: if for one vector , then .
False. It only says , i.e. is perpendicular to . Equality for all would force .
True or false: doubling both vectors leaves the angle between them unchanged.
True. and both lengths double, so is unchanged. Scaling changes length, not direction.
Spot the error
Find the flaw: "Since and , Cauchy–Schwarz is fully proven."
The reasoning quietly assumes an angle already exists between and . In abstract spaces the angle is only defined using Cauchy–Schwarz, so this is circular — the discriminant proof is needed first.
Find the flaw: " by expanding the square."
The middle term is dropped. Correctly ; the is exactly what carries the angle information.
Find the flaw: " is just , so dot product is associative."
Neither expression is even defined. is a scalar, and dotting a scalar with a vector is meaningless. Dot product takes two vectors, so associativity cannot be asked of it.
Find the flaw: " and , therefore (perpendicularity is transitive)."
False chain. In , and , yet . Perpendicularity is not transitive.
Find the flaw: "In the C–S proof we chose ; if the discriminant argument still forces a strict parabola."
Expanding gives , whose leading coefficient is . If that leading coefficient is , so is not quadratic and the discriminant step is invalid. But then both sides of C–S are , so the inequality holds trivially — the case must be handled separately.
Find the flaw: "Because was used, the cosine formula only works when is acute."
The formula holds for every angle . Obtuse angles give , matching a negative dot product, and gives exactly .
Why questions
Why does setting in recover the Pythagorean theorem?
It gives , the sum of squared components, which is precisely . So the dot product was designed to contain squared distance.
Why is a negative dot product meaningful rather than an error?
A negative value means , i.e. the vectors point more than apart — they partly oppose each other. The sign encodes "same-ish direction" (+) versus "opposing" (−).
Why does the Cauchy–Schwarz proof start from a squared length instead of the length itself?
A squared length is a polynomial in (no square roots) and is guaranteed . That non-negativity of a quadratic is the entire engine that forces the discriminant condition.
Why does discriminant (not ) give the correct inequality including the equality case?
Discriminant corresponds to for some , meaning (parallel) — exactly the equality case. The "" keeps that boundary situation inside the theorem.
Why can the dot product answer "are these perpendicular?" instantly, without computing an angle?
Perpendicular means , and since , the product is exactly when they are orthogonal (for nonzero vectors). One multiply-and-add answers it — see Orthogonality and orthonormal bases.
Why does the cosine formula's derivation rely on the Law of cosines specifically?
The three vectors form a triangle with between the first two, and opposite . The Law of Cosines is exactly the tool relating a triangle's third side to two sides and the included angle.
Why is Cauchy–Schwarz the hidden reason the Triangle inequality holds for vectors?
Expanding and bounding (which is C–S) gives .
Edge cases
What is when , and is defined?
It is , giving . The angle is undefined because divides by zero — the zero vector has no direction.
Does Cauchy–Schwarz still hold if one vector is the zero vector?
Yes, trivially. Both and , so it reads — an equality, consistent with being a (trivial) scalar multiple of any vector.
What angle does the formula give for two identical vectors ?
, so . Identical vectors point the same way, the maximum-overlap case.
For anti-parallel vectors (with ), what are and the C–S status?
so , and — the equality case, since is a scalar multiple of .
If every component of is positive but , what does that tell you about ?
must have enough negative "pull" in matching slots that the weighted overlap is net negative — the vectors sit more than apart, so points broadly against .
In a 1-dimensional space (plain numbers), what does the dot product reduce to, and does C–S say anything new?
It becomes ordinary multiplication , and C–S reads , which is just — always an equality, since any two 1-D vectors are parallel.
Recall One-line self-test
Cover the answers and race: which of these are scalars — , , , ? ::: The first three are scalars; is a vector.