Solution:
Key idea: Let A=cos−1x, B=cos−1y and C=cos−1z; since A and B lie in [0,π], their sines are never negative, so sinA=1−x2 and sinB=1−y2.
We then take the cosine of both sides of A+B=π−C.
Step 1 — Take the cosine of both sides.
The given condition says A+B=π−C, and cos(π−C)=−cosC.
cos(A+B)=−cosC
cosAcosB−sinAsinB=−z
xy−1−x21−y2=−z
Step 2 — Isolate the roots and square.
We move the root term to the right and −z to the left, then square both sides.
xy+z=1−x21−y2
x2y2+2xyz+z2=(1−x2)(1−y2)
x2y2+2xyz+z2=1−x2−y2+x2y2
Step 3 — Simplify.
The term x2y2 appears on both sides and cancels; we then move x2 and y2 to the left.
x2+y2+z2+2xyz=1
Therefore, x2+y2+z2+2xyz=1, as required.