




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































These notes cover the first half of the course MATH10121 (Calculus and Vectors A) and are intended to supplement the online videos and podcast recordings. The notes provide greater depth and longer explanations of the concepts covered. There may also be slight variations in the examples. A few sections of these notes will be directed reading and will not have an accompanying video. The main aim of this half of the course is to introduce you to rigorous definitions of the two fundamental ideas in calculus: integration and differentiation. Both differentiation and integration are operations on functions and are defined using limits, so we will have to establish some of the theory of functions and the properties of limits in order to define the operations properly. In addition, this course will introduce the concepts of imaginary and complex numbers and how to extend familiar functions to act on complex numbers. Along the way we’ll encounter power series, hyperbolic functions, revise sketching functions and meet the fundamental theorems of algebra and calculus. You are likely to have seen many, but probably not all, of the ideas in this course before, so please do pay careful attention to ensure that you don’t miss important details, particularly if you do think that you already know it!
The course is as self-contained as it can be, but you should already be confident with basic algebra, elementary functions, vectors, calculus and sketching functions from your previous studies. If you do not immediately know the answers to the questions in section 0.1.4 (or at least how to find the answers) then you should revise the appropriate material. The course does not assume any prior knowledge of complex numbers, limits, sequences or series, but will move fairly rapidly through these concepts.
Trigonometry
You should know the definitions of the fundamental trigonometric functions sin θ and cos θ in terms of a right-angled triangle:
r cos θ
r sin θ
r
θ
all values of x such that 0 < x ≤ 10. A closed interval includes the endpoints, whereas an open interval does not. A common way of writing closed and open intervals is to use the round and square bracket notation: x ∈ (1, 10) means 1 < x < 10 , x ∈ [− 1 , 5) means − 1 ≤ x < 5 , x ∈ [− 5 , −3] means − 5 ≤ x ≤ − 3. Implicit in the above description of intervals is that the real numbers are ordered, which means that there exists a relation ≤ such that for all elements a, b and c of the reals: (i) either a ≤ b or b ≤ a; (iii) if a ≤ b and b ≤ a then a = b; and (iii) if a ≤ b and b ≤ c then a ≤ c. Note that the integers and rationals are also ordered, but the complex numbers are not, which won’t become obvious until later on. When defining sets we also use the symbols : or | to mean “such that” and so we might write {x : x ∈ R, x > 0 } to mean the set of elements “x” such that x is an element of the real numbers and x is positive. It takes a little while to get used to it, but set notation is a compact way of indicating the domains of functions and we’ll use it a lot in this course.
If we multiply a real number, a, by itself n times then we write
a︸ × a × · · · ×︷︷ a︸ n times
= an,
where n is positive integer, n ∈ Z+. It follows from basic multiplication rules that
anam^ = a︸ × a × · · · ×︷︷ a︸ n times
× a︸ × a × · · · ×︷︷ a︸ m times
= a︸ × a × · · · ×︷︷ a︸ n + m times
= an+m;
and (an)m^ = (a × a × · · · × a) ︸ ︷︷ ︸ n times
× (a × a × · · · × a) ︸ ︷︷ ︸ n times
× · · · × (a × a × · · · × a) ︸ ︷︷ ︸ ︸ ︷︷ n^ times ︸ m times
= anm.
If we now insist that the relationship anam^ = an+m^ is true for all integer n and m it follows that
a^0 a^1 = a0+1^ =⇒ a^0 = a^1 /a^1 = 1, a 6 = 0;
and
ana−n^ = an−n^ = a^0 = 1 =⇒ a−n^ =
an^
, a 6 = 0.
If we also insist that the relationship (an)m^ = anm^ is true for all rational n and m then
(an) n^1 = a
nn = a^1 = a.
If we let x = an^ then x n^1 = a and we say that a is the nth root of x. An exponential function is a function of the form ax, where a is a positive constant and x is any real number. If we insist that the exponential is continuous then we can find ax^ for any real number.
The logarithm (to base a) is the inverse of the exponential so
loga ax^ = x = aloga^ x.
The laws of powers should still work which means that
loga(anam) = loga(an+m) = n + m = loga an^ + loga am.
If we let x = an^ and y = am^ then
loga(xy) = loga x + loga y,
and we insist that these relationships hold for any real positive x, y. Similarly,
loga(x/y) = loga x − loga y;
and, moreover,
loga xn^ =
︷ n^ times︸︸ ︷ loga x + loga x + · · · + loga x = n loga x.
Before the advent of electronic calculators these properties meant that the logarithm was often used to simplify multiplication and division of large numbers, in which case the obvious base was a = 10. Hence the function log x is defined to be the logarithm to base 10. It’s straightfoward to change the base of the logarithm starting from the relationship
z = ax^ = by^ =⇒ loga z = loga ax^ = x, but logb z = x logb a;
and so
loga z = x =
logb z logb a
Exponential functions all have the value 1 when x = 0 because a^0 = 1, but they have different gradients. The constant e ≈ 2 .718 is special because the the gradient of ex^ is 1 at x = 0. The function ex^ is termed the exponential function. The natural logarithm ln x is the logarithm to base e. Similarly to the use of radians in trigonometric functions, the use of natural logarithms and the exponential ex^ avoids carrying around scale factors when integrating and differentiating. The exponential function can be defined for any real x in terms of a power series, see chapter 4, which allows us to take real powers of any real number.
The factoral of n, written n!, for n ∈ Z+^ is given by
n! = n × (n − 1) × (n − 2) × · · · × 1 ,
and 0! ≡ 1 by definition. The binomial theorem states that
(x + y)n^ = xn^ +
n 1
xn−^1 y +
n 2
xn−^2 y^2 + · · · +
n m
xn−mym^ + · · · + yn,
for any integer n, where
n m
= (^) (n−mn!)!m!. The result can be extended to any real power in which case it is termed the binomial series and
(1 + x)p^ = 1 + px +
p(p − 1) 2!
x^2 + · · ·
You should already be used to working with the real numbers, R and representing them on a number line. The real numbers are a mathematical object known as a field, which, roughly speaking, means that addition, multiplication, subtraction and division are all defined (apart from division by zero) and applying these operations to members of the field yields an answer that is also a member of the field. The rational numbers, Q (numbers that can be written as fractions with integer numerator and denominator) are also a field, but the integers Z (whole numbers including zero and negative numbers) are not because division of one integer by another does not always yield an integer, e.g. 5 2 ,^
7 3.^ The integers are an example of a different mathematical object known as a (commutative) ring. For linear equations with rational coefficients, the solution is also always a rational number
ax + b = 0 =⇒ x = −b/a, a 6 = 0.
In fact, for every linear equation with all coefficients in a particular field, the solution must lie in the same field from the requirement that division of two members of the field must give a result within the field^1. In general, however, we want to solve algebraic equations that are not linear for which the situation is more complex. A quadratic equation with rational coefficients does not necessarily have a rational solution; for example, x^2 = 2 =⇒ x = ±
a famously irrational number (proof left as an exercise). The question then arises:
Is there a field such that quadratic equations with coefficients in the field always have solutions in the same field?
From equation (1.1), we know that the rational numbers don’t satisfy our requirements, but what about the real numbers? Equation (1.1) has real coefficients and a real solution, but sadly that doesn’t mean that all quadratic equations with real coefficients have real solutions. The equation
x^2 + 1 = 0, (1.2)
can be rearranged to give x = ±
−1, which cannot be found within the real numbers. Nevertheless, it will be incredibly useful to have a way of working with square-roots of negative numbers. (^1) The case of division by zero is excluded because if a = 0, then we do not have a linear equation.
In order to proceed, we define^2 the quantity i as follows:
i is the solution of the equation i^2 = − 1. (1.4)
We can say that i is the square-root of minus one and i is termed an imaginary number. We define all our operations so that i obeys the same algebraic properties as a real number. In other words, in all algebraic expressions you can treat i as though it were an unknown real number. Hence, we can construct other imaginary numbers by addition i + i = 2i or multiplication by a real number, e.g. 7 × i = 7i or − 5 × i = −5i, and all imaginary numbers can be written in the form xi, where x ∈ R. Hence if we square any imaginary number, we obtain a negative real number,
(xi)^2 = x^2 i^2 = x^2 (−1) = −x^2 ,
because i^2 = −1 by definition. In this last calculation we have implicitly assumed that real and imaginary numbers commute under multiplication xi = ix, which follows from our requirement that i obeys the same algebraic rules as any real number. For any real x, it follows that
−x^2 = ix or, equivalently, for any real negative y,
y = i
|y|.
Example 1.1. Find (a)
−25 and (b)
Solution 1.1.
(a)
25 i = 5 i, (b)
2 i.
Example 1.2. What are the two solutions of the equation z^2 + 1 = 0?
Solution 1.2. By definition one solution of the equation is z = i. We know that (−z)^2 = (−1)^2 z^2 = z^2 and so another solution is z = −i. Thus the two solutions of the equation are z = ±i.
Example 1.3. What are the possible values of in^ for positive integer n?
Solution 1.3. We already know that i^2 = −1 and so i^3 = (i)^2 i = −i, because we can treat i as an unknown real number. Similarly, i^4 = (i)^2 (i)^2 = (−1)(−1) = 1. It follows that in^ = in−^4 and so there are only four possible values for in: ±1 and ±i.
(^2) You may also see the definition i = √−1, but this can lead to the following (incorrect) argument
− 1 = i^2 =
√ − 1
√ −1 =
√ (−1)(−1) =
√ 1 = 1, a contradiction! (1.3)
The problem being that the property that √ x√y = √xy does not hold when x and y are both negative.
1.2 Representations of complex numbers
The standard form of a complex number is given by
z = (^) ︸︷︷︸x Real Part
where both the real part (x) and imaginary part (y) of a complex number are real numbers. It is common to write Re(z) to indicate the operation of taking the real part of z and Im(z) to indicate taking the imaginary part.
Example 1.4. Find the real and imaginary parts of the following complex numbers:
(a)3 + 2i, (b)π, (c)i, (d)
2 − πi.
Solution 1.4.
(a) Re(3 + 2i) = 3, Im(3 + 2i) = 2, (b) Re(π) = π, Im(π) = 0,
(c) Re(i) = 0, Im(i) = 1, (d) Re(
2 − πi) =
2 , Im(
2 − πi) = −π.
We can represent complex numbers graphically by extending the real number line to the complex plane spanned by the real (x) axis and imaginary (y) axis. We simply plot the complex number z = x + iy as the point (x, y) in Cartesian coordinates in the plane. Figure 1.1 shows the complex numbers from Example 1.4 plotted in the complex plane. This graphical representation of complex numbers is sometimes called an Argand diagram. Having associated complex numbers with points in the complex plane, we can also represent those points by using plane polar coordinates (r, θ), see Figure 1.2, in which case
z = x + iy = r cos θ + ir sin θ,
where r =
x^2 + y^2 and tan θ = y/x. The polar form of a complex number is given by
z = r (cos θ + i sin θ) ,
where r is called the modulus of the complex number, also written as |z|, and θ is called the argument, also written as arg(z). Note that both the modulus and the argument are real numbers.
Example 1.5. Find the modulus and argument of each of the following complex numbers:
(a)3 + 2i, (b)π, (c)i, (d)
2 − πi.
Solution 1.5.
(a) |3 + 2i| =
13 , arg(3 + 2i) = tan−^1 (2/3) ≈ 0. 588 ,
(b) |π| = π, arg(π) = 0, (c) |i| = 1, arg(i) = π/ 2 ,
(d) |
2 − πi| =
2)^2 + π^2 =
2 + π^2 , arg(
2 − πi) = tan−^1 (−π/
Re(z)
Im(z)
(a) 3 + 2i
(b) π
(c) i
(d)
2 − πi
Figure 1.1: The complex numbers in Example 1.4 represented as points in the complex plane. Note that both the real and imaginary parts of a complex number are real.
Re(z)
Im(z)
z = x + iy = r cos θ + i r sin θ
x
y
r = |z|
θ = arg z
Figure 1.2: A complex number can be represented in Cartesian (x, y) or polar (r, θ) coordinates.
Example 1.6. For each complex number find both the standard (x, y) and polar forms (r, θ). Mark all the complex numbers on an Argand diagram:
(a) |z| = 2, arg(z) = π, (b) Re(z) = 5, Im(z) = 5,
(c) |z| = 5, Re(z) = 3, (d) Im(z) = a, arg(z) =
π 3
, where a ∈ R.
Solution 1.6. (a) The polar form is essentially given from the information in the question (r, θ) = (2, π). The
Re(z)
Im(z)
(a)
(b)
(c)
(c)
(d) (a = 1)
Figure 1.3: The complex numbers in example 1.5 represented as points in the complex plane.
1.3 Algebra of complex numbers
We can establish the basic algebra of complex numbers (i.e. how to define the operations +, −, × and ÷) by simply treating i as a constant with the property that i^2 = −1. This is an important point so we should emphasize it
We define algebraic operations on complex numbers by treating i as a constant with the property that i^2 = −1.
Let us consider the elementary arithmetic operations acting on two complex numbers z = x + iy and w = u + iv:
Under the usual algebraic rules, we can add or subtract our two complex numbers,
z + w = x + iy + u + iv = (x + u) + i(y + v); (1.8)
and z − w = x + iy − (u + iv) = (x − u) + i(y − v). (1.9)
In other words, the sum or difference of two complex numbers has a real (imaginary) part that is the sum or difference of the real (imaginary) parts of the two complex numbers. From the representation on the complex plane, we can interpret addition and subtraction as being equivalent to vector addition and subtraction, see Figure 1.4.
Re(z)
Im(z)
z
z = 3 + 2i
w
w = −5 + 2i
w
z + w = −2 + 4i
z + w
Figure 1.4: Addition of two complex numbers z and w can be interpreted as addition of two vectors z and w.
Example 1.7. If z = 3 + i and w = − 1 − 2i, evaluate:
(a)z + w, (b)z − w, (c)z + i, (d)w + 10.
Solution 1.7.
(a)z + w = 3 + i + (− 1 − 2i) = 2 − i, (b)z − w = 3 + i − (− 1 − 2i) = 4 + 3i, (c)z + i = 3 + i + i = 3 + 2i, (d)w + 10 = − 1 − 2i + 10 = 9 − 2i.
Hence, multiplication by −1 corresponds to rotation by π radians (in either direction) in the complex plane.
(b)| − i| = 1, arg(−i) =
3 π 2
or −
π 2
Multiplication by −i corresponds to a rotation by 3π/2 radians anticlockwise (positive sense) or π/2 radians clockwise (negative sense).
(c)| − 1 + i| =
2 , arg(−1 + i) =
3 π 4
and multiplication by −1+i corresponds to a stretch by a factor of
2 and rotation by 3π/4 radians anticlockwise.
From the geometric perspective, division (the inverse of multiplication) must correspond to a contraction and rotation in the opposite sense to multiplication. We can show this algebraically by using the polar representation to compute 1/w
1 w
s
cos φ + i sin φ
This is a complex number, but the real and imaginary parts have not been separated because i is on the denominator of the fraction. We now apply the classic mathematical trick of multiplying by one, but in a clever way:
w
s
cos φ + i sin φ
1 ︷ ︸︸ ︷ cos φ − i sin φ cos φ − i sin φ
s
cos φ − i sin φ cos^2 φ − i^2 sin^2 φ + i(sin φ cos φ − sin φ cos φ)
w
s
cos φ − i sin φ cos^2 φ + sin^2 φ
s
(cos φ − i sin φ) =
s
[cos(−φ) + i sin(−φ)] ,
because sin^2 φ + cos^2 φ = 1, sin(x) = − sin(x) and cos(x) = cos(−x). Hence, 1/w is a complex number with modulus equal to the one over the modulus of w and argument equal to the negative argument of w. We can now use equation (1.11), or repeat the algebra that lead to it, to show that
z w
= z ×
w
r s
[cos(θ − φ) + i sin(θ − φ)]. (1.12)
Hence, as claimed, division corresponds to contraction (assuming that the modulus of w is greater than one) and a rotation in the negative direction (assuming that the argument of w is positive). The “multiplication by 1” trick that we used in the argument above can also be used to establish the formula for division of two complex numbers in standard form.
z w
x + iy u + iv
x + iy u + iv
u − iv u − iv
xu + yv + i(yu − xv) u^2 + v^2
xu + yv u^2 + v^2
yu − xv u^2 + v^2
In general it is easier to multiply and divide complex numbers given in polar form, but it is easier to add and subtract complex numbers in standard form.
Example 1.9. If z = 2 + i and w = 4 − i, find:
(a) zw, (b) z/w, (c) z/w + z.
Solution 1.9. (a) zw = (2 + i)(4 − i) = 8 + 2i + 1 = 9 + 2i.
(b)
z w
2 + i 4 − i
2 + i 4 − i
4 + i 4 + i
8 + 6i − 1 16 + 1
i.
(c)
z w
i + 2 + i =
i.
= r
(^12) [cos(θ/2) cos(πk) − sin(θ/2) sin(πk) + i {sin(θ/2) cos(πk) + cos(θ/2) sin(πk)}].
Now sin(πk) = 0 for all integer k and cos(πk) = (−1)k^ for all integer k. Thus,
z
(^12) = r
(^12) (−1)k^ [cos(θ/2) + i sin(θ/2)] = ±r
(^12) [cos(θ/2) + i sin(θ/2)] , (1.18)
which demonstrates that the non-uniqueness of square-roots is identical in form for real and complex numbers; namely, we have a positive and a negative root. We now have all the algebraic machinery in place to evaluate the roots of any quadratic equation with complex coefficients.
Example 1.10. Find the roots of the quadratic equation
i(1 + z^2 ) + z − 2 = 0.
Solution 1.10. The roots of the quadratic are given by
z =
−b ±
b^2 − 4 ac 2 a
where, in this case, a = i, b = 1 and c = i − 2. Hence,
z =
1 − 4i(i − 2) 2i
1 + 4 + 8i 2i
5 + 8i 2i
The easiest way to evaluate the square root is to put 5 + 8i in polar form:
r = |5 + 8i| =
89 ≈ 9. 4 , θ = arg(5 + 8i) = tan−^1 (8/5) = 1. 012.
Using equation (1.18) yields
√ 5 + 8i =
9 .4 (cos 0.506 + i sin 0.506) ≈ 2 .69 + 1.49i.
(We should quickly check this result (2.69+1.49i)^2 = 5.016+8.0162i, where the error arises from the rounding approximations.) Returning to our expression for the solution of the quadratic equation, we have
z =
− 1 ± (2.69 + 1.49i) 2i
i ∓ (2.69i − 1 .49) 2
≈ 0. 75 − 0 .85i and − 0 .75 + 1.85i.
We should now check that these solutions satisfy the original equation. We could simply substi- tute them into the original equation (and you should), but it’s quicker to multiply out the factorized equation: If (z − (0. 75 − 0 .85i))(z − (− 0 .75 + 1.85i) = 0 =⇒ z^2 − (0. 75 − 0 .85i)z − (− 0 .75 + 1.85i)z + (0. 75 − 0 .85i)(− 0 .75 + 1.85i) =⇒ z^2 − iz + 1 + 2i ≈ 0 =⇒ iz^2 + z + i − 2 = i(1 + z^2 ) + z − 2 = 0.
The original quadratic equation is (approximately) recovered from the product of the (approximate) roots and hence we have, indeed, found the correct roots of the equation.
You will almost certainly have studied functions before and, in fact, we have already been happily using functions such as sin and cos in the previous chapter. As mathematicians we must agree on precise definitions, but as applied mathematicians we can be somewhat relaxed about extreme (unlikely) cases. In this course, we will define a function to be a relation between sets that maps each element of the first (input) set, the domain, to exactly one element of the second (output) set, the codomain. You may be more used to the term range to define the output set, but this can confuse two concepts: the codomain and the image. The image is the set of all elements that result when the function is applied to each element of the domain and is typically a subset of the codomain. If the codomain and image coincide then the function is said to be surjective, meaning that every element of the codomain is the result of applying the function to elements of the domain. Another way of thinking about this is that the codomain is the set of possible outputs of the function and the image is the set of actual outputs.
f : X → Y
Domain, X
Codomain, Y
Image
Figure 2.1: The function f : X → Y maps every element of the domain X to exactly one element of the codomain Y. It is not necessary that every element of the codomain is assigned by function. The image is the set of all elements of the codomain that are assigned by the function.