Alexander Bass

Math Notes Fall 25

Proof by multiplicative inverse

We have functions f(x),g(x),h(x)f(x), g(x), h(x).

Given h(x)f(x)=1h(x) f(x) = 1. (they are multiplicative inverses)

We would like to determine whether f(x)=g(x)f(x) = g(x).

Naturally, h(x)g(x)=1      f(x)=g(x)h(x)g(x) = 1\ \implies\ f(x) = g(x)

Application

I discovered this trick when searching for a proof to Euler’s Formula:

eit=cost+isint e^{it} = \cos{t} + i\sin{t}

We define

f(x)=eitg(x)=(cost+isint) \begin{aligned} f(x) &= e^{it}\\ g(x) &= \left(\cos{t} + i\sin{t}\right) \end{aligned}

Naturally, eith(x)=1e^{it}h(x) = 1, so

h(x)=eit h(x) = e^{-it}

So, if we can prove that h(x)g(x)=1h(x)g(x) = 1, then it is clear that f(x)=g(x)f(x)=g(x). Introduce j(x)j(x) for brevity.

h(x)g(x)=j(x)=eit(cost+isint) h(x)g(x) = j(x) = e^{-it}\left(\cos{t} + i\sin{t}\right)

Differentiate j(x)j(x)

j(x)=eit(sint+icost)ieit(cost+isint)=eit(sint+icost)+eit(icost+sint)=eit(icostsint+sinticost)=0 \begin {aligned} j'(x) &= e^{-it}\left(-\sin{t} + i\cos{t}\right) - i e^{-it}\left(\cos{t} + i\sin{t}\right)\\ &= e^{-it}\left(-\sin{t} + i\cos{t}\right) + e^{-it}\left(-i\cos{t} + \sin{t}\right)\\ &= e^{-it}\left(i\cos{t} -\sin{t} + \sin{t} -i\cos{t} \right)\\ &= 0 \end{aligned}

That is, j(x)=0j'(x) =0 for all xx, which means that j(x)j(x) is constant for all xx.

Find value of j(x)j(x)

j(0)=e0(cos0+isin0)=1 j(0) = e^{0}\left(\cos{0} + i\sin{0}\right) = 1

So, j(x)=1j(x) = 1 for all xx, which shows that g(x)g(x) is the multiplicative inverse of h(x)h(x). Given that g(x)g(x) is also the multiplicative inverse of h(x)h(x):

f(x)=g(x) f(x) = g(x)

Source: https://math.stackexchange.com/a/8612

Complex Exponentials and Trigonometric functions

The value of the exponential function with an imaginary input is of interest.

eix=? e^{ix} = ?

Using the well known series expansion of the exponential function:

ex=n=0xnn! e^{x} = \sum_{n=0}^{\infty} \frac{x^{n}}{n!}

Substitute in imaginary constant

eix=n=0(i)nxnn! e^{ix} = \sum_{n=0}^{\infty} \frac{(i)^{n}x^n}{n!}

There is no direct way to simplify this expression as (i)n(i)^n doesn’t directly work out to anything nice. This expression is equivalent to a few other, more-useful ones.

eix=n=0(i)nxnn!=n=0(i)2nx2n(2n)!+(i)2n+1x2n+1(2n+1)!=n=0(i)4nx4n(4n)!+(i)4n+1x4n+1(4n+1)!+(i)4n+2x4n+2(4n+2)!+(i)4n+3x4n+3(4n+3)! \begin{aligned} e^{ix} &= \sum_{n=0}^{\infty} \frac{(i)^{n}x^n}{n!}\\ &= \sum_{n=0}^{\infty} \frac{(i)^{2n}x^{2n}}{(2n)!} + \frac{(i)^{2n+1}x^{2n+1}}{(2n+1)!}\\ &= \sum_{n=0}^{\infty} \frac{(i)^{4n}x^{4n}}{(4n)!} + \frac{(i)^{4n+1}x^{4n+1}}{(4n+1)!} + \frac{(i)^{4n+2}x^{4n+2}}{(4n+2)!} + \frac{(i)^{4n+3}x^{4n+3}}{(4n+3)!} \end{aligned}

Now the powers of ii can be simplified

i4n=i4n=1i4n+1=i4ni=ii4n+2=i4ni2=1i4n+3=i4ni3=i \begin{aligned} i^{4n} &= i^{4^n} = 1\\ i^{4n+1} &= i^{4n}i = i\\ i^{4n+2} &= i^{4n}i^2 = -1\\ i^{4n+3} &= i^{4n}i^3 = -i \end{aligned}

Back-substituting these into the above sum

eix=n=0x4n(4n)!+ix4n+1(4n+1)!x4n+2(4n+2)!ix4n+3(4n+3)! e^{ix} = \sum_{n=0}^{\infty}\frac{x^{4n}}{(4n)!}+i\frac{x^{4n+1}}{(4n+1)!}-\frac{x^{4n+2}}{(4n+2)!}-i\frac{x^{4n+3}}{(4n+3)!}

Remember the power series for sine and cosine

sin(x)=n=0x2n+1(1)n(2n+1)!cos(x)=n=0x2n(1)n(2n)! \begin{aligned} \sin(x) &=\sum_{n=0}^{\infty} \frac{x^{2n+1}(-1)^{n}}{(2n+1)!}\\ \cos(x) &=\sum_{n=0}^{\infty} \frac{x^{2n}(-1)^{n}}{(2n)!} \end{aligned}

Reorder series

eix=n=0x4n(4n)!x4n+2(4n+2)!+ix4n+1(4n+1)!ix4n+3(4n+3)! e^{ix} = \sum_{n=0}^{\infty}\frac{x^{4n}}{(4n)!} - \frac{x^{4n+2}}{(4n+2)!} + i \frac{x^{4n+1}}{(4n+1)!} - i\frac{x^{4n+3}}{(4n+3)!}

Split sums based on evens, and odds

eix=[n=0x4n(4n)!x4n+2(4n+2)!]+[in=0x4n+1(4n+1)!x4n+3(4n+3)!] \begin{aligned} e^{ix} &= \left[{\sum_{n=0}^{\infty}\frac{x^{4n}}{(4n)!} - \frac{x^{4n+2}}{(4n+2)!}}\right]\\ &+ \left[i\sum_{n=0}^{\infty} \frac{x^{4n+1}}{(4n+1)!} - \frac{x^{4n+3}}{(4n+3)!}\right] \end{aligned}

Notice the first sum is simply iterating over the even numbers, and the second is iterating over the odds. Simplify

eix=[n=0x2n(1)n(2n)!]+[in=0x2n+1(1)n(2n+1)!] \begin{aligned} e^{ix} &= \left[{\sum_{n=0}^{\infty}\frac{x^{2n}(-1)^n}{(2n)!}}\right]\\ &+ \left[i\sum_{n=0}^{\infty} \frac{x^{2n+1}(-1)^{n}}{(2n+1)!} \right] \end{aligned}

Notice

eix=cosx+isinx e^{ix} = \cos{x} + i\sin{x}

With Negatives

Recall these two properties of sine and cosine

sin(x)=sin(x)cos(x)=cos(x) \begin{aligned} \sin(-x) &= -\sin(x)\\ \cos(-x) &= \cos(x)\\ \end{aligned}

With that, use the exponential function with a negative imaginary number

eix=cosxisinx e^{-ix} = \cos{x} - i\sin{x}

We can now solve for cosine and sine using the exponential function.

eix+eix=2cosx e^{-ix} + e^{ix} = 2\cos{x}

cosx=eix+eix2 \cos{x} = \frac{e^{ix} + e^{-ix}}{2} eixeix=2sinx e^{ix} - e^{-ix} = 2\sin{x}

sinx=eixeix2 \sin{x} = \frac{e^{ix} - e^{-ix}}{2}

Clever proof of solutions to linear diophantine equation

A simple result in elementary number theory relates to the linear diophantine equation

ax+by=c ax + by = c

a,x,b,y,cZ a,x,b,y,c \in \mathbb{Z}

A property of this equation (which is not proven here) is that it has infinitely many (x,y)(x,y) solutions if cc is a multiple of gcd(a,b)\gcd(a,b), otherwise it has none.

The clever part is, after finding the first solution we can find the rest. Suppose there exists a solution (x,y)(x,y), and that (x,y)(x',y') is another solution:

c=ax+by=ax+by c = ax+by = ax'+by'

Rearrange equation

a(xx)=b(yy) a(x-x') = -b(y-y')

Let d=gcd(a,b)d = \gcd(a,b). Naturally, aa and bb are both divisible by dd. Divide by dd

ad(xx)=bd(yy) \frac{a}{d}(x-x') = -\frac{b}{d}(y-y')

Now, a/da/d and b/db/d share no common factors, therefor a/da/d does not divide b/db/d and b/db/d does not divide a/ba/b. Note however that b/db/d does divide the right side of the equation, and therefor must divide the left side of the equation. Because we already determined that b/db/d does not divide a/da/d, b/db/d must divide (xx)(x-x'), thus (xx)(x-x') must be a multiple of b/db/d (likewise (yy)(y-y') is a multiple of a/da/d).

State that (xx)(x-x') is a multiple of b/db/d in a new equation:

bnd=xx \frac{bn}{d} = x - x'

Likewise of yy

and=yy \frac{an}{d} = y - y'

Thus, given the initial solutions of x,yx,y, the other solutions are found as:

bnd+x=x \frac{bn}{d}+x = x'

and+y=y \frac{an}{d}+y = y'

This proof is not complete but highlights the clever trick of extracting an equation based on divisibility. It comes down to the (often subtle) fact that when xx divides yy, y=xqy=xq.

Complex Difference of Squares

Sometimes the solution to math puzzles lies in the difference off squares identity, x2y2=(x+y)(xy)x^2-y^2 = (x+y)(x-y). I’ve often thought that it’s a shame how there is no similar identity for x2+y2x^2+y^2, but… there is!

x2+y2=(x+iy)(xiy) x^2+y^2 = (x+iy)(x-iy)

Where ii is the imaginary constant.