Scalar (dot) product of vectors

Two forces can point in wildly different directions, yet physics keeps asking a single number out of them: how much do they act together. A tow rope pulls a sledge forward and slightly upward; only the forward-leaning part of that pull actually drags the sledge across the snow. A satellite feels gravity pulling straight down toward Earth while it coasts sideways along its orbit — and because those two directions are perpendicular, gravity does no work on it at all, orbit after orbit. Both stories are answered by the same piece of vector algebra: the scalar (dot) product, a rule that takes two vectors and, using nothing but their sizes and the angle between them, hands back one plain number. That number turns out to be exactly the currency of Work, Energy and Power. Work done by a constant force is defined as W=F⃗⋅d⃗W = \vec F\cdot\vec d; instantaneous power is defined as P=F⃗⋅v⃗P = \vec F\cdot\vec v. Neither definition is really new physics once you know what a dot product is — they are the dot product, applied to force-and-displacement and force-and-velocity respectively. Get comfortable multiplying two vectors this way — from magnitudes and an angle, or from components — and half of the sign-reading and angle-hunting in energy problems becomes mechanical rather than mysterious. This article rebuilds the dot product from its definition, shows exactly why it must produce a scalar and not a vector, derives the component formula that makes it fast to compute, and then puts it to work on the same two numerical examples used earlier in the chapter — extended a little further to squeeze out every angle and sign the CBSE board loves to test.

Key takeaways
  • Definition. For vectors A⃗\vec A and B⃗\vec B with angle θ\theta between them (placed tail to tail), A⃗⋅B⃗=ABcos⁡θ\vec A\cdot\vec B = AB\cos\theta — a pure number, never a vector.
  • Component formula. In three dimensions, A⃗⋅B⃗=AxBx+AyBy+AzBz\vec A\cdot\vec B = A_xB_x + A_yB_y + A_zB_z; this follows from i^⋅i^=j^⋅j^=k^⋅k^=1\hat i\cdot\hat i=\hat j\cdot\hat j=\hat k\cdot\hat k=1 and all mixed unit-vector products being zero.
  • Commutative, and self-squaring. A⃗⋅B⃗=B⃗⋅A⃗\vec A\cdot\vec B=\vec B\cdot\vec A; and A⃗⋅A⃗=A2\vec A\cdot\vec A=A^2, a shortcut for a vector's squared magnitude.
  • Sign carries the physics. θ<90∘\theta<90^\circ gives a positive dot product, θ=90∘\theta=90^\circ gives exactly zero, and θ>90∘\theta>90^\circ gives a negative dot product — the algebraic test for acute, perpendicular, and obtuse.
  • Work and power are dot products. W=F⃗⋅d⃗=Fdcos⁡θW=\vec F\cdot\vec d=Fd\cos\theta and P=F⃗⋅v⃗=Fvcos⁡θP=\vec F\cdot\vec v=Fv\cos\theta; a force perpendicular to the motion, like the normal force under gravity-free horizontal sliding or the centripetal pull on a satellite, does zero work no matter how large it is.
  • Angle backed out from a known dot product. Rearranging gives cos⁡θ=A⃗⋅B⃗AB\cos\theta=\dfrac{\vec A\cdot\vec B}{AB}, the standard way to find the angle between two force or velocity vectors given in component form.
  • Key idea: the scalar product turns two vectors and the angle between them into one signed number, A⃗⋅B⃗=ABcos⁡θ=AxBx+AyBy+AzBz\vec A\cdot\vec B=AB\cos\theta=A_xB_x+A_yB_y+A_zB_z, and this is precisely the operation the syllabus uses to define work and power.
The core insight

The scalar product A⃗⋅B⃗=ABcos⁡θ=AxBx+AyBy+AzBz\vec A\cdot\vec B=AB\cos\theta=A_xB_x+A_yB_y+A_zB_z compresses two vectors into one signed number whose sign tells you acute, perpendicular, or obtuse — and this exact operation is what defines work, W=F⃗⋅d⃗W=\vec F\cdot\vec d, and power, P=F⃗⋅v⃗P=\vec F\cdot\vec v.

Where it fits in the syllabus

The scalar product is formally introduced in the Motion in a Plane unit, alongside vector addition, resolution into rectangular components, and its counterpart the vector (cross) product. It resurfaces here in Work, Energy and Power as the operation hiding inside two of the chapter's opening definitions: work by a constant force, W=F⃗⋅d⃗=Fdcos⁡θW=\vec F\cdot\vec d=Fd\cos\theta, and instantaneous power, P=F⃗⋅v⃗=Fvcos⁡θP=\vec F\cdot\vec v=Fv\cos\theta. The CBSE Class 11 board expects you to define the dot product, compute it both from magnitudes-and-angle and from rectangular components, use it to extract the angle between two given vectors, and apply it fluently to work and power problems — including reading the sign of the result as positive, negative, or zero work.

The physical picture

Picture two vectors A⃗\vec A and B⃗\vec B drawn from a common starting point, with an angle θ\theta between them. The scalar product asks: how much of B⃗\vec B lies along the direction of A⃗\vec A, and then multiplies that projected length by the size of A⃗\vec A.

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

where A=∣A⃗∣A=|\vec A| and B=∣B⃗∣B=|\vec B| are the magnitudes of the two vectors and θ\theta is the angle between them measured with both vectors tail to tail, 0∘≤θ≤180∘0^\circ\le\theta\le180^\circ. Because Bcos⁡θB\cos\theta is exactly the length of the projection of B⃗\vec B onto the line of A⃗\vec A, the dot product is nothing more than base times projected height — a plain number, carrying whatever units the two vectors carry between them, with no leftover direction attached. That is precisely why it is called the scalar product: however you rotate the picture in space, the number ABcos⁡θAB\cos\theta does not change, because both AA, BB, and the angle between them are rotation-independent.

Figure
Two vectors from a common point with the projection of one vector onto the other shown as a dashed drop line, illustrating that the dot product is the base length times the projected length
Dot product as base times projected length A B theta projection of B on A equals B cos theta A dot B equals A times the length of the purple segment equals AB cos theta

Two properties fall out immediately. First, the dot product is commutative: A⃗⋅B⃗=B⃗⋅A⃗\vec A\cdot\vec B=\vec B\cdot\vec A, since swapping which vector you call A⃗\vec A and which you call B⃗\vec B does not change either magnitude or the angle between them. Second, dotting a vector with itself gives A⃗⋅A⃗=A⋅A⋅cos⁡0∘=A2\vec A\cdot\vec A=A\cdot A\cdot\cos0^\circ=A^2, an instant way to recover a vector's squared magnitude — this is the trick behind writing v2=v⃗⋅v⃗v^2=\vec v\cdot\vec v in kinetic-energy work. For everyday calculation, though, the magnitude-and-angle form is rarely the fastest route, because the angle between two vectors given in component form is not obvious by eye. The component formula solves that. If A⃗=Axi^+Ayj^+Azk^\vec A=A_x\hat i+A_y\hat j+A_z\hat k and B⃗=Bxi^+Byj^+Bzk^\vec B=B_x\hat i+B_y\hat j+B_z\hat k, then

A⃗⋅B⃗=AxBx+AyBy+AzBz\vec A\cdot\vec B = A_xB_x + A_yB_y + A_zB_z

where Ax,Ay,AzA_x,A_y,A_z and Bx,By,BzB_x,B_y,B_z are the rectangular components of the two vectors along the mutually perpendicular unit vectors i^,j^,k^\hat i,\hat j,\hat k. This formula follows directly from the dot products of the unit vectors with each other: i^⋅i^=j^⋅j^=k^⋅k^=1\hat i\cdot\hat i=\hat j\cdot\hat j=\hat k\cdot\hat k=1 (each unit vector dotted with itself, angle 0∘0^\circ), and i^⋅j^=j^⋅k^=k^⋅i^=0\hat i\cdot\hat j=\hat j\cdot\hat k=\hat k\cdot\hat i=0 (any two distinct unit vectors are perpendicular, angle 90∘90^\circ). Multiplying out (Axi^+Ayj^+Azk^)⋅(Bxi^+Byj^+Bzk^)(A_x\hat i+A_y\hat j+A_z\hat k)\cdot(B_x\hat i+B_y\hat j+B_z\hat k) term by term and dropping every mixed term that involves i^⋅j^\hat i\cdot\hat j or similar leaves exactly AxBx+AyBy+AzBzA_xB_x+A_yB_y+A_zB_z. Three special cases are worth memorising because they turn up constantly when judging the sign of work: at θ=0∘\theta=0^\circ (parallel vectors), cos⁡θ=1\cos\theta=1 and A⃗⋅B⃗=AB\vec A\cdot\vec B=AB, the largest possible positive value; at θ=90∘\theta=90^\circ (perpendicular vectors), cos⁡θ=0\cos\theta=0 and A⃗⋅B⃗=0\vec A\cdot\vec B=0 regardless of how large AA and BB are; at θ=180∘\theta=180^\circ (antiparallel vectors), cos⁡θ=−1\cos\theta=-1 and A⃗⋅B⃗=−AB\vec A\cdot\vec B=-AB, the largest possible negative value.

Derivation AWork done by a constant force is a scalar product

The goal here is to show, starting only from the general definition A⃗⋅B⃗=ABcos⁡θ\vec A\cdot\vec B=AB\cos\theta and the component identity A⃗⋅B⃗=AxBx+AyBy+AzBz\vec A\cdot\vec B=A_xB_x+A_yB_y+A_zB_z, that the syllabus formula for work done by a constant force, W=F⃗⋅d⃗=Fdcos⁡θW=\vec F\cdot\vec d=Fd\cos\theta, is not an independent physical law bolted onto vector algebra but simply that same scalar product with A⃗\vec A renamed F⃗\vec F (the constant force) and B⃗\vec B renamed d⃗\vec d (the displacement), and to confirm the two ways of computing it — magnitude-angle and component-wise — agree on a concrete pair of vectors.

Step 1. Write work as the definition given in the syllabus: for a constant force F⃗\vec F producing a displacement d⃗\vec d, W=F⃗⋅d⃗W=\vec F\cdot\vec d. By the general definition of the scalar product this immediately equals W=Fdcos⁡θW=Fd\cos\theta, where F=∣F⃗∣F=|\vec F|, d=∣d⃗∣d=|\vec d|, and θ\theta is the angle between the force vector and the displacement vector, tail to tail.

Step 2. Confirm the same result appears from components. Take F⃗=Fxi^+Fyj^\vec F=F_x\hat i+F_y\hat j and d⃗=dxi^+dyj^\vec d=d_x\hat i+d_y\hat j in a plane. By the component formula, W=F⃗⋅d⃗=Fxdx+FydyW=\vec F\cdot\vec d=F_xd_x+F_yd_y. This is the version you will actually compute with whenever the force and displacement are handed to you as i^,j^\hat i,\hat j components rather than as a magnitude and a compass angle.

Step 3. Verify the two forms agree numerically. Let F⃗=(30i^+40j^) N\vec F=(30\hat i+40\hat j)\ \text{N} and d⃗=(5i^+12j^) m\vec d=(5\hat i+12\hat j)\ \text{m} — the Pass-1 worked pair. Components give W=(30)(5)+(40)(12)=150+480=630 JW=(30)(5)+(40)(12)=150+480=630\ \text{J}. Magnitudes give F=302+402=50 NF=\sqrt{30^2+40^2}=50\ \text{N} and d=52+122=13 md=\sqrt{5^2+12^2}=13\ \text{m}, so cos⁡θ=630(50)(13)=630650=0.969\cos\theta=\dfrac{630}{(50)(13)}=\dfrac{630}{650}=0.969, giving θ≈14.4∘\theta\approx14.4^\circ and W=Fdcos⁡θ=(50)(13)(0.969)≈630 JW=Fd\cos\theta=(50)(13)(0.969)\approx630\ \text{J} — the same number both ways, as the algebra in Step 1 and Step 2 guarantees for any F⃗\vec F and d⃗\vec d.

Step 4. Read off the sign rule this buys you for free. Because cos⁡θ\cos\theta is positive for θ<90∘\theta<90^\circ, zero at θ=90∘\theta=90^\circ, and negative for θ>90∘\theta>90^\circ, the work done by a constant force is automatically positive when the force has a component along the motion, exactly zero when the force is perpendicular to the motion (a normal reaction on a horizontal floor, or the centripetal force on a particle moving in a circle at constant speed), and negative when the force opposes the motion — no separate rule to memorise, only the one dot-product definition applied consistently. The identical reasoning, with d⃗\vec d replaced by v⃗\vec v, gives instantaneous power P=F⃗⋅v⃗=Fvcos⁡θP=\vec F\cdot\vec v=Fv\cos\theta.

Worked examples

Board level - work done by a force given in components

A block is pulled with a force F⃗=(30i^+40j^) N\vec F=(30\hat i+40\hat j)\ \text{N} through a displacement d⃗=(5i^+12j^) m\vec d=(5\hat i+12\hat j)\ \text{m}. Find the work done, the angle between F⃗\vec F and d⃗\vec d, and the instantaneous power delivered if this displacement takes t=3 st=3\ \text{s} at constant velocity.

Step 1. Compute the work using components. W=F⃗⋅d⃗=Fxdx+Fydy=(30)(5)+(40)(12)=150+480=630 JW=\vec F\cdot\vec d=F_xd_x+F_yd_y=(30)(5)+(40)(12)=150+480=630\ \text{J}.

Step 2. Compute the magnitudes for the angle check. F=302+402=900+1600=2500=50 NF=\sqrt{30^2+40^2}=\sqrt{900+1600}=\sqrt{2500}=50\ \text{N} and d=52+122=25+144=169=13 md=\sqrt{5^2+12^2}=\sqrt{25+144}=\sqrt{169}=13\ \text{m}.

Step 3. Find the angle between the vectors. cos⁡θ=F⃗⋅d⃗Fd=630(50)(13)=630650=0.969\cos\theta=\dfrac{\vec F\cdot\vec d}{Fd}=\dfrac{630}{(50)(13)}=\dfrac{630}{650}=0.969, so θ≈14.4∘\theta\approx14.4^\circ — the force is nearly aligned with the displacement, consistent with the large positive work.

Step 4. Find the average velocity and use it for power. v⃗=d⃗t=(5i^+12j^)3=(1.67i^+4j^) m/s\vec v=\dfrac{\vec d}{t}=\dfrac{(5\hat i+12\hat j)}{3}=(1.67\hat i+4\hat j)\ \text{m/s}, so P=F⃗⋅v⃗=(30)(1.67)+(40)(4)=50+160=210 WP=\vec F\cdot\vec v=(30)(1.67)+(40)(4)=50+160=210\ \text{W}. This checks against P=W/t=630/3=210 WP=W/t=630/3=210\ \text{W}, exactly as expected since the force is constant.

The work done is 630 J\mathbf{630\ J}, the angle between force and displacement is ≈14.4∘\mathbf{\approx14.4^\circ}, and the average power delivered is 210 W\mathbf{210\ W}.

Competitive level - work by tension and gravity on an incline, with a component cross-check

A crate of mass m=10 kgm=10\ \text{kg} (mg=98 Nmg=98\ \text{N}, taking g=9.8 m/s2g=9.8\ \text{m/s}^2) is dragged d=4 md=4\ \text{m} up a frictionless incline that rises at θi=37∘\theta_i=37^\circ to the horizontal, by a rope tension T=150 NT=150\ \text{N} acting 20∘20^\circ above the incline surface. Find the work done by tension and by gravity using the dot-product definition directly in components, and check the two results are consistent with the incline geometry.

Step 1. Set up axes with i^\hat i along the incline surface (the direction of motion) and j^\hat j perpendicular to it. Then d⃗=4i^ m\vec d=4\hat i\ \text{m}.

Step 2. Resolve the tension into these axes. Since the tension is 20∘20^\circ above the incline surface, T⃗=Tcos⁡20∘ i^+Tsin⁡20∘ j^=(150)(0.940)i^+(150)(0.342)j^=(141i^+51.3j^) N\vec T=T\cos20^\circ\,\hat i+T\sin20^\circ\,\hat j=(150)(0.940)\hat i+(150)(0.342)\hat j=(141\hat i+51.3\hat j)\ \text{N}.

Step 3. Dot the tension into the displacement. WT=T⃗⋅d⃗=(141)(4)+(51.3)(0)=564 JW_T=\vec T\cdot\vec d=(141)(4)+(51.3)(0)=564\ \text{J}, matching the direct magnitude-angle computation WT=Tdcos⁡20∘=(150)(4)(0.940)=564 JW_T=Td\cos20^\circ=(150)(4)(0.940)=564\ \text{J} — the perpendicular component of tension does zero work since it has no i^\hat i part to dot with d⃗\vec d.

Step 4. Resolve gravity into the same incline axes. Gravity acts vertically down; along the incline direction (up-slope taken positive) its component is −mgsin⁡θi=−(98)(0.602)=−59.0 N-mg\sin\theta_i=-(98)(0.602)=-59.0\ \text{N}, and perpendicular to the incline it is −mgcos⁡θi-mg\cos\theta_i, which again cannot do work since d⃗\vec d has no perpendicular component.

Step 5. Dot gravity into the displacement. Wg=(−59.0)(4)+(perp. component)(0)=−236 JW_g=(-59.0)(4)+(\text{perp. component})(0)=-236\ \text{J}, matching the earlier magnitude-angle route Wg=mgdcos⁡127∘=(98)(4)(−0.602)=−236 JW_g=mgd\cos127^\circ=(98)(4)(-0.602)=-236\ \text{J}, since 127∘127^\circ is the angle between the straight-down gravity vector and the up-the-incline displacement.

The work done by tension is +564 J\mathbf{+564\ J} and the work done by gravity is −236 J\mathbf{-236\ J}; the net work by these two forces alone is 564−236=328 J564-236=328\ \text{J}, which (with the incline frictionless and normal force doing zero work) equals the crate's gain in kinetic energy by the work-energy theorem. Timing note: in an exam, resolving forces along and perpendicular to the direction of motion before dotting — as in Steps 2-5 — is faster and safer than computing a raw angle between two arbitrarily oriented vectors; reserve the direct cos⁡θ\cos\theta route for when the angle between force and displacement is already stated in the question, as in the board-level example above.

Common traps

  • Writing the dot product as a vector. The scalar product always returns a pure number; if a "dot-product answer" has a direction attached to it, the cross product has been used by mistake, or a stray unit vector has been left in the final line.
  • Using the wrong angle. θ\theta must be the angle between the two vectors placed tail to tail — not the angle a force makes with the horizontal, unless the displacement itself happens to be horizontal. On an incline, the angle between force and displacement is usually not the same as the incline angle; resolve into incline-aligned axes first, as in the competitive example, to avoid this slip.
  • Forgetting cos⁡θ\cos\theta can be negative. For 90∘<θ<180∘90^\circ<\theta<180^\circ the work comes out negative — a genuine physical result (a retarding force), never a sign to drop or "correct."
  • Dropping the cosine altogether. A⃗⋅B⃗=ABcos⁡θ\vec A\cdot\vec B=AB\cos\theta, not ABAB; multiplying two magnitudes and forgetting the cosine factor is one of the most common numerical slips, particularly when the vectors are given in component form and a student jumps straight to multiplying magnitudes.
  • Treating a component sum as automatically correct without checking axes. AxBx+AyBy+AzBzA_xB_x+A_yB_y+A_zB_z only equals A⃗⋅B⃗\vec A\cdot\vec B when both vectors are resolved along the same set of mutually perpendicular axes; mixing an incline-aligned xx-component of one vector with a horizontal-aligned xx-component of the other silently produces a wrong answer.

You should be able to…

  • State the definition A⃗⋅B⃗=ABcos⁡θ\vec A\cdot\vec B=AB\cos\theta, explain in one sentence why the result is a scalar, and identify the angle θ\theta correctly as the angle between the two vectors tail to tail.
  • Compute a dot product from rectangular components using A⃗⋅B⃗=AxBx+AyBy+AzBz\vec A\cdot\vec B=A_xB_x+A_yB_y+A_zB_z, and know why this formula follows from i^⋅i^=1\hat i\cdot\hat i=1 and i^⋅j^=0\hat i\cdot\hat j=0.
  • Use a known dot product to find the angle between two given vectors via cos⁡θ=A⃗⋅B⃗AB\cos\theta=\dfrac{\vec A\cdot\vec B}{AB}.
  • Recognise instantly when a dot product is zero (perpendicular vectors), maximum positive (parallel), or maximum negative (antiparallel), without computing a decimal.
  • Apply the dot product to compute work done by a constant force, W=Fdcos⁡θW=Fd\cos\theta or W=Fxdx+Fydy+FzdzW=F_xd_x+F_yd_y+F_zd_z, and correctly interpret a positive, negative, or zero result physically.
  • Apply the identical operation to instantaneous power, P=F⃗⋅v⃗P=\vec F\cdot\vec v, and connect it to W=PtW=Pt for constant power.

Ask the tutor: Still mixing up when to use ABcos⁡θAB\cos\theta versus adding components, or want more practice spotting when a force does zero work by the perpendicularity test — ask the AI tutor to work through a few more dot-product and work-power problems with you, step by step.

Why does the dot product use cosine and not sine?

Cosine measures how much of one vector lies along the direction of the other — exactly the "useful" part of a force that actually pushes something along its displacement. When two vectors are perpendicular (θ=90∘\theta=90^\circ), cos⁡θ=0\cos\theta=0, matching the physical fact that a sideways force does not help (or hinder) motion along a different direction at all. Sine, by contrast, is largest at 90∘90^\circ and would give the wrong physical answer — that is the signature of the vector (cross) product instead, which measures the "twisting" or perpendicular part of two vectors, not the "along" part.

If work is a dot product, why do we sometimes just write W equals Fd without any cosine?

That simplified form is only valid in the special case where the force and the displacement point in exactly the same direction, so θ=0∘\theta=0^\circ and cos⁡θ=1\cos\theta=1. It is common in simple problems — lifting a box straight up with a force straight up, or pushing a cart forward with a force that points forward — but it is a special case of W=Fdcos⁡θW=Fd\cos\theta, not a separate formula. The moment the force is applied at an angle, as with the tension in the incline example, you must bring the cosine back in, or resolve into components and dot directly.

How is the dot product different from just multiplying the x-components and adding, without worrying about the angle at all?

They give the same answer, but the component method and the magnitude-angle method are two routes to the identical number, not two different quantities. AxBx+AyBy+AzBzA_xB_x+A_yB_y+A_zB_z is derived directly from ABcos⁡θAB\cos\theta by writing both vectors in unit-vector form and using i^⋅i^=1\hat i\cdot\hat i=1, i^⋅j^=0\hat i\cdot\hat j=0, and so on. Use the component form when vectors are already given as components (it is usually faster and avoids computing an angle at all); use the magnitude-angle form when a diagram gives you lengths and an angle directly.

Is the dot product going to show up outside of work and power in this chapter?

Within Work, Energy and Power specifically, its two headline uses are the definitions of work, W=F⃗⋅d⃗W=\vec F\cdot\vec d, and instantaneous power, P=F⃗⋅v⃗P=\vec F\cdot\vec v — both are dot products applied to different vector pairs. You will also lean on the self-dot-product trick v⃗⋅v⃗=v2\vec v\cdot\vec v=v^2 whenever kinetic energy K=12mv2K=\tfrac12mv^2 is written in vector form. The vector (cross) product, by contrast, belongs to torque and angular momentum in the rotational-motion chapter, not here.

Before this

Where this leads