What is p2+q2 formula?
Expansion of the whole square:
As we know,
(a+b)2=a2+b2+2ab
Substitute aandb with pandq respectively:
โด(p+q)2=p2+q2+2pqโp2+q2=(p+q)2-2pq
Hence the formula p2+q2=(p+q)2-2pq.