Line 7: Line 7:
 
<span id="fn-1"></span>
 
<span id="fn-1"></span>
 
<span style="text-align: center; font-size: 75%;">([[#fnc-1|<sup>1</sup>]]) Hassan Raza Khan is a high-school student at The City School DHA Campus, Lahore.</span>
 
<span style="text-align: center; font-size: 75%;">([[#fnc-1|<sup>1</sup>]]) Hassan Raza Khan is a high-school student at The City School DHA Campus, Lahore.</span>
 
 
Al-Khwarizmi (780-850), in his work "Algebra," provided solutions to various types of quadratic equations, with geometric-based proofs \cite{waerden1985history}. Under the caliph al-Ma’mun, al-Khwarizmi became a member of the "House of Wisdom," an academy of scientists in Baghdad \cite{waerden1985history}. This algebraic knowledge reached Italy through translations by Gerard of Cremona (1114-1187) and the work of Leonardo da Pisa (Fibonacci) (1170-1250).
 
 
Scipione del Ferro (d. 1526) solved the general cubic equation \(x^3 + px + q = 0\) \cite{blank1999imaginary}. His formula, passed to Antonio Maria Fiore, initiated a mathematical contest against Tartaglia, who rediscovered the formula and won \cite{blank1999imaginary}. Gerolamo Cardano, learning of this, signed an oath of secrecy and later published the formula in his "Ars Magna" (1545) \cite{blank1999imaginary}.
 
 
\begin{equation}
 
x = \sqrt[3]{\frac{q}{2} + \sqrt{\left(\frac{q}{2}\right)^2 + \left(\frac{p}{3}\right)^3}} + \sqrt[3]{\frac{q}{2} - \sqrt{\left(\frac{q}{2}\right)^2 + \left(\frac{p}{3}\right)^3}} \label{eq:delFerro-Tartaglia}
 
\end{equation}
 
 
Rafael Bombelli (1526-1572) tackled cubic equations in "l’Algebra" (1572) \cite{blank1999imaginary}. He fully discussed the casus irreducibilis, demonstrating the expression \(x^3 = 15x + 4\) and Cardan's formula \cite{blank1999imaginary}.
 
 
\begin{equation}
 
x = \sqrt[3]{\frac{q}{2} + \sqrt{\left(\frac{q}{2}\right)^2 + \left(\frac{p}{3}\right)^3}} + \sqrt[3]{\frac{q}{2} - \sqrt{\left(\frac{q}{2}\right)^2 + \left(\frac{p}{3}\right)^3}} \label{eq:Bombelli-CasusIrreducibilis}
 
\end{equation}
 
 
These historical works, spanning from Al-Khwarizmi to Gauss, reflect a collective focus on unraveling complex number \(i = \sqrt{-1}\). Despite this rich history, a contemporary challenge persists—finding a swift and efficient method for computing the values of basic complex number exponents. Mathematics can alway be simpler.
 
 
  
 
==1 Introduction==
 
==1 Introduction==

Revision as of 12:28, 17 November 2023


Quickest way to find 'i' without calculator

Hassan Raza Khan1

(1) Hassan Raza Khan is a high-school student at The City School DHA Campus, Lahore.

1 Introduction

Say you want to find the value of i) ; ii) ; iii) ; iv) ;

and there's like 20 seconds left in the exam, and this paper does not allow calculators. You start solving it something like this:

and before you know it, the 20 seconds are over. You couldn't even answer any of the question.

The student next to you, the class topper, recognizes that we can find the value of such a large number of using polar coordinates, by employing Euler's formula. He starts writing:

He now starts using De Moivre's Theorem .

By now, the proctor comes and snatches his paper. He could not even solve one of the 4 parts. None of the students was able to solve any part within less than 20 seconds– except a boy named Draco, who solved all 4 of these parts within less than 20 seconds. Fun fact: he didn't even do any calculations on the paper. He only used the last two digits and performed The Algorithm in his mind.

2 The Algorithm

The algorithm involves three steps:

  1. Real/Imaginary number determination If the last two digits are even, the value remains unchanged (either 1 or -1). If odd, subtract 1 (resulting in either i or -i).
  2. Division by 2 Divide the resultant number by 2.
  3. Sign determination If the remaining number after division by 2 is odd, the sign is minus; if it's even, the sign is plus.

3 Proving that only the last two digits are necessary

To demonstrate that only the last two digits are necessary for determining the value of , where is a large exponent, we can employ the periodicity of powers of .

Consider the powers of when raised to successive positive integer exponents:

We observe that the powers of repeat in cycles of four: . This periodicity implies that the value of depends only on the remainder when is divided by 4.

Now, let's consider the exponent . We want to find :

Consider . We can express this as , where is an integer and is the remainder when is divided by . In this case, .

Now, let's break down further:

Since has two zeros and is divisible by 100, and since 100 is divisible by 4, we can conclude that is divisible by 4.

Therefore,

Now, simplifies to since any power of with an exponent divisible by 4 is equal to 1. Therefore, we have:

So, essentially, is congruent to . This result demonstrates a general pattern: for any large exponent , is congruent to , where is the remainder when is divided by 4. Thus, only the last two digits of the exponent ( in this case) are crucial for determining the value of .

This observation allows for a more efficient approach when faced with large exponentiation of without the need to calculate the entire exponent. The periodic nature of simplifies the computation, making it feasible to focus solely on the last two digits of the exponent.

4 Demonstrating the algorithm

What Draco essentially did was use the above three-step algorithm like so:

  1. ;
    1. Real/Imaginary number determination The last two digits are 73, an odd number. So it must be an imaginary number (either or ). Since the number is odd, we subtract it by 1 to make it parallel to its even counterpart, resulting in 72.
    2. Division by 2 Dividing 72 by 2 results in 36, an even number.
    3. Sign determination Since the resultant number after division by 2 is even, we can establish that the sign of this number would be positive. Since the number is both imaginary and positive, it must be .
  2. ;
    1. Real/Imaginary number determination The last two digits are 32, an even number. So it must be a real number (either 1 or -1). Since the number is even, we do not subtract it, so it remains 32.
    2. Division by 2 Dividing 32 by 2 results in 16, an even number.
    3. Sign determination Since the resultant number after division by 2 is even, we can establish that the sign of this number would be positive. Since the number is both real and positive, it must be 1.
  3. ;
    1. Real/Imaginary number determination The last two digits are 67, an odd number. So it must be an imaginary number (either or ). Since the number is odd, we subtract it by 1 to make it parallel to its even counterpart, resulting in 66.
    2. Division by 2 Dividing 66 by 2 results in 33, an odd number.
    3. Sign determination Since the resultant number after division by 2 is odd, we can establish that the sign of this number would be negative. Since the number is both imaginary and negative, it must be .
  4. ;
    1. Real/Imaginary number determination The last two digits are 74, an even number. So it must be a real number (either 1 or -1). Since the number is even, we do not subtract it, so it remains 74.
    2. Division by 2 Dividing 74 by 2 results in 37, an odd number.
    3. Sign determination Since the resultant number after division by 2 is odd, we can establish that the sign of this number would be negative. Since the number is both real and negative, it must be .

In Table 1, we present a matrix illustrating the relationship between the final and initial numbers corresponding to different values of the complex unit . The table categorizes the initial and final numbers as either even or odd and displays the resulting values of for each combination. This matrix provides a concise reference for understanding the periodicity of and its cyclic behavior based on the evenness or oddness of the exponents. Memorizing this table can make you the Draco in the same circumstance.


Table. 1 Matrix of Initial and Final Numbers Corresponding to Values of
Initial Number
Even Odd
Final Number Even 1 i
Odd -1 -i

5 Purpose of Odd/Even Analysis

The divisional remainder and its congruent complex numeber counterpart can be illustrated as below:

The odd/even analysis serves as a strategic approach to efficiently determine the divisional remainder of the numbers in the context of complex exponentiation. By focusing solely on the last two digits of the exponent, we can employ a systematic method to evaluate whether the number is divisible by 4.

For instance, consider an exponent with the last two digits being 32. If we divide 32 by 2, we obtain 16, an even number. This indicates that the original exponent is divisible by 2 twice, meaning it is divisible by 4. Therefore, the number is congruent to 0 modulo 4.

On the contrary, let's take another example with the last two digits being 34. If we divide 34 by 2, we get 17, an odd number. In this case, 34 can only be divided by 2 once while remaining a whole number. Consequently, it is congruent to 2 modulo 4.

The same approach is applied to odd numbers, where they are subtracted by 1 in order to align them with their even counterparts. This adjustment ensures that odd numbers maintain their distinctive properties in the modulo 4 arithmetic.

It's worth noting that one could also add 1 instead of subtracting 1 from the odd number. However, by adopting the subtraction approach, the signs become universally positive for even final numbers and negative for odd final numbers. This consistency simplifies the association of odd numbers with negative results and even numbers with positive results, aiding in a more straightforward interpretation of the outcomes.

In summary, the odd/even analysis not only streamlines the computation of complex exponentiation but also provides a clear and consistent method for determining the divisional remainder based on the last two digits of the exponent.

Acknowledgements

I would like to express my gratitude for the support and encouragement I received from my friends, family, and teachers throughout the course of this research paper.

Lastly, I owe a special debt of gratitude to Dr Javed Hussain and Dr Zarqa Bano from IBA Sukkur University for their expert guidance. As a high school student new to research papers, their assistance was invaluable. They not only helped me with the paper but also instilled in me the importance of intellectual curiosity and hard work.

BIBLIOGRAPHY

Khan, H. R. (2023, October 27). Efficient Algorithm for Identifying Repeating Patterns Modulo 4 and its Application in Complex Numbers. https://doi.org/10.31219/osf.io/8zc7e

Euler, L. (1748). Introductio in analysin infinitorum. Apud Marcum-Michaelem Bousquet & Socios.

De Moivre, A. (1730). Miscellanea Analytica de Seriebus et Quadraturis [Analytical Miscellany on Series and Integration].

Zhou, X. (2017). Number Theory - Modular Arithmetic: Math for Gifted Students. CreateSpace Independent Publishing Platform.

Halmos, P. (1980). The heart of mathematics. American Mathematical Monthly, 87, 519–524.

Nahin, P. (1998). An Imaginary Tale: The Story of . New Jersey: Princeton University Press.

Back to Top

Document information

Published on 19/12/23
Submitted on 15/11/23

Volume 5, 2023
Licence: CC BY-NC-SA license

Document Score

0

Views 56
Recommendations 0

Share this document