[go: up one dir, main page]

0% found this document useful (0 votes)
18 views45 pages

Study Guide Module 1 (Numbers, Sets and Functions)

The document introduces foundational concepts in mathematics, focusing on numbers, sets, and functions as essential elements for understanding calculus. It outlines key sets of numbers—natural numbers (N), integers (Z), rational numbers (Q), and real numbers (R)—and discusses their properties, including completeness and ordering. The text emphasizes the importance of real numbers in calculus and provides definitions and examples related to sets and intervals.

Uploaded by

nganthuan.email
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views45 pages

Study Guide Module 1 (Numbers, Sets and Functions)

The document introduces foundational concepts in mathematics, focusing on numbers, sets, and functions as essential elements for understanding calculus. It outlines key sets of numbers—natural numbers (N), integers (Z), rational numbers (Q), and real numbers (R)—and discusses their properties, including completeness and ordering. The text emphasizes the importance of real numbers in calculus and provides definitions and examples related to sets and intervals.

Uploaded by

nganthuan.email
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 45

Module

Numbers, sets and functions


1
“Beginnings are always difficult”. If this is true for every human endeavour, it is certainly
valid for mathematics in general and for a first University course in calculus in particular.
Mathematics studies objects and processes we encounter everyday, such as numbers, sets,
functions and arrangements. It is also associated with familiar geometric concepts like lines,
areas and volumes. Notwithstanding this connection between mathematics and real life, in
every scientific discipline there is the need to abstract and use fundamental definitions and
systematic reasoning to formulate a solid edifice of knowledge. Mathematics is especially
efficient in this sense: it proceeds axiomatically in building more sophisticated and complex
concepts from simple ideas, so that bigger, compelling constructs can be derived from
simple, “natural” ones.
A question that then immediately arises is: “where should we start”? What is the most
elementary concept from which we can build a theory of Calculus that is sufficiently rigorous,
ample and robust to tackle important theoretical and practical problems? One possible (but
by no means unique) answer is to begin from numbers.
Counting is one of the first activities that we learn as toddlers. Most children can count
from 1 to 20 by the age of four. We will thus start to look at how we can construct
collections of numbers, called sets, starting from the basic operation of counting. This will
form an appropriate background from which to engage with higher concepts like those of
ordering, completeness and functions between di↵erent sets of numbers.

1.1 Numbers, sets, completeness and ordering

We will assume that the notion of set, e.g. a collection of elements, is a natural idea, i.e.
everyone understands immediately what a set is. There are four important sets we will
use throughout this course. They consist of infinite collections of numbers, with di↵erent
features. These sets are:

1
2 Module 1. Numbers, sets and functions

• N: the set of natural numbers. This is the set toddlers learn to partially enumerate
and consists of the positive integers, i.e. 1, 2, 3, . . . Note that it does not contain zero
(0) and is an infinite set.

• Z: the set of relative integers. This set contains the negative and positive integers,
and zero, i.e. . . . 3, 2, 1, 0, 1, 2, 3, . . . Note that it is an infinite set. Its symbol
comes from the German “Zahlen”, meaning “numbers”.

• Q: the set of rational numbers. This set consists of numbers that can be expressed
p
as a fraction , where p 2 Z and q 2 N. It is made of positive and negative numbers
q
(along with zero), that result from the division of positive and/or negative integers,
either in a finite decimal form (e.g. 3/16 = 0.1875) or in a periodic decimal form (e.g.
3/11 = 0.27272727 . . . = 0.27). It is, of course, an infinite set.

• R: the set of real numbers. This is the set we will use most often and is fundamental
for calculus. It is a set that contains all the above sets as subsets, but it is not simply
the combination of those above, as will be clear shortly.

The set of real numbers R is introduced because N, Z, Q are not adequate to correctly
describe objects or operations that are central to science and engineering, like natural laws
or sequences of operations. In fact, in some cases sets di↵erent to R can give rise to bizarre
situations, because they lack important “structural properties” of R. Although we will not
explore this in depth, some examples can clarify these ideas.
p
Example 1.1.1. Which of the previous sets contain 2?
p p
Solution. R is the only one of these sets that contains 2. In fact, 2 = 1.4142135623 . . .
and cannot be written as an integer or a fraction of two integers. Its decimal form is not
periodic.
p p p p
In general, radical expressions or surds such as 2, 3 3, 3 5 · 4 23, . . ., belong to a specific
set, namely the set of irrational numbers or I, no part of which intersects Q.

Example 1.1.2. Where does the Euler number “e = 2.718281828459 . . .”, the natural
basis of logarithms, belong? Is it possible to define it in a recursive or repeated way?

Solution. The Euler number belongs to R only. Again, this is a number that has a non-
periodic decimal form. It does not arise from any elementary operation we know, like
performing a division or taking a square root.

Although e is not a member of Q, it can be shown to result from a recursive operation “in-
side” Q. The operation always involves elements of Q, i.e. rational numbers, but ultimately
tends to an element that is not part of Q. This is a problematic occurrence.

Let us evaluate, for n = 1, 2, 3 . . ., the following expression:


1 n
1+ .
n
This is an example of a sequence, or an ordered list of numbers. Sequences will be an object
of study in later chapters.
1.1. Numbers, sets, completeness and ordering 3

Substituting increasing values of n, we obtain:

n = 1, (1 + 1/1)1 = 2
n = 2, (1 + 1/2)2 = 2.25
n = 3, (1 + 1/3)3 = 2.370
n = 4, (1 + 1/4)4 = 2.44140625
...
n = 500, (1 + 1/500)500 = 2.71556852065 · · ·
...
5,000,000
n = 5, 000, 000, (1 + 1/5, 000, 000) = 2.71828155523 · · · .

The last number is close to the actual value of e = 2.718281828459 . . . and higher n’s will
produce better approximations. Note though that any previous result is a rational number,
since it is the result of a multiplication of the rational expression (1 + 1/n) n times with
itself.

Now, if we imagine taking this sequence to the limit as n becomes indefinitely large, the
result is exactly e, although e cannot be expressed as a rational number since it is non
periodic. We will later specify in detail what we mean by taking the “limit” of an expression
like (1 + 1/n)n .

So, the major point is: we have a sequence or an operation always defined within Q that
converges to a number that is not in Q. This is related to the concept of completeness of a
set, i.e. Q is not complete.

To clarify the importance of R, the definition below is important:

Definition 1.1 (Real number, R and completeness)

A real number is a positive or negative number (or zero) with periodic or non periodic
decimal part. The set of all real numbers R is a complete set.

p R will not su↵er from problems such as the one described above
Because of its definition,
for Q, for the cases 2 and e. Saying that R is complete, (whereas Q is not), means
that recursive or repeated operations like that used to define “e” always “stay” in R and
ultimately result in an element that belongs to R.

A very obvious consequence of R being complete is that it can be represented as a contin-


uous straight line without gaps or holes, as shown in the figure below. This line is called
“the real line”. We cannot represent N or Q as lines.

–2 –1 0 1 2 3
Figure 1.1. The number line representing R, with elements of Z

The real line is drawn to scale so that the distance between two successive integer numbers
is the same. A number in any of the number sets previously defined, is represented by a
4 Module 1. Numbers, sets and functions

point on the real line. For example, ⇡ = 3.14159 . . . is located between 3.1 and 3.2, as
shown in the Figure below.
A second property of R associated with completeness is that, for any two elements on the
real line, there is also a third element in between those two, no matter how close the two
initial elements are. To understand this properly, the concept of ordering is needed.

3.1 3.2

3.0 3.5 4.0


⇡ = 3.1415...
Figure 1.2. Position of ⇡ on the real line.

1.1.1 Ordering and inequalities

Ordering is an important property of numbers sets. In R, ordering means that it is always


possible, given two numbers, to tell which of the two numbers “comes before” or “after”.
In particular, we use the following

Definition 1.2 (Ordering and ordered sets)


Numbers can be ordered by saying b > a (equivalently a < b) if and only if b a > 0. A set
all of whose elements can be ordered is called an ordered set.
p p
Obvious examples are 3 > 2, 0.22 < 0.23̄, 5< 3 and so on. Technically, the ordering
adopted on R is called a “lexicographic” ordering, meaning, in practice, that we determine
whether a number is larger or smaller than a given one by comparing their respective digits.
So, 0.22 < 0.23̄ because the first two digits are the same for both, but the third digit of the
second number is larger than the third digit of the first. This is akin to the “alphabetical”
ordering in phone listings. Note that this is not so trivial: there are important sets used
in applied science and engineering that are not ordered. An example of a non ordered set
that the student may already have encountered is C, the set of complex numbers.
Given that R is ordered, it is possible to formulate and solve “inequalities”. By solving an
inequality, we mean finding the set of elements, each of which satisfies the inequality. In
practice, to solve inequalities we use the following rules:
• If a < b then a + c < b + c for any c.

• If a < b and c > 0 then ac < bc. For example, we have 2 < 5 and 3 > 0, so: 2·3 < 5·3,
i.e. 6 < 15.

• If a < b and c < 0 then ac > bc. For example, we have 2 < 5 and 3 < 0, so:
2 · ( 3) > 5 · ( 3), i.e. 6 > 15.

Note: From now on, the symbol of ordinary multiplication between two elements (numbers
or letters) will be “·”. The symbol “⇥”, must not be used to indicate ordinary multiplica-
tion.
Example 1.1.3. Solve 3x 4 < 8.
1.2. Sets and their operations 5

Solution. Adding 4 to both sides of the inequality gives 3x < 12. Now multiply both sides
1
of the inequality by and we have x < 4. All these steps, that conform with the rules
3
given above, are equivalent to “taking 4 to the right hand side (RHS) and dividing by 3
to find x”.

Note: From now on, to indicate the right hand side or the left hand side of an expression
we will use the abbreviations RHS and LHS, respectively.

Example 1.1.4. Solve 6 2x > 4 + 3x.

Solution. Adding 6 to both sides gives 2x > 3x 2; adding 3x to both sides gives
1 2
5x > 2. Multiplying both sides by (and hence reversing the inequality) gives x < .
5 5
We assume that the student knows how to solve these inequalities. More examples on
inequalities and the algebra required to manipulate them are in the “Revision” section, at
the end of this Study Guide.

1.2 Sets and their operations

As previously mentioned, there is no need to formally define what a set is: the concept of
set is an intuitive (or “primitive”) notion, like counting, that every human being develops
during childhood. Also, the idea of an element being part of a set or “belonging to” a set
will be considered as primitive, and indicated by the symbol “2” (conversely, “2” / if the
element is not a member of the set). Let us now concentrate on particularly useful sets in
R, i.e. intervals.

1.2.1 Open and closed intervals

The branch of Mathematics that studies the relations between sets is called “set theory”.
For our purpose, two important types of sets are the open and closed sets, equivalently
called open and closed intervals .

Definition 1.3 (Open interval)

In R, the set of numbers between two elements a 2 R, b 2 R, excluding a and b themselves,


is called an open interval, and denoted (a, b), i.e. (a, b) = {x 2 R | a < x < b}.

Note that open intervals do not contain their end points, i.e. a 2
/ (a, b) and b 2
/ (a, b). An
example of how to represent a given open interval on the real line is shown below.

Figure 1.3. Open interval ( 0.5, 1.5) = {x 2 R | 0.5 < x < 1.5}

With reference to the symbols used above, the expression (a, b) = {x 2 R | a < x < b}
should be read as follow: (a, b) is equal (“=”) to the set of all elements x belonging to R,
6 Module 1. Numbers, sets and functions

such that (“|”) x is larger than a (“a < x”) and smaller than b (“x < b”). It should also be
clear from the context that the notation (a, b) indicates an interval rather than an ordered
pair of numbers a and b in the Cartesian plane.
Note that the braces { and } are used to denote a set, in general. So, for instance, the set
of the first three elements of N is written as {1, 2, 3} or the set of three friends James, Alex
and Frank is {James, Alex, F rank}.

Definition 1.4 (Closed interval)


In R, the set of numbers between two elements a 2 R, b 2 R, including a and b themselves,
is called a closed interval, and denoted [a, b], i.e. [a, b] = {x 2 R | a  x  b}.

In this case, the end points are included, as shown below. The expression [a, b] is interpreted
in the same way as was the case for (a, b), the only di↵erence being in the character of the
inequalities, i.e. “” now, not “<”.

Figure 1.4. Closed interval [ 0.5, 1.5] = {x 2 R | 0.5  x  1.5}

Note also that half open (or half closed) intervals can be defined, for example [a, b) or (a, b].

1.2.2 Basic operations between sets in R

Any open or closed interval (a, b) or [c, d] in R can also be indicated by capital letters A
and B. For example, we may indicate the above generic sets as follows:

A = (a, b), B = [c, d].

Equivalently, they can also be indicated as

A = {x 2 R | x 2 (a, b)}, B = {x 2 R | x 2 [c, d]}.

As stated, this can be read as “the set A consists of all elements x 2 R such that x belongs
to (a, b)” and “the set B consists of all elements x 2 R such that x belongs to [c, d]”. Let
us refresh some properties of sets that should be well known.

Definition 1.5 (Subset)


Given two sets A and B, A is said to be a subset of B if and only if all elements of A belong
to B. This is indicated as
A✓B

Note: Technically, the notation includes the case of A being a subset of itself. We have
that A ✓ A always. We can exclude this case by asking that, at least, one element of B
does not belong to A. In this case A is said to be a proper subset of B and we write

A ⇢ B.
1.2. Sets and their operations 7

Definition 1.6 (Union)


The union of sets A and B, denoted by A [ B , is the set defined as

A [ B = {x 2 R | x 2 A or x 2 B}.

Definition 1.7 (Intersection)


The intersection of sets A and B, denoted by A \ B , is the set defined as

A \ B = {x 2 R | x 2 A and x 2 B}.

Definition 1.8 (Complement)


The complement of a given set A with respect to a set B is defined as

A B = A\B = {x 2 R | x 2 A, and x 2
/ B}

Note: What this means is that one can also “subtract” one set from the other set. For
example, if A = {1, 2, 3, 4, 5} and B = {1, 2, 3, 6}, A\B = {4, 5}.

Definition 1.9 (Empty set)


The empty set is a set that does not contain any elements. It is denoted by

A = ;.

Note: Clearly for a generic set B, ; [ B = B and ; \ B = ;. Also, be aware that the
empty set is not the set that contains zero, i.e. ; =
6 {0}
The properties introduced above are convenient and will be used to express sets in R that
are combinations of intervals or contain gaps or holes on the real line. Two examples are
given below.
Example 1.2.1. Rewrite the set A = ( 1, 1) [ (1, +1) using the complement operation.

Solution.
A = ( 1, 1) [ (1, +1) = R\{1}.
Note: We introduce here the symbol 1 to denote “infinity”. The symbol 1 enables us
easily to describe the process of a number getting larger and larger without bound as well
as the idea of a number set without bound on the left or right or both as exemplified by
the following notations: x ! 1, (0, 1), ( 1, 0), ( 1, 1). We emphasise that 1 is not a
number and should not be maniulated as if it is.
Example 1.2.2. Given the two intervals A = (1, 5) and B = [2, 4], express A [ B, A \
B, A\B.

Solution.
A [ B = (1, 5)
A \ B = B = [2, 4]
A\B = (1, 2) [ (4, 5)
8 Module 1. Numbers, sets and functions

1.3 The induction principle

The set of natural numbers N has special relevance not only for abstract or historic reasons
(it was a set well known to ancient Greek mathematicians, e.g. Pythagoras) but because
many operations that are important in real life depend on positive integers. Processes that
involve an integer number of di↵erent, subsequent steps are used everyday in engineering,
computer science and robotics. For example, when we code we are telling a machine to “do
this first, then do that, then something else”.

In this sense, one of the most useful characteristics of N is that it is possible to prove that a
general statement is true using the induction principle, which establishes whether a certain
inequality, procedure or method is valid for every natural number.

Definition 1.10 (Property)

A property P(n) is a statement involving elements n either belonging to N or one of its


subsets. P(n) is said to be true if it is valid for every value of n, otherwise it is false.

Example 1.3.1. Consider the following properties P(n):

(i) n < 0 for n 2 N


(ii) > 0 for every n 2 N
n2
1
(iii) > 0 for every n 2 N.
n 4
(iv) (n 1)3 > n for n 2 N\{1, 2}

Are they all true?

Solution. Clearly, all (i), (ii), (iii) and (iv) are properties, but only (i), (ii), and (iv) are
1
true. Property (iii) is false because n = 1 gives , which is negative. The same occurs for
3
n = 2, 3, whereas for n = 4 the property is undefined. In general, it is sufficient to prove
that the property is not valid for a single number N 2 N to conclude that the property is
false.

Property (iv) is also true because while the inequality is invalid for n = 1, 2 these two
numbers have been correctly excluded from N. It is thus a property valid only for a subset
of N, i.e. N\{1, 2}.

We are now ready to formulate one of the most powerful principles of Mathematics, which
we enunciate in the form of a “theorem”.

Theorem 1.11 (The induction principle)

Suppose that a property P(n) is true for n = 1. Now suppose also that if the property is
assumed to be valid for a generic n, then this results in it also being valid for n + 1. Then
P(n) is valid for all numbers n 2 N.
1.3. The induction principle 9

Let us see how this theorem allows us to prove important relations among elements of N.
Example 1.3.2. Carl Friedrich Gauss (1777-1855) is arguably one of the greatest math-
ematicians of all times. A famous (but not completely verified) anecdote tells us that one
day, when he was 8 (or 9) years old, he and the other pupils in his class were being unruly.
The teacher, to discipline the students, asked the whole class to compute the sum of the
first 100 natural numbers, i.e. the result of 1 + 2 + 3 + 4 + . . . + 100. Soon all the children,
except little Carl, started to do one addition after the other, in silence. After thinking for
less than one minute, Carl stood up, walked to the teacher and told him the solution: 5050.
The teacher was stunned. How did he do it?

Solution. The very young Gauss had probably discovered the following property P(n), valid
for every natural n:
n
n(n + 1)
P(n) : k= .
k=1
2
The above symbol indicates a sum over an element k, and, in this case, runs from k = 1
up to k = n:
n
k = 1 + 2 + 3 + 4 + . . . + n.
k=1
The symbol is also known as the “ -notation” or summation notation.
Applied to the first 100 natural numbers, the property gives
100(100 + 1)
1 + 2 + 3 + 4 + . . . + 100 = = 50(101) = 5050.
2
Using the induction principle we are able to prove this identity. The first step is to see if
P(n) is true for the first element of N, e.g. n = 1. This is often easy. In this example the
LHS of the property for n = 1 is
LHS = 1,
and the RHS is
1(1 + 1)
RHS = = 1.
2
So, we have easily proved that LHS=RHS for P(1), since the “sum of integers” reduces to
1 in this case.
Now, let us suppose that the property P(n) is valid. This is often called the “induction
hypothesis”. We will use this to prove that
(n + 1)(n + 2)
P(n + 1) : 1 + 2 + 3 + . . . + n + (n + 1) =
2
is also valid. In fact, indicating the LHS of P(n + 1) as S(n + 1), we have

S(n + 1) = 1 + 2 + 3 + . . . + n + (n + 1)
= (1 + 2 + 3 + . . . + n) + (n + 1)
n(n + 1)
= + (n + 1) [Using the induction hypothesis]
2
n
= (n + 1) +1
2
(n + 1)(n + 2)
= .
2
10 Module 1. Numbers, sets and functions

In the last line, we first factored out (n + 1) from the sum and then re-expressed n/2 + 1 as
(n + 2)/2. The last term of this expression is clearly the RHS of property P(n + 1), so we
conclude that P(n) is valid for all natural numbers n. Note that it is unlikely that young
Gauss would have known about the induction principle, but his intuition, if the anecdote
is true, was correct and typical of a child prodigy.
Note: Alternatively, the expression resulting from applying the induction hypothesis can
be expanded and later factorised to arrive at the same result, i.e.
n(n + 1) n2 + n 2n + 2 n2 + 3n + 2 (n + 1)(n + 2)
+ (n + 1) = + = = .
2 2 2 2 2
Other methods are also possible.
Example 1.3.3. Prove that the sum of the first n consecutive odd natural numbers is
equal to n2 .

Solution. The general form of the property stated above, i.e. P(n), can be written as

P(n) : 1 + 3 + 5 + . . . + (2n 1) = n2

The LHS of P(n) gives the sum of the first n odd, natural numbers, whereas the RHS of
P(n) is the required square. To realise this, let us consider, for instance, the first four sums
of odd natural numbers:

1= 1 = 12
1+3= 4 = 22
1+3+5= 9 = 32
1 + 3 + 5 + 7 = 16 = 42

The property is thus valid for n = 1, 2, 3 and 4, but to prove it for every n 2 N we have to
use the induction theorem.
First, the property is clearly true for n = 1, since then LHS=RHS:

P(1) : 1 = 12 .

Now, let us assume that P(n) is valid (the induction hypothesis). We seek to prove that

P(n + 1) : 1 + 3 + 5 + . . . + (2n + 1) = (n + 1)2 .

In fact, indicating with S(n + 1) the LHS of P(n + 1), we have

S(n + 1) = 1 + 3 + 5 + . . . + (2n 1) + (2(n + 1) 1)


= 1 + 3 + 5 + . . . + (2n 1) + (2n + 2 1)
= 1 + 3 + 5 + . . . + (2n 1) + (2n + 1).

Using the induction hypothesis, S(n + 1) can be expressed as:

S(n + 1) = 1 + 3 + 5 + . . . + (2n 1) + (2n + 1)


= (1 + 3 + 5 + . . . + (2n 1)) + (2n + 1)
2
= n + (2n + 1) [Using the induction hypothesis]
2
= (n + 1) ,
1.4. Functions and their properties 11

where we used basic algebra in the last line. This is the desired result, since the last line
corresponds to the RHS of P(n + 1). We thus conclude that P(n) is valid for all natural
numbers n

Note: Using the summation notation, the LHS of P(n) in this example can be expressed
as (note that the sum starts at zero)
n
1 + 3 + 5 + . . . + (2n + 1) = (2k + 1).
k=0

The induction principle can be used to prove important inequalities too. An example of this
is the so-called Bernoulli’s inequality whose proof is contained in the “Extras” Appendix.

1.4 Functions and their properties

In science, engineering and many aspects of human life, it is common practice to relate
quantities together using mathematical expressions such as formulae. A quantitive relation
between two quantities is called a “function”. Although this idea may appear as primitive,
it turns out that a rigorous definition of a function is difficult to provide and could be quite
obscure and involved. For this reason, it is better to consider functions simply as “laws” or
“relations” connecting objects belonging to di↵erent sets, without attempting to produce
a rigorous definition. R is the set where functions that are of most interest to us will be
considered.

1.4.1 Definition of function, domain, range and graph

Function, domain, range and graph are the four most fundamental definitions needed when
discussing quantitative relations among sets.

Definition 1.12 (Function)

Let X and Y be two subsets of the real line R, i.e. X ✓ R, Y ✓ R. A real-valued function
f of a single real variable is a certain “relation” (equivalently called a “law” or “mapping”)
between the set of inputs X and the set of outputs Y . This relation is such that to any
element from the input set x 2 X there corresponds exactly one element from the output
set y 2 Y . Formally, this mapping can be written as f : X ! Y .

Note: Besides the notation f : X ! Y , it is also common to use y = f (x), intending that
x 2 X is the generic input (or independent) variable and y 2 Y is the corresponding output
(or dependent) variable resulting from the “application” of f . Sometimes, the letter y is
omitted and the function is denoted simply as f (x).

Note: We are sometimes a bit lazy and write f : R ! R when we really mean f : X ! Y
for some (possibly proper) subsets X, Y 2 R. For example, we might write f : R !
R, f (x) = x12 , where 0 is not allowed as a value for x and f (x) can only be positive reals.
Mostly, this will not cause any problems, especially once we have embraced the idea of
natural domain a little later.
12 Module 1. Numbers, sets and functions

Definition 1.13 (Domain)


Given a function f : X ! Y , the input set X is called the Domain of f and indicated as
X = dom(f ).

Definition 1.14 (Range)


Given a function f : X ! Y , the output set Y is called the Range of the function f and
indicated as Y = ran(f ).

Note: Given a function y = f (x), x is the argument of f and y is the value of f at the
value x. The range is the set of y values for which y = f (x) for all x 2 X.

Figure 1.5. The function f maps every element from the input set (domain) X into exactly
one element from the output set (range) Y .

Definition 1.15 (Graph)


Given a function f : X ! Y , the graph of f is the set of pairs (x, f (x)) as x varies within
dom(f ). The graph is indicated as
graph(f ) = {(x, y) 2 R2 | x 2 dom(f ), y = f (x)}.

Note 1: The notation R2 indicates that both x and y = f (x) belong to R, i.e. R2 = R⇥ R.
Providing the graph of a function f is equivalent to drawing the collection of (x, f (x)) on
the Cartesian plane.
Note 2: The symbol ⇥ is here intended to denote what is known as a “Cartesian product”.
For example, given two sets A = {1, 2, 3} and B = {4, 5}, we have:
A ⇥ B = {(1, 4), (1, 5), (2, 4), (2, 5), (3, 4), (3, 5)}.
The set arising from the Cartesian product contains all the possible pairs that can be
obtained by pairing elements of A with elements of B.
For any given function f : X ! Y and for all elements x 2 X = dom(f ), graph(f ) should
have exactly one intersection point with a vertical line.
More formally:
1.4. Functions and their properties 13

Definition 1.16 (Vertical line test)


A set G of points in the Cartesian plane (i.e. a subset of R2 ), is a graph of a function f if
every vertical line intersects G at most once.

If the vertical line test fails, then G is not the graph of a function. If we draw the graph
of a relation f and the vertical line test fails, then f is not in fact a function. According
to its definition, a function is a relation for which any one element of dom(f ) is associated
with one and only one element of ran(f ). This definition still leaves the freedom that more
than one element of dom(f ) could be associated with the same element in ran(f ), as the
next definition explains.

Definition 1.17 (Bijective function and the horizontal line test)


Given a function f : X ! Y , f is said to be one-to-one or bijective if each element of
ran(f ) has one and only one element of dom(f ) mapped to it.

If f is bijective, graph(f ) has only one intersection point with a horizontal line y = b for
every b 2 ran(f ). This is called the horizontal line test.
Let us consider a few examples.
Example 1.4.1. Let the relation between x and y be given by
x2 + y 2 = 1,
with x 2 X = [ 1, 1] and y 2 Y = [ 1, 1]. Can the relation between elements of X and Y
be regarded as a function?

Solution. The graph that corresponds to x2 + y 2 = 1 is given by a circle with radius one
and with the centre at the origin. Clearly, the graph does not pass the vertical line test, as
each vertical line between x = 1 and x = 1, crosses the circle at two points. Therefore,
the relation f is not a function.

Figure 1.6. The unit circle x2 + y 2 = 1 (left) fails the vertical line test. An example of a
bijective function f is given on the right. Each horizontal line intersects only one point in
the graph of the function, for every value y in the range of f .

Example 1.4.2. Define f by


x2 x 2 [0, 1)
f (x) =
x x 2 [1, 2].
Is f a function? If so, determine the domain and the range of f .
14 Module 1. Numbers, sets and functions

Solution. The mapping f is a function (even though it has di↵erent rules for di↵erent
elements in its domain), because each value of x is mapped into exactly one value in the
range by the rule f . The domain of f is given by dom(f ) = [0, 2], the range of f is also
[0, 2]. This kind of function, where di↵erent rules apply to x in di↵erent intervals of the
domain, is generally called a stepwise (or piecewise) function.

Figure 1.7. The graph of the stepwise function discussed in the example above.

Example 1.4.3. Define two functions g1 , g2 as follows:


dom (g1 ) = [0, 2], g1 (x) = x2
and
dom (g2 ) = [ 1, 2], g2 (x) = x2 .
Are the functions g1 and g2 identical?

Solution. Although their graphs are both parts of a parabola and they are represented by
the same mathematical expression, g1 (x) and g2 (x) have di↵erent domains and are thus
considered distinct, i.e. g1 (x) 6= g2 (x) .
To avoid these types of situations, it is common to define a function with the implicit
understanding that the function is defined for all values for which the defining rule makes
sense. This idea is encapsulated in the definition of natural domain.

Definition 1.18 (Natural Domain)


Given a function f : X ! Y , the Natural Domain of f is the largest possible subset D ✓ R
for which the rule defining f can be implemented.
p
Example 1.4.4. Consider the function f : R ! R given by f (x) = 1 x2 . Determine
the natural domain D of f and ran(f ).
1.4. Functions and their properties 15

Solution. The definition of y = f (x) returns a real number (i.e. y 2 R) only if 1  x  1.


So the natural domain of this function is the closed interval D = [ 1, 1]. The range is given
by ran(f ) = [0, 1] ⇢ R.
Note: This is an example of the laziness we mentioned earlier. More correctly, we should
have defined f in the first place as f : [ 1, 1] ! [0, 1].
1
Example 1.4.5. Consider the function f : R ! R given by f (x) = . Determine the
x
natural domain D of f and ran(f ).

Solution. The natural domain of f is the entire real line except for the origin x = 0:
D = ( 1, 0) [ (0, +1). At x = 0 the function is not defined, because a division by zero
is impossible. Similarly, ran(f ) = ( 1, 0) [ (0, +1), because a fraction cannot be zero
unless its numerator is zero. Another equivalent way of indicating the domain is to use the
complement operator between sets, i.e. D = R \ {0}

1.4.2 Composition of functions

Functions can be combined to form new functions, in a mathematical operation called


composition.

Definition 1.19 (Composition of functions)


Consider two functions, f : X ! Y and g : V ! W , assuming that V ✓ Y , where
X, Y, W ✓ R. The composition of g with f is indicated by g f and is the function that
associates every x 2 X with the element g(f (x)) in W, (if this is defined).
g f : X ! W, g f = g(f (x)).

Figure 1.8. Sketch of a generic composition between two functions f and g. Note that the
natural domain of g does not necessarily coincide with the range of f , and could be smaller
or larger.

Given the mathematical expressions for two functions f (x) and g(x), it is easy to obtain
the expression for g(f (x)): it is sufficient to substitute the expression for f (x) as the
independent variable of g(x). Some extra care must be taken when considering the range
of f and the domain of g, as the following examples show.
1
Example 1.4.6. Suppose that f (x) = 2x + 1 and g(x) = . What is g(f (x))? Is it the
x
same as f (g(x))?
16 Module 1. Numbers, sets and functions

Solution. We have
1 1
g(f (x)) = = .
f (x) 2x + 1
In general, f (g(x)) 6= g(f (x)). In fact, for the same f (x) and g(x), we obtain
2
f (g(x)) = 2g(x) + 1 = + 1 6= g(f (x)).
x

Note: As anticipated, if f : X ! Y , g : V ! W , and Df is the natural domain of f ,


it is not always the case that the natural domain of the composition g f corresponds to
Df . There are many examples where the natural domain of the composition, i.e. Dg f , is
a proper subset of Df , i.e. Dg f ⇢ Df . The following simple example is indicative.
p
Example 1.4.7. Suppose that f (x) = 2x and g(x) = x 1. Determine g f , and the
natural domain Dg f of the composition. Is this the same as the natural domain Df of
f (x)?
p
Solution. g(f (x)) = 2x 1, hence Dg f = [1/2, 1). The natural domain of f is the entire
real line, so Dg f 6= Df .

1.4.3 The inverse function

Given a function f : X ! Y , it is sometimes possible to find a function called the “inverse”,


with specific, typical properties. These properties are general and don’t depend on f . Before
giving a definition of the inverse, it is necessary to determine which functions are invertible.
The following definition helps us.

Definition 1.20 (Invertible or injective function)

A relation f : X ! Y is said to be injective or invertible if f sends di↵erent elements to


di↵erent elements; in other words, if for every x1 6= x2 of X, f (x1 ) 6= f (x2 ).

The above definition implies that if f is injective, every element y of ran(f ) comes from a
di↵erent x in dom(f ).

Note: If the relation f is a function and is also injective then it is also automatically
bijective, due to the definition of the term ’function’.

Definition 1.21 (Inverse function)

If a function f : X ! Y is injective, then its inverse is the function that associates with
every y 2 ran(f ) the unique x 2 dom(f ) for which y = f (x). This function is indicated as
f 1 and has the following properties:
1 1
f f = f (f (x)) = x for every x 2 X,
1 1
f f = f (f (y)) = y for every y 2 Y.
1.4. Functions and their properties 17

Note: From the two definitions above there follows the important property that
1 1
dom(f ) = ran(f ) and ran(f ) = dom(f )

This is very useful for graphing inverse functions.

The most typical example of invertible functions are the so called “monotonic” functions,
i.e. those functions that are strictly increasing or decreasing. It is thus useful to give a
formal definition of an increasing (or decreasing) function.

Definition 1.22 (Monotonic function)

Given a function f : X ! Y , f is said to be increasing if, for every x1 , x2 2 X, if x1 < x2


then f (x1 )  f (x2 ). If, in this last expression, the strict inequality (i.e. <) is valid, then f
is said to be strictly increasing.

Conversely, f is said to be decreasing if, for every x1 , x2 2 X, if x1 < x2 then f (x1 )


f (x2 ). If, in this last expression, the strict inequality (i.e. >) holds, then f is said to be
strictly decreasing.

Note: For increasing functions, for every x1 6= x2 2 X we have

f (x1 ) f (x2 )
0,
x1 x2
with the strict inequality valid for strictly increasing functions. The above expression is
called the incremental ratio of a function and corresponds to the slope (or gradient) when
f (x) is a line. According to our intuition, a line with a positive slope is increasing. For
decreasing functions the above expression has the symbol replaced with a  symbol.

Example 1.4.8. Let f (x) = x3 . Df = R. Is it invertible? If so, what is its inverse?

1
Solution. f is strictly increasing and thus invertible. Its inverse is given by f 1 (x) = x3 .

Note: One of the properties of the inverse function is that graph(f ) is symmetrical to
graph(f 1 ) with respect to the line y = x. Plotting y = f 1 (x) is equivalent to plotting
x = f (y), which is the graph(f ) with the roles of x and y interchanged. As an example,
1
graphs of y = x3 and y = x 3 are shown in the figure below.
18 Module 1. Numbers, sets and functions

p
3
y= x
y = x3

1
Figure 1.9. Graphs of y = x3 (in blue) and y = x 3 (in red). They are symmetric with
respect to the line y = x (dashed, in black).

Some important functions are not invertible, unless they are “restricted” to specific domains
where they are instead everywhere increasing or decreasing. This procedure is defined
below.

Definition 1.23 (Restriction)

Given a function f : X ! Y and a subset A 2 X, the restriction of f to A is given by


considering the function f only in A, i.e.

fA : A ! Y, fA (x) = f (x) for every x 2 A.

The following example clarifies this concept, which will be used shortly.

Example 1.4.9. Is the function f (x) = x2 with its natural domain R invertible?

Solution. The parabola f (x) = x2 for x 2 X = R is not monotonic: it is decreasing for


x  0 and increasing for x 0. If considered on its natural domain dom(f ) = X = R,
the function does not have an inverse. For this function f (x) = f ( x) for every x in the
domain.
1.4. Functions and their properties 19

y = x2
y = x2

p
y= x

Figure 1.10. Graph of y = x2 (left). This function is not injective and needs to be restricted
for its inverse to exist. On the right, graphs of y = x2 (in red) restricted to x 0 and its
p
inverse y = x (in blue) are shown. They are symmetric with respect to the line y = x
(dashed, in black).

Consider instead f1 (x) = x2 , for x 2 X = [0, +1). Then f1 (x) is strictly increasing and
p
its inverse is f1 1 (x) = x. Analogously, restricting the domain by defining f2 (x) = x2 , for
p
x 2 X = ( 1, 0), implies that f2 1 (x) = x. With these choices, we also have that:

dom(f1 ) = ran(f1 1 ) = [0, +1) ran(f1 ) = dom(f1 1 ) = [0, +1)

and
dom(f2 ) = ran(f2 1 ) = ( 1, 0] ran(f2 ) = dom(f2 1 ) = [0, 1),
as expected.

Note: An expression for the inverse of a function is found by interchanging the dependent
(i.e. y) and independent (i.e. x) variables and solving the new expression for y.

Example 1.4.10. Find expressions for the two inverses of the function f (x) = x2 4x + 5,
restricted to the following sets:

A = {x 2 R | x 2} and B = {x 2 R | x  2}.

Solution. Interchanging x and y gives: x = y 2 4y + 5. We rewrite this as a quadratic


equation:
y 2 4y + 5 x = 0.
We can now apply the quadratic formula to this equation to solve for y. We have:

4± 42 4(5 x) p p
y1,2 = =2± 4 5+x=2± x 1,
2
where, in the second equality, we divided the numerator by 2 (taking 4 inside the square
root).
20 Module 1. Numbers, sets and functions

fA (x)

fA 1 (x)

Figure 1.11. Graph of fA (x) = x2 4x + 5 (in blue) restricted


p on A, i.e. for x 2. Its
inverse (in red) is fA 1 = y1 (x) = 2 + x 1.

fB (x)

fB 1 (x)

Figure 1.12. Graph of fB (x) = x2 4x + 5 (in blue) restricted


p on B, i.e. for x  2. Its
1
inverse (in red) is fB = y2 (x) = 2 x 1.

p p
Now we have to choose between the two solutions y1 = 2 + x 1 and y2 = 2 x 1.
Each corresponds to a di↵erent restriction of f (x). Since y1 2 and y2  2, it is clear that
they are inverses of the required restrictions fA (x) and fB (x) respectively, where
p
A = {x 2 R | x 2} and fA 1 = y1 (x) = 2 + x 1

and p
B = {x 2 R | x  2} and fB 1 = y2 (x) = 2 x 1,
as requested. Finally, note that

dom(fA ) = ran(fA 1 ) = [2, 1) ran(fA ) = dom(fA 1 ) = [1, 1)

and
dom(fB ) = ran(fB 1 ) = ( 1, 2] ran(fB ) = dom(fB 1 ) = [1, 1),
as expected.
1.5. Elementary functions and their graphs 21

1.5 Elementary functions and their graphs

The student should already be familiar with a number of elementary functions, e.g. ratio-
nal, algebraic, trascendental etc. We will revise these types of functions later on. In the
following, a number of simpler, important functions are introduced.

1.5.1 The Dirichlet function

This function is of great pedagogical value: it shows that we do not need a relation of the
type y = f (x) to define a function. It is also important from an historical perspective,
because Dirichlet (1805-1859) was one of the pioneers in the study of functions and his
contributions helped put calculus on firm foundations. The modern definition of a function
was introduced by him.

The Dirichlet function D : R ! {0, 1} is given by

0 x2Q
D(x) =
1 x 2 I.

It is impossible to faithfully represent D(x) in a plot, because it is made of an infinity of


“jumps” between 0 and 1.

1.5.2 The absolute value function

The absolute value or modulus is the function f : R ! [0, +1) defined by

x for x 0,
f (x) =
x for x < 0.

The absolute value of a number is indicated by |x|. Thus, e.g. | 3| p = ( 3) = 3. The


absolute value function is always positive or zero and satisfies |x| = x2 . The graph of
f (x) = |x| is shown below.

2
y = |x|

–2 –1 O 1 2 x

–1

Figure 1.13. Graph of y = |x|.


22 Module 1. Numbers, sets and functions

1.5.3 The sign and Heaviside (step) functions

The sign function f : R ! { 1, 0, 1} is defined by

1 for x > 0,
sign(x) = 0 for x = 0,
1 for x < 0.

The sign of a number is indicated by sign(x) (or, in some texts, sgn(x)). Thus, e.g.
sign( 3) = 1 and sign(2) = 1. The graph of f (x) = sign(x) is shown below. It fol-
lows immediately from the previous definition that |x| = x sign(x).

Figure 1.14. Graph of y = sign(x).

The Heaviside (step) function H : R ! {0, 1} is defined by

1 for x > 0,
H(x) =
0 for x  0.

Thus, e.g. H( 3) = 0 and H(1) = 1. The graph of H(x) is shown below.

Figure 1.15. Graph of y = H(x).

Oliver Heaviside (1850-1925) was a great mathematician and electrical engineer, who con-
tributed theoretical and practical ideas to the field of telecommunication engineering, in
1.5. Elementary functions and their graphs 23

particular. For example, he formulated vector analysis, which is extremely useful for de-
scribing electromagnetic signals, and invented the coaxial cable. He was completely self-
taught.

Both the sign and the Heaviside function are important in signal processing, data analysis
applications and signal transmission techniques.

1.5.4 The integer and fractional part

The integer part of a number x 2 R is the largest integer z 2 Z such that z  x. The
integer part of x is indicated as bxc. For example, b3c = 3, b2.5c = 2, b⇡c = 3. When x is
negative, some care needs to be taken because, from the definition, b 1c = 1, b 0.5c =
1, b 1.1c = 2 etc.

Figure 1.16. Graph of the integer part function y = bxc.

The decimal part of a number x is given by {x} = x bxc. Again, some care must be taken
when dealing with negative numbers, since {2.6} = 0.6, { 1.3} = 0.7, { 3.2} = 0.8. Plots
of the integer and fractional parts are given below.

Figure 1.17. Graph of the fractional part function y = {x}.


24 Module 1. Numbers, sets and functions

These two functions are commonly used in software engineering and IT applications. The
integer function is also known in computer science as the “floor” function.

1.5.5 Linear functions

The simplest functions of all are constants y = f (x) = a, i.e. those functions that have
the same value a for all x’s in R. Their graphs are straight lines parallel to the x-axis.
Slightly less simple are the linear functions of the form y = f (x) = mx + c. The graph
of such a relation is a straight line which has a constant gradient (or slope) of m. The
y-intercept is c, i.e. the line intersects the y-axis at the point (0, c), whereas the x-intercept
c
is at x = . Obviously, if m > 0 the linear function is increasing. Given two points on
m
the line P1 (x1 , y1 ), P2 (x2 , y2 ), the gradient is represented by the ratio of the “rise” over the
“run”, i.e.
Rise y 2 y1
m= = .
Run x2 x1
Note that this is a special case of the more general “incremental ratio” introduced before.

1.5.6 Power functions

Powers are the simplest functions after linear ones, with a general rule given by f (x) = xn ,
where n 2 R. Let us discuss their major features, which depend on the exponent n. Four
cases are relevant: (i) n 2 N, (ii) n is positive and n 2 Q, (iii) n is irrational and positive,
(iv) n 2 R and negative.

case (i): n 2 N

• f (x) is defined all over R, i.e. dom(f ) = R.

• f (x) is “even” when n is even, i.e. f ( x) = f (x). Even functions are not injective,
in general.

Figure 1.18. Examples of xn for even powers of integers n.


1.5. Elementary functions and their graphs 25

• f (x) is “odd” when n is odd, i.e. f ( x) = f (x). Functions consisting of a single,


odd power are injective, in general.

Figure 1.19. Examples of xn for odd powers of integers n.

For both even and odd exponents, plots have two similar characteristics: (a) when |x| < 1,
the graph “pushes” towards the x-axis as n increases; (b) when |x| > 1, the graph becomes
steeper as n increases.

Figure 1.20. Examples of x1/n for even values of integers n.

p
case (ii): n is positive and n 2 Q. In the case n = , with p, q mutually prime (i.e. we
q
cannot reduce the exponent further), the following is true

• f (x) is defined all over R if q is odd but only on [0, +1) if q is even. For example,
f (x) = x1/2 , x3/4 , x5/6 are defined only for non-negative values of x, whereas f (x) =
x1/3 , x2/3 , x3/5 are defined for every x 2 R. Some examples are shown in the figures
below.
26 Module 1. Numbers, sets and functions

Figure 1.21. Examples of x1/n for odd values of integers n.

• In terms of parity, (oddness or evenness) if q is odd, f (x) is even when p is even,


odd when p is odd. Examples: f (x) = x1/3 , x5/3 are defined all over R and are odd,
f (x) = x2/3 , x4/3 are defined all over R and are even. Note that if q is even, then the
concept of parity makes no sense as the domain of f does not extend to the negative
reals.

Figure 1.22. Examples of xp/q for an odd integer q and even and odd values of the integer
p.

case (iii): n is irrational


p
and positive. In this case, f (x) is defined only for x > 0. For
example, f (x) = x 2 and f (x) = x⇡ only “accept” positive values of x. One way of
proving this is by using the exponential form (see Module 8 and the following section on
p
2
p
“exponential functions”). For instance, x = exp( 2 ln x). This makes sense only for
values x > 0.

case (iv): the exponent n 2 R is negative. The same properties defined above are valid,
e.g. x n is even for n even, x p/q is defined for all x 2 R for q odd etc. The only important
1.5. Elementary functions and their graphs 27

point is that when the exponent is negative, the function is not defined at x = 0, and this
is true for every value of the exponent n.

Figure 1.23. Examples of x p/q for di↵erent p and q. Note that, when q is even, the function
is only defined for positive values x.

1.5.7 Polynomial functions

A polynomial function is a linear combination of integer power functions. Strictly speaking,


“polynomials” can be rigorously defined in a more general way than “polynomial functions”,
and in some texts they are considered to be di↵erent mathematical objects. For simplicity,
here we will use both definitions interchangeably.

Definition 1.24 (Polynomial function and its degree)


Given a function P : R ! R, the function is called a polynomial function or a polynomial
of degree n 2 N if

P (x) = an xn + an 1x
n 1
+ · · · + a2 x2 + a1 x + a0 ,

where ai 2 R are constants, for i = 0, 1, . . . , n. The constants ai can be zero, except for the
term corresponding to i = n (i.e. an 6= 0).

Note: The degree of P (x) corresponds to the highest term xn in the expression above.
This term, by definition, cannot have a zero coefficient an = 0.
Some examples are given by the following functions:
P1 (x) = 2x3 + 5x2 + 4x 7 is a cubic or third-degree polynomial.
P2 (x) = 7x4 + 5x3 6x2 8x 3 is a fourth-degree polynomial.
P3 (x) = x5 + 3x4 6x2 5x 7 is a fifth-degree polynomial.
In the Revision section, it is discussed how to “reduce” a polynomial to simpler, lower
degree expressions. Note that this procedure is very useful, especially when integrating
rational functions.
28 Module 1. Numbers, sets and functions

Graphs of polynomial functions depend on a number of factors and do not follow the same
simple regularity as for n = 2 (quadratics, parabolas) or n = 3 (cubics). Sketches of the
examples above are given in Figure 1.24 below.

Figure 1.24. Graphs of polynomial functions P1 (x) = 2x3 + 5x2 + 4x 7, P2 (x) =


7x4 + 5x3 6x2 8x 3 and P3 (x) = x5 + 3x4 6x2 5x 7

1.5.8 Rational functions

Rational functions, as the name suggests, are quotients (i.e. ratios) of two polynomial
functions.

Definition 1.25 (Rational function)

A rational function R : R ! R is the ratio of two polynomials, generally of di↵erent degrees,


P : R ! R and Q : R ! R. If P (x) is of order n and Q(x) is of order m, with generally
n 6= m, the general expression of a rational function is:

P (x) an xn + an 1 xn 1 + · · · + a2 x2 + a 1 x + a0
R(x) = = .
Q(x) bm x m + b m 1 x m 1 + · · · + b 2 x 2 + b1 x + b 0

Note 1: Note that, in general, coefficients an and bm are unrelated. The coefficients an
and bm are not necessarily all di↵erent.

Note 2: R(x) is undefined for all those x0 2 R that are solutions to Q(x) = 0, i.e. those
values x0 satisfying
m 1
bm x m
0 + bm 1 x0 + · · · + b2 x20 + b1 x0 + b0 = 0.

Example 1.5.1. Consider the following rational functions:


1
R1 (x) = ,
x
1.5. Elementary functions and their graphs 29

x2 5x + 7
R2 (x) = ,
x3 x2 +x 1

2x5 3x3 + 7x2 + 8


R3 (x) = .
x3 x2 + 2x 8

For which values of x 2 R are they undefined?

Solution. R1 (x) is not defined for x = 0, R2 (x) is not defined for x = 1 (which is the only
real solution for x3 x2 + x 1 = 0) and R3 (x) is not defined for x = 2 (which is the only
real solution for x3 x2 + 2x 8 = 0). Other solutions for the denominators in R2 (x) and
R3 (x) are not real.

Proper and improper rational functions

It is useful to divide rational functions into two broad categories: (i) proper and (ii) im-
proper. If the degree of P (x) (deg(P (x))) is less than that of Q(x) (i.e. deg(P (x)) <
deg(Q(x))), then R(x) is “proper”. If deg(P (x)) deg(Q(x)), then R(x) is “improper”.
In the previous examples, R1 (x), R2 (x) are proper, whereas R3 (x) is improper.

Improper rational functions can always be rewritten as the sum of two terms: a polynomial
S(x) and a proper rational function T (x)/Q(x). It should be intuitively clear that deg(S(x))
= n m and deg(T (x))  (m 1). For instance, it turns out that

2x5 3x3 + 7x2 + 8 14x2 + 26x 32


R3 (x) = = (2x2 + 2x 5) + .
x3 x2 + 2x 8 x3 x2 + 2x 8

So: m = deg(Q(x)) = 3, n = deg(P (x)) = 5. Following the division, S(x) = 2x2 + 6x + 3,


deg(S(x)) = n m = 5 3 = 2, and T (x) = 6x2 + 24x + 29, with deg(T (x)) = 2 = m 1.
In general, deg(T (x)) depends on the form of P (x) and Q(x).

To obtain S(x), T (x), the division rule between two polynomials has to be applied. A review
of the method is in the Revision section.

1.5.9 Algebraic functions

By analogy with polynomials, it is possible to define functions containing combinations


of non-integer powers. These functions are generally called “algebraic” functions. Their
domain of definition depends on their expressions. The reason is explained by the following
definition:

Definition 1.26 (Algebraic function)

A function f : X ! Y is said to be algebraic, if it satisfies the following equation:

Pn (x)y n + Pn+1 (x)y n 1


+ . . . + P2 (x)y 2 + P1 (x)y + P0 = 0,

for a certain n 2 N, where P0 (x), P1 (x), . . . , Pn (x) are polynomial. Such an equation is
named an “algebraic” equation.
30 Module 1. Numbers, sets and functions

Some examples are given by the following functions:

1
f (x) = p is an algebraic function, solution to the second order algebraic equation:
x+1

(1 x)y 2 2y + 1 = 0.

Note that dom(f (x)) = [0, 1).


p
g(x) = 3 + 3 1 x2 is an algebraic function, solution to the third order algebraic equation:

(y 3)3 = 1 x2

or
y3 9y 2 + 27y + x2 28 = 0.
Note that dom(g(x)) = R.

These types of functions will be relevant in two applications: the calculation of limits of
functions containing special radicals (or surds) and the definition of “implicit” functions.
Their graphs are not generally easy to plot by hand. The two examples above are shown
in the following figure.

1 p
Figure 1.25. Graphs of algebraic functions f (x) = p (in blue) and g(x) = 3+ 3 1 x2
x+1
(in red).

1.5.10 Exponentials and Logarithms

An exponential function is a function of the form f (x) = ax where a > 0 is a constant


(a 6= 1). Its inverse is the logarithm function with base a, indicated as g(x) = loga x. The
exponential and logarithm functions have the following properties:

• The exponential is always positive. It is increasing for a > 1, decreasing for 0 < a < 1.

• The definition of logarithm is important. If the exponential is a number y given by


y = ap , the logarithm to base a of y is p, i.e. loga y = p.
1.5. Elementary functions and their graphs 31

• Because for all y’s we have that y = ap > 0, the logarithm is defined only for positive
values of its argument. This means that, for a > 0, (a 6= 1), the domain and range of
the exponential and logarithm are the following:

f (x) = ax : dom(f (x)) = R ran(f (x)) = (0, 1)


g(x) = loga x : dom(g(x)) = (0, 1) ran(f (x)) = R

• if a > 1, then loga x 0 for x 1, loga x < 0 for 0 < x < 1. The logarithm is always
increasing for a > 1. For a base 0 < a < 1, the opposite statements are true.

• The most common bases are 10 and e, i.e. log10 x and ln x.

Plots of exponential and logarithm functions are shown below. Algebraic properties of
exponentials and logarithms, including the change of base, are described in the Revision
section.

Figure 1.26. Examples of graphs of exponential functions for di↵erent bases a, with a > 1
and 0 < a < 1. The same colour is used for reciprocal bases, i.e. 2x and (1/2)x are in blue,
ex and (1/e)x are in red etc.
32 Module 1. Numbers, sets and functions

Figure 1.27. Examples of graphs of logarithmic functions for di↵erent bases a, with a > 1
and 0 < a < 1. Again, the same colour is used for reciprocal bases, i.e. log2 x and log1/2 x
are in blue, ln x and log1/e x are in red etc.

1.5.11 Trigonometric or circular functions

Trigonometric or “circular” functions are examples of a more general class of functions,


namely the so-called “periodic” functions.

Definition 1.27 (Periodic function)

Given a function f : X ! Y , f is periodic with period T , if there exists a number T 2 R


such that, for every x 2 X we have f (x + T ) = f (x).

Trigonometric functions are defined as special properties of the unit circle. For a circle of
unit radius centred at the origin, (i.e. the curve x2 + y 2 = 1), the abscissa and the ordinate
of a generic point P on the circle are given by cos ✓ and sin ✓ respectively, where ✓ is the
sin ✓
angle taken between the radius OP and the x-axis. The tangent is defined as tan ✓ =
cos ✓
.
1.5. Elementary functions and their graphs 33

y
1
P(cos ✓, sin ✓)

sin ✓

1 O cos ✓ 1 x

Figure 1.28. In this plot, the angle is indicated by ✓ and the abscissa and ordinate of a
generic point P (x, y) are given by x = cos ✓ and y = sin ✓ respectively.

Two important points are the following:

• The convention is that a positive angle ✓ is measured in a counter-clockwise fashion.


If ✓ < 0, then the angle is measured in a clockwise fashion.

• The angle is measured in radians and its value is indicated using the symbol c . One
radian is indicated as 1c , the angle corresponding to the arc whose length is equal to
the radius of the circle. In the ordinary sexagesimal (base 60) system, a round angle
is 360 . One radian is thus the ratio between the round angle and the length of the
circumference. The case of a circle of unit radius r = 1, having a circumference equal
to 2⇡r = 2⇡ gives the universal result

1c = 360 /(2⇡) ⇡ 57.295779 = 57 170 45”,


⇡c
1 ⇡ 0.01745329c =
180

Two of the advantages in using radians are that: (1) the length of an arc of a circle making
an angle ✓ is simply s = r✓, and (2) the area of the sector of a circle of angle ✓ is A = 12 r2 ✓.
Unless explicitly stated, we will refer to angles from now on using radians and, unless
explicitly required, we will drop the symbol c .

There are notable angles that will be used frequently:


⇡ ⇡ ⇡
180 = ⇡, 90 = , 60 = , 45 = .
2 3 4

It is straightforward to generalise the previous considerations, valid for an angle 0  ✓ < 2⇡


in the unit circle, to any number x 2 R. If we consider generic trigonometric functions
sin x, cos x and tan x where the argument is a generic x 2 R, the most important properties
to consider are the following

• Sine, cosine and tangent are periodic. The period is T = 2⇡ for sine and cosine, T = ⇡
for the tangent.
34 Module 1. Numbers, sets and functions

• Sine and cosine are such that | sin x|  1, | cos x|  1. The tangent instead is such
that ran(tan x) = R.

• The sine and cosine functions are defined for all values x 2 R, whereas the tangent is

not defined for those x = + k⇡, with k 2 Z. Geometrically, in the unit circle this
2
corresponds to OP being parallel to the vertical line passing through the point with
coordinates (1, 0).

• Sine and tangent are odd functions, the cosine is an even function.

Figure 1.29. Plots of the trigonometric functions cos x, sin x and tan x.

• Other functions that are useful and can be defined in terms of sine and cosine are the
secant and cosecant functions, i.e.
1 1
sec x = cosec x = .
cos x sin x
Sometimes, the cosecant is abbreviated as csc x.
Note that these functions are not defined for those values where cos x and sin x go to

zero, i.e. x = + k⇡ and x = k⇡ (with k 2 Z), for sec and cosec respectively.
2
• By analogy with the tangent, a function called cotangent can be also introduced:
cos x
cot x = .
sin x
Given that the cotangent is not defined for those values x such that sin x = 0, values
x = k⇡ (with k 2 Z) are not part of the cotangent’s domain, a property shared with
the cosec function, for the same reason. cosec. The range of the cotangent is, similarly
to the tangent, given by ran(cot x) = R.

• The fundamental relation of trigonometry, reflecting Pythagoras’ result for sides of a


triangle, is the following:
cos2 x + sin2 x = 1.
From this relation, we can derive a similar relation for secant and tangent:

sec2 x tan2 x = 1.
1.6. Inverse trigonometric functions 35

A summary of the symmetry properties for trigonometric functions and a table with the
values of cos, sin and tan for the most common angles are presented in the Revision section.

Figure 1.30. Plots of the trigonometric functions sec x and cosec x (sometimes also abbre-
viated as csc x).

Important note: For any two angles x, y 2 R, there exist formulae to express the sine and
cosine of their sums and di↵erences (i.e. (x + y) and (x y)) in terms of the original sine
and cosine of x and y. The so-called addition and subtraction formulae are given below:

sin(x + y) = sin x cos y + sin y cos x


sin(x y) = sin x cos y sin y cos x
cos(x + y) = cos x cos y sin x sin y
cos(x y) = cos x cos y + sin x sin y.

From these, the so-called double-angle formulae for sin and cos are obtained by making
y = x in the expressions above.

sin(2x) = 2 sin x cos x,


cos(2x) = cos2 x sin2 x
= 2 cos2 x 1
=1 2 sin2 x.

These formulae are very useful and will be used in many examples.

1.6 Inverse trigonometric functions

By restricting the trigonometric functions sin x, cos x and tan x to appropriate domains, the
functions become strictly increasing (sin x, tan x) or strictly decreasing (cos x) and can be
inverted. The resulting inverse functions are very useful in a large number of applications
and, as such, are identified by the special symbols arcsin x, arccos x and arctan x. The
way to read these symbols is, for instance for arcsin x: “the arc whose sine is x”, or “the
angle whose sine is x”. Similar definitions apply to the arccos x and arctan x. Their most
important properties are described below.
36 Module 1. Numbers, sets and functions

The inverse sine: Given that f (x) = sin x is strictly increasing on A = [ ⇡/2, ⇡/2], the
restriction fA is invertible.

The inverse sine is thus denoted by


1 1
(fA ) : sin x, or by y = arcsin x

and has the following domain and range:

dom(arcsin x) = [ 1, 1] ran(arcsin x) = [ ⇡/2, ⇡/2].

Important note: Although arcsin x is read as: “the arc whose sine is x” what we really
mean is “the arc, in the interval [ ⇡/2, ⇡/2], whose sine is x”. It is implicit that the original
function sin x has been restricted to the appropriate domain [ ⇡/2, ⇡/2]. This is important
because, rigorously, there are infinitely many arcs whose sine is x if we do not restrict the
function sin x to the interval [ ⇡/2, ⇡/2].

Example 1.6.1. Find the following exact values:


p p
3 1 2
x1 = arcsin , x2 = arcsin , x3 = arcsin .
2 2 2

Solution. Results are given by:


⇡ ⇡ ⇡
x1 = , x2 = , x3 = .
3 6 4

The inverse cosine: Given that g(x) = cos x is strictly decreasing on B = [0, ⇡], the
restriction gB is invertible.

The inverse cosine is thus denoted by


1 1
(gB ) : cos x, or by y = arccos x

and has the following domain and range:

dom(arccos x) = [ 1, 1] ran(arccos x) = [0, ⇡]

Example 1.6.2. Find the following exact values:


p p
3 1 2
x1 = arccos , x2 = arccos , x3 = arccos .
2 2 2

Solution. Results are given by:


5⇡ ⇡ 3⇡
x1 = , x2 = , x3 = .
6 3 4

Note: Observe how the di↵erent domains of restriction A, B defined above for the functions
sin x and cos x provide results in di↵erent quadrants for their inverses arcsin x, arccos x at
the same x1 and x3 considered in the examples above (i.e. fourth quadrant for arcsin x,
second quadrant for arccos x).
1.6. Inverse trigonometric functions 37

The inverse tangent: Given that h(x) = tan x is strictly increasing for C = ( ⇡/2, ⇡/2),
the restriction hC is invertible.
The inverse tangent is thus denoted by
1 1
(hC ) : tan x, or by y = arctan x
and has the following domain and range:
dom(arctan x) = R ran(arctan x) = ( ⇡/2, ⇡/2)
Note: Clearly, since h(x) = tan x = sin x/ cos x is not defined at x = ±⇡/2 (i.e. cos(±⇡/2) =
0), the range for arctan x does not include these values and the domain of restriction for

tan x excludes ± .
2

Figure 1.31. Graphs of inverse trigonometric functions y = arcsin x, y = arccos x and


y = arctan x.

Arguments similar to those used for arcsin, arccos and arctan can be used to find the inverse
functions of cot, sec and cosec. For example, given that h(x) = cot x is strictly decreasing
for C = (0, ⇡), the restriction hC is invertible. The inverse cotangent can thus be denoted
by
(hC ) 1 : cot 1 x, or by y = arccot x
and has the following domain and range:
dom(arccot x) = R ran(arccot x) = (0, ⇡).

Example 1.6.3. Find the following exact values:


p
3 p
x1 = arctan , x2 = arctan 3 , x3 = arctan( 1).
3

Solution. Results are given by:


⇡ ⇡ ⇡
x1 = , x2 = , x3 = .
6 3 4
38 Module 1. Numbers, sets and functions

Parity of inverse trigonometric functions: The following parity properties are impor-
tant:

• arcsin x is odd: arcsin( x) = arcsin x

• arctan x is odd: arctan( x) = arctan x

• arccos x is neither odd nor even: arccos( x) = ⇡ arccos x

1.6.1 Composition of trigonometric functions with their inverses

When an inverse trigonometric function f 1 (x), such as arcsin x, arccos x or arctan x, is


composed with a generic direct trigonometric function g(x), i.e. sin x, cos x, tan x, it is
often possible to express f 1 (g(x)) as an algebraic or rational function.
1
Example 1.6.4. Express cos(sin (2x)) as an algebraic function of x.

Solution Let ✓ = sin 1 (2x). This implies that sin ✓ = 2x. In a right angle triangle with an
angle ✓ < ⇡/2, it is known that
opp
sin ✓ = ,
hyp
where “opp” and “hyp” indicate the opposite side and the hypotenuse, respectively. Sketch-
ing such a triangle for the present case, we see that:
opp 2x
sin ✓ = = .
hyp 1

This implies that the hypotenuse has unit length and the side opposite to ✓ is of length 2x.
Using Pythagoras’ theorem to find the adjacent side (“adj”),

adj = 1 (2x)2 = 1 4x2 .

Finally, we can use the property of cos ✓ in a right angle triangle:


adj
cos ✓ =
hyp
and arrive at the final result
p
1 adj 1 4x2
cos ✓ = cos(sin 2x) = = = 1 4x2 .
hyp 1
1.6. Inverse trigonometric functions 39

As anticipated, the result is an algebraic function.

An alternative solution can be found if we express cos x in terms of sin x using the funda-
mental identity of trigonometry, i.e.:

cos (arcsin (2x)) = ± 1 (sin (arcsin (2x))2 .

By using the properties of inverse functions we have, for every y 2 [ ⇡/2, ⇡/2], that
sin(arcsin y) = y. This also means that we have to reject the negative sign solution in
the equation above because arcsin(2x) belongs to the first or fourth quadrant, where cos is
positive. We can thus finally write

cos (arcsin (2x)) = 1 (sin (arcsin (2x)))2 = 1 (2x)2 = 1 4x2 .

Example 1.6.5. Express cos(2 tan 1 (3x)) as a rational function of x.

Solution Let ✓ = tan 1 (3x). This implies that tan ✓ = 3x. In a right angle triangle with
an angle ✓ < ⇡/2, we find:
opp 3x
tan ✓ = = .
adj 1

This implies that the adjacent side has unit length and the opposite side is 3x. Using
Pythagoras’ theorem, the hypotenuse has length

1 + (3x)2 = 1 + 9x2 .

The presence of a 2 inside the argument for cos has an important e↵ect on the final expres-
sion, because:
1
cos(2 tan (3x)) = cos(2✓) = cos2 ✓ sin2 ✓ = 1 2 sin2 ✓,

where we used the double angle formula for cos(2✓). Finally, given that
opp
sin ✓ = ,
hyp
we have:
2 2
1 opp 3x 1 9x2
cos(2 tan (3x)) = 1 2 =1 2 p = .
hyp 1 + 9x2 1 + 9x2
40 Module 1. Numbers, sets and functions

1.7 Hyperbolic functions and their inverses

Hyperbolic functions frequently occur in applications of engineering and science, in fields


as diverse as structural engineering, fluid mechanics, relativity and quantum theory.

Definition 1.28 (Hyperbolic functions)

Given any x 2 R, the three most important hyperbolic functions are defined as follows:
1
hyperbolic cosine : cosh x = (ex + e x ),
2
1 x
hyperbolic sine : sinh x = (e e x ),
2
sinh x ex e x
hyperbolic tangent : tanh x = = x x
.
cosh x e +e

Note 1: All three functions above are defined for every real number x, i.e. their domains
coincide with R. The first two are pronounced “cosh” and “shine”, whereas tanh x is
pronounced “than” or “tansh”. The tangent is also simply read as the “hyperbolic tan”.

1
Figure 1.32. Graphs for the parabola x2 + 1, the exponential ex and the three hyperbolic
2
functions cosh x, sinh x and tanh x. The parabola is proposed as a comparison with cosh x:
they are similar but inherently di↵erent.

Note 2: Historically, hyperbolic functions were introduced as some of the first “special
functions”, i.e. mathematical functions that are very useful in specific, special problems.
In this case, the hyperbolic cosine arises from a classic engineering problem of the XVII
century, namely the “catenary” problem (in Latin, “catena” means “chain”). What is the
shape assumed by a chain under its own weight when constrained at its ends? It turns
out that the U-shaped curve that describes that shape is a hyperbolic cosine. This is not
1.7. Hyperbolic functions and their inverses 41

as trivial as it may seem. For example, the great Galileo Galilei (1564-1642) was wrongly
convinced that the shape was a parabola.

The importance of catenaries in architecture and engineering is fundamental, because they


are curves that do not allow for bending moments to develop and, as such, are very efficient
as support structures. This is why they are often used in the construction of bridges and
arcs.

The graphs of the hyperbolic tangent, and those of hyperbolic cosine and sine along with
1 x 1
e are shown above. Note that, for every x 2 R, sinh x  ex  cosh x.
2 2
Note 3: For large positive x we have cosh x ⇡ 12 ex ⇡ sinh x. For large negative x instead
cosh x ⇡ 12 e x ⇡ sinh x (reflection in the x-axis for large negative values). From the
graphs and their definitions, it is straightforward to prove that:

cosh( x) = cosh x, sinh( x) = sinh x, tanh( x) = tanh x.

In other words, cosh x is even, whereas sinh x, tanh x are odd.

Note 4: In computer science and computational physics applications, tanh can also be
used to approximate a step function, for example the sign function previously discussed.

Identities for hyperbolic functions

Hyperbolic functions satisfy identities similar to the trigonometric (or circular) functions
sin x and cos x. In fact

• There is a fundamental relation (or identity) similar to that for the trigonometric
case:
cosh2 x sinh2 x = 1.

• Other relations akin to those of trigonometry can be established. For example, for
every x, y 2 R:

sinh(x + y) = sinh x cosh y + sinh y cosh x,


cosh(x + y) = cosh x cosh y + sinh x sinh y,
sinh(x y) = sinh x cosh y sinh y cosh x,
cosh(x y) = cosh x cosh y sinh x sinh y.

• Functions analogous to the trigonometric cotangent, secant and cosecant also exist
cosh x 1 1
coth x = , sech x = , cosech x = .
sinh x cosh x sinh x
These functions arise in integration problems and are pronounced “coth”, “shec” and
“coshec”. A relation similar to that between sec and tan exists between tanh and
sech:
sech2 x + tanh2 x = 1
42 Module 1. Numbers, sets and functions

• There is a rule, know as Osborn(e)’s Rule (the ’e’ seems to be optional), which can be
used to turn any identity relating trigonometric functions into a similar identity for
hyperbolic functions. The rule states that we can take the trig identity and simply
change each trig function to the analogous hyperbolic function and then make some
sign changes as follows: We count the number of sines in each term. For every product
of two sines (including squares of course), we change the sign of that term. Thus a
term with three sines changes sign but one with four sines picks up a double-sign
change, so stays the same. The rule applies also to sines hidden inside tans or as
reciprocals (cosecs).
• Analogously to the geometric relations between trigonometric functions and points
on the unit circle, there exists a correspondence between the hyperbolic functions and
points on the unit hyperbola. It is discussed in the second example below.

Example 1.7.1. Prove the fundamental identity of hyperbolic functions.

Solution
If we calculate the squares of hyperbolic functions
1 x 2 1 2x
cosh2 x = (e + e x
) = e +2+e 2x
2 4
1 x 2 1
sinh2 x = (e e x
) = (e2x 2 + e 2x
),
2 4
it is easy to subtract and prove that
1 1
cosh2 x sinh2 x = (e2x + 2 + e 2x
(e2x 2+e 2x
)) = (4) = 1.
4 4

Note that this results also follows from Osborn’s rule applied to cos2 x + sin2 x = 1.

Figure 1.33. The relation between hyperbolic functions x = cosh t and y = sinh t, and the
unit hyperbola x2 y 2 = 1.
1.7. Hyperbolic functions and their inverses 43

Example 1.7.2. Investigate the relation between the unit hyperbola and the functions
sinh x, cosh x and tanh x.

Solution If we draw the unit hyperbola, i.e. the curve corresponding to the equation
x2 y 2 = 1 and consider a generic point P (x, y) with x 1, we can introduce a parameter
t 2 R such that
x = cosh t, y = sinh t.
As illustrated in the figure above, varying t 2 ( 1, 1) corresponds to sliding the point P
along the branch of the hyperbola for x 1 (i.e. the right branch). The arrow shows the
direction of increasing t. Note how the fundamental identity results in the equation of the
unit hyperbola:
x2 y 2 = cosh2 t sinh2 t = 1.
Segments OQ and P Q respectively correspond to cosh a and sinh a, and it can be proven
(try!) that RV is tanh a.

1.7.1 Inverse hyperbolic functions

Hyperbolic functions, properly restricted, admit inverses that are useful in applications,
especially in integration.
The inverse hyperbolic cosine: Given that f (x) = cosh x is strictly increasing for
A = [0, 1), the restriction fA is invertible. This corresponds to the right “half” of the
hyperbolic cosine with respect to the y axis.
The inverse hyperbolic cosine is thus denoted by
1 1
(fA ) : cosh x, or by y = arccosh x

and, according to the properties of cosh x, must have the following domain and range:

dom(arccosh x) = [1, 1) ran(arccosh x) = [0, 1].

Important note: Contrary to the case of trigonometric functions, inverse hyperbolic


functions of x do not refer to “arcs (or angles) whose sine/cosine/tangent are” but rather
to “hyperbolic sectors (or angles) whose hyperbolic sine/cosine/tangent are” x. This is
a generalisation of the concept of ordinary angle, involving areas of sectors of the unit
hyperbola rather than arcs of the unit circle. It will not be considered in detail.
Inverse hyperbolic cosine in terms of logarithms: It is possible to obtain an explicit
expression for the inverse hyperbolic cosine that is valid for real numbers, i.e. for elements
x 2 R. This, as previously mentioned, is not possible for inverse trigonometric functions.
Supposing that y = arccosh x, we can write cosh y = x and, using the definition of cosh
obtain x = 12 (ey + e y ). Then, 2x = ey + e y , implying ey + e y = 2x. If both sides are
multiplied ey , we obtain
e2y 2xey + 1 = 0.
Through the substitution u = ey , the expression above becomes an ordinary quadratic
equation u2 2xu + 1 = 0, with solutions
p
2x ± 4x2 4
u1,2 = ,
2
44 Module 1. Numbers, sets and functions
p
which gives ey1,2 = x ± x2 1pwhen we recall that u = ey . Taking logarithms on both
sides, the result is y1,2 = ln(x ± x2 1).
Since we restricted ourselves to cosh y = x 1 (i.e. we chose the right
p “half” of cosh x
with respect to the y axis), the expression with a negative sign, (x x2 1) has to be
rejected.
In fact, for a value x 1, we always have the following result:

0<x x2 1  1,
implying that
ln(x x2 1) < 0, x 1.
This is in contradiction with our initial assumption y 0. In other words, choosing the
negative sign is wrong because

dom(cosh x) = [0, 1) 6= ran(ln(x x2 1)) = ( 1, 0],


and this violates one of the fundamental properties between direct and inverse functions,
i.e. dom(f ) = ran(f 1 ).
In conclusion, we have found that:

arccosh x = ln(x + x2 1) defined for x 1, i.e. dom(arccosh x) = [1, 1).

Inverse hyperbolic sine in terms of logarithms: Using a similar argument to that


above, it can be shown that

arcsinh x = ln(x + x2 + 1) with x 2 R, i.e. dom(arcsinh x) = R.


Note the di↵erence in the domain of arcsinh x compared to arccosh x. This is because the
hyperbolic sine is odd and always increasing for every x 2 R, with ran(sinh x) = R.

Figure 1.34. The graphs of the three inverse hyperbolic functions y = arccosh x, y =
arcsinh x and y = arctanh x.
1.7. Hyperbolic functions and their inverses 45

Inverse hyperbolic tangent in terms of logarithms: Again, with a procedure similar


to the one discusseed for arccosh x, it turns out that
1 1+x
arctanh x = ln defined for 1 < x < 1, i.e. dom(arctanh x) = ( 1, 1).
2 1 x
The domain is such that

dom(arctanh x) = ran(tanh x) = ( 1, 1)
1+x
Note that is positive for 1 < x < 1, and ran(arctanh x) = R.
1 x
Graphs of the three fundamental inverse hyperbolic functions show that the inverse sinh
and inverse tanh are odd, whereas the inverse cosh is neither even nor odd, similarly to the
case of inverse trigonometric functions.

Finally, note that inverse functions for coth x, sech x and cosech x can be introduced in
a similar way as for the cases discused above. These inverse functions are respectively
indicated as arccoth x, arcsech x and arccosech x.

You might also like