Q1. Find a·b for a = 2i + 3j + k and b = i − j + 2k.
a·b = (2)(1) + (3)(−1) + (1)(2)
= 2 − 3 + 2
= 1
Vectors carry both size and direction. Compute the dot product, cross product magnitude and the angle between any two 3D vectors instantly.
Enter two 3D vectors a = (a₁,a₂,a₃) and b = (b₁,b₂,b₃) to get their dot product, magnitudes and the angle between them.
If the dot product is 0, the vectors are perpendicular (θ = 90°) — a quick way to check.
Q1. Find a·b for a = 2i + 3j + k and b = i − j + 2k.
a·b = (2)(1) + (3)(−1) + (1)(2)
= 2 − 3 + 2
= 1
| Quantity | Formula |
|---|---|
| Magnitude | |a| = √(a₁²+a₂²+a₃²) |
| Dot product | a·b = a₁b₁+a₂b₂+a₃b₃ |
| Angle between vectors | cosθ = (a·b)/(|a||b|) |
| Cross-product magnitude | |a×b| = |a||b|sinθ |
a·b = a₁b₁ + a₂b₂ + a₃b₃ = |a||b|cosθ, a scalar that is zero when the vectors are perpendicular.
A vector a×b perpendicular to both, with magnitude |a||b|sinθ, equal to the area of the parallelogram they span.
cosθ = (a·b)/(|a||b|), then take the inverse cosine.
Hi! Found an error or have a suggestion? Let us know and we'll fix it.
Thanks! Your feedback has been sent. We'll look into it.