Understanding the powers of $i$ (the imaginary unit, where $i = \sqrt{-1}$) is fundamental in complex number algebra. The powers of $i$ exhibit a cyclical pattern, repeating every four powers. Let's explore this pattern:
Imaginary Unit 🧐
The imaginary unit, denoted as $i$, is defined as:
$i = \sqrt{-1}$
The Cycle of Powers of i 🔄
The powers of $i$ cycle through four values:
- $i^1 = i$
- $i^2 = -1$
- $i^3 = i^2 * i = -1 * i = -i$
- $i^4 = i^2 * i^2 = (-1) * (-1) = 1$
After $i^4$, the cycle repeats:
- $i^5 = i^4 * i = 1 * i = i$
- $i^6 = i^4 * i^2 = 1 * (-1) = -1$
- $i^7 = i^4 * i^3 = 1 * (-i) = -i$
- $i^8 = i^4 * i^4 = 1 * 1 = 1$
General Formula 🧮
To find $i^n$ for any integer $n$, divide $n$ by 4 and consider the remainder:
- If the remainder is 0: $i^n = 1$
- If the remainder is 1: $i^n = i$
- If the remainder is 2: $i^n = -1$
- If the remainder is 3: $i^n = -i$
Examples 💡
Let's calculate a few examples:
- $i^{10}$: Divide 10 by 4. The remainder is 2. Therefore, $i^{10} = -1$.
- $i^{15}$: Divide 15 by 4. The remainder is 3. Therefore, $i^{15} = -i$.
- $i^{20}$: Divide 20 by 4. The remainder is 0. Therefore, $i^{20} = 1$.
Code Example 💻
Here's a simple Python code snippet to calculate $i^n$:
def power_of_i(n):
remainder = n % 4
if remainder == 0:
return 1
elif remainder == 1:
return 'i'
elif remainder == 2:
return -1
else:
return '-i'
# Example usage
print(power_of_i(10))
print(power_of_i(15))
print(power_of_i(20))
Summary ✨
The powers of $i$ cycle through $i, -1, -i,$ and $1$. Understanding this pattern simplifies complex number manipulations and is crucial in various areas of mathematics and engineering.