031Mathematics · Algebra

Powers of i and Sums of Powers of i

Powers of i and Sums of Powers of i

Real and imaginary parts of powers of i and of sums of consecutive or weighted powers of i.

  • 181 bytes
  • COMP mode
01

Worked examples

Example 1

Find the value of i⁻² + i⁻¹ + i⁰ + i¹ + ⋯ + i⁹⁹.

  1. A.0
  2. B.−1 − i
  3. C.−1 + i
  4. D.1 − i
Answer
B −1 − i (real part −1, imaginary coefficient −1)
Standard solution (without a calculator)
  1. Count the terms: both ends are included, so there are 99 − (−2) + 1 = 102 terms. 102 = 4 × 25 + 2.
  2. Cancel the complete cycles of four: any four consecutive integer powers of i add up to 0, negative powers included. The 25 complete cycles cancel, leaving two terms.
  3. Add the remaining two terms: keep the first two: i⁻² + i⁻¹ = −1 + (−i) = −1 − i, because i⁻¹ = 1/i = −i. So the answer is B.
Do it on the calculator

Example 2

Let z = 4i³⁰¹ − 2i³⁰² + 3i³⁰³. Which of the following is the value of z?

  1. A.−2 + i
  2. B.2 + i
  3. C.2 + 7i
  4. D.−2 + 7i
Answer
B 2 + i (real part 2, imaginary coefficient 1)
Standard solution (without a calculator)
  1. Simplify the three powers: 301 = 4 × 75 + 1, 302 = 4 × 75 + 2 and 303 = 4 × 75 + 3. So i³⁰¹ = i, i³⁰² = −1 and i³⁰³ = −i.
  2. Keep the sign of each coefficient: z = 4i − 2(−1) + 3(−i). The negative coefficient −2 times −1 becomes a positive 2.
  3. Collect the real and imaginary parts: z = 2 + (4 − 3)i = 2 + i. So the answer is B.
Do it on the calculator

Example 3

Let z = (1/2)i⁻³ − (3/4)i⁻² + 2, where z = a + bi and a, b are real numbers. Find a and b, showing the simplification.

Answer
a = 11/4, b = 1/2; z = 11/4 + (1/2)i
Standard solution (without a calculator)
  1. Negative integer powers: i⁻³ = 1/i³ = 1/(−i) = i, and i⁻² = 1/i² = −1. Alternatively use i⁴ = 1 and add 4 to the exponents to get 1 and 2.
  2. Simplify term by term: z = (1/2)i − (3/4)(−1) + 2 = (1/2)i + 3/4 + 2. The constant 2 can be written as 2i⁰, so that the same weighted input format works.
  3. Read off a and b: the real part is 3/4 + 2 = 11/4 and the imaginary coefficient is 1/2. So a = 11/4 and b = 1/2.
Do it on the calculator
02

When to use it

DSE complex number questions often ask for a high power of i, a sum of consecutive powers such as i⁻² + i⁻¹ + … + i⁹⁹, or an expression such as 4i³⁰¹ − 2i³⁰² + 3i³⁰³. The powers of i repeat every four terms (1, i, −1, −i) and four consecutive powers add up to 0. 031 does this reduction for you. Enter M = 0 for a consecutive sum (then the first and last exponents) or the number of terms M for weighted terms (then each coefficient and exponent). It shows the real part X, then after EXE the imaginary coefficient Y, so the answer is X + Yi. Mnemonic: 0 for consecutive, otherwise as many terms as you enter; X real, Y imaginary.

What it is for

  • A single power iⁿ (enter M = 1, C = 1, A = n)
  • A consecutive sum iᴬ + iᴬ⁺¹ + … + iᴮ, both ends included
  • A few weighted terms such as 4i³⁰¹ − 2i³⁰² + 3i³⁰³; a constant c counts as c·i⁰

What you enter

  • M: 0 for a consecutive sum, otherwise the number of weighted terms (a whole number, 0 ≤ M < 10¹⁰)
  • Consecutive sum: A, the first exponent, then B, the last exponent (A ≤ B)
  • Weighted terms: for each term C, a real coefficient (negative to subtract), then A, an integer exponent

What it shows

  • X, the real part, first (press EXE to continue)
  • Then Y, the coefficient of i; the answer is X + Yi
  • Both screens always appear, even when one value is 0; EXE after Y runs the program again and AC leaves

Check before use

  • Create the program in COMP in an empty area. The example uses an empty P1; the set-up keys MODE 6 → 3 → 1 clear P1. If P1 holds a program you need, use another empty area: MODE 6 → 1 (EDIT) → area number → 1 (COMP), and AC after entering. The angle unit does not matter; Norm 1 is used at the start and at a normal end.
  • M = 0 means a consecutive sum with both ends included; the first exponent A must not be greater than the last exponent B. A single iⁿ can be entered as M = 1, C = 1, A = n.
  • All exponents must be integers from −9 999 999 999 to 9 999 999 999; zero and negative exponents are allowed. M must be a non-negative integer below 10¹⁰, and a positive M is the actual number of terms to enter. In practice, a few weighted terms are the main case.
  • C may be positive, negative, zero, a decimal or a fraction, but it must be real. To subtract a term, enter its coefficient as a negative number; a constant c can be treated as c·i⁰. This is not a symbolic algebra program and cannot solve for unknown letters used as coefficients.
  • Whole-number coefficients and exponents give exact values. Decimals and fractions are still limited by the calculator’s finite precision and the length of the fraction display. The program does not support huge cancellations that need arbitrary precision, such as 10¹³ + 1 − 10¹³, nor sums beyond the machine’s number range; in these cases do not take the displayed value as exact.
  • An invalid M, a non-integer exponent, an exponent out of range or reversed ends gives Math ERROR before any answer is shown. The check only sees the number the calculator holds after evaluating the input; if a decimal was already rounded while being entered, the program cannot recover it. Enter exponents directly as integers.
  • Each run sets X and Y to 0 again, so the previous answer is never added to the new one. A, B, C, D and M are also working variables. C keeps the previous coefficient and A is pre-filled with the previous exponent plus 1; press EXE alone only when the pre-filled value is the one you want.
  • The result is always exactly two screens: X, the real part, then Y, the imaginary coefficient. Even if one of them is 0 it is shown; do not take the second value as another answer. After Y, EXE runs the program again and AC leaves.
  • For a question that asks only for the real part or only for the imaginary part, read X or Y. If a further step is needed, such as combining X and Y or dividing by a number, do it as an ordinary COMP calculation; questions with unknown parameters still need their own equations.
  • If an answer looks wrong, check first that M was entered correctly, that every coefficient carries its sign and that each exponent was typed rather than accepted from the pre-filled value by mistake.

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.

Checking access…

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.