I understand the derivation of the law of cosines:
$$c^2 = a^2 + b^2 - 2ab \cos C,$$ where $\angle C$ is opposite side $c$.
By dropping a perpendicular $h$ to side $b$ from the angle opposite side $b$, then finding the length $h$ with $a\sin C$, and part of the length $b$ with $a \cos C$, we can use Pythagoras to find $c$:
$$c^2 = (a \sin C)^2 + (b - a\cos C)^2.$$
This use of Pythagoras sense to me. But then, expanding, we can use identity $s^2+c^2=1$ to simplify to the standard formula:
$$c^2 = a^2 + b^2 - 2ab\cos C.$$
This looks a bit like Pythagoras with an adjustment, but this doesn't really make sense to me - is there a way to make sense of it in this way directly (or is going via the derivation the only way?) Or perhaps umderstand it in some other direct way?
[ A secondary sub-question is whether understanding it "directly" is helpful? Or is going through the proof good enough? ]