it is from trignometric identities