Question
Question: If \(s(n)={{i}^{n}}+{{i}^{-n}}\) , where \(i=\sqrt{-1}\) and n is an integer, then the total number ...
If s(n)=in+i−n , where i=−1 and n is an integer, then the total number of distinct values of s(n) is
(a) 1
(b) 2
(c) 3
(d) 4
Solution
Hint: Find the conditions possible on n. As given n is an integer the cases possible are n is odd and n is even. So, check the values in both the cases.
Complete step-by-step solution -
The solution of the equation: x2+1=0 is i. i is an imaginary number. Any number which has an imaginary number in its representation is called a complex number.
An equation containing complex numbers in it, is called a complex equation.
It is possible to have a real root for complex equations.
Example: (1+i)x+(1+i)=0 . x=−1 is the root of the equation.
In given question we have two terms:
S(n)=in+i−n
First term = in
Second term = i−n
We know few conditions:
i=ii2=−1i3=−i
So by simplifying second term, we get:
i−n=(i−1)n= second term
By normal algebraic properties, inverse of a number can be written as:
a−1=a1
By using above condition here, we get that:
Second term = in1
By multiplying and dividing by i inside the power, we get:
Second term = (i×i1×i)n
We know, i2=−1.
By substituting above, we get
Second term = (−1i)n
Second term = (−i)n
Given equation in the question is, written as:
s(n)=in+i−n
By substituting second term, we get:
s(n)=in+(−i)n
By separating minus sign from second term, we get:
s(n)=in+(−1)in
By taking common, the common term in first and second terms, we get:
s(n)=in(1+(−1)n)
If in is odd
(−1)n=−1
Substituting this value in the equation, we get:
s(n)=in(1−1)=0
If n is even
(−1)n=0
Substituting this value in the equation, we get:
s(n)=in(1+1)=2in
Now we have 2 cases
Case 1: n is multiple of 4
s(n)=2in
Let n = 4k
By substituting n value in equation, we get
s(n)=2i4k
By writing the equation smartly, we get
s(n)=2(i2)2k=2(−1)2k
(−1)2k=1
By simplifying, we get
s(n) = 2
Case 2: n is not multiple of 4.
n = 2k where k = odd
s(n)=2i2k=2(−1)k
as k = odd, we can say:
s(n) = -2
Therefore, the possible distinct values of s(n) are −2,0,+2 .
Note: While taking multiples of 4 and not multiples of 4 be careful to take k = odd in the latter case. There is a need to keep in mind the concept of exponents and iota. This makes our solution easier.