Geometry

Vectors and the Dot Product: Magnitude, Direction, and Angles

Learn vectors from the ground up. Covers vector components, magnitude, addition, scalar multiplication, the dot product, and using it to find the angle between two vectors.

Frequently asked questions

What is the dot product of two vectors?

The dot product multiplies the matching components of two vectors and adds the results: ⟨a₁, a₂⟩ · ⟨b₁, b₂⟩ = a₁b₁ + a₂b₂. The result is a single number (a scalar), not a vector. For example, ⟨2, 3⟩ · ⟨4, −1⟩ = 8 − 3 = 5.

How do you find the angle between two vectors?

Use cos θ = (a · b) / (|a||b|), then take the inverse cosine. For ⟨1, 0⟩ and ⟨1, 1⟩, the dot product is 1, the magnitudes are 1 and √2, so cos θ = 1/√2 and θ = 45°. Make sure your calculator is in the right angle mode.

What does it mean if the dot product is zero?

For two nonzero vectors, a dot product of zero means they are perpendicular (orthogonal), since cos 90° = 0. A positive dot product means the angle between them is acute, and a negative one means the angle is obtuse. This makes the dot product a quick test for right angles.

What is the difference between the dot product and the cross product?

The dot product gives a scalar and measures how much two vectors point the same way. The cross product, defined in 3D, gives a vector perpendicular to both, with magnitude |a||b| sin θ. Use the dot product for angles and projections, and the cross product for areas and perpendicular directions.

How do you find the magnitude of a vector?

Square each component, add them, and take the square root: |⟨a, b⟩| = √(a² + b²). For ⟨3, 4⟩ the magnitude is √(9 + 16) = 5. In 3D, add the third component's square under the root. Magnitude is also √(v · v).

Try these solvers

Trigonometry10 min read

Right Triangle Trigonometry: SOH CAH TOA Explained

SOH CAH TOA turns right triangle problems into a simple three-step process. Learn the three trig ratios, how to solve for missing sides and angles, the two special right triangles, and where trigonometry shows up in the real world.

Algebra12 min read

Matrix Operations: Addition, Multiplication and Properties

Master matrix operations with this complete guide. Learn how to add, subtract, and multiply matrices, understand their key properties, and see how identity matrices and transposes work with fully worked examples.

Trigonometry11 min read

Polar Coordinates: Conversion, Graphing, and Equations

Learn polar coordinates from the ground up. Covers the (r, θ) system, conversions to/from rectangular form, graphing polar equations, and common curves like cardioids and roses.

Stuck on your own problem?

Snap a photo in Solver AI for iPhone and iPad and see every step, so you can do the next one yourself.