Posts

Showing posts from July, 2023

log and e

Image
 The mathematical constant e, sometimes called Euler's number or Napier's constant, is an irrational number that appears everywhere in mathematics and other sciences and has a value of e=2.71828. Now we see how this constant is defined and how it is related to complex numbers. We assume you know some calculus. Definition (Natural logarithm) The natural logarithm function log:(0,)R is defined by logx=1x1tdt. From the definition, we can immediately derive a few important properties of log. log(1)=0. log is a strictly increasing function as 1/t>0 for all t>0. This means, for any x1,x2(0,), x1<x2logx1<logx2. log is a continuous function. This means that for any a(0,), we have limxalogx=loga. Lemma (The logarithm of a product is the sum of logarithms) For \(y_1, y_2 > 0, y_1, y_2...

Sine, cosine, and polar form of complex numbers

Image
We define two trigonometric functions, namely the sine and cosine functions, based on the geometric interpretation of complex numbers. Using these functions, we define an alternative representation of complex numbers called the polar form . Definition (Sine and cosine) Let uC such that |u|=1 and θarg(u). We define sin:RR and cos:RR by  cos(θ)=(u),sin(θ)=(u). Thus, we have u=cosθ+isinθ. Example . In particular, we have cos(0)=1,cos(π/2)=0,cos(π)=1,sin(0)=0,sin(π/2)=1,sin(π)=0. Also, note that \[\begin{eqnarray} \cos(-\theta) &=& \cos\theta,\ \sin(-\theta) &=& -\sin\theta. \end...

Geometric interpretations of complex arithmetic

Image
The addition and multiplication of complex numbers have interesting geometric interpretations in terms of translation, rotation, and scaling on the complex plane. Addition is translation Let z1=a1+ib1 and z2=a2+ib2 where ai,biR for i=1,2. Then, z1+z2=(a1+a2)+i(b1+b2). Therefore, on the complex plane, adding z1 to z2 to obtain z1+z2 corresponds to translating the point (a1,b1) by the vector (a2,b2) to obtain the point (a1+a2,b1+b2). Thus, the four points, 0,z1,z1+z2, and z2 comprise a parallelogram (Figure 2). Figure 2. Adding two complex numbers. Multiplication by a real number is scaling Let cR and z=a+ibC with a,bR. Then, cz=ca+i(cb), which corresponds to the point (ca,cb) on the complex plane. Meanwhile, we have |cz|=|c||z|, so the modulus is scaled by |c|. If c>0, \(cz\...

Geometry of complex numbers

Image
 From the definition of complex numbers, we can plot any complex number z=a+ibC with a,bR as a point (a,b) in a two-dimensional plane. Here the ``x'' axis represents the real part of complex numbers, whereas the ``y'' axis represents the imaginary part. When we use this ``xy'' plane to plot complex numbers, this plane is called the complex (number) plane, also known as the Argand diagram (Figure 1). Figure 1. The complex plane or Argand diagram. Definition (Modulus) Let z=a+ibC with a,bR. The modulus of z is defined by |z|=a2+b2. That is, the modulus |z| is the distance between z and the origin in the complex plane (Figure 1). In comparison, the modulus of a real number xR is defined (usually) as \[|x| = \left\{ x(if x0),x(otherwise).\ri...

Fields

Image
The sets Q, R, and C behave in a similar manner. They all have addition, subtraction, multiplication, and division that satisfy certain properties. This common behavior is summarised in the notion of fields. Thus, Q, R, and C are examples of fields. Definition (Field) A set F is called a  field  if it is endowed with binary operations + and and satisfies the following axioms. F is closed under + (closure): a,bF, a+bF. + is commutative: a,bF, a+b=b+a. + is associative: a,b,cF, a+(b+c)=(a+b)+c. There is an additive identity element 0 with respect to +: 0F such that aF, a+0=a. There is an inverse of each element with respect to +: aF,aF such that a+(a)=0. F is closed under (closure):...

Square-root of a complex number

Image
We define the set of complex numbers, C, as the set of pairs of real numbers, R2, equipped with addition and multiplication. However, our original motive for complex numbers was to solve the quadratic equation in general. How do they relate to each other?  Theorem (square root of a complex number) Suppose that a,bR. The square roots of a+ib are ±(x+iy) where x=a+a2+b22,y=sign(b)a+a2+b22 where sign(b)={1(if b<0),1(otherwise). Remark . As useful as it is, memorizing this formula is not recommended. Why? Because this "formula" is so complicated that you will most likely forget it! Try to derive the square root of a+ib every time by solving (x+iy)2=a+ib for x and y. □ Proof ....

Constructing complex numbers

Image
 For any pair of real numbers, a,bR, we can define a complex number a+bi where i is the imaginary unit (i=1). However, the imaginary unit is not a real number. What do we exactly mean by the expression like a+bi? We answer this question by constructing a system of complex numbers from the set of pairs of real numbers. Recall R2, the set of ordered pairs of real numbers: R2={(a,b)a,bR}. Each element of R2 is something like (a,b) where a,bR. Let us define addition in R2 by (a,b)+(c,d)=(a+c,b+d) where (a,b),(c,d)R2. Note that + on the left-hand side is the addition in R2 being defined, and + on the right-hand side is the addition of real numbers (R), which is already defined. Thus defined addition is commutative and associative (verify this): \[(a, b) + (c, d) = (c, d)...

Complex numbers: Introduction

Image
We review how complex numbers are introduced, starting from a simple linear equation. We also review the derivation of the quadratic formula. Consider the following equation: 3x=12. The coefficient of x is 3, and the right-hand side is 12. 3 and 12 are natural numbers: 3,12N. Solving this for x, we have x=4N. So, the solution is obtained within N. Next, consider 2x+4=0. Again we have 2,4N. But the solution x=2Z is not found in N, but in Z. Next, consider 2x3=0 where 2,3Z. The solution is x=32Q which is not in Z. In general, consider ax+b=0, a,bQ,a0. Then, the solution is always found within Q: x=baQ. As long as all the coefficients are in Q and the equations are linear , we can always find th...

Countable sets, uncountable sets

Image
The cardinalities (numbers of elements) of the sets N, Z, Q, R are all infinite. Which one is "larger" or "smaller"? It turns out that the sets N, Z, and Q all have the "same" number of elements and are called countable , whereas R contains a far greater number of elements and is called uncountable . But how can we "count" infinities? The sets {a,b,c,d} and {1,2,3,4} have no elements in common, but they have the same number of elements (i.e., 4). Note that there are bijections between them. For example, (but not limited to) 1a,2b,3c,4d.  Quiz.  How many bijections are possible from {1,2,3,4} to {a,b,c,d}? Any finite set X with N elements (i.e., |X|=N) may be w...

Relations

Image
In order to study the elements of a set, we compare or relate each element with others. We already know some relations such as "=" (equal), "<" (less than), "" (subset), etc.  We generalize this idea. A relation is defined on a set. For example, < is (usually) used for comparing two numbers that are well-ordered. So < is defined on R, for example. Similarly, is the subset relation, so it is defined on a set of sets. To denote a relation in general, we often use the symbol . But there is nothing special about this particular symbol. We could instead use , , , etc. Or we can use any alphabets like A,b,ρ,. Instead of writing a<b, we could write a L b (as long as everybody agrees on this convention). It's just a matter of definition. But what is a relation, anyway? Definition (Relation) A relation R on a set ...

Map composition

Image
We can define a new map by composing two or more maps. Map composition can be regarded as an operation between maps. As such, we can make an algebra of maps. Definition (map composition) Let f:AB and g:BC be maps. In particular, note that codf=domg. Then, we define a new map, denoted gf:AC, by (gf)(x)=g(f(x)) for each xA. This new map gf is called the composition of f with g. It is convenient to read gf as "g after f." The composition can be graphically represented as in the following commutative diagram : Remark . As noted in the definition, we can compose gf if and only if codf=domg. Remark . Some authors (e.g., in computer science) prefer to write f;g ("f, then g") rather than gf. Example . Suppose that f:ZZ;f(x)=x1, and \[g: \mathbb{Z} \to \mathbb{N}_{0}; g(x) = x^...

Maps and functions

Image
 We often study the properties of a set by comparing it with another set. The "comparison"' is done by a  map  between the sets. Roughly speaking, a map (also called a  function ) is a rule to assign an element of a set to an element of another set .  Let A and B be sets. Then we write f:AB to mean that f is a map from A to B. That is, for each aA, we assign an element f(a)B. We often use a "diagram" such as the following: The mapping of each element xA to f(x)B is written as xf(x). Example . Let us define a map f:ZN by f(x)=1+x2,  (xZ). Note that f(x)N for any xZ, indeed. □ Definition (domain, codomain) Let A and B be sets, and f:AB be a map. Then, A and B are called the domain and codomain of f, respectively. We write domf=A and codf=B. De...

Set operations

Image
We may construct a new set by combining existing sets through set operations . Thus, sets equipped with set operations form an algebra of sets, so to speak. We will see set operations are closely related to logical operations. Definition (union of sets) Let A and B be sets. Then, their union, denoted AB, is defined as AB={x|xAxB}. That is, AB is a set consisting of elements that are in A or in B. Remark: "xA" and "xB" are logical propositions (predicates). Example: If A={1,2,3} and B={1,3,5}, then AB={1,2,3,5}. Definition (intersection of sets) Let A and B be sets. Then, their intersection, denoted AB, is defined as AB={x|xAxB}. That is, AB is a set consisting of elements that are in A and in B. Remark: The logical "and" (i.e., conjunction) is often written as a comma (...