Between (1, 2, 0) and (3, 4, 0): dot product 11, cosine 0.98386991009991

One vector panel prints both magnitudes, the product and the angle between them.

Matrices and vectors · Level: Classroom · Updated on 2026-11-10

The pair (1, 2, 0) and (3, 4, 0) is one of the neatest in the subject. Their dot product is 1·3 + 2·4 = 11, on the second link; their magnitudes are √5 = 2.2360679774998 and 5; and the product of those magnitudes is the fourth link, 11.180339887499. Dividing gives the third link, 0.98386991009991, and the panel on the first prints all of it at once — the magnitude, the unit vector, the dot product, the cross product and the angle, 10.3048° in degrees.

That the angle is small is the point of the example. The two vectors look different — one is (1, 2), the other (3, 4) — and they are nearly parallel: the ratio 3/1 against 4/2 is unequal, so not parallel, but close. Gibbs made the dot product a primitive operation rather than a coordinate computation, which is why the same identity is often read the other way round, as the definition of the angle. It is also the calculation inside the Cauchy–Schwarz inequality |a·b| ≤ |a||b|, with equality only for parallel vectors: here 11 against 11.180339887499, an error under two per cent, which is Cauchy–Schwarz looking almost sharp.

Answer

11

How to read it

a·b for the two vectors; the panel link also prints the magnitudes and the angle. The third link is cos θ, the fourth |a||b|.

Source

The scalar product in this form is from Josiah Willard Gibbs' vector analysis as published by Edwin Wilson in 'Vector Analysis' (1901); a·b = |a||b|cos θ is the standard definition of the angle between two vectors

Work it in the calculator

These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.

This is an independent third-party tool site. It is not affiliated with, sponsored by, or authorised by Casio, Texas Instruments or their distributors. Model names and product names are trademarks of their respective owners and appear here only to identify devices.

The keystroke sequences in these manuals were written from this site's own layout data — the same data the online calculator renders — plus publicly available product facts. Specifications and regional configurations are confirmed against the physical device and the manufacturer's most recent material.