Irrationals and Complex Numbers

Reference

Irrational numbers and Complex numbers

More concepts about exponentials

In the previous article, I explained that the root process is long and difficult to do.

Calculating by hand

2\sqrt{2}

is not only going to take a long time, but it is actually going to take an infinite amount of time. Why is that?

We know from normal "everyday maths", that 11=11*1=1 so 12=11^2=1 and 22=42^2=4, so the number "has to be" kind of between 1 and 2. If we try 1.51.51.5*1.5 (that is 1+5101+\frac{5}{10} in normal fraction terms), we get... 2.252.25. Clearly that's too high. Let's try to bisect our way.

1.251.25=1.5625 1.25*1.25 = 1.5625

Too low. Has to be between 1.25<x<1.51.25 < x < 1.5. Try 1.3751.375.

1.3751.375=1.8906251.375*1.375=1.890625

Getting closer, but still too low. 1.375<x<1.51.375 < x < 1.5. Try 1.43751.4375.

1.43751.4375=2.066406251.4375*1.4375=2.06640625

Now we're too high again.

As you can see, this process allows us to eventually get to a degree of "precision" to get pretty close, but not quite "2". If you were to type 2\sqrt{2} on a calculator:

2=1.41421356237309504880\sqrt{2} = 1.41421356237309504880

And if you were to fact check...

1.414213562373095048801.41421356237309504880=1.999999999999999999991.41421356237309504880*1.41421356237309504880=1.99999999999999999999

Somehow not exact. We're getting close, but never quite 2. The reason for this is that the square root of 2, like many other numbers is irrational. Before we expressed decimals all over the form of a fraction, but this number eludes that specific view, as we strictly "cannot" represent it as a fraction. It would have "infinite" numbers after our period (1.41421.4142\ldots).

Historically, irrational numbers were deemed impossible, as they would be impossible to express in actual notation. Also, consider that, just the "infinite numbers" after the period is not a sufficient requirement for a number to be irrational. If you consider 13\frac{1}{3}, you would get on a calculator 0.33333330.3333333\ldots or in mathematical notation 0.30.\overline{3} (the line represents the part repeating forever). But we can easily express that same number as a fraction.

There are many proofs involving why square root of 2 cannot be a rational number, and they involve a number of logical steps that while not difficult to follow, would inflate this article a bit. But when did that stop us anyway.

Why is 2\sqrt{2} irrational

This is going to be a proof by contradiction. We assume something is true, find a contradiction somewhere, therefore we know our assumption was false. (This is a similar reasoning to a trial by error, first we fail, therefore we find the correct way after. Since any statement is either true or false only, we try the "wrong way first", and we can deduce the other way was correct.)

  • Assume that 2=pq\sqrt{2}=\frac{p}{q}, pp and qq are our usual variables we want to find. We assume this fraction cannot be simplified (so there's no shared factors between the two numbers).

  • Square up both sides

22=(pq)2\sqrt{2}^2=\left(\frac{p}{q}\right)^2 2=p2q2 2 = \frac{p^2}{q^2}
  • We multiply both by q2q^2

2q2=p2q2q2 2*q^2 = \frac{p^2}{q^2}*q^2 2q2=p2 2*q^2 = p^2

Commutative property to turn it around:

p2=2q2 p^2 = 2*q^2
  • We now know that p2p^2 is double q2q^2. Here some issues arise already. Let us give the following definitions:

p=p1p2p3p = p_1*p_2*p_3*\ldots q=q1q2q3q = q_1*q_2*q_3*\ldots

(These "subscripts" are to indicate these are all different variables, and of course I don't know how much there are. They are a sort of multiplication of all the prime factors that make up pp and qq, just like 15=3515=3*5, or 16=222216=2*2*2*2.)

  • We know any term pnp_n is going to be different from all the terms of qnq_n. (That's because otherwise in the fraction I could simplify them, from the top and bottom parts).

  • Since we know p2p^2 is double q2q^2, we know p2p^2 is even. If we consider an even square (aaa*a), we're basically repeating all the factors twice. So:

p2=p1p1p2p2p3p3p^2=p_1*p_1*p_2*p_2*p_3*p_3*\ldots

We know 2 will be part of that factor list, so we include it.

p2=22p1p1p2p2p3p3p^2=2*2*p_1*p_1*p_2*p_2*p_3*p_3*\ldots

But wait, since we said p2=2q2p^2=2*q^2, it means (if we group it up):

22p1p1p2p2p3p3=2q22*2*p_1*p_1*p_2*p_2*p_3*p_3*\ldots = 2*q^2 2(2p1p1p2p2p3p3)=2q22*(2*p_1*p_1*p_2*p_2*p_3*p_3*\ldots) = 2*q^2
  • Divide both by 2:

2p1p1p2p2p3p3=q22*p_1*p_1*p_2*p_2*p_3*p_3*\ldots = q^2
  • Not only is q2q^2 even (and therefore also qq even), but as a square number, it now has an "odd" number of multiplications. (If a=bcd    a2=bbccdda=b*c*d \iff a^2=b*b*c*c*d*d, the number of terms is even). So it means that both, q2q^2 can't be a square number, and also that since pp and qq are both even, the fraction we assumed "simplified and without shared factors" is now entirely wrong.

  • Therefore 2\sqrt{2} cannot be expressed as a fraction of two numbers. Q.E.D. (quod erat demonstrandum, "that which was to be demonstrated", usually a pretentious way to declare that we've proven what we've set up to do)

The Real numbers

Since we have to live with the conscience that irrational numbers exist, and can be inbetween all the roots, or declared in "infinite operations/expansions", we need to expand our concept of numbers. Again.

R \mathbb{R}

That's it, I cannot declare it under the usual fancy curly braces as I did for Q\mathbb{Q}, because all these numbers are not always algebraically possible to express in a common manner. You can consider QR \mathbb{Q} \subset \mathbb{R} , as real numbers encompass all rationals, along with irrational ones. A lot of irrational numbers can be expressed algebraically, as we've seen with 2\sqrt{2}, but most of them won't (there are possibly ways to define some of them, but require a few extra definitions, do not panic, it's fun to go into the unknown!).

Another problem with roots

The previous article, I hinted that the following is still "up for unknown".

1=???\sqrt{-1} = ???

As we've seen with the "irrational numbers" up above, mathematics is a tool where we just explore more and more questions, assuming that what previously we thought as impossible, we try to take as true and consider the implications. By this philosophy, it's up for debate whether mathematical structures are made up or discovered. In this case, we're going to assert that the square root of 1-1 is equal to a new quantity, a new type of number we're crafting specifically.

1=i\sqrt{-1} = i

The properties of this ii are as follows:

i=1i=\sqrt{-1} i2=11=1i^2=\sqrt{-1}*\sqrt{-1}=-1 i3=i2i=1i=ii^3=i^2*i=-1*i=-i i4=i3i=ii=(1)=1i^4=i^3*i=-i*i=-(-1)=1 i5=i4i=1i=ii^5=i^4*i=1*i=i

And then repeating in cyclical fashion.

We treat ii as its own variable almost, just like we cannot mix 3x+33x+3.

Numbers of the form aiai are said imaginary. The set of imaginary numbers is declared as such:

I={aiaR} \mathbb{I} = \{ a*i | a \in \mathbb{R}\}

On its own, not necessarily useful (somehow, zero is also imaginary, as 0i=00*i=0).

More important, is the set of complex numbers.

C={x+yxR,yI} \mathbb{C} = \{ x + y | x \in \mathbb{R}, y \in \mathbb{I}\}

These types of numbers are of the form a+bia+b*i. They have both a real part aa, and an imaginary part bib*i.

The reason other forms are not as interesting, is due to xyx*y just ending up in imaginary part, so only addition of two different "units" is interesting. When learning a bit more about graphing and geometry, we'll see that there's two main ways to represent complex numbers, and this current form of keeping track aa and bb is called "cartesian".

As just an extra, here's what happens if we add two imaginary numbers together:

(a+bi)+(c+di)(a+b*i) + (c+d*i) a+bi+c+dia + b*i + c + d*i a+c+bi+dia + c + b*i + d*i (a+c)+i(b+d)(a + c) + i*(b+ d) (a+c)+(b+d)i(a+c) + (b+d)i

Therefore, we add up together the real and imaginary parts together, separately.

For multiplication:

(a+bi)(c+di)(a+b*i)*(c+d*i)

Doing a multiplication of an addition, using our usual distributive rules, means the same as splitting each term and multiplying it for the whole second one.

(x+y)z=xz+yz(x+y)*z = x*z+y*z

Therefore, we take the same approach here (I am going to remove the multiplication symbols, so abc=abcabc=a*b*c, as otherwise it gets really difficult to read):

(a+bi)(c+di)(a+bi)*(c+di) a(c+di)+bi(c+di)a(c+di)+bi(c+di) ac+adi+bic+bidiac + adi + bic+bidi ac+adi+bci+bdi2ac + adi + bci + bdi^2

We know i2=1i^2=-1 therefore we substitute it:

ac+adi+bcibdac + adi + bci - bd

We now group up the terms with ii and the ones without:

(acbd)+(ad+bc)i(ac-bd) + (ad+bc)i

And therefore that's the end result of a multiplication. It helps considering i as something we cannot reduce, except for the cases in the series above, where ini^n can be substituted.

CC BY-SA 4.0 Anwill. Last modified: January 29, 2025. Website built with Franklin.jl and the Julia programming language.