In a triangle ABC, cosA- cosB=
-2sin(C/2) sin(A+B/2)
- 2sin(C/2) sin(A-B/2)
-2cos(C/2) sin(A-B)/2
2cos(C/2) sin(A+B/2)