Ch1 Functions
Ch1 Functions
Functions
Contents
1.1 Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2.1 Absolute value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3.1 Shifting, scaling, reflecting the graph of a function . . . . . . . . . . . . . . . . . . . . 5
1.3.2 Polynomials and rational functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3.3 Trigonometric functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4 Analytic geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.1 Sets
Definition 1.1 (Sets).
(a) A set is a collection of objects called elements. Usually we denote sets by capital letters A, B, C, . . ., and
elements by lowercase letters a, b, c, . . .
(b) If an element x belongs to (or is a member of) the set S, we write x 2 S, and if it does not x 2
/ S.
(c) If each element in the set A is also a member of the set B, we say that A is a subset of B and write A ✓ B or
B ◆ A. If A ✓ B and A 6= B, we say that A is a proper subset of B and write A ( B or B ) A.
(d) The letter U denotes the universal set, which is the set of all elements under discussion; the symbol ? denotes
the empty set. For every set A we have
? ✓ A ✓ U.
(e) The union, intersection, difference of two sets A and B, and the complement of a set A are defined resp.
by
A [ B := {x : x 2 A or x 2 B}, A \ B := {x : x 2 A and x 2 B},
and
A\B=A B := {x : x 2 A and x 2
/ B}, AC := U \ A.
1
CHAPTER 1. FUNCTIONS 2
1.2 Numbers
In this course, we use the following notation.
4. Real numbers: R
Definition 1.2. Given real numbers a < b, we define the bounded intervals
[ |a| a |a| and |b| b |b| ] =) (|a| + |b|) a + b (|a| + |b|) =) |a + b| |a| + |b|.
CHAPTER 1. FUNCTIONS 3
Similarly,
(|a| |b|) = |b| |a| |b a| = |a b|.
Therefore,
||a| |b|| |a b|.
We leave the rest as exercises. ⇤
Since 8
< x + 15, if 6 x,
|x + 3| 2|x 6| = 3x 9, if 3 x < 6,
:
x 15, if x < 3,
we deduce that the set of solutions is [3, 6) [ (6, 15].
1
Example 1.4. Solve the inequality 2 < 2.
x
We observe
1 1 1 1
2 <2 , 2< 2 < 2 and x 6= 0 , 0< <4 , x2 ,1 .
x x x 4
1.3 Functions
Definition 1.4 (Functions). A function f from a set X to a set Y is a rule that assigns a single value y = f (x) in
Y to each x in X. In this case:
(a) x is called the independent variable and y the dependent variable.
(b) If y = f (x), then y is called the image of x under f , and x is called a preimage of y.
CHAPTER 1. FUNCTIONS 4
(c) The graph of the function f , written gr(f ), is the subset of the cartesian product X ⇥ Y = {(x, y) : x 2
X, y 2 Y } defined by
gr(f ) := {(x, f (x)) : x 2 X}.
(c) The function is often denoted by f : X ! Y or sometimes just by f when the sets X and Y are clear from the
context. The set X is called the domain of the function f and is denoted by Dom(f ) or Df , and the subset
is called the range of f and is sometimes denoted by Range(f ) or by Rf . If f (X) = Y , we say that the function
is onto or surjective.
(d) The function f is called one-to-one or injective if
f 1
(y) = x if and only if f (x) = y.
It is clear that f 1
: f (X) ! Y is one-to-one and onto.
(f) If f : X ! Y is one-to-one and onto, then f is called a bijection.
Definition 1.5. If f : X ! Y and g : Y ! Z, we define the composite function g f : X ! Z by
Remark 1.1. For almost all functions f in this course, we will have Df , Rf ✓ R, i.e. we will deal with real valued
functions of a real variable.
Example 1.5.
1. The absolute value function: | · | : R ! R : x 7! |x| has domain R and range [0, 1).
2. The greatest integer function: [[·]] : R ! R : x 7! [[x]] defined by setting
Definition 1.6 (combining functions). Let f and g be real valued functions with domains Df and Dg , and let
c 2 R. We define the functions cf , f + g, f · g, f /g by setting
(cf )(x) := c f (x), (f + g)(x) := f (x) + g(x), (f · g)(x) := f (x) · g(x), (f /g)(x) := f (x)/g(x),
and we recall that the composition is defined by (f g)(x) = f (g(x)). Note that
Dcf = Df , Df +g = Df \ Dg , Df ·g = Df \ Dg , Df /g = Df \ Dg {x 2 Dg : g(x) = 0},
and
Df g = {x 2 Dg : g(x) 2 Df }.
|x| p
Example 1.6. Let f (x) = and g(x) = x 1 x. Then
x
Df = R {0},
Dg = ( 1, 1], Df g = ( 1, 1] {0}, Dg f =R {0}.
r
x+2
Example 1.7. Considering the function f (x) = , we note that
1 x
x+2
x 2 Df , 0,[x+2 0&1 x>0 or x+20&1 x<0]
1 x
,[x 2&1>x or x 2&1<x]
Since what is written in boldface is impossible, we deduce Df = [ 2, 1).
Definition 1.7. The graph gr(f ) of a real valued function f of a real variable is said to be
1. symmetric about the y-axis provided ( x, y) 2 gr(f ) whenever (x, y) 2 gr(f ),
2. symmetric about the origin provided ( x, y) 2 gr(f ) whenever (x, y) 2 gr(f ).
p p
Remark 1.2. Note that the equation y 2 = x does not define y as a function of x since either y = x or y = x.
However, we can still plot this equation on the xy-plane, and the arising plot (still called a graph) is symmetric about
the x-axis.
Definition 1.8. A real valued function f of a real variable having the property that x 2 Df if and only if x 2 Df
is said to be
1. even provided f ( x) = f (x) for all x 2 Df ,
2. odd provided f ( x) = f (x) for all x 2 Df .
P (x) = an xn + an 1x
n 1
+ . . . + a1 x + a0
P (x) = an xn + an 1x
n 1
+ . . . + a1 x + a0
p
has integer coefficients a0 , . . . , an with a0 6= 0 and an 6= 0. If a rational number r = , where p, q are non-zero
q
integers with no common factors, is a root of p(x), then p divides a0 and q divides an .
Proof. We are given that
p p n p n 1 p
0 = P (r) = P = an + an 1 + . . . + a1 + a0 .
q q q q
0 = a n pn + a n 1 pn 1
q + . . . + a1 p q n 1
+ a0 q n .
Therefore p divides a0 q n , and q divides an pn . Since p and q have no common functors, this implies that p
divides a0 and q divides an . ⇤
P (x)
Definition 1.10. A rational function is a quotient R(x) = where P and Q are polynomials.
Q(x)
1
c
0.5
1 ✓r
s
✓d 0 sin ✓
cos ✓
0.5
1
2⇡ 3⇡ ⇡ ⇡ 0 ⇡ ⇡ 3⇡ 2⇡
2 2 2 2
5
2.5
0 0
tan ✓ sec ✓
cot ✓ csc ✓
2.5
5
2⇡ 3⇡ ⇡ ⇡ 0 ⇡ ⇡ 3⇡ 2⇡ 2⇡ 3⇡ ⇡ ⇡ 0 ⇡ ⇡ 3⇡ 2⇡
2 2 2 2 2 2 2 2
CHAPTER 1. FUNCTIONS 7
The elementary approach in defining trigonometric functions is based on the unit circle.
• Angles are always measures in the counterclockwise direction (assigning the value 0 to the x-axis).
• ✓d represents the measure of the angle in degrees.
• ✓r represents the measure of the angle in radians, that is, ✓r is the length of the arc from (1, 0) to (c, s).
• The relation between these measures is based on the fact that the circumference of the unit circle is 2⇡
which corresponds to 360 . Therefore
✓r ✓d
=
⇡ 180
• In this course, angles are always measured in radians (and we shall write ✓ for ✓r in what follows).
• We define the sine, cosine, tangent, cotangent, secant, cosecant functions by
sin ✓ cos ✓ 1 1
sin ✓ := s, cos ✓ := c, tan ✓ := , cot ✓ := , sec ✓ := , csc ✓ := .
cos ✓ sin ✓ cos ✓ sin ✓
Definition 1.11. A function f (x) is perioidic if the is a positive real number p such that f (x + p) = f (x) for every
x in the domain of f . The smallest such p is called the period of f .
• sin and cos have domain R and range [ 1, 1], and they are 2⇡-periodic.
⇡
• tan has domain R { + ⇡k : k 2 Z} and range R, and it is ⇡-periodic.
2
• cot has domain R {⇡k : k 2 Z} and range R, and it is ⇡-periodic.
⇡
• sec has domain R { + ⇡k : k 2 Z} and range R ( 1, 1), and it is 2⇡-periodic.
2
• csc has domain R {⇡k : k 2 Z} and range R ( 1, 1), and it is 2⇡-periodic.
Cofunction identities:
⇡ ⇡
sin( ✓) = cos ✓, cos( ✓) = sin ✓.
2 2
Pythagorean identities:
sin2 ✓ + cos2 ✓ = 1, 1 + tan2 ✓ = sec2 ✓, 1 + cot2 ✓ = csc2 ✓.