I'm searching to develop the intuition (rather than memorization) in relating the two forms of a dot product (by an angle theta between the vectors and by the components of the vector ).
For example, suppose I have vector $\mathbf{a} = (a_1,a_2)$ and vector $\mathbf{b}=(b_1,b_2)$. What's the physical or geometrical meaning that
$$a_1b_1 + a_2b_2 = |\mathbf{a}||\mathbf{b}|\cos(\theta)\;?$$
Why is multiplying $|\mathbf{b}|$ times $|\mathbf{a}|$ in direction of $\mathbf{b}$ the same as multiplying the first and second components of $\mathbf{a}$ and $\mathbf{b}$ and summing ?
I know this relationship comes out when we use the law of cosines to prove, but even then i cant get a intuition in this relationship.
This image clarifies my doubt:

Thanks

I found a reasonable proof using polar coordinates. Lets suppose the point "$a$" points is $(|a|\cos(r)$ , $|a|\sin(r) )$ and the point vector "$b$" points is ($|b|\cos(s),|b|\sin(s) $). Then doing the definition of the scalar product we get :
$a\cdot b = |a||b|\cos(r)\cos(s) + |b||a|\sin(r)\sin(s) = |a||b|\cos(r - s)$. But $\cos(r-s) = \cos(\theta)$ where theta is the angle between the vectors.
So, $a\cdot b = |a||b|\cos(\theta)$.