1-[cos(x)-sin(x)]² = sin(2x)
To square a binomial write it twice and use FOIL:
1-[cos(x)-sin(x)][cos(x)-sin(x)]
1-[cos²-cos(x)sin(x)-sin(x)cos(x) + sin²(x)]
The two terms in the middle are the same
so they add together:
1-[cos²(x)-2sin(x)cos(x) + sin²(x)]
Since cos²(x)+sin²(x)=1
1-[1-2sin(x)cos(x)]
1-1+2sin(x)cos(x)
2sin(x)cos(x)
Since sin(2x) = 2sin(x)cos(x)
sin(2x)
Edwin