Concept:Simplify the complex fraction to i, then find the smallest positive n such that in=1.Explanation:We are given (1−i1+i)n=1.First, simplify the base by multiplying numerator and denominator by the conjugate (1+i):1−i1+i×1+i1+i=1−i2(1+i)2.Expand: (1+i)2=1+2i+i2=1+2i−1=2i (since i2=−1).Denominator: 1−i2=1−(−1)=2.Thus 22i=i.So the expression becomes in=1.Recall powers of i: i1=i, i2=−1, i3=−i, i4=1.The smallest positive integer n for which in=1 is n=4.Answer:4 (option B).