Multivariable Calculus: Comprehensive Study Guide on Vectors, Dot Products, Direction Angles, and Vector Projections

Fundamentals of Vectors and Vector Algebra

  • Definition of Vectors:

    • A vector is a directed line segment characterized by two fundamental properties: magnitude (also referred to as length or norm) and direction.
    • A vector originates at an initial point and terminates at a terminal point.
    • Geometrically, vectors represent directional displacement or movement from one point in space to another.
  • The Zero Vector:

    • The zero vector, denoted 0\mathbf{0}, represents zero displacement and has a magnitude of 00.
    • In two dimensions, its component form is 0=(0,0)\mathbf{0} = (0, 0); in three dimensions, it is 0=(0,0,0)\mathbf{0} = (0, 0, 0).
    • The zero vector acts as a point that moves nowhere and lacks a specific direction.
  • Physical Applications:

    • Vectors are widely used in physics and engineering to represent vector quantities such as force, displacement, acceleration, and velocity.
    • The magnitude of a velocity vector represents speed, which isolates rate of motion from directional information.
  • Vector Notation and Representation:

    • Component form using angled brackets: a=⟨a1,a2⟩\mathbf{a} = \langle a_1, a_2 \rangle in 2D or a=⟨a1,a2,a3⟩\mathbf{a} = \langle a_1, a_2, a_3 \rangle in 3D (also written in parenthetical notation as (a1,a2,a3)(a_1, a_2, a_3)).
    • Standard basis unit vectors:
    • i=(1,0,0)\mathbf{i} = (1, 0, 0) (or (1,0)(1, 0) in 2D): A unit vector pointing 1 unit1\,\text{unit} in the positive x-direction.
    • j=(0,1,0)\mathbf{j} = (0, 1, 0) (or (0,1)(0, 1) in 2D): A unit vector pointing 1 unit1\,\text{unit} in the positive y-direction.
    • k=(0,0,1)\mathbf{k} = (0, 0, 1): A unit vector pointing 1 unit1\,\text{unit} in the positive z-direction.
    • Linear combination form: a=a1i+a2j+a3k\mathbf{a} = a_1\mathbf{i} + a_2\mathbf{j} + a_3\mathbf{k}, where a1a_1, a2a_2, and a3a_3 are scalar values that scale the respective standard unit vectors.
    • The vector sum a=3i+4j\mathbf{a} = 3\mathbf{i} + 4\mathbf{j} represents a resultant vector formed by combining a rightward movement of 3 units3\,\text{units} and an upward movement of 4 units4\,\text{units}.
  • Vector Translation and Equivalence:

    • Vectors are free quantities; they can be translated anywhere in space without altering their value, provided their magnitude and direction remain unchanged.
    • Two vectors are equivalent if and only if their corresponding components are strictly equal.
    • Example: Starting at the initial point (1,1)(1, 1) and applying the vector displacement ⟨3,4⟩\langle 3, 4 \rangle yields the terminal point (1+3,1+4)=(4,5)(1 + 3, 1 + 4) = (4, 5).

Vector Magnitude, Operations, and Algebraic Properties

  • Vector Magnitude (Norm):

    • The magnitude of a vector is calculated using the distance formula derived from the Pythagorean theorem.
    • For a 2D vector a=⟨a1,a2⟩\mathbf{a} = \langle a_1, a_2 \rangle:     ∥a∥=a12+a22\|\mathbf{a}\| = \sqrt{a_1^2 + a_2^2}     Example: For a=⟨3,4⟩\mathbf{a} = \langle 3, 4 \rangle, the magnitude is ∥a∥=32+42=25=5\|\mathbf{a}\| = \sqrt{3^2 + 4^2} = \sqrt{25} = 5.
    • For a 3D vector a=⟨a1,a2,a3⟩\mathbf{a} = \langle a_1, a_2, a_3 \rangle:     ∥a∥=a12+a22+a32\|\mathbf{a}\| = \sqrt{a_1^2 + a_2^2 + a_3^2}     Example: For a=⟨3,4,1⟩\mathbf{a} = \langle 3, 4, 1 \rangle, the magnitude is ∥a∥=32+42+12=26\|\mathbf{a}\| = \sqrt{3^2 + 4^2 + 1^2} = \sqrt{26}.
  • Vector Addition and Subtraction:

    • Vectors are added or subtracted by performing component-wise operations.
    • For u=(u1,u2,u3)\mathbf{u} = (u_1, u_2, u_3) and v=(v1,v2,v3)\mathbf{v} = (v_1, v_2, v_3):     u+v=(u1+v1,u2+v2,u3+v3)\mathbf{u} + \mathbf{v} = (u_1 + v_1, u_2 + v_2, u_3 + v_3)u−v=(u1−v1,u2−v2,u3−v3)\mathbf{u} - \mathbf{v} = (u_1 - v_1, u_2 - v_2, u_3 - v_3)
  • Scalar Multiplication and Parallel Vectors:

    • Multiplying a vector a\mathbf{a} by a scalar cc scales its magnitude by ∣c∣|c|:     ca=(ca1,ca2,ca3)c\mathbf{a} = (c a_1, c a_2, c a_3)     Example: Scaling a=⟨3,4⟩\mathbf{a} = \langle 3, 4 \rangle by 22 gives 2a=⟨6,8⟩=6i+8j2\mathbf{a} = \langle 6, 8 \rangle = 6\mathbf{i} + 8\mathbf{j}.
    • If c>0c > 0, the direction is unchanged; if c<0c < 0, the direction is reversed.
    • Parallelism Definition: Two non-zero vectors u\mathbf{u} and v\mathbf{v} are parallel if and only if one is a scalar multiple of the other (u=cv\mathbf{u} = c\mathbf{v} for some real scalar cc).
  • Fundamental Algebraic Properties of Vector Operations:   For any vectors u\mathbf{u}, v\mathbf{v}, w\mathbf{w} and scalars mm, nn:

    • Commutative Property of Addition: u+v=v+u\mathbf{u} + \mathbf{v} = \mathbf{v} + \mathbf{u}
    • Associative Property of Addition: (u+v)+w=u+(v+w)(\mathbf{u} + \mathbf{v}) + \mathbf{w} = \mathbf{u} + (\mathbf{v} + \mathbf{w})
    • Additive Identity Property: u+0=u\mathbf{u} + \mathbf{0} = \mathbf{u}
    • Additive Inverse Property: u+(−u)=0\mathbf{u} + (-\mathbf{u}) = \mathbf{0}
    • Distributive Property over Vector Addition: m(u+v)=mu+mvm(\mathbf{u} + \mathbf{v}) = m\mathbf{u} + m\mathbf{v}
    • Distributive Property over Scalar Addition: (m+n)u=mu+nu(m + n)\mathbf{u} = m\mathbf{u} + n\mathbf{u}
    • Associative Property of Scalar Multiplication: m(nu)=(mn)um(n\mathbf{u}) = (mn)\mathbf{u}
    • Scalar Identity Properties: 1u=u1\mathbf{u} = \mathbf{u}, 0u=00\mathbf{u} = \mathbf{0}
  • Proof of the Associative Property of Vector Addition:

    • Objective: Prove that a+(b+c)=(a+b)+c\mathbf{a} + (\mathbf{b} + \mathbf{c}) = (\mathbf{a} + \mathbf{b}) + \mathbf{c} for 2D vectors a=(a1,a2)\mathbf{a} = (a_1, a_2), b=(b1,b2)\mathbf{b} = (b_1, b_2), and c=(c1,c2)\mathbf{c} = (c_1, c_2).
    • Step 1: Evaluate the inner addition: b+c=(b1+c1,b2+c2)\mathbf{b} + \mathbf{c} = (b_1 + c_1, b_2 + c_2).
    • Step 2: Add vector a\mathbf{a} to the result: a+(b+c)=(a1+(b1+c1),a2+(b2+c2))\mathbf{a} + (\mathbf{b} + \mathbf{c}) = (a_1 + (b_1 + c_1), a_2 + (b_2 + c_2))
    • Step 3: Apply the associative property of addition for real numbers inside each component:     (a1+(b1+c1),a2+(b2+c2))=((a1+b1)+c1,(a2+b2)+c2)(a_1 + (b_1 + c_1), a_2 + (b_2 + c_2)) = ((a_1 + b_1) + c_1, (a_2 + b_2) + c_2)
    • Step 4: Decompose the combined component vector into a sum of two vectors:     ((a1+b1)+c1,(a2+b2)+c2)=(a1+b1,a2+b2)+(c1,c2)((a_1 + b_1) + c_1, (a_2 + b_2) + c_2) = (a_1 + b_1, a_2 + b_2) + (c_1, c_2)
    • Step 5: Decompose the first vector into a\mathbf{a} and b\mathbf{b}:     (a1+b1,a2+b2)+(c1,c2)=((a1,a2)+(b1,b2))+(c1,c2)=(a+b)+c(a_1 + b_1, a_2 + b_2) + (c_1, c_2) = ((a_1, a_2) + (b_1, b_2)) + (c_1, c_2) = (\mathbf{a} + \mathbf{b}) + \mathbf{c}

Trigonometric Representation and Unit Vectors

  • Trigonometric Form of 2D Vectors:

    • Let θ\theta be the angle measured counterclockwise from the positive x-axis (θ=0\theta = 0).
    • Any 2D vector v\mathbf{v} with magnitude ∥v∥\|\mathbf{v}\| can be expressed as:     v=∥v∥⟨cos⁡(θ),sin⁡(θ)⟩=⟨∥v∥cos⁡(θ),∥v∥sin⁡(θ)⟩\mathbf{v} = \|\mathbf{v}\| \langle \cos(\theta), \sin(\theta) \rangle = \langle \|\mathbf{v}\| \cos(\theta), \|\mathbf{v}\| \sin(\theta) \rangle
    • Example: For v=⟨1,1⟩\mathbf{v} = \langle 1, 1 \rangle:
    • Magnitude: ∥v∥=12+12=2\|\mathbf{v}\| = \sqrt{1^2 + 1^2} = \sqrt{2}.
    • Angle: θ=45∘\theta = 45^\circ or π4 radians\frac{\pi}{4}\,\text{radians}.
    • Unit circle coordinates: (22,22)\left(\frac{\sqrt{2}}{2}, \frac{\sqrt{2}}{2}\right).
    • Reconstruction: \mathbf{v} = \sqrt{2} \langle \cos(45^\circ), \sin(45^\circ) \rangle = \sqrt{2} \left\langle \frac{\sqrt{2}}{2}, \frac{\sqrt{2}}{2} \right\rangle = \langle 1, 1 \rangle$.\n\n* **Unit Vector Normalization**:\n * A unit vector is a vector with a magnitude of exactly 1, isolating direction without carrying magnitude scaling.\n * To normalize a non-zero vector \mathbf{v}, divide it by its magnitude:\n    \mathbf{u} = \frac{\mathbf{v}}{|\mathbf{v}|}\n * Example 1: Find the unit vector parallel to \mathbf{v} = \langle 2, 5 \rangle:\n * Magnitude: |\mathbf{v}| = \sqrt{2^2 + 5^2} = \sqrt{29}.\n * Unit vector: \mathbf{u} = \left\langle \frac{2}{\sqrt{29}}, \frac{5}{\sqrt{29}} \right\rangle$.
    • Example 2: Find a unit vector in the opposite direction of v=(−1,1,1)\mathbf{v} = (-1, 1, 1):
    • Magnitude: ∥v∥=(−1)2+12+12=3\|\mathbf{v}\| = \sqrt{(-1)^2 + 1^2 + 1^2} = \sqrt{3}.
    • Opposite unit vector: u=−v∥v∥=(13,−13,−13)\mathbf{u} = -\frac{\mathbf{v}}{\|\mathbf{v}\|} = \left(\frac{1}{\sqrt{3}}, -\frac{1}{\sqrt{3}}, -\frac{1}{\sqrt{3}}\right).
    • Rationalized form: (33,−33,−33)\left(\frac{\sqrt{3}}{3}, -\frac{\sqrt{3}}{3}, -\frac{\sqrt{3}}{3}\right).
  • Vector Construction Problems:

    • Directed Line Segment Vector: Find vector a\mathbf{a} from point A(3,1,−4)A(3, 1, -4) to point B(−2,5,6)B(-2, 5, 6):
    • Movement in x: −2−3=−5-2 - 3 = -5
    • Movement in y: 5−1=45 - 1 = 4
    • Movement in z: 6−(−4)=106 - (-4) = 10
    • Vector: a=(−5,4,10)\mathbf{a} = (-5, 4, 10).
    • Magnitude: ∥a∥=(−5)2+42+102=25+16+100=141\|\mathbf{a}\| = \sqrt{(-5)^2 + 4^2 + 10^2} = \sqrt{25 + 16 + 100} = \sqrt{141}.
    • Linear Combination Calculation: Given a=(−5,4,10)\mathbf{a} = (-5, 4, 10) and b=(2,3,−1)\mathbf{b} = (2, 3, -1), evaluate 5a−2b5\mathbf{a} - 2\mathbf{b}.     5(−5,4,10)−2(2,3,−1)=(−25,20,50)−(4,6,−2)=(−29,14,52)5(-5, 4, 10) - 2(2, 3, -1) = (-25, 20, 50) - (4, 6, -2) = (-29, 14, 52)
    • Specified Magnitude in Given Direction: Find a vector in the same direction as BC⃗\vec{BC} with magnitude 7\sqrt{7}, where B(2,4,0)B(2, 4, 0) and C(0,0,5)C(0, 0, 5):
    • Direction vector: BC⃗=(0−2,0−4,5−0)=(−2,−4,5)\vec{BC} = (0 - 2, 0 - 4, 5 - 0) = (-2, -4, 5).
    • Magnitude: ∥BC⃗∥=(−2)2+(−4)2+52=4+16+25=45\|\vec{BC}\| = \sqrt{(-2)^2 + (-4)^2 + 5^2} = \sqrt{4 + 16 + 25} = \sqrt{45}.
    • Unit vector: u=(−245,−445,545)\mathbf{u} = \left(-\frac{2}{\sqrt{45}}, -\frac{4}{\sqrt{45}}, \frac{5}{\sqrt{45}}\right).
    • Scale by 7\sqrt{7}: v=(−2745,−4745,5745)\mathbf{v} = \left(-\frac{2\sqrt{7}}{\sqrt{45}}, -\frac{4\sqrt{7}}{\sqrt{45}}, \frac{5\sqrt{7}}{\sqrt{45}}\right).
    • Simplify radicals (45=35\sqrt{45} = 3\sqrt{5}):       v=(−23515,−43515,353)\mathbf{v} = \left(-\frac{2\sqrt{35}}{15}, -\frac{4\sqrt{35}}{15}, \frac{\sqrt{35}}{3}\right)
    • Specified Length at Specified Angle: Find a vector of length 44 at angle θ=π6 radians\theta = \frac{\pi}{6}\,\text{radians} (30∘30^\circ) with the positive x-axis:
    • Unit circle point at π6\frac{\pi}{6}: (32,12)\left(\frac{\sqrt{3}}{2}, \frac{1}{2}\right).
    • Scale by length 44: 4(32,12)=(23,2)4 \left(\frac{\sqrt{3}}{2}, \frac{1}{2}\right) = (2\sqrt{3}, 2).
    • Angle Identification: Find the angle made by v=(−1,3)\mathbf{v} = (-1, \sqrt{3}) with the positive x-axis:
    • Magnitude: ∥v∥=(−1)2+(3)2=4=2\|\mathbf{v}\| = \sqrt{(-1)^2 + (\sqrt{3})^2} = \sqrt{4} = 2.
    • Normalized point: (−12,32)\left(-\frac{1}{2}, \frac{\sqrt{3}}{2}\right).
    • Reference angle: π3 radians\frac{\pi}{3}\,\text{radians} (60∘60^\circ).
    • Located in Quadrant II (x<0,y>0x < 0, y > 0): θ=π−π3=2π3 radians\theta = \pi - \frac{\pi}{3} = \frac{2\pi}{3}\,\text{radians} (120∘120^\circ).

The Dot Product and Angle Calculations

  • Definition of the Dot Product:

    • The dot product (also known as the inner product) combines component values of two vectors to yield a single scalar value.
    • For 3D vectors u=(u1,u2,u3)\mathbf{u} = (u_1, u_2, u_3) and v=(v1,v2,v3)\mathbf{v} = (v_1, v_2, v_3):     u⋅v=u1v1+u2v2+u3v3\mathbf{u} \cdot \mathbf{v} = u_1 v_1 + u_2 v_2 + u_3 v_3
    • Crucial distinction: The output of a dot product is strictly a scalar, not a vector (contains no brackets, commas, or basis vectors i,j,k\mathbf{i}, \mathbf{j}, \mathbf{k}).
  • Geometric Formula for the Dot Product:

    • The dot product relates vector magnitudes and the angle θ\theta between them (0≤θ≤π0 \le \theta \le \pi):     a⋅b=∥a∥∥b∥cos⁡(θ)\mathbf{a} \cdot \mathbf{b} = \|\mathbf{a}\| \|\mathbf{b}\| \cos(\theta)
    • Solving for cos⁡(θ)\cos(\theta) (assuming non-zero vectors):     cos⁡(θ)=a⋅b∥a∥∥b∥\cos(\theta) = \frac{\mathbf{a} \cdot \mathbf{b}}{\|\mathbf{a}\| \|\mathbf{b}\|}
    • Scaling by magnitudes ensures the value stays in the range [−1,1][-1, 1], allowing inverse cosine calculation.
  • Geometric Interpretation of the Dot Product Sign:

    • Positive Dot Product (a⋅b>0\mathbf{a} \cdot \mathbf{b} > 0): The angle θ\theta is acute (0∘≤θ<90∘0^\circ \le \theta < 90^\circ). Vectors point in generally the same direction.
    • Zero Dot Product (a⋅b=0\mathbf{a} \cdot \mathbf{b} = 0): The angle is θ=90∘\theta = 90^\circ (π2 radians\frac{\pi}{2}\,\text{radians}). Non-zero vectors are orthogonal.
    • Negative Dot Product (a⋅b<0\mathbf{a} \cdot \mathbf{b} < 0): The angle θ\theta is obtuse (90∘<θ≤180∘90^\circ < \theta \le 180^\circ). Vectors point in generally opposite directions.
    • Terminology Note: The term "perpendicular" is typically applied to intersecting lines in geometry, whereas "orthogonal" is the standard term for vectors in multivariable calculus and physics.
  • Algebraic Properties of the Dot Product:

    • Commutative Property: a⋅b=b⋅a\mathbf{a} \cdot \mathbf{b} = \mathbf{b} \cdot \mathbf{a}
    • Scalar Associativity/Distributivity: c(a⋅b)=(ca)⋅b=a⋅(cb)c(\mathbf{a} \cdot \mathbf{b}) = (c\mathbf{a}) \cdot \mathbf{b} = \mathbf{a} \cdot (c\mathbf{b})
    • Dot Product with Self: a⋅a=∥a∥2\mathbf{a} \cdot \mathbf{a} = \|\mathbf{a}\|^2 (since a12+a22+a32=∥a∥2a_1^2 + a_2^2 + a_3^2 = \|\mathbf{a}\|^2)
    • Dot Product with Zero Vector: a⋅0=0\mathbf{a} \cdot \mathbf{0} = 0
  • Worked Numerical Example:

    • Given vectors a=(3,−4,2)\mathbf{a} = (3, -4, 2) and b=(1,2,−5)\mathbf{b} = (1, 2, -5):
    • Vector Addition: a+b=(3+1,−4+2,2−5)=(4,−2,−3)=4i−2j−3k\mathbf{a} + \mathbf{b} = (3+1, -4+2, 2-5) = (4, -2, -3) = 4\mathbf{i} - 2\mathbf{j} - 3\mathbf{k}
    • Vector Combination: 5a−4b=5(3,−4,2)−4(1,2,−5)=(15,−20,10)−(4,8,−20)=(11,−28,30)5\mathbf{a} - 4\mathbf{b} = 5(3, -4, 2) - 4(1, 2, -5) = (15, -20, 10) - (4, 8, -20) = (11, -28, 30)
    • Dot Product Computation:     a⋅b=3(1)+(−4)(2)+2(−5)=3−8−10=−15\mathbf{a} \cdot \mathbf{b} = 3(1) + (-4)(2) + 2(-5) = 3 - 8 - 10 = -15
    • Magnitude Computations:     ∥a∥=32+(−4)2+22=9+16+4=29\|\mathbf{a}\| = \sqrt{3^2 + (-4)^2 + 2^2} = \sqrt{9 + 16 + 4} = \sqrt{29}∥b∥=12+22+(−5)2=1+4+25=30\|\mathbf{b}\| = \sqrt{1^2 + 2^2 + (-5)^2} = \sqrt{1 + 4 + 25} = \sqrt{30}
    • Cosine of Inter-Vector Angle:     cos⁡(θ)=−152930\cos(\theta) = \frac{-15}{\sqrt{29} \sqrt{30}}
    • Since the dot product is negative (−15-15), the angle θ\theta between a\mathbf{a} and b\mathbf{b} is obtuse.

Direction Angles and Direction Cosines

  • Definitions:

    • In a 3D Cartesian coordinate system, the orientation of a vector a=(a1,a2,a3)\mathbf{a} = (a_1, a_2, a_3) relative to the coordinate axes is defined by three direction angles:
    • α\alpha: Angle made with the positive x-axis.
    • β\beta: Angle made with the positive y-axis.
    • γ\gamma: Angle made with the positive z-axis.
    • The cosines of these angles are known as direction cosines.
  • Derivation via Standard Basis Vectors:

    • To find α\alpha, consider the positive x-axis unit vector i=(1,0,0)\mathbf{i} = (1, 0, 0) (with magnitude ∥i∥=1\|\mathbf{i}\| = 1).
    • Dot product: a⋅i=a1(1)+a2(0)+a3(0)=a1\mathbf{a} \cdot \mathbf{i} = a_1(1) + a_2(0) + a_3(0) = a_1.
    • Applying the angle formula:     cos⁡(α)=a⋅i∥a∥∥i∥=a1∥a∥\cos(\alpha) = \frac{\mathbf{a} \cdot \mathbf{i}}{\|\mathbf{a}\| \|\mathbf{i}\|} = \frac{a_1}{\|\mathbf{a}\|}
    • Similarly, using j=(0,1,0)\mathbf{j} = (0, 1, 0) and k=(0,0,1)\mathbf{k} = (0, 0, 1):     cos⁡(β)=a2∥a∥\cos(\beta) = \frac{a_2}{\|\mathbf{a}\|}cos⁡(γ)=a3∥a∥\cos(\gamma) = \frac{a_3}{\|\mathbf{a}\|}
  • Comprehensive Numerical Example:

    • Consider the 3D vector a=(−2,1,5)\mathbf{a} = (-2, 1, 5):
    • Magnitude: ∥a∥=(−2)2+12+52=4+1+25=30\|\mathbf{a}\| = \sqrt{(-2)^2 + 1^2 + 5^2} = \sqrt{4 + 1 + 25} = \sqrt{30}.
    • Positive x-axis Angle (α\alpha):
    • Direction cosine: cos⁡(α)=−230\cos(\alpha) = \frac{-2}{\sqrt{30}}
    • The negative value indicates an obtuse angle (α>90∘\alpha > 90^\circ).
    • Angle calculation: α=arccos⁡(−230)≈111.42∘\alpha = \arccos\left(\frac{-2}{\sqrt{30}}\right) \approx 111.42^\circ
    • Positive y-axis Angle (β\beta):
    • Direction cosine: cos⁡(β)=130\cos(\beta) = \frac{1}{\sqrt{30}}
    • The positive value indicates an acute angle.
    • Angle calculation: β=arccos⁡(130)≈79.48∘\beta = \arccos\left(\frac{1}{\sqrt{30}}\right) \approx 79.48^\circ
    • Positive z-axis Angle (γ\gamma):
    • Direction cosine: cos⁡(γ)=530\cos(\gamma) = \frac{5}{\sqrt{30}}
    • Angle calculation: γ=arccos⁡(530)≈24.09∘\gamma = \arccos\left(\frac{5}{\sqrt{30}}\right) \approx 24.09^\circ

Vector Projections and Scalar Components

  • Conceptual Foundations:

    • Consider two vectors a\mathbf{a} and b\mathbf{b} sharing the same initial point.
    • Imagine a light source positioned straight above the terminal point of b\mathbf{b}, shining perpendicularly down onto the line containing a\mathbf{a}.
    • The shadow cast by b\mathbf{b} onto a\mathbf{a} forms a new vector laying directly on top of a\mathbf{a} (parallel to a\mathbf{a}).
    • This shadow vector is the vector projection of b\mathbf{b} onto a\mathbf{a}, denoted projab\text{proj}_{\mathbf{a}}\mathbf{b}.
    • The signed length/magnitude of this shadow vector is the scalar component of b\mathbf{b} along a\mathbf{a}, denoted compab\text{comp}_{\mathbf{a}}\mathbf{b}.
  • Derivation of the Scalar Component Formula:

    • In the right triangle formed by vector b\mathbf{b}, the projection shadow, and the perpendicular light ray:     cos⁡(θ)=adjacenthypotenuse=compab∥b∥\cos(\theta) = \frac{\text{adjacent}}{\text{hypotenuse}} = \frac{\text{comp}_{\mathbf{a}}\mathbf{b}}{\|\mathbf{b}\|}
    • Solving for the scalar component:     compab=∥b∥cos⁡(θ)\text{comp}_{\mathbf{a}}\mathbf{b} = \|\mathbf{b}\| \cos(\theta)
    • Substituting cos⁡(θ)=a⋅b∥a∥∥b∥\cos(\theta) = \frac{\mathbf{a} \cdot \mathbf{b}}{\|\mathbf{a}\| \|\mathbf{b}\|}compab=∥b∥(a⋅b∥a∥∥b∥)=a⋅b∥a∥\text{comp}_{\mathbf{a}}\mathbf{b} = \|\mathbf{b}\| \left( \frac{\mathbf{a} \cdot \mathbf{b}}{\|\mathbf{a}\| \|\mathbf{b}\|} \right) = \frac{\mathbf{a} \cdot \mathbf{b}}{\|\mathbf{a}\|}
  • Derivation of the Vector Projection Formula:

    • The projection vector projab\text{proj}_{\mathbf{a}}\mathbf{b} has length compab\text{comp}_{\mathbf{a}}\mathbf{b} and points in the direction of the unit vector parallel to a\mathbf{a}, which is a∥a∥\frac{\mathbf{a}}{\|\mathbf{a}\|}.
    • Multiplying length by direction:     projab=(compab)a∥a∥=(a⋅b∥a∥)a∥a∥=a⋅b∥a∥2a\text{proj}_{\mathbf{a}}\mathbf{b} = \left(\text{comp}_{\mathbf{a}}\mathbf{b}\right) \frac{\mathbf{a}}{\|\mathbf{a}\|} = \left(\frac{\mathbf{a} \cdot \mathbf{b}}{\|\mathbf{a}\|}\right) \frac{\mathbf{a}}{\|\mathbf{a}\|} = \frac{\mathbf{a} \cdot \mathbf{b}}{\|\mathbf{a}\|^2} \mathbf{a}
  • Detailed Step-by-Step Examples:

    • Example 1: Projecting x\mathbf{x} onto y\mathbf{y}:
    • Given x=(3,1,−4)\mathbf{x} = (3, 1, -4) and y=(2,3,−4)\mathbf{y} = (2, 3, -4):
    • Dot product: x⋅y=3(2)+1(3)+(−4)(1)=6+3−4=5\mathbf{x} \cdot \mathbf{y} = 3(2) + 1(3) + (-4)(1) = 6 + 3 - 4 = 5
    • Magnitude of y\mathbf{y}: ∥y∥=22+32+(−4)2=4+9+16=29\|\mathbf{y}\| = \sqrt{2^2 + 3^2 + (-4)^2} = \sqrt{4 + 9 + 16} = \sqrt{29}
    • Scalar component of x\mathbf{x} along y\mathbf{y}:       compyx=529\text{comp}_{\mathbf{y}}\mathbf{x} = \frac{5}{\sqrt{29}}
    • Example 2: Projecting y\mathbf{y} onto x\mathbf{x}:
    • Let x=(3,1,1)\mathbf{x} = (3, 1, 1) and y\mathbf{y} such that \mathbf{x} \cdot \mathbf{y} = 5$.\n * Magnitude of \mathbf{x}::|\mathbf{x}| = \sqrt{3^2 + 1^2 + 1^2} = \sqrt{9 + 1 + 1} = \sqrt{11}\n * Scalar component of \mathbf{y}alongalong\mathbf{x}:\n      \text{comp}{\mathbf{x}}\mathbf{y} = \frac{5}{\sqrt{11}}\n * Vector projection of \mathbf{y}ontoonto\mathbf{x}:\n      \text{proj}{\mathbf{x}}\mathbf{y} = \frac{\mathbf{x} \cdot \mathbf{y}}{|\mathbf{x}|^2} \mathbf{x} = \frac{5}{(\sqrt{11})^2} (3, 1, 1) = \frac{5}{11} (3, 1, 1) = \left( \frac{15}{11}, \frac{5}{11}, \frac{5}{11} \right)\n * Notice that \left(\frac{15}{11}, \frac{5}{11}, \frac{5}{11}\right)isparalleltois parallel to\mathbf{x} = (3, 1, 1)scaledbyscaled by\frac{5}{11}.\n\n* **Conditions for Equality of Projections**:\n * Equality of Scalar Components (\text{comp}{\mathbf{a}}\mathbf{b} = \text{comp}{\mathbf{b}}\mathbf{a}):\n * Formula equivalence: \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}|} = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{b}|}.\n * Since \mathbf{a} \cdot \mathbf{b} = \mathbf{b} \cdot \mathbf{a}, equality holds for non-zero vectors if and only if their magnitudes are equal:\n      |\mathbf{a}| = |\mathbf{b}|\n * Equality of Projection Vectors (\text{proj}{\mathbf{a}}\mathbf{b} = \text{proj}{\mathbf{b}}\mathbf{a}):\n * Case 1: Vectors \mathbf{a}andand\mathbf{b}are∗∗orthogonal∗∗(are **orthogonal** (\mathbf{a} \cdot \mathbf{b} = 0).Bothprojectionvectorsequalthezerovector). Both projection vectors equal the zero vector\mathbf{0}.\n * Case 2: Vectors \mathbf{a}andand\mathbf{b}are∗∗identical∗∗(are **identical** (\mathbf{a} = \mathbf{b}$$). They possess identical magnitudes and directions.