Thomas’ Calculus · Chapter 12 · Section 12.3
By Muhammad Abdullah Athar · SymPy Verified
The Dot Product
Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.
Part One
Section Notes
Section 12.3: The Dot Product
The dot product (scalar product) produces a scalar from two vectors.
1. Geometric Definition and Properties
For vectors and with angle between them:
- Orthogonality Criterion: .
- Angle Formula: .
2. Projections and Work
-
Vector Projection of onto :
-
Physical Work: When a constant force displaces an object through displacement :
Part Two
Key Ideas to Remember
2 essential statements for this section, each with a plain-words explanation.
Dot (Inner) Product
The dot product of two vectors u and v is the scalar obtained by summing the products of their corresponding components, equal to the product of their magnitudes and the cosine of the angle theta between them (0 <= theta <= pi).
Conditions: Vectors belong to Euclidean space R^n; 0 <= theta <= pi
Remember — Two non-zero vectors are orthogonal if and only if their dot product vanishes: u . v = 0.
Vector Projection and Scalar Component
The vector projection of u onto non-zero v represents the shadow cast by u along the line containing v, while the scalar component is its signed length.
Conditions: v is non-zero
Remember — Fundamental in computing physical work: W = F . D.
Part Three
Worked Examples
5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.
Example 01(Section 12.3, Exercise 1)
Warm-upProblem. Compute the dot product u . v and find cos(theta) for u = <1, -2, 2> and v = <3, 4, 0>.
Step-by-Step Derivation (3 steps)
Calculate Dot Product
Multiply corresponding components and add.
Calculate Vector Magnitudes
Compute Euclidean norms for both vectors.
Compute Angle Cosine
Divide the inner product by the product of norms.
Answer:
✓ Verified by SymPy CAS
Example 02(Section 12.3, Exercise 2)
Warm-upProblem. Determine whether the vectors a = <2, -3, 4> and b = <6, 8, 3> are orthogonal.
Step-by-Step Derivation (2 steps)
Evaluate Inner Product
Compute the sum of component products.
State Conclusion
Since the dot product is exactly 0, the vectors meet at a 90 degree angle.
Answer:
✓ Verified by SymPy CAS
Example 03(Section 12.3, Exercise 3)
Core practiceProblem. Find the vector projection of u = <2, 1, -1> onto v = <1, 0, -2>.
Step-by-Step Derivation (2 steps)
Compute u . v and |v|^2
Calculate scalar numerator and squared denominator.
Multiply Scalar Factor by v
Scale the vector v by (u . v) / |v|^2.
Answer:
✓ Verified by SymPy CAS
Example 04(Section 12.3, Exercise 4)
Core practiceProblem. A constant force F = 5i + 2j - k moves an object along a straight line from P(1, 0, 2) to Q(4, 3, 8). Find the total work done.
Step-by-Step Derivation (2 steps)
Determine Displacement Vector
Subtract initial point P from destination point Q.
Calculate Work as F . D
Compute the inner product of force and displacement.
Answer:
✓ Verified by SymPy CAS
Example 05(Section 12.3, Exercise 5)
Core practiceProblem. Find the direction cosines of the vector v = <2, 1, -2> and verify that cos^2(alpha) + cos^2(beta) + cos^2(gamma) = 1.
Step-by-Step Derivation (3 steps)
Compute Vector Magnitude
Evaluate the length of vector v.
Extract Direction Cosines
Direction cosines are the components of the normalized unit vector.
Verify Sum of Squares Identity
Sum the squares of the direction cosines.
Answer:
✓ Verified by SymPy CAS