cos(A+B)+cos(A+B)=2cosAcosB

This statement is incorrect. The correct identity is:

cos(A+B) + cos(A-B) = 2cosAcosB

Therefore, the correct equation should be:

cos(A+B) + cos(A-B) = 2cosAcosB