week2
week2
Functions
Sophie Marques
[email protected]
A big no-no
If you get frustrated, you’ll be tempted to look at the back of the book, find the answer, and then
figure out how to work backward from it to the facts. Resist that temptation! Never mind the
philosophical reasons; there’s a very practical one: you won’t be able to do that on tests. The way
to practice working problems forward is to work problems forward.
If you’ve really made a genuine effort and you’re just stuck, looking at the answer and working
backward is better than nothing. But don’t fool yourself: if you can’t work a problem forward you
haven’t mastered that part of the material. Once you’ve used the backward technique to figure
out a problem, look in your book for other problems of the same general type (not too similar),
and work them out forward, until you can do so correctly and with confidence.
Make it so. Now carry out your plan. Do the computation, solve the equation, whatever.
Write down all the steps you follow. As you go along, make sure each step follows from the
previous one. It’s tempting to kip steps, but that’s also a good way to make mistakes.
”A successful man is one who can lay a firm foundation with the bricks
others have thrown at him.” David Brinkley
Advises for during the test.
Example
Solve the inequality and express the solution in terms of
intervals:
|3x + 2| ≥ |5x − 8|
Quadratic Inequality
1 Quadratic Inequality and absolute value
Example
Solve the inequality and express the solution in terms of
intervals:
|3x + 5|
≤1
|1 − x|
Table of Contents
2 Functions
▶ Quadratic Inequality and absolute value
▶ Functions
▶ Domain of definition
▶ Range
▶ Composition
▶ Polynomial and Rational function
▶ Exponents
▶ Piecewise defined functions
▶ How big is a circle?
▶ Generalities about Angles
▶ Definition of trigonometric functions
▶ Special Angles
▶ Trigonometric functions
Outside of Mathematics
2 Functions
Notation
We denote
f :X→Y
where X is the source set and Y is the target set.
Back to Our Question: What is a Function?
2 Functions
The set of all elements in the source set for which the rule
applies without a problem and gives an output is called the
domain of definition of the function, which is the set of all
the inputs of the function.
The range of the function is the set of all outputs obtained
by applying the rule to all elements of the domain of definition
of the function. Mathematically,
Range(f ) = {f (x)|x ∈ Df }
Back to Our Question: What is a Function?
2 Functions
When we ask you to compute the range, we are asking for the
”list” of all real values that have a preimage. That is, all
elements y ∈ Y such that there exists an x ∈ X with f (x) = y.
Back to Our Question: What is a Function?
2 Functions
The concrete question you are asking yourself is: ”What are all
the real numbers that can be plugged into the rule of f (the
equation for f ) and will give me an answer (not an error
message in my calculator, for instance)?”
Functions
2 Functions
Formal Definition of a Function
2 Functions
Definition
A function f assigns to each element x in the source set X of f
at most one element. When it exists, it is called the image of x
and denoted f (x).
If y = f (x), then we say that x is a preimage of y.
We consider a function that maps each continent to its highest mountain. The set of inputs in mathematical notation is
The range is
{Kilimanjaro, Mount Elbrus, Mount Everest, Mount Aconcagua, Mount McKinley, Carstensz Pyramid, Vinson Massif}
Formal Definition of a Function
2 Functions
Definition
A function f assigns to each element x in the source set X of f
at most one element. When it exists, it is called the image of x
and denoted f (x).
If y = f (x), then we say that x is a preimage of y.
Definition of a Function
We say that two functions f : X → Y and g : X ′ → Y ′ are
equal if X = X ′ , Y = Y ′ , Df = Dg , and f (x) = g(x), for any
x ∈ Df .
Function
2 Functions
Examples
Given the function f : R → R that sends x to x2 − 2.
1. What is the image of 2 by f ?
2. What is the image of 0 by f ?
3. What is the preimage(s) of 2 by f ?
4. What is the preimage(s) of −2 by f ?
5. What is the preimage(s) of −3 by f ?
Function
2 Functions
Examples
Given f (x) = x2 − 2. Determine f (2) and f (x/2).
Function
2 Functions
Examples
Find the following values of the following functions:
√
1. h(t) = t2 + 4t + 4; h(2), h(0), h(−4);
3 if t < −5
2. f (t) = t√+ 1 if − 5 ≤ t ≤ 5
if t > 5
t
f (−6), f (−5), f (16).
Table of Contents
3 Domain of definition
▶ Quadratic Inequality and absolute value
▶ Functions
▶ Domain of definition
▶ Range
▶ Composition
▶ Polynomial and Rational function
▶ Exponents
▶ Piecewise defined functions
▶ How big is a circle?
▶ Generalities about Angles
▶ Definition of trigonometric functions
▶ Special Angles
▶ Trigonometric functions
Function
3 Domain of definition
Examples
Find the domain of definition of the following functions:
1. f (x) = x3 − 3x2 + 2x + 5;
√
2. f (x) = 2x + 6;
3. f (t) = t2t+1
−t−2 ;
4. f (t) = √t+2
9−t2
;
r
5. f (x) = x+3 .
x−2
Table of Contents
4 Range
▶ Quadratic Inequality and absolute value
▶ Functions
▶ Domain of definition
▶ Range
▶ Composition
▶ Polynomial and Rational function
▶ Exponents
▶ Piecewise defined functions
▶ How big is a circle?
▶ Generalities about Angles
▶ Definition of trigonometric functions
▶ Special Angles
▶ Trigonometric functions
Function
4 Range
Examples
Consider the real-valued function defined by the rule f (x) = x2 .
What is the range of the function?
Function
4 Range
Examples
Consider the real-valued function defined by the rule
f (x) = x2 − x + 1. What is the range of the function?
Function
4 Range
Examples
Consider the real-valued function defined by the rule
f (x) = 2+x
3+x . What is the range of the function?
Table of Contents
5 Composition
▶ Quadratic Inequality and absolute value
▶ Functions
▶ Domain of definition
▶ Range
▶ Composition
▶ Polynomial and Rational function
▶ Exponents
▶ Piecewise defined functions
▶ How big is a circle?
▶ Generalities about Angles
▶ Definition of trigonometric functions
▶ Special Angles
▶ Trigonometric functions
Composition
5 Composition
Composition
Let f : B → C and g : A → B. The function composite
f ◦ g : A → C (the composition of the functions f and g) is
defined as
f ◦ g(x) = f (g(x)).
Composition
5 Composition
f ◦ g ̸= g ◦ f
(f ◦ g ◦ h)(x) = f (g(h(x)))
Composition
5 Composition
Composition
5 Composition
Df ◦g = {x ∈ Dg | g(x) ∈ Df }
Composition
5 Composition
Composition
5 Composition
Composition
5 Composition
Function
5 Composition
Examples
Compute
1. f (x − 2) where f (x) = 2x2 − 3x + 1;
2. f (x − 1) where f (x) = (x + 1)5 − 3x2 ;
3. f (g(x)) where f (x) = x12 and g(x) = x − 1;
4. f (g(x)) where f (x) = x2 and g(x) = x−1 1
.
Function
5 Composition
Examples
√
Let f (x) = (x + 1)2 and g(x) = x. Compute f (g(x)) and
g(f (x)).
Function
5 Composition
Examples
Find some ”nice” functions h(x) and g(x) such that
f (x) = g(h(x)).
1. f (x) = (x5 − 3x2 + 12)3 ;
√
2. f (x) = x + 4 − (x+4)
1
3;
√
3. f (x) = x + 3 − (x+4)
1
3.
Table of Contents
6 Polynomial and Rational function
▶ Quadratic Inequality and absolute value
▶ Functions
▶ Domain of definition
▶ Range
▶ Composition
▶ Polynomial and Rational function
▶ Exponents
▶ Piecewise defined functions
▶ How big is a circle?
▶ Generalities about Angles
▶ Definition of trigonometric functions
▶ Special Angles
▶ Trigonometric functions
6 Polynomial and Rational function
Section 6.1
Polynomial
Polynomial
an xn + an−1 xn−1 + · · · + a2 x2 + a1 x + a0 ,
where a0 , . . . , an are constants and x is the indeterminate.
Polynomial
k=0
1. x is the indeterminate;
2. ai is a coefficient;
3. ai xi is a monomial and i is the degree of this monomial;
Polynomial
an xn + an−1 xn−1 + · · · + a2 x2 + a1 x + a0 ,
Definition
A polynomial with no indeterminates is called a constant
polynomial. The degree of a nonzero constant polynomial
is 0.
Polynomial
Example
The polynomial function p : R → R defined by p(x) = 2. Is a
constant polynomial function? What is its degree? What is the
graph of this function? What will be the graph of a constant
polynomial function?
Polynomial
Linear function
A linear function is a polynomial of degree one or less, including the zero
polynomial (the latter not being considered to have degree zero).
When the function is of only one variable, it is of the form
f (x) = mx + c,
where m and c are constants, often real numbers. The graph of such a
function of one variable is a non-vertical line.
m is frequently referred to as the slope of the line, and c as the
y-intercept.
Polynomial
Polynomial
Linear function
The slope of a straight line passing through (x1 , y1 ) and (x2 , y2 )
is given by m = ∆x
∆y
= xy22 −y
−x1 .
1
Linear function
Two lines y = m1 x + c1 and y = m2 x + c2 are
1. parallel if m1 = m2 ;
2. perpendicular if m1 m2 = −1.
Polynomial
Quadratic polynomial
A quadratic polynomial is a polynomial of degree two. When the function
is of only one variable, it is of the form
f (x) = ax2 + bx + c,
where a, b, and c are constants, often real numbers and a non-zero. The
graph of such a function of one variable is a parabola.
Quadratic Function
6 Polynomial and Rational function
Example
What can you say about the graph of the function
f (x) = x2 + 2x − 8?
Polynomial
Example
Factorize the following quadratic polynomials.
1. f (x) = x2 + x − 6.
2. f (x) = 3x2 − x − 14.
6 Polynomial and Rational function
Section 6.2
Rational function
Rational function
6 Polynomial and Rational function
Rational function
A rational function is a ratio of two polynomials f (x) = p(x)
q(x)
where p and q are polynomials. The domain of the definition of
f consists of the values x such that q(x) ̸= 0.
Rational function
6 Polynomial and Rational function
Examples
2
1. f (x) = 3xx+2−1
.
2. f (x) = x1 .
3. f (x) = x21+1 .
x3 +1
4. f (x) = x2 −x−1 .
5. f (x) = 4 .
x−1
Rational function
6 Polynomial and Rational function
Examples
1. x2 −1 + x−1 ;
−2 x
x3 −7x2 +10x
2. x−5 ;
x+3
x2 +6x+9
Rational function
6 Polynomial and Rational function
Examples
1. x2 −1 + x−1 ;
−2 x
x3 −7x2 +10x
2. x−5 .
x+3
x2 +6x+9
Rational function
6 Polynomial and Rational function
Examples
Write the following as a rational expression in lowest terms
−2 x
+
x2 − 1 x − 1
Rational function
6 Polynomial and Rational function
Examples
Solve the following equation using factorization
x 3 11x + 10
+ = 2
x + 1 2x + 3 2x + 5x + 3
Solving by factoring
6 Polynomial and Rational function
Example
Factorise the following expression
1. 6x(x + 1)4 − 4x3 (x + 1);
2. x−1/3 (x − 1) + 4x5/3 .
Table of Contents
7 Exponents
▶ Quadratic Inequality and absolute value
▶ Functions
▶ Domain of definition
▶ Range
▶ Composition
▶ Polynomial and Rational function
▶ Exponents
▶ Piecewise defined functions
▶ How big is a circle?
▶ Generalities about Angles
▶ Definition of trigonometric functions
▶ Special Angles
▶ Trigonometric functions
7 Exponents
Section 7.1
Power functions
Power function
A power function is a function of the form f (x) = xa where
• a = n, where n is a positive integer;
• a = 1/n, where n is a positive integer;
• a = −1 (reciprocal function).
Function
7 Exponents
Examples
1. f (x) = x15 ;
√
2. g(x) = 3 x = x1/3 ;
3. h(x) = x1 = x−1 ;
4. k(x) = xπ .
Function
7 Exponents
Examples
Classify the following functions as a polynomial, a power
function, or a rational function, or none.
1. f (x) = x5 ;
2. f (x) = x14 ;
3. h(x) = x24 ;
√
4. j(x) = x;
x+1 3
5. k(x) = 3−x2 .
Function
7 Exponents
Examples
Classify the following functions as a polynomial, a power
function, or a rational function, or none.
1. f (x) = x5 ;
2. f (x) = x14 ;
3. h(x) = x24 ;
√
4. j(x) = x;
x+1 3
5. k(x) = 3−x2 .
7 Exponents
Section 7.2
Power laws
Exponent laws
Let x, y ∈ R and m, n ∈ N.
1. xn · xm = xn+m ;
2. (xn )m = xnm ;
3. (xy)n = xn y n ;
n
xn
4. x
y
= yn
provided y ̸= 0;
5. x −n
= 1
xn
provided x ̸= 0;
xn
6. =x
xm
provided x ̸= 0;
n−m
7. x = 1 provided x ̸= 0;
0
√
8. x1/n = n x provided x ≥ 0;
√ √
9. xm/n = (x1/n )m = (xm )1/n = n xm = ( n x)m provided x ̸= 0;
Example
1. 23 = 8;
2. 15 = 1;
3. (−1)5 = − 1;
4. (−2)5 = − 32;
1 5
1
5. 2
= 32
;
5
6. − 21 = − 1
32
;
1
7. 2−3 = 8
8. 36−1/2 = √1 = 1 .
36 6
1
9. 27−4/3 = √
3 = 314 = 1
81
( 27)4
1 −3/2
√ 3
10. 4
= 4 = 23 = 32.
√
3
11. (27)4/3 = ( 27)4 = 34 = 81.
12. (25)1/2 = 5.
Example
Example
Simplify without using the calculator
√ √ 3
27( 3)
.
9
Example
Example
Simplify without using the calculator
√ √ 3
27( 3)
.
9
Solution: √ √ √ √ √ 3
27( 3)3 9 3( 3)
9 = √ 9 √ 4
3( 3)4 32
= 9 = ( 33) = 3 = 3.
Example
y 2/3 2y 2/3
Table of Contents
8 Piecewise defined functions
▶ Quadratic Inequality and absolute value
▶ Functions
▶ Domain of definition
▶ Range
▶ Composition
▶ Polynomial and Rational function
▶ Exponents
▶ Piecewise defined functions
▶ How big is a circle?
▶ Generalities about Angles
▶ Definition of trigonometric functions
▶ Special Angles
▶ Trigonometric functions
Piecewise defined function
8 Piecewise defined functions
R342.00/kl 20 < x ≤ 35
35 < x
R912.00/kl
Piecewise defined functions
8 Piecewise defined functions
Piecewise defined functions
8 Piecewise defined functions
Absolute value
The absolute value function (or modulus) denoted by
| · | : R → R+ is the function defined by
x, x ≥ 0
|x| =
−x, x < 0
Compute f (0), f (1/2), f (−1), f (2), f (−3). Draw the graph.
Piecewise defined functions
8 Piecewise defined functions
NB:
• the output from an absolute value is not negative.
• we can also think of the absolute value as a distance, |c − d|
is the distance from c to d in the horizontal line representing
R.
Piecewise defined functions
8 Piecewise defined functions
Exercise
Do the same work with the function denoted by f : R → R+ is
the function defined by
f (x) = |2x − 3|
Exercise
We define the piecewise function f : [0, +∞[→ R
if 0 ≤ x ≤ 1
x,
f (x) = 2 − x, if 1 < x ≤ 2
0, if x > 2
Exercise
We define the piece wise function f : R → R
1 − x, if x ≤ 1
f (x) =
x2 , if x > 1
Compute f (0), f (1/2), f (−1), f (2), f (−3). Draw the graph
Table of Contents
9 How big is a circle?
▶ Quadratic Inequality and absolute value
▶ Functions
▶ Domain of definition
▶ Range
▶ Composition
▶ Polynomial and Rational function
▶ Exponents
▶ Piecewise defined functions
▶ How big is a circle?
▶ Generalities about Angles
▶ Definition of trigonometric functions
▶ Special Angles
▶ Trigonometric functions
How big is a circle?
9 How big is a circle?
4. The number 360 is mentioned in the Rigveda, the oldest sacred text of Hinduism.
How big is a circle?
9 How big is a circle?
We have
How big is a circle?
9 How big is a circle?
rθ = a
Definition
For any angle θ, cos(θ) = x and sin(θ) = y where (x, y) is the
point to which (1, 0) is carried by a rotation of θ radians about
the origin.
Trigonometric Functions
11 Definition of trigonometric functions
Example
1. At θ = 0, we have cos(0) = 1 and sin(0) = 0.
2. At θ = 2π, we have cos(2π) = 1 and sin(2π) = 0.
3. At θ = π/2, we have cos(π/2) = 0 and sin(π/2) = −1.
4. At θ = π, we have cos(π) = −1 and sin(π) = 0.
5. At θ = 3π/2, we have cos(3π/2) = 0 and sin(3π/2) = −1.
Table of Contents
12 Special Angles
▶ Quadratic Inequality and absolute value
▶ Functions
▶ Domain of definition
▶ Range
▶ Composition
▶ Polynomial and Rational function
▶ Exponents
▶ Piecewise defined functions
▶ How big is a circle?
▶ Generalities about Angles
▶ Definition of trigonometric functions
▶ Special Angles
▶ Trigonometric functions
Special Angles
12 Special Angles
Example
Use the special triangles to determine the following:
1. cos(π/6);
2. cos(π/3);
3. cos(0);
4. tan(π/4);
5. sin(π/3);
6. sin(π/6);
7. sin(π/2);
8. tan(π/2).
Special Angles
12 Special Angles
Special angles
12 Special Angles
Special angles
12 Special Angles
Table of Contents
13 Trigonometric functions
▶ Quadratic Inequality and absolute value
▶ Functions
▶ Domain of definition
▶ Range
▶ Composition
▶ Polynomial and Rational function
▶ Exponents
▶ Piecewise defined functions
▶ How big is a circle?
▶ Generalities about Angles
▶ Definition of trigonometric functions
▶ Special Angles
▶ Trigonometric functions
Trigonometric functions
13 Trigonometric functions
h h x
csc(Φ) = sec(Φ) = cot(Φ) =
y x y
13 Trigonometric functions
Graph of cos.
Trigonometric functions
13 Trigonometric functions
Graph of sin.
Trigonometry functions
13 Trigonometric functions
Definition
For any x ∈ (−∞, +∞),
sin(x)
tan(x) =
cos(x)
13 Trigonometric functions
Graph of tan
Trigonometric functions
13 Trigonometric functions
h h x
csc(Φ) = sec(Φ) = cot(Φ) =
y x y
Trigonometric functions
13 Trigonometric functions
For all θ ∈ R,
cos(θ) ;
1. tan(θ) = sin(θ)
2. cot(θ) = sin(θ) ;
cos(θ)
3. sec(θ) = cos(θ) ;
1
4. csc(θ) = sin(θ) .
1