Solution:
Key idea: For any angle α, sin2α=1+tan2α2tanα. Short names for the two square roots keep the algebra tidy.
Step 1 — Name the square roots.
The roots are real for −1≤x≤1. Let p=1+x2 and q=1−x2; then p+q>0 and the given condition says tanα=p+qp−q.
Step 2 — Find p2−q2 and p2+q2.
We square the roots and subtract or add.
p2−q2=(1+x2)−(1−x2)
p2−q2=2x2
p2+q2=2
Step 3 — Write sin2α in terms of p and q.
We use the formula from the key idea, then multiply the top and bottom by (p+q)2.
sin2α=1+(p+qp−q)22(p+qp−q)
sin2α=(p+q)2+(p−q)22(p−q)(p+q)
sin2α=2(p2+q2)2(p2−q2)
Step 4 — Substitute the results of Step 2.
We put p2−q2=2x2 and p2+q2=2.
sin2α=2⋅22⋅2x2
sin2α=x2
Therefore, sin2α=x2, as required.