1. Home
  2. Class 11–12
  3. Physics
  4. CBSE Class 11
  5. Scalar (Dot) Product

Scalar (Dot) Product

Tow a barge along a canal with a rope from the bank. Only the part of the pull along the canal does work. That is the dot product, W = F·s = Fs cos θ.

Interactive 3DPhysicsIntermediate9 min read

Drag to rotate · Right-drag to pan · Click, then scroll to zoom · Space play · Left arrowRight arrow step

What's happening

Formula & steps

    Your progress and quiz scores are saved on this device, and in your account once you sign up.

    Try this in the 3D model

    • Press Tow the barge at 30°, then at 90°. Why does the work meter stay empty at 90°?
    • Set the angle to 135° and tow again. Why does the meter turn red?
    • Press Dot product from components and check that both ways give 15.

    Multiplying two vectors to get a number

    There are two ways to multiply vectors. The first gives a scalar (a plain number), so it is called the scalar product. It is written with a dot, A · B, so it is also called the dot product:

    A⃗⋅B⃗=ABcos⁡θ\vec A \cdot \vec B = AB\cos\theta

    where θ is the angle between the two vectors.

    Work: the dot product in action

    In the 3D model a barge moves s=10 ms = 10\ \text{m} along a canal while a rope from the bank pulls it with a force F at an angle θ.

    • Only the part of the pull along the canal, F cos θ, helps the barge move. That part does work.
    • The part across the canal, F sin θ, only presses the barge sideways and does no work.
    W=F⃗⋅s⃗=Fscos⁡θW = \vec F \cdot \vec s = Fs\cos\theta
    Angle θ cos θ Work
    0° 1 W = Fs (largest)
    60° 0.5 W = Fs/2
    90° 0 W = 0 (no work)
    135° −0.707 negative: the force works against the motion
    180° −1 W = −Fs (like friction)

    Dot product from components

    If the vectors are written with unit vectors, multiply like components and add:

    A⃗⋅B⃗=AxBx+AyBy+AzBz\vec A \cdot \vec B = A_{x}B_{x} + A_{y}B_{y} + A_{z}B_{z}

    This works because î · î = 1 (same direction) and î · ĵ = 0 (at 90°), and so on.

    Finding an angle. Combine the two formulas: cos⁡θ=A⃗⋅B⃗AB\cos\theta = \dfrac{\vec A \cdot \vec B}{AB}. In the model, A⃗=3ı^+4ȷ^\vec A = 3\hat{\imath} + 4\hat{\jmath} and B⃗=5ı^\vec B = 5\hat{\imath} give A⃗⋅B⃗=15\vec A \cdot \vec B = 15, and A=B=5A = B = 5, so cos⁡θ=1525=0.6\cos\theta = \dfrac{15}{25} = 0.6 and θ=53.1∘\theta = 53.1^{\circ}.

    Properties

    • Commutative: A⃗⋅B⃗=B⃗⋅A⃗\vec A \cdot \vec B = \vec B \cdot \vec A.
    • Distributive: A⃗⋅(B⃗+C⃗)=A⃗⋅B⃗+A⃗⋅C⃗\vec A \cdot (\vec B + \vec C) = \vec A \cdot \vec B + \vec A \cdot \vec C.
    • A⃗⋅A⃗=A2\vec A \cdot \vec A = A^{2}, so ∣A⃗∣=A⃗⋅A⃗|\vec A| = \sqrt{\vec A \cdot \vec A}.
    • Perpendicular vectors: A⃗⋅B⃗=0\vec A \cdot \vec B = 0.

    Worked example

    A force F⃗=(3ı^+4ȷ^)\vec F = (3\hat{\imath} + 4\hat{\jmath}) N moves an object through s⃗=(5ı^+2ȷ^)\vec s = (5\hat{\imath} + 2\hat{\jmath}) m. Find the work done.

    1. W=F⃗⋅s⃗=3×5+4×2=15+8=W = \vec F \cdot \vec s = 3 \times 5 + 4 \times 2 = 15 + 8 = 23 J23\ \text{J}.

    Remember: dot product =ABcos⁡θ= AB\cos\theta = sum of the products of matching components, and the answer is always a scalar.

    Formulas and where to use them

    Dot product

    A⃗⋅B⃗=ABcos⁡θ\vec A \cdot \vec B = AB\cos\theta
    where
    A, BA,\ B
    magnitudes of A and B
    θ\theta
    angle between A and B

    The answer is a scalar (a plain number with no direction).

    Use it when: Work done by a force (W = F · s), power (P = F · v), and finding the angle between two vectors.

    Dot product from components

    A⃗⋅B⃗=AxBx+AyBy+AzBz\vec A \cdot \vec B = A_{x}B_{x} + A_{y}B_{y} + A_{z}B_{z}
    where
    Ax, Bx, …A_{x},\ B_{x},\ \dots
    matching components of the two vectors

    Use it when: When the vectors are given with î, ĵ, k̂.

    Angle between two vectors

    cos⁡θ=A⃗⋅B⃗AB\cos\theta = \dfrac{\vec A \cdot \vec B}{AB}
    where
    θ\theta
    angle between the vectors; A · B = 0 means θ = 90°

    Use it when: Finding the angle between two vectors from their components; A · B = 0 means they are perpendicular.

    Unit vectors

    ı^⋅ı^=ȷ^⋅ȷ^=k^⋅k^=1,ı^⋅ȷ^=ȷ^⋅k^=k^⋅ı^=0\hat{\imath}\cdot\hat{\imath} = \hat{\jmath}\cdot\hat{\jmath} = \hat{k}\cdot\hat{k} = 1, \qquad \hat{\imath}\cdot\hat{\jmath} = \hat{\jmath}\cdot\hat{k} = \hat{k}\cdot\hat{\imath} = 0

    Parallel unit vectors give 1 (cos 0° = 1); perpendicular ones give 0 (cos 90° = 0).

    Use it when: Multiplying out vectors written with î, ĵ, k̂.

    Common mistakes

    • Giving the dot product a direction. A⃗⋅B⃗\vec A \cdot \vec B is a plain number (a scalar), like work or power.
    • Using sin instead of cos. The dot product uses the part of one vector along the other: cos θ.
    • Thinking a force always does work. A force at 90° to the motion (like the pull of a string on a whirling stone) does no work.

    Quick check

    Test yourself — pick an answer to see if you got it.

    1. A force of 10 N moves a box 5 m. The force is at 60° to the motion. The work done is…

    2. If A⃗⋅B⃗=0\vec A \cdot \vec B = 0 (and neither vector is zero), the vectors are…

    3. A⃗=2ı^+3ȷ^\vec A = 2\hat{\imath} + 3\hat{\jmath} and B⃗=4ı^−ȷ^\vec B = 4\hat{\imath} - \hat{\jmath}. A⃗⋅B⃗\vec A \cdot \vec B is…

    4. What is ı^⋅ı^\hat{\imath} \cdot \hat{\imath}?

    5. A force does negative work when the angle between the force and the displacement is…

    Saved on this device.
    Spotted a mistake or a bug in the 3D model?

    Report a mistake

    in Scalar (Dot) Product. Thank you — every report makes the lesson better for the next reader.

    We'll also include a link to the step of the 3D model you're on and your browser type, so we can reproduce it.