I'm trying to prove the identity $$\sin(a+b)=\sin(a)\cos(b)+\cos(a)\sin(b)$$ by using a specific vector and scalar method.
However, there has to be a mistake somewhere, since the equation at the end isn't correct. Such mistake I can't find.
I would really appreciate any help/thoughts.


I get $\|w\| = 1 - \cos \beta$, not $\|w\| = \cos \beta$.