I have come across this trig identity and I want to understand how it was derived. I have never seen it before, nor have I seen it in any of the online resources including the many trig identity cheat sheets that can be found on the internet.
$A\cdot\sin(\theta) + B\cdot\cos(\theta) = C\cdot\sin(\theta + \Phi)$
Where $C = \pm \sqrt{A^2+B^2}$
$\Phi = \arctan(\frac{B}{A})$
I can see that Pythagorean theorem is somehow used here because of the C equivalency, but I do not understand how the equation was derived.
I tried applying the sum of two angles identity of sine i.e. $\sin(a \pm b) = \sin(a)\cdot\cos(b) + \cos(a)\cdot\sin(b)$
But I am unsure what the next step is, in order to properly understand this identity.
Where does it come from? Is it a normal identity that mathematicians should have memorized?