We know that for cube roots of unity, 1 + ω + ω2 = 0. This implies:
ω2 = −1 − ω
Let's calculate (1 − ω + ω2) and (1 + ω − ω2) separately.
For (1 − ω + ω2):
1 − ω + ω2 = 1 − ω − (1 + ω) = −2ω
For (1 + ω − ω2):
1 + ω − ω2 = 1 + ω − (−1 − ω) = 1 + ω + 1 + ω = 2 + 2ω
Now we need to square both results:
1. (1 − ω + ω2)2 = (−2ω)2 = 4ω2
2. (1 + ω − ω2)2 = (2 + 2ω)2 = 4(1 + ω)2 = 4(1 + 2ω + ω2)
Using ω2 = −1 − ω:
(1 + 2ω + ω2) = 1 + 2ω − 1 − ω = ω
Thus,
(1 + ω − ω2)2 = 4ω2
Now we can combine the two squared results:
(1 − ω + ω2)2 + (1 + ω − ω2)2 = 4ω2 + 4ω2 = 8ω2
Since ω3 = 1, we know ω2 = − 1 − ω. Therefore:
8ω2 = 8(−1 − ω) = −8 − 8ω
We know ω + ω2 = −1, so:
− 8 − 8ω = −8 + 8(−1 − ω) = −8 + 8(−1) = −8 − 8 = −16
However, we need to check our calculations again. The final result should be:
(1 − ω + ω2)2 + (1 + ω − ω2)2 = −4