Dot product of vectors (geometric and coordinate meaning)

LVL: FREE

MODULE: Coordinate Geometry and Vectors

[EXEC: MICRO_CORE]

✖️ 1. Calculating the dot product algebraically

🔢 Algebraic Dot Product Formula

  • The dot product multiplies matching components then adds them all up.
  • For 2D vectors: uv=u1v1+u2v2\mathbf{u} \cdot \mathbf{v} = u_1v_1 + u_2v_2
  • For 3D vectors: uv=u1v1+u2v2+u3v3\mathbf{u} \cdot \mathbf{v} = u_1v_1 + u_2v_2 + u_3v_3
  • The result is always a single number (scalar), not a vector.
  • Order does not matter: uv=vu\mathbf{u} \cdot \mathbf{v} = \mathbf{v} \cdot \mathbf{u}

Example: If u=[3,2]\mathbf{u} = [3, -2] and v=[4,5]\mathbf{v} = [4, 5], then uv=3(4)+(2)(5)=1210=2\mathbf{u} \cdot \mathbf{v} = 3(4) + (-2)(5) = 12 - 10 = 2

💡 Memory hook: Match positions, multiply, then sum everything into one number.

[EXEC: DEEP_COMPUTE]

1. Calculating the dot product algebraically

Calculating the Dot Product Algebraically

The dot product (or scalar product) of two vectors u=(u1,u2)\mathbf{u} = (u_1, u_2) and v=(v1,v2)\mathbf{v} = (v_1, v_2) in R2\mathbb{R}^2 is defined as uv=u1v1+u2v2\mathbf{u} \cdot \mathbf{v} = u_1v_1 + u_2v_2. This operation produces a scalar, not a vector.

Intuition: Multiply corresponding components and sum the results.

Core Rules:

  • The result is always a scalar (a single number)
  • Commutative: uv=vu\mathbf{u} \cdot \mathbf{v} = \mathbf{v} \cdot \mathbf{u}
  • Distributive: u(v+w)=uv+uw\mathbf{u} \cdot (\mathbf{v} + \mathbf{w}) = \mathbf{u} \cdot \mathbf{v} + \mathbf{u} \cdot \mathbf{w}
  • For R3\mathbb{R}^3: uv=u1v1+u2v2+u3v3\mathbf{u} \cdot \mathbf{v} = u_1v_1 + u_2v_2 + u_3v_3

This algebraic formula extends naturally to higher dimensions by summing products of all corresponding components.

Example: If u=(3,2)\mathbf{u} = (3, -2) and v=(1,4)\mathbf{v} = (1, 4), then uv=3(1)+(2)(4)=38=5\mathbf{u} \cdot \mathbf{v} = 3(1) + (-2)(4) = 3 - 8 = -5.

TASK_1[0 / 3]
LVL_2
MOD: TRANSLATE

Calculate the dot product of the vectors u=(4,5)u = (4, 5) and v=(2,3)v = (-2, 3).

DEEP_COMPUTE
ULTRA
[EXEC: MICRO_CORE]

✖️ 2. Geometric definition of the dot product

📐 Geometric Meaning of Dot Product

  • The dot product measures how much two vectors point in the same direction.
  • Formula: uv=uvcos(θ)\mathbf{u} \cdot \mathbf{v} = ||\mathbf{u}|| \cdot ||\mathbf{v}|| \cdot \cos(\theta)
  • Here u||\mathbf{u}|| means the length of vector u\mathbf{u}, and θ\theta is the angle between them.
  • If vectors point the same way (θ=0\theta = 0^\circ), then cos(0)=1\cos(0) = 1 so the dot product is maximized.
  • If vectors point opposite ways (θ=180\theta = 180^\circ), then cos(180)=1\cos(180^\circ) = -1 so the dot product is negative.

Example: If u=5||\mathbf{u}|| = 5, v=3||\mathbf{v}|| = 3, and θ=60\theta = 60^\circ, then uv=53cos(60)=150.5=7.5\mathbf{u} \cdot \mathbf{v} = 5 \cdot 3 \cdot \cos(60^\circ) = 15 \cdot 0.5 = 7.5

💡 Visual cue: Dot product = (length 1) × (length 2) × (how aligned they are).

[EXEC: DEEP_COMPUTE]

2. Geometric definition of the dot product

Geometric Definition of the Dot Product

The dot product has a geometric interpretation: uv=uvcos(θ)\mathbf{u} \cdot \mathbf{v} = ||\mathbf{u}|| \, ||\mathbf{v}|| \cos(\theta), where u||\mathbf{u}|| and v||\mathbf{v}|| are the magnitudes of the vectors and θ\theta is the angle between them (with 0θπ0 \leq \theta \leq \pi).

Intuition: The dot product measures how much two vectors point in the same direction, scaled by their lengths.

Core Rules:

  • Positive when θ<90\theta < 90^\circ (vectors point generally in the same direction)
  • Zero when θ=90\theta = 90^\circ (vectors are perpendicular)
  • Negative when θ>90\theta > 90^\circ (vectors point generally in opposite directions)
  • The magnitude u||\mathbf{u}|| is computed as u12+u22\sqrt{u_1^2 + u_2^2}

This geometric form is equivalent to the algebraic definition and reveals directional relationships.

Example: If u=5||\mathbf{u}|| = 5, v=3||\mathbf{v}|| = 3, and θ=60\theta = 60^\circ, then uv=53cos(60)=150.5=7.5\mathbf{u} \cdot \mathbf{v} = 5 \cdot 3 \cdot \cos(60^\circ) = 15 \cdot 0.5 = 7.5.

TASK_1[0 / 3]
LVL_2
MOD: TRANSLATE

Vector uu has a magnitude of 4, and vector vv has a magnitude of 6. The angle between them is 60 degrees.

Calculate their dot product.

DEEP_COMPUTE
ULTRA
[EXEC: MICRO_CORE]

✖️ 3. Using the dot product to find the angle between vectors

🔍 Finding the Angle Between Vectors

  • Rearrange the geometric formula to solve for θ\theta: cos(θ)=uvuv\cos(\theta) = \frac{\mathbf{u} \cdot \mathbf{v}}{||\mathbf{u}|| \cdot ||\mathbf{v}||}
  • Calculate the dot product using coordinates, then divide by the product of the lengths.
  • Use inverse cosine to get the angle: θ=arccos(uvuv)\theta = \arccos\left(\frac{\mathbf{u} \cdot \mathbf{v}}{||\mathbf{u}|| \cdot ||\mathbf{v}||}\right)
  • The angle is always between 00^\circ and 180180^\circ.
  • Make sure your calculator is in degree mode or radian mode as needed.

Example: For u=[1,0]\mathbf{u} = [1, 0] and v=[1,1]\mathbf{v} = [1, 1], we get uv=1\mathbf{u} \cdot \mathbf{v} = 1, u=1||\mathbf{u}|| = 1, v=2||\mathbf{v}|| = \sqrt{2}, so cos(θ)=12\cos(\theta) = \frac{1}{\sqrt{2}} giving θ=45\theta = 45^\circ

💡 Memory hook: Dot product divided by lengths gives you the cosine of the angle.

[EXEC: DEEP_COMPUTE]

3. Using the dot product to find the angle between vectors

Using the Dot Product to Find the Angle Between Vectors

By equating the algebraic and geometric definitions, we derive cos(θ)=uvuv\cos(\theta) = \frac{\mathbf{u} \cdot \mathbf{v}}{||\mathbf{u}|| \, ||\mathbf{v}||}. Taking the inverse cosine yields the angle: θ=arccos(uvuv)\theta = \arccos\left(\frac{\mathbf{u} \cdot \mathbf{v}}{||\mathbf{u}|| \, ||\mathbf{v}||}\right).

Intuition: Compute the dot product and magnitudes algebraically, then extract the angle using the inverse cosine function.

Core Rules:

  • Both vectors must be non-zero (otherwise the angle is undefined)
  • The result θ\theta satisfies 0θπ0 \leq \theta \leq \pi radians (or 0θ1800^\circ \leq \theta \leq 180^\circ)
  • The ratio uvuv\frac{\mathbf{u} \cdot \mathbf{v}}{||\mathbf{u}|| \, ||\mathbf{v}||} always lies in [1,1][-1, 1]

This method provides the exact angle without requiring geometric visualization.

Example: For u=(1,0)\mathbf{u} = (1, 0) and v=(1,1)\mathbf{v} = (1, 1), we have uv=1\mathbf{u} \cdot \mathbf{v} = 1, u=1||\mathbf{u}|| = 1, v=2||\mathbf{v}|| = \sqrt{2}, so θ=arccos(12)=45\theta = \arccos\left(\frac{1}{\sqrt{2}}\right) = 45^\circ.

TASK_1[0 / 3]
LVL_2
RSN: LOGIC

Find the angle in degrees between the vectors u=(3,0)u = (3, 0) and v=(0,4)v = (0, 4).

Enter the exact number.

DEEP_COMPUTE
ULTRA
[EXEC: MICRO_CORE]

✖️ 4. Orthogonal vectors and vector projections

⊥ Orthogonal Vectors and Projections

  • Two vectors are orthogonal (perpendicular) if and only if their dot product equals zero.
  • This happens because cos(90)=0\cos(90^\circ) = 0, making the entire product zero.
  • The projection of u\mathbf{u} onto v\mathbf{v} is projvu=uvv2v\text{proj}_{\mathbf{v}}\mathbf{u} = \frac{\mathbf{u} \cdot \mathbf{v}}{||\mathbf{v}||^2} \mathbf{v}
  • Projection gives the "shadow" of one vector along another.
  • If uv=0\mathbf{u} \cdot \mathbf{v} = 0, the projection is the zero vector.

Example: Vectors u=[3,4]\mathbf{u} = [3, -4] and v=[4,3]\mathbf{v} = [4, 3] have dot product 3(4)+(4)(3)=03(4) + (-4)(3) = 0, so they are orthogonal.

💡 Visual cue: Zero dot product means the vectors form a perfect right angle.

[EXEC: DEEP_COMPUTE]

4. Orthogonal vectors and vector projections

Orthogonal Vectors and Vector Projections

Two non-zero vectors u\mathbf{u} and v\mathbf{v} are orthogonal (perpendicular) if and only if uv=0\mathbf{u} \cdot \mathbf{v} = 0. The scalar projection of u\mathbf{u} onto v\mathbf{v} is compvu=uvv\text{comp}_{\mathbf{v}}\mathbf{u} = \frac{\mathbf{u} \cdot \mathbf{v}}{||\mathbf{v}||}, and the vector projection is projvu=(uvv2)v\text{proj}_{\mathbf{v}}\mathbf{u} = \left(\frac{\mathbf{u} \cdot \mathbf{v}}{||\mathbf{v}||^2}\right)\mathbf{v}.

Intuition: Orthogonality means no directional overlap; projection measures the "shadow" of one vector along another.

Core Rules:

  • Orthogonality test: Check if uv=0\mathbf{u} \cdot \mathbf{v} = 0
  • The scalar projection can be negative (when θ>90\theta > 90^\circ)
  • The vector projection points along v\mathbf{v} (or opposite if negative)
  • By convention, the zero vector is orthogonal to all vectors

Projections decompose vectors into parallel and perpendicular components.

Example: If u=(3,4)\mathbf{u} = (3, 4) and v=(1,0)\mathbf{v} = (1, 0), then projvu=31(1,0)=(3,0)\text{proj}_{\mathbf{v}}\mathbf{u} = \frac{3}{1}(1, 0) = (3, 0).

TASK_1[0 / 3]
LVL_2
RSN: LOGIC

Find the value of xx such that the vectors u=(x,4)u = (x, 4) and v=(3,6)v = (3, -6) are orthogonal.

DEEP_COMPUTE
ULTRA
[EXEC: MICRO_CORE]

✖️ 5. Applications in physics: work and magnetic flux

⚙️ Real-World Applications

  • Mechanical work is calculated as W=FdW = \mathbf{F} \cdot \mathbf{d} where F\mathbf{F} is force and d\mathbf{d} is displacement.
  • Only the component of force in the direction of motion does work.
  • If force is perpendicular to motion, then W=0W = 0 (no work done).
  • Magnetic flux through a surface is Φ=BA\Phi = \mathbf{B} \cdot \mathbf{A} where B\mathbf{B} is magnetic field and A\mathbf{A} is area vector.
  • The dot product captures how much field passes through the surface versus along it.

Example: A force of 10 N at 6060^\circ to a 5 m displacement does work W=105cos(60)=500.5=25W = 10 \cdot 5 \cdot \cos(60^\circ) = 50 \cdot 0.5 = 25 joules.

💡 Memory hook: Dot product measures the effective part of one vector along another.

[EXEC: DEEP_COMPUTE]

5. Applications in physics: work and magnetic flux

Applications in Physics: Work and Magnetic Flux

In physics, mechanical work done by a constant force F\mathbf{F} over displacement d\mathbf{d} is W=Fd=Fdcos(θ)W = \mathbf{F} \cdot \mathbf{d} = ||\mathbf{F}|| \, ||\mathbf{d}|| \cos(\theta). Magnetic flux through a surface is ΦB=BA\Phi_B = \mathbf{B} \cdot \mathbf{A}, where B\mathbf{B} is the magnetic field and A\mathbf{A} is the area vector (perpendicular to the surface).

Intuition: Only the component of force along the displacement does work; only the perpendicular component of the magnetic field contributes to flux.

Core Rules:

  • Work is maximized when force and displacement are parallel (θ=0\theta = 0^\circ)
  • No work is done when force is perpendicular to displacement (θ=90\theta = 90^\circ)
  • Flux is maximized when the field is perpendicular to the surface
  • Units: Work in joules (J), flux in webers (Wb)

These applications demonstrate how the dot product quantifies directional effects in physical systems.

Example: A force of 10 N at 6060^\circ to a 5 m displacement does work W=105cos(60)=25W = 10 \cdot 5 \cdot \cos(60^\circ) = 25 J.

TASK_1[0 / 3]
LVL_2
MOD: TRANSLATE

A constant force of 2020 N is applied to an object at an angle of 6060 degrees to its displacement. If the object moves a distance of 44 m, calculate the mechanical work done in joules.

DEEP_COMPUTE
ULTRA

AWAITING_CONFIRMATION

CONFIRM KNOWLEDGE ACQUISITION TO UPDATE SYSTEM ANALYTICS.