# Divide by magnitude of b

In this example we move from b hat to dividing by the magnitude of b. I don’t understand why the whole of a vector . b vector is divided by the magnitude of b and not just the b vector. Could someone explain?

You certainly could write it that way, I just wrote it this way by convention since it makes the whole thing a bit more compact and easy to solve.

You’ll actually see this a lot in math, where the same thing can be expressed in multiple different ways and there’s absolutely nothing wrong with doing things the way you suggest.

To prove that they are the same though, let’s throw some numbers in there and see what happens in both cases.

Let’s say that:

We can then solve it as:

or

So both options do indeed give us the same result.
From an algebra standpoint we’re really just saying that (a * b) / c = a * (b / c).
It just looks a bit different because we’re using the dot product of two vectors instead of regular old numbers.

I hope that helps clear things up for you.

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.