Topic 2. Functions
Topic 2. Functions
MATHEMATICS
Analysis and Approaches (SL and HL)
Lecture Notes
Christos Nikolaidis
TOPIC 2
FUNCTIONS
Only for HL
November 2024
TOPIC 2: FUNCTIONS Christos Nikolaidis
y2 B
y1
A
O x1 x2
Δy y2 y1
m=
Δx x 2 x1
dAB= ( Δx ) 2 ( Δy ) 2 = (x 2 - x 1 ) 2 (y 2 y1 ) 2
1
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
2
TOPIC 2: FUNCTIONS Christos Nikolaidis
y=mx+c
c
NOTICE:
A horizontal line has equation y=c (slope m=0)
A vertical line has equation x=c (there is no slope)
(in fact, a vertical line is not a function, that is why the
equation x=0 is not a particular case of y=mx+c)
EXAMPLE 2
Look at the graphs of two lines: L1: y=2x and L2: y=-2x
In fact, the slope shows the rise of the line per each unit
Line L1: slope is 2 (y increases 2 units per each x-unit)
Line L2: slope is -2 (y decreases 2 units per each x-unit)
In both cases c=0 (since the function passes through the origin)
3
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 3
Look at the graphs of two lines: L1: y=2x+3 and L2: y=-2x+3
EXAMPLE 4
Look at the graphs of two lines: L1: y=5 and L2: x=5
For example,
The lines y=3x+5 and y=3x+8 are parallel
1
The lines y=3x+5 and y= x+8 are perpendicular
3
4
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 5
From Ax+By=C into the usual form
The line 2x+3y=5 may be expressed as 3y=-2x+5 and finally
2 5
y x
3 3
From the usual form into Ax+By=C
a) The line y=-3x+7 may be expressed as
3x+y=7
1 2
b) The line y x may be expressed as
2 3
1 2
- xy
2 3
We usually require the coefficients A,B,C to be integers.
Multiplying by 6 we obtain
-3x+6y=4
c) The line y=5 may be expressed as 0x+y=5
d) The line x=5 may be expressed as x+0y=5
y-y0 = m(x-x0)
5
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 6
The line which passes through point P(1,2), with slope m=3 is
y-2 = 3(x-1)
The line which passes through the points P(x1,y1) and Q(x2,y2)
has slope
Δy y2 y1
m=
Δx x 2 x1
y-y1 = m(x-x1)
EXAMPLE 7
Find the line which passes through the points P(1,2) and Q(4,7).
Express your answer in the form ax+by=c where a,b,cZ (integers).
Solution
Δy 72 5
The slope is m=
Δx 4 1 3
The equation of the line is
5
y-2 = (x-1)
3
3y-6 = 5(x-1)
3y-6 = 5x-5
and finally
-5x+3y = 1
6
TOPIC 2: FUNCTIONS Christos Nikolaidis
x … -3 -2 -1 0 1 2 3 …
y=x2 … 9 4 1 0 1 4 9 …
7
TOPIC 2: FUNCTIONS Christos Nikolaidis
y=ax2+bx+c
y-intercept
roots
vertex
If a>0 the graph looks like If a<0 the graph looks like
-b Δ
3) x-intercepts (or roots): x1,2= , (only if Δ≥0)
2a
4) y-intercept: for x=0 we obtain y=c
-b
5) axis of symmetry: x= (it’s also the x-coordinate of the vertex)
2a
x1 x 2
If we know the two roots x1,x2 the vertex is at x=
2
8
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
Consider y=2x2-12x+10
9
TOPIC 2: FUNCTIONS Christos Nikolaidis
QUADRATIC INEQUALITIES
ax2+bx+c>0 or ax2+bx+c≥0
ax2+bx+c<0 or ax2+bx+c≤0
If we find the roots, the graph of the function gives a clear picture
of the solutions.
the roots are 1 and 5, the function is concave up, so it looks like
1 5
So it’s positive for x<1 or x>5. We can also write x]-,1[ ]5,+[
The inequality
2x2-12x+10 ≤ 0
10
TOPIC 2: FUNCTIONS Christos Nikolaidis
NOTICE:
the graph does not intersect the x-axis, that is the quadratic has
no real roots. Thus, Δ<0
EXAMPLE 2
Let f(x)=2x2-4x+k. Find the values of k in each case below:
a) f(x)=0 has exactly one root (or two equal roots)
b) f(x)=0 has exactly two roots
c) f(x)=0 has no real roots
d) f(x)=0 has real roots
e) f(x)>0 for any x R
f) f(x)≥0 for any x R
Solution
All cases depend on the discriminant Δ=16-8k
a) Δ=0.
Hence, 16-8k=0 8k=16 k=2
b) Δ>0.
Hence, 16-8k>0 16>8k k<2
c) Δ<0.
Hence, 16-8k<0 16<8k k>2
d) Δ≥0. [in this case we have either one or two roots]
Hence, 16-8k≥0 16≥8k k≤2
e) Since f(x) is always positive, it has no real roots. Thus, Δ<0.
Hence, 16-8k<0 16<8k k>2
f) Since f(x) is always positive or zero, it has either exactly one root
or no real roots at all. Thus, Δ≤0.
Hence, 16-8k≤0 8k≥16 k≥2
11
TOPIC 2: FUNCTIONS Christos Nikolaidis
NOTICE
EXAMPLE 3
We consider again
y=2x2-12x+10 (1)
y=2(x-1)(x-5) (2)
- b 12 r r2 1 5
The vertex is at x= = =3 (or otherwise at x= 1 = =3)
2a 4 2 2
For x=3, it is y=-8, hence the vertex is (3,-8)
y=2(x-3)2-8 (3)
We may easily verify that forms (2) and (3) give (1).
12
TOPIC 2: FUNCTIONS Christos Nikolaidis
Indeed,
y=2(x-1)(x-5) = 2(x2-x-5x+5) = 2(x2-6x+5) = 2x2-12x+10
and
y=2(x-3)2-8 = 2(x2-6x+9)-8 = 2x2-12x+18-8 = 2x2-12x+10
If a>0, then
a(x-h)2 ≥ 0 (equality holds when x=h)
a(x-h)2+k ≥ k
y ≥ k
Therefore, at x=h we obtain the minimum value y=k.
If a<0, then
a(x-h)2 ≤ 0 (equality holds when x=h)
a(x-h)2+k ≤ k
y ≤ k
Therefore, at x=h we obtain the maximum value y=k.
= 2(x-3)2-18+10
= 2(x-3)2-8
13
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 4
Let
y=-3x2-15x+42 (1)
By using the GDC,
we find the roots: -7 and 2. Thus the factorization is
y=-3(x+7)(x-2) (2)
y=-3(x+2.5)2+60.75 (3)
EXAMPLE 5
Consider f(x)=3x2+12x. Find both analytically and by GDC
a) the roots and the factorization.
b) the equation of the axis of symmetry
c) the minimum value of y and the coordinates of the vertex.
d) the vertex form of f(x).
Solution
a) Analytically:
The factorization is y = 3x2+12x = 3x(x+4)
So the roots are x=0, x=-4
By using GDC – Graph mode
The roots are x=0 and x=-4
So the factorization is y=3(x-0)(x+4), that is y=3x(x+4)
- b - 12
b) x= = =-2. That is x=-2.
2a 6
c) Analytically:
For x=-2, it is y=3(-2)2+12(-2)=-12. Thus ymin =-12
Thus the vertex is V(-2,-12)
By using GDC - mode: ymin =-12 and V(-2,-12).
d) f(x) = 3(x+2)2-12
14
TOPIC 2: FUNCTIONS Christos Nikolaidis
VIETA FORMULAS
y=ax2+bx+c
b
S =
a
c
P =
a
Conversely, if we know the sum and the product of the roots, we
can find a corresponding quadratic.
y = x2-Sx+P
EXAMPLE 6
15
TOPIC 2: FUNCTIONS Christos Nikolaidis
DEFINITION
Let us formally introduce the notion of the function:
f: X → Y
We write: We say:
f(x)=y f maps x to y
f: x ֏ y y is the image of x
EXAMPLE 1
Let X={1,2,3} and Y={a,b,c,d}. The following is a function f: X → Y
X Y
a
1
f: b
2
c
3
d
16
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 2
X Y
a
1
f: b
2
c
3
d
X Y
a
1
f: b
2
c
3
d
X Y
a
1
f: b
2
c
3
d
17
TOPIC 2: FUNCTIONS Christos Nikolaidis
For a function f: X → Y,
The set of all y’s involved (only the images) is called RANGE
X Y
a
1
f: b
2
c
3
d
Here, the sets X and Y are subsets of R, the set of real numbers.
f: x ֏ 2x
or f(x)=2x
or y=2x
Thus the formula of the function gives any possible result, e.g.
f(15)=30, f(2.4) = 4.8 etc
18
TOPIC 2: FUNCTIONS Christos Nikolaidis
GRAPH
We know that the pairs (x,y) that satisfy the equation of the
function y=f(x) can be represented as points (x,y) on the Cartesian
plane and form the graph of the function.
The graph clearly shows the DOMAIN and the RANGE of the
function. For example,
x
0 1 2 3 4 5 6 7 8 9
That implies
19
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 3
f(x)=2x, or otherwise y=2x is represented by the graph
x 0 1 2 3
2 y 0 2 4 6
x
0 1 2
4
x -2 -1 0 1 2
y 4 1 0 1 4
x
-2 -1 1 2
20
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 4
x 2 , 2 x 0
Consider the function f(x)
x , 1 x 5
The graph is given below
5
4
3
2
1
x
-2 -1 1 2 3 4 5
NOTICE:
The graph also shows if we have a function or not
x
1 2 3 4 5
21
TOPIC 2: FUNCTIONS Christos Nikolaidis
Df is R
or Df is the largest possible subset of R
For example,
Df = R
Α
2. f(x) = , then B cannot be 0, thus
Β
3. f(x) = Α , then A 0.
1
The functions f(x)=logx and f(x)=lnx are not known yet. They will be introduced
later on within this topic.
22
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 5
5
b) f(x) = . Restriction: 3x-9 0
3x - 9
Solve: 3x-9 0 3x 9 x 3
Thus, Df : xR-{1,2}
Solve: x-1 0 x 1
2-x 0 x 2
1 x2
g) f(x) = Restrictions: 1-x2 0 and x 0
x
Solve: 1-x2 0 x2 1 -1 x 1
23
TOPIC 2: FUNCTIONS Christos Nikolaidis
y
y-intercept
max
max
x
min
x-intercepts
Roots
For y=f(x)
y-intercept: We set x=0 and find y
x-intercepts (roots): We solve the equation f(x)=0
local max-min: (as shown above)
When we have two graphs y=f(x) and y=g(x), it also useful to know
the intersection points of the two graphs
y
f(x)
g(x)
Intersection points
24
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 6
25
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 7
Consider again the functions of Example 6
f(x)=(x-3)2-4 and g(x)=x-5.
26
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 8
Solve the equation 2x = 2x+3.
(a) by using the function SolveN of your GDC
(b) by considering the graphs of
y1=2x
y2=2x+3.
Solution
According to either diagram 1, or diagram 2
27
TOPIC 2: FUNCTIONS Christos Nikolaidis
X Y X Y
a a
1 1
b b
f 2 f 2
c c
3 3
d d
EXAMPLE 9
Look at the functions of Example 3.
the function f(x)=2x is one-to-one, since
f(x1)=f(x2) 2x1=2x2 x1=x2
OR, since any horizontal line intersects the graph at most once.
28
TOPIC 2: FUNCTIONS Christos Nikolaidis
X Y X Y
a a
1 1
b b
f 2 f 2
c
3 3
d
We say that
f maps X onto Y or simply f is onto
EXAMPLE 10
the function f:R → R, given by f(x)=2x is onto, since the range
of this function is R.
the function f:R → R, given by f(x)=x2 is not onto, since the
range of this function is [0,+∞), which is a proper subset of R.
However, if the function is given as f:R → [0,+∞), it is onto.
X Y
a
1
b
f 2
3 c
29
TOPIC 2: FUNCTIONS Christos Nikolaidis
DISCUSSION
Notice that
f(5) = 52
f(a) = a2
f(3a+5) = (3a+5)2
f(3x+5) = (3x+5)2
DEFINITION
(fog)(x)=f(g(x))
(f0g)(x) = f(g(x))
= f(3x+5)
= (3x+5)2
30
TOPIC 2: FUNCTIONS Christos Nikolaidis
= g(x2)
= 3x2+5
That is
(fog)(x)= (3x+5)2 while (g0f)(x)= 3x2+5
NOTICE:
In general
fog ≠ g0f
(f0g0h)(x)= (3 x 5) 2
f0(g0h)=(f0g)0h
31
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
Solution
(fog)(1)=7
(g0f)(1) = 2
(fof)(x) = f(f(x))
32
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 2
x 1
Let f(x)= and g(x)= x
2
Find (a) (fog)(x) (b) (gof)(x)
Solution
x 1 x 1
(a) (fog)(x) = (b) (gof)(x) =
2 2
x 1 x 3
1
x 3
(c) (fof)(x) = 2 = 2 =
2 2 4
(d) (gog)(x) = x= 4
x
x 3 x 7
1
x 7
(e) (fofof)(x) = [fo(fof)](x) = 4 = 4 =
2 2 8
x 1 x 7
3
x 7
Or = [(fof)of](x) = 2 = 2 =
4 4 8
i(x)=x or i: x ֏ x
Notice that
That is
foi = f and iof = f
33
TOPIC 2: FUNCTIONS Christos Nikolaidis
Then
f g
A B C
x f(x) g(f(x)
gof
Notice also that gof can be defined only if the Range of f is inside
the Domain of g.
34
TOPIC 2: FUNCTIONS Christos Nikolaidis
DISCUSSION
0 ֏ 10
1 ֏ 11
2 ֏ 12 etc.
10 ֏ 0
11 ֏ 1
12 ֏ 2 etc.
Obviously
f-1(x)=x-10
FORMAL DEFINITION
Let f:R→R
f(x)=y f-1(y)=x.
Steps Example
f is given f(x) = x+10
35
TOPIC 2: FUNCTIONS Christos Nikolaidis
NOTICE:
1. The inverse function of f-1 is f itself. That is
(f-1)-1 = f
Df -1 = Rf Rf -1 = Df
3. It holds
(f-1of)(x) = x = (fof-1)(x)
(fof-1)(x)=f(f-1(x))=f(x-10)=(x-10)+10=x
(f-1of)(x)= f-1(f(x))=f(x+10)=(x+10)-10=x
EXAMPLE 1
3x+5 = 11 3x = 6 x=2.
Thus, f-1(11) =2
36
TOPIC 2: FUNCTIONS Christos Nikolaidis
Remark:
Verify that
x 5
the inverse function of f-1(x)= is f(x)= 3x+5.
3
x 5
Set = y
3
x 5
= y x-5 = 3y x = 3y+5
3
The inverse function is y = 3x+5
EXAMPLE 2
Solution
f-1(49) = 25 = 5
or again
So f-1(49) = 5
37
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 3
x 1
Let f(x)=
x2
2x + 1
(a) Show that f-1(x)=
x 1
(c) Find the domain and the range of the functions f and f-1
Solution
x 1
(a) = y y(x-2) = x+1
x2
yx-2y = x+1
yx–x = 2y+1
x(y-1)=2y+1
2y + 1
x=
y1
2x + 1
Hence, f-1(x)=
x 1
2x + 1 2x + 1 x- 1 3x
1
3x
(b) (fof-1)(x) = x- 1 = x- 1 = x- 1 = = x
2x + 1 2x + 1- 2x + 2 3 3
2
x- 1 x- 1 x- 1
(c) The domain of f corresponds to the range of f-1 and vice versa:
Df Rf
x ≠ 1 y ≠ 2
Df -1 Rf -1
x ≠ 2 y ≠ 1
38
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 4
1
Let f(x)=1-2x and g(x)= . Find
x
Solution
1 1 2
(a) (f0g)(x) = f(g(x)) = f( ) = 1-2 = 1-
x x x
1
(b) (g0f)(x) = g(f(x)) = g(1-2x) =
1- 2x
2
Then, (f0g-1)(x) = 1-
x
2
(e) We are looking for the inverse function of (f0g)(x) = 1-
x
2 2 2 2
1- =y 1-y = x = . Thus , (f0g)-1(x) =
x x 1- y 1- x
1
1-
(f) (f-10g-1)(x) = x = x- 1
2 2x
NOTICE:
Notice that (f0g)-1 ≠ f-10g-1 . In fact it holds
(f0g)-1 = g-10f-1
39
TOPIC 2: FUNCTIONS Christos Nikolaidis
GRAPH OF f-1
f-1
EXAMPLE 5
40
TOPIC 2: FUNCTIONS Christos Nikolaidis
NOTICE:
We say that the function f is self-inverse if f-1=f.
Then it also holds
(f0f)(x)=x
i.e. f0f is the identity function I.
The graph of a self-inverse function is symmetric about y=x.
1 1
The simplest example is f(x)= , since f-1 (x)= .
x x
2x - 6
Another example is f(x)= (please confirm!)
x- 2
X Y
a
1
f: b
2
c
3
The inverse function f-1 doesn’t exist, since f-1(b) is not uniquely
determined (is it 2 or 3?). Hence, for f-1 to exist, different values of
x should map to different values of y:
X Y X Y
f f-1
x1 y1 x1 y1
x2 y2 x2 y2
41
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 6
(a) The function f(x)=3x+1 is “1-1” since it is a straight line and
satisfies the horizontal line test.
More mathematically:
Indeed, f does not satisfies the horizontal line test, as two different
values may map to the same image, for example f(-2)=4=f(2).
42
TOPIC 2: FUNCTIONS Christos Nikolaidis
However,
if we consider
f(x)=x2, x≥0
then f is “1-1” (horizontal line test) and f-1 exists.
f-1(x)= x (look at example 5)
43
TOPIC 2: FUNCTIONS Christos Nikolaidis
DISCUSSION
f(x)
In fact, we add 2 units to any value of y=f(x), thus the whole graph
of f(x) moves 2 units up.
g(x)
+2
f(x)
44
TOPIC 2: FUNCTIONS Christos Nikolaidis
VERTICAL TRANSFORMATIONS
vertical translation
f(x)-a a g(x)=x2-2 2
a units down
vertical stretch
bf(x) x b g(x)=2x2 x2
HORIZONTAL TRANSFORMATIONS
45
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
VERTICAL TRANSFORMATIONS
f(x)=x2 f(x)=x2+2 f(x)=x2-2
[original function] [2 units up] [2 units down]
y 6
4 y
2 2
x x x
0 2 2 2
-2
y y y
0 2
2
-4
x x
0 2 0 2
46
TOPIC 2: FUNCTIONS Christos Nikolaidis
HORIZONTAL TRANSFORMATIONS
f(x)=x2 f(x)=(2x)2
[original function] [horizontal stretch, s.f. ½
That is shrink (÷2)]
y y
4 4
x x
0 2 0 1
f(x)=(x+2)2 f(x)=(x/2)2
[2 units to the left] [horizontal stretch, s.f. 2]
y y
4 4
x x
-2 0 0 4
f(x)=(x-2)2 f(x)=(-x)2
[2 units to the right] [reflection in y-axis ]
y y
4 4
x x
2 4 -2 0
47
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 2
VERTICAL TRANSFORMATIONS
HORIZONTAL TRANSFORMATIONS
48
TOPIC 2: FUNCTIONS Christos Nikolaidis
NOTICE:
The horizontal translation by a units (to the right or to the left)
a
is also denoted by the translation vector
0
A vertical translation by b units (up or down)
0
is also denoted by the translation vector
b
a
The combination of those two translations is denoted by
b
NOTICE:
Remember the vertex form of a quadratic function
y=a(x-h)2+k
x2 original function
ax2 vertical stretch by scale factor a
a(x-h)2 horizontal translation by h units
a(x-h)2+k vertical translation by k units
49
TOPIC 2: FUNCTIONS Christos Nikolaidis
h
The two translations by imply that the initial vertex (0,0) of
k
the function x2 moves
vertex
k
We have already seen that f-1(x) causes a reflection in the line y=x.
f(x)=x2 f-1(x)= x
[initial function] [reflection about the line y=x]
y y
x x
0 2 0 4
50
TOPIC 2: FUNCTIONS Christos Nikolaidis
Suppose that we are looking for the image of point A(8,8) under a
sequence of transformations. Pay attention to the order!
For two consecutive transformations, we distinguish three cases.
51
TOPIC 2: FUNCTIONS Christos Nikolaidis
2.7 ASYMPTOTES
1
Look at the graph of the function f(x)=
x
x
- 0 +
1
Similarly, for g(x)= 2 (f moved 1 unit right and 2 units up).
x- 1
1
x
52
TOPIC 2: FUNCTIONS Christos Nikolaidis
In general,
2
x
- -4 0 1 +
53
TOPIC 2: FUNCTIONS Christos Nikolaidis
Αx Β
RATIONAL FUNCTIONS OF THE FORM f(x)= ,
Cx D
These functions possess one vertical and one horizontal asymptote.
For example, the function
4x 1
f(x)=
2x - 6
looks like
The line
Α
y= is a horizontal asymptote
C
(we consider only the leading coefficients!)
For our example,
4
y= = 2,
2
Hence
54
TOPIC 2: FUNCTIONS Christos Nikolaidis
Notice
The domain is x≠3 while the vertical asymptote is x=3.
4x 1 2(2x 6) 13 2(2x 6) 13 13
f(x)= = = + = 2+
2x - 6 2x - 6 2x - 6 2x - 6 2x - 6
13
As x tends to + or - the fraction approaches 0.
2x - 6
EXAMPLE 1
55
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 2
3x 2
Let f(x)=
x- 4
4x 2
We can easily find that the inverse function is f -1 (x) =
x- 3
Notice what happens with the asymptotes:
SELF-INVERSE FUNCTIONS
1 1 1
Indeed, y x hence, f 1 (x)
x y x
The asymptotes for those two functions are x=2 and y=2.
56
TOPIC 2: FUNCTIONS Christos Nikolaidis
THE EXPONENTIAL 2x
1) If x=nN, then
20 = 1
2n = 2.2.2…2 (n times)
1
2-n =
2n
m
2n= n
2m
57
TOPIC 2: FUNCTIONS Christos Nikolaidis
4) If x=irrational, then
2 x = given by a calculator!
a0 =1
an =a.a.a…a (n times)
1
a-n =
an
m
a n = n am
a x = given by a calculator!
NOTICE
If a<0, ax is defined only for x=nZ
Ox=0 only if x≠0
00 is not defined
PROPERTIES
All known properties of powers are still valid for exponents xR
58
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
1 1
5-2 = 2
=
5 25
2
1 1
= - 2 = 52 =25
5 5
2 2
3 5 25
= =
5 3 9
2 2 2 (2 )
8 3
= 3
82 = 3 64 = 4 or 8 3
= (2 3 ) 3
= 23 3
= 22 = 4
4 4 4
3 4 1 1 1 1 1
27-4/3 = 27 = 3 = 3 = 3 = =
27 4 27 27 3 81
Consider f: R R
f(x)=2x
x … -3 -2 -1 0 1 2 3 …
Domain: xR
Range: y>0
59
TOPIC 2: FUNCTIONS Christos Nikolaidis
Consider now g: R R
x
1 1
g(x)=0.5x [that is g(x)= = x ]
2 2
Let us estimate some values
x … -3 -2 -1 0 1 2 3 …
Domain: xR
Range: y>0
NOTICE
3) if a>1, then f(x)=ax increases (the graph looks like that of 2x)
if a<1, then f(x)=ax decreases (the graph looks like that of 0.5x)
if a=1, then f(x)=1x=1 is constant
ax=ay x=y
60
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 2
Solution
x=3/2
x = 5
3x=8 x = 8/3
1
(d) We apply the property =2-n. Thus
2n
1
3x-1
= 4x+2 2-3x+1 = 22x+4 -3x+1 = 2x+4
2
5x = -3 x=-3/5
1
(e) We apply the property 2 2 2
. Thus
3x-1
3x - 1
2 3x-1 = 4x+2 2 2
= 22x+4 = 2x+4
2
61
TOPIC 2: FUNCTIONS Christos Nikolaidis
THE NUMBER e
e=2.7182818…
THE EXPONENTIAL ex
f(x) = ex f(x)=e-x
1
1
62
TOPIC 2: FUNCTIONS Christos Nikolaidis
f(x)=ax f(x)=ax+c
EXAMPLE 3
Function Horizontal Asymptote y-intercept
63
TOPIC 2: FUNCTIONS Christos Nikolaidis
DISCUSSION
x2 = a 2x = a
3
7 log37
log2x = b 2b =x
For example,
etc.
64
TOPIC 2: FUNCTIONS Christos Nikolaidis
For example, for the value of log28, we think in the following way:
Hence log28=3
2 2.80735……=7
EXAMPLE 1
U
log264=6
log225=5
log221453=1453
logax = b ab =x
65
TOPIC 2: FUNCTIONS Christos Nikolaidis
NOTICE
U
Once upon a time log10x has been the most popular logarithm!!!
For example,
log100 = 2, since 102=100
log1000 = 3, since 103=1000
log10000 = 4, since 104=10000
EXAMPLE 2
log1000000 = 6,
log101453=1453
e=2.7182818…
lnx=b eb=x
66
TOPIC 2: FUNCTIONS Christos Nikolaidis
f(x) =loga x
If a>1 (for example if a=2), the graphs of these two functions look
like
y=ax
y=logax
Observations:
67
TOPIC 2: FUNCTIONS Christos Nikolaidis
loga1 = 0 logaax = x
logaa = 1 alogax = x
NOTICE
The first two laws can be combined to obtain:
ABD
logA+logB-logC+logD = log
C
A 2B 3D 5
2logA + 3logB - 4logC + 5logD = log
C4
68
TOPIC 2: FUNCTIONS Christos Nikolaidis
For example,
32 43
2log3 + 3log4 - 4log2 = log = log36
24
32 43
2ln3 + 3ln4 - 4ln2 = ln = ln36
24
A 2B 3D 5
log = 2logA + 3logB - 4logC + 5logD
C4
For example,
9 32
log 2 = log 2 = 2log 2 3- log2 5
5 5
EXAMPLE 3
Suppose lnx=a, lny=b, lnz=c.
Express the following logarithms in terms of a, b, c.
lnx2 = 2lnx = 2a
y
ln = lny-lnz = b-c
z
x 3y
ln = 3lnx+lny-2lnz = 3a+b-2c
z2
1 1
ln = ln1–lnx = 0-a = -a or ln = lnx-1 = -lnx = -a
x x
1
1 a
ln x = ln x 2 = lnx =
2 2
69
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 4
5
Suppose log3 =m, log3 5=n. Express the following in terms of m, n.
2
5
log3 10, log3 50, log3 , log3 2.5
2
Solution
This is a huge number! The GDC cannot show all its digits.
70
TOPIC 2: FUNCTIONS Christos Nikolaidis
x ab
EXAMPLE 5
Solution
(a) x 2 23 x 2 8 x 6
(c) x 2 e3 x e3 2
Notice
Of course the solutions may be obtained by a GDC.
For (a) and (b), SolveN gives the exact solutions x=6 and x=998
For (c) it gives an approximation x 18.1
(this is not the exact solution, it is the approximate value of e 3 2 ).
log 2 (x a) 3
x a 23 x 8 a
71
TOPIC 2: FUNCTIONS Christos Nikolaidis
For an equation that involves more than one logarithms, our target
will be to bring it in one of the forms
EXAMPLE 6
Solve the equations
(a) log2x+log2(x+2)= log23
(b) log2x+log2(x+2)= 3
3
(c) log2x+log2(x-2)-log2(x- )=log23
4
Solutions
(a) log2x+log2(x+2)= log23 log2x(x+2)= log23
x(x+2)=3
x2+2x-3=0
The solutions are x=1 and x=-3
The second solution is rejected since x>0 by the original equation.
Therefore x=1.
72
TOPIC 2: FUNCTIONS Christos Nikolaidis
CHANGE OF BASE
log2 3 1.58496...
log3 ln3
Look at also the values of and . We find the same result!
log2 ln2
log* 3
In fact, we can express log2 3 in the form using any base we
log* 2
like, that is
logb
In general, we can change logab into , using any base we like.
loga
The formula
logcb
logab=
logca
EXAMPLE 7
Suppose log2 x = a, log2 y = b, log2 z = =c. Express the following in
terms of a,b,c.
log4 x , logy x , logx yz , logy 2xz
Solution
log2 x a
log4 x = =
log2 4 2
log2 x a
logy x = =
log2 y b
log2 2xz 1 + a + c
logy 2xz = =
log2 y b
73
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 8
Suppose ln2=m, ln5=n. Express the following in terms of m, n.
log5e, log453
Solution
lne 1
log5e = =
ln5 n
ln5 ln5 n
log45 = = 2
=
ln4 ln2 2m
EXAMPLE 9
Solve the equation
1
log4(x+12) = 1 + log2x
2
Solution
We have to change base 4 to 2.
log 2 (x 12) 1
=1 + log2x
log 2 4 2
log 2 (x 12) 1
= 1 + log2x
2 2
log2(x+12) = 2 + log2x
log2(x+12) - log2x = 2
x 12
log2 = 2
x
x 12
= 4
x
x+12 = 4x
3x = 12
x = 4
74
TOPIC 2: FUNCTIONS Christos Nikolaidis
ax = b (*)
logb
apply log a x = b loga x =logb xloga = logb x =
loga
lnb
apply ln a x = b lna x = lnb xlna = lnb x =
lna
logcb
apply logc a x = b logca x = logcb xlogca = logcb x =
logca
Notice: the first row gives the result of the definition; the other
rows give alternative expressions.
In fact, the results justify the change of base formula!
Let us keep in mind the following two expressions for the solution:
x = logab
ax = b lnb
x=
lna
EXAMPLE 1
Solve the equation 2(5x) = 9.
Solution
ln4.5
2(5x) = 9 5x = 4.5 x = log5 4.5 or otherwise x =
ln5
75
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 2
EXAMPLE 3
lna
Solve the equation 5x = 2x+1. Express the result in the form .
lnb
Solution
Method A: Let us apply ln on both sides
5x = 2x+1 ln5x = ln2x+1
xln5 = (x+1)ln2
xln5 = xln2+ln2
xln5 - xln2 = ln2
x(ln5-ln2) = ln2
ln2 ln2
x = x =
ln5 - ln2 5
ln
2
5x = 2x+1 5x = 2x2
5x
= 2
2x
x
5
= 2
2
ln2
x =
5
ln
2
76
TOPIC 2: FUNCTIONS Christos Nikolaidis
Remarks
This is the exact answer. If we are looking for an answer to
3sf, the calculator gives x=0.756.
P=Poekt
Let us consider the case where the initial population is 1000 and P
is given by
P=1000e0.2t
For t=3
P=1000e0.23=1822
77
TOPIC 2: FUNCTIONS Christos Nikolaidis
P=Poekt
EXAMPLE 4
The mass m of a radio-active substance at time t hours is given by
m = 4e–kt
(a) The mass is 1 kg after 5 hours. Find k.
(b) What is the mass after 3 hours?
(c) The mass reduces to a half after t hours. Find t.
Solution
78
TOPIC 2: FUNCTIONS Christos Nikolaidis
Therefore,
m = 4e–0.277t
(b) For t=3,
m = 4e-0.277 3 = 1.74
EXAMPLE 5
Solve the equation
6x7x-1 = 3x-2
lna
Express the result in the form
lnb
Solution
Although we can apply ln( ) on both sides and obtain
79
TOPIC 2: FUNCTIONS Christos Nikolaidis
Notice:
Mind the following (common mistake)
A B = C does not imply lnA lnB = lnC
it only implies ln(A B) = lnC
EXAMPLE 6
Solve the equations:
12
(a) 6e x x 17 (b) 6(102x)+12=17(10x)
e
Solution
(a) Let y=ex. Then
12
6y 17 6y2-17y+12=0
y
3 4
There are two solutions: y= , y=
2 3
3 3 3
For y= , ex = x=ln
2 2 2
4 4 4
For y= , ex = x=ln
3 3 3
(b) Let y=10x. Then
6y2-17y+12=0
3 4
There are two solutions: y= , y=
2 3
3 3 3
For y= , 10x = x=log
2 2 2
4 4 4
For y= , 10x = x=log
3 3 3
80
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 7
Solve the system of equations
1 y
2(3x)-3(2y)=-22 and 5(3x)+ (2 )=9
2
Solution
Let A=3x and B=2y. Then
1
2A-3B=-22 and 5A+ B=9
2
The solution is A=1, B=8. Hence,
81
TOPIC 2: FUNCTIONS Christos Nikolaidis
82
TOPIC 2: FUNCTIONS Christos Nikolaidis
ONLY FOR
HL
83
TOPIC 2: FUNCTIONS Christos Nikolaidis
84
TOPIC 2: FUNCTIONS Christos Nikolaidis
DEFINITION
deg f(x) = n
For example
85
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
Then
f(x)g(x) = (3x2-2x+5)(2x3-7x+1)
= 6x5-21x3+3x2-4x4+14x2-2x+10x3-35x+5
= 6x5-4x4-11x3+17x2-37x+5
deg[f(x)+g(x)]=3 deg[f(x)g(x)]=5
In general
deg[f(x)+g(x)] ≤ n deg[f(x)g(x)] = 2n
NOTICE
Look at the last line: it is not deg[f(x)+g(x)] = n since f(x) and g(x)
may have opposite leading coefficients; for example
86
TOPIC 2: FUNCTIONS Christos Nikolaidis
DIVISION OF POLYNOMIALS
6x 2 2x
3x 1
2x
a
REMEMBER When we divide two integers, say a:b or , we obtain
b
a=bq+r
23=5.4+2
EXAMPLE 2
We will divide f(x)=2x3-4x2+5x-1 by g(x)= x2+3x+1
87
TOPIC 2: FUNCTIONS Christos Nikolaidis
88
TOPIC 2: FUNCTIONS Christos Nikolaidis
NOTICE
a r
In number theory, the division a=bq+r also gives q
b b
23 3
For example 4 .
5 5
Similarly, the division of polynomials gives
f(x) r(x)
q(x)
g(x) g(x)
In our example
2x 3 4x 2 5x 1 33x 9
2
2x - 10 2
x 3x 1 x 3x 1
EXAMPLE 3
Let us divide f(x)=2x3+2x2-x-1 by g(x)=2x2-1
We present the long division in one step:
Therefore,
2x3+2x2-x-1 = (2x2-1)(x+1)
or otherwise
2x 3 2x 2 - x 1
x 1
2x 2 1
89
TOPIC 2: FUNCTIONS Christos Nikolaidis
or otherwise
(x-a) is a factor of f(x) a is a root of f(x)
Proof
() If f(x) is divisible by (x-a) then f(x)=(x-a)q(x) for some q(x)
then f(a)=0
Proof
We divide f(x) by (x-a). Suppose f(x)=(x-a)q(x)+r. Then f(a) = r
EXAMPLE 4
90
TOPIC 2: FUNCTIONS Christos Nikolaidis
f(x) = a(x-p)(x-q)
EXAMPLE 6
EXAMPLE 7
Solution
We can easily observe that x=1 is a solution since f(1)=0.
We divide f(x) by the factor (x-1) and find the quotient (x2-5x+6).
But the quadratic (x2-5x+6) has two roots, x=2 and x=3. Thus the
equation has three solutions, namely 1,2 and 3.
91
TOPIC 2: FUNCTIONS Christos Nikolaidis
Notice also that the full factorization of the cubic equation gives
x3-6x2+11x-6=0
(x-1)(x-2)(x-3)=0
factor of a 0
Potential rational roots: ±
factor of a n
EXAMPLE 8
We could also find the first root, say x=-2, and then divide f(x) by
the factor (x+2) to obtain the remaining quadratic factor.
2x3-7x2-17x+10 = (x+2)(2x2-11x+5)
and the quadratic factor has two roots, x=5 and x=1/2.
92
TOPIC 2: FUNCTIONS Christos Nikolaidis
f(x) = ax3+bx2+cx+d
If a>0, for large values of x, f(x)+∞ and the graph looks like
+∞
If a<0, for large values of x, f(x)-∞ and the graph looks like
-∞
a(x-r1)(x-r2)(x-r3)
a(x-r1)2(x-r2)
a(x-r1)3
a(x-r1)(x2-px+qx)
irreducible
93
TOPIC 2: FUNCTIONS Christos Nikolaidis
QUADRATIC FUNCTIONS
We have seen that for a quadratic function
We may have
r1,r2 real, r1≠r2
r1,r2 real, r1=r2
r1,r2 conjugate complex roots
f(x) = a(x-r1)(x-r2)
Thus
f(x) = a(x2-r1x-r2x+r1r2)
= ax2-a(r1+r2)x+ar1r2x (2)
and finally
b c
S= r1+r2= P = r1r2=
a a
§ Don’t worry if you haven’t seen complex numbers yet. Just accept that there are n
roots!
94
TOPIC 2: FUNCTIONS Christos Nikolaidis
CUBIC FUNCTIONS
f(x) = a(x-r1)(x-r2)(x-r3)
- ar1r2r3
Thus, by (1)
d
d= - ar1r2r3 r1r2r3 =
a
The coefficient of x2 is
-ar3-ar2-ar1 = -a(r1+r2+r3)
Thus, by (1)
b
b= -a(r1+r2+r3) r1+r2+r3 =
a
Hence,
b d
S= r1+r2+r3= P = r1r2r3=
a a
Notice
f(x) = a3x3+a2x2+a1x+a0
a2 a0
S= r1+r2+r3= P = r1r2r3=
a3 a3
95
TOPIC 2: FUNCTIONS Christos Nikolaidis
f(x) = an(x-r1)(x-r2)…(x-rn)
Thus, by (1)
a0
a0= ( 1) n a n r1r2 ⋯rn r1r2 ⋯rn = (1) n
an
Thus, by (1)
an-1
a n-1 = a n (r1 r2 ⋯ rn ) r1 r2 ⋯ rn =
an
Hence,
a n-1 a0
S= r1 r2 ⋯ rn = P = r1r2 ⋯rn = (1) n
an an
and so on.
96
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
Let f(x)=2x3+ax2+bx+c
The sum of the roots is 3.5, the product of the roots is -5 and the
polynomial is divided by (x+2). Find the values of a,b and c.
Solution
a2 a
S 3.5 a = -7
a3 2
a0 c
P ( 1) 3 -5 c = 10
a3 2
EXAMPLE 2
Let f(x)=ax4-10x3+bx+c
The sum of the roots is 2, the product of the roots is -5. and the
polynomial is divided by (x-1). Find the values of a,b and c.
Solution
a3 10
S 2 a = 5
a4 a
a0 c
P ( 1) 4 -5 c = -25
a4 a
97
TOPIC 2: FUNCTIONS Christos Nikolaidis
RATIONAL FUNCTIONS
p(x)
f(x)=
q(x)
For example
2x 5
f(x)= 2
x 4x 3
98
TOPIC 2: FUNCTIONS Christos Nikolaidis
For example,
4x 2 3x 1
f(x)= The line y=2 is a horizontal asymptote
2x 2 7x - 6
3x 1
f(x)= The line y=0 is a horizontal asymptote
2x 2 7x - 6
4x 2 3x 1
f(x)= There is no horizontal asymptote
2x - 6
EXAMPLE 1
Vertical Asymptotes Horizontal Asymptote
Function
(denominator = 0) (divide leading coefficients)
2
7x 5x 1
f(x)= x=1, x=2 y=7
x 2 - 3x 2
7x 2 5x 1
f(x)= x=1, x=2 y=7/2
2x 2 - 6x 4
5x 1
f(x)= 2 x=1, x=2 y=0
x - 3x 2
- 5x 1
f(x)= 2 +8 x=1, x=2 y=8
x - 3x 2
7x 2 5x 1
f(x)= x=2 none
- 3x 6
99
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 2
Find the intercepts the domain and the asymptotes of the function
x 2 6x 8
f(x)=
x 2 - 4x 3
Use your GDC to sketch the graph of f(x) and hence find its range.
Solution
It is
x 2 6x 8 (x 2)(x 4)
f(x)=
x 2 - 4x 3 (x 1)(x 3)
x-intercepts (or roots): x=2, x=4
y-intercept: For x=0, y=8/3
Domain: x≠1, x≠3
VA: x=1, x=3
HA: y=1
Notice: that the value of the asymptote y=1 is not excluded from
the range.
100
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 3
Find the intercepts the domain and the asymptotes of the function
x 2 3x 4
f(x)=
x 2 - 4x 3
Use your GDC to sketch the graph of f(x) and hence find its range.
Solution
It is
x 2 3x 4 (x 1)(x 4)
f(x)=
x 2 - 4x 3 (x 1)(x 3)
Later on we will be able to find the local min and the local max
without a GDC, by using derivatives!
101
TOPIC 2: FUNCTIONS Christos Nikolaidis
OBLIQUE ASYMPTOTES
We have seen that for a rational function of the form
ax 2 bx c
f(x)=
dx e
ax 2 bx c r
f(x)= (Ax B)
dx e dx e
EXAMPLE 4
4x 2 2x 1
f(x)=
2x - 6
The vertical asymptote is x=3.
There is no horizontal asymptote.
As 4x 2 2x 1 divided by 2x - 6 gives q(x)=2x+5 (and r=31)
the oblique asymptote is y=2x+5.
y=2x+5
x=3
4x 2 2x 1 31
Justification: f(x)= 2x 5 → 2x+5 as x→±∞
2x - 6 2x 6
p(x)
Notice. The same situation occurs for a rational function f(x)=
q(x)
where deg q(x) is one less than deg p(x).
102
TOPIC 2: FUNCTIONS Christos Nikolaidis
a a x b
f(x)= 2
and f(x)=
ax bx c ax 2 bx c
EXAMPLE 5
3x 5
f(x)= 2
.
x 4x 3
The denominator has two roots: x=1, x=3. Thus
A B
f(x)=
x 1 x 3
Method 1
A B A(x - 3) B(x - 1) (A B) (3A B)
= =
x 1 x 3 (x 1)(x - 3) (x 1)(x - 3)
Multiply by (x-1)(x-3):
A(x-3)+B(x-1) = 3x-5
For x=3 we obtain: 2B=4B=2
For x=1 we obtain: -2A=-2A=1
Therefore,
1 2
f(x)=
x 1 x 3
103
TOPIC 2: FUNCTIONS Christos Nikolaidis
Only the roots of the linear factors affect the inequality. We can
sketch a graph of the polynomial, having in mind that
in a single root the graph crosses the x-axis
in a double root the graph just touches the x-axis
In general, for a root which is repeated n times
if n is odd it behaves as a single root (change of sign)
if n is even it behaves as a double root (no change of sign)
For example, if
f(x) = a(x-r1)(x-r2)2(x-r3)(x-r4)3(x-r5)
and a>0 the graph looks like
r1 r2 r3 r4 r5
x -∞ r1 r2 r3 r4 r5 +∞
f(x) + - - + - +
104
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
Solve the inequality
2x3-7x2-17x+10 > 0
Solution
We have seen earlier that this cubic function has three single roots,
-2, 0.5 and 5. Thus the inequality becomes
2(x+2)(x-0.5)(x-5) > 0
We obtain
x -∞ -2 0.5 5 +∞
f(x) - + - +
EXAMPLE 2
Solve the inequalities
(a) 3(x-1)2(x-5) > 0
(b) 3(x-1)2(x-5) ≥ 0
(c) 3(x-1)2(x-5)(x2+1) ≥ 0
Solution
The quadratic factor x2+1 in (c) has no real roots (irreducible). It is
always positive so it doesn’t affect the sign of the polynomial.
We obtain
x -∞ 1 5 +∞
f(x) - - +
(a) x>5
(b) x=1 or x≥5
(c) x=1 or x≥5
105
TOPIC 2: FUNCTIONS Christos Nikolaidis
f(x)
For a rational function of the form remember that
g(x)
f(x)
0 f(x)g(x) 0
g(x)
EXAMPLE 3
Solve the inequalities
(x - 1)(x - 3) 2 (x - 1)(x 2 x 1)
(a) ≤ 0, (b) ≥ 0
(x - 2)(x 2 x 1) (x - 3) 2 (x 2)
(factorization is already given).
Solution
Notice that the same factors appear in both inequalities. If we
multiply all factors we obtain the polynomial
(x - 1)(x - 2)(x - 3) 2 (x 2 x 1)
We obtain
x -∞ 1 2 3 +∞
f(x) + - + +
106
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 4
x 1 x 1
Solve (a) x 3 (b) x 3
x2 x2
x 1
(a) x 3 x+1=(x-2)(x-3)
x2
x+1= x 2 5x 6
x 2 6x 5 0
x 1 or x 5
x 1 x 1- (x - 3)(x - 2)
( x 3) 0 0
x2 x2
x 1- x 2 5x - 6
0
x2
- x 2 6x - 5
0
x2
- (x 1)(x - 5)
0
x2
We obtain
x -∞ 1 2 5 +∞
f(x) + - + -
Solution by GDC
x 1
We sketch the graph of f(x)= ( x 3)
x2
We construct a table as above with all the critical values:
the roots of the function: x=1, x=5
the values where the function is not defined: x=2
Based on the graph we complete the signs on the table as above
107
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
2x=8 or 2x=-2
x=4 or x=-1
-2<2x<8
-1<x<4
2x<-2 or 2x>8
x<-1 or x>4
EXAMPLE 2
x- 1 x- 1 x- 1
(a) =5 =5 or =-5
x- 2 x- 2 x- 2
x-1=5x-10 or x-1=-5x+10
4x=9 or 6x=11
x=9/4 or x=11/6
108
TOPIC 2: FUNCTIONS Christos Nikolaidis
x- 1 x- 1
(b) <5 -5< <5
x- 2 x- 2
We solve separately,
x- 1 x- 1 x - 1- 5x 10 - 4x 9
<5 -5 <0 <0 <0
x- 2 x- 2 x- 2 x- 2
We obtain
x -∞ 2 9/4 +∞
f(x) - + -
Similarly
x- 1 x- 1 x - 1 5x 10 6x 11
>-5 +5 >0 >0 >0
x- 2 x- 2 x- 2 x- 2
We obtain
x -∞ 11/6 2 +∞
f(x) + - +
Alternative solution:
24x 2 98x 99 0
24(x 9/4)(x - 11/6) 0
x<11/6 or x>9/4
109
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 3
(a) x - 1 =3x+2
CASE 1: x<1
CASE 2: x>1
(b) x - 1 <3x+2
CASE 1: x<1
Thus x>-1/4
CASE 2: x>1
Thus x>1
110
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 4
|x-1|+|x-2|=x
CASE 1: x<1
-x+1-x+2=x 3x = 3 x=1 (rejected)
CASE 2: 1≤x<2
x-1-x+2=x x=1 (accepted)
CASE 3: x≥2
x-1+x-2=x x=3 (accepted)
EXAMPLE 5
111
TOPIC 2: FUNCTIONS Christos Nikolaidis
f(-x)=f(x)
f(-x)=-f(x)
112
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
Solution
= x4+|x|
= f(x)
=-x+x3
=-(x-x3)
=-g(x)
= -x+x2
113
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 2
Then
|f(x)| f(|x|)
y y
x x
114
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 3
Let f(x) 2x 2 8x 6
2
while f( x ) 2 x 8 x 6 has the graph
115
TOPIC 2: FUNCTIONS Christos Nikolaidis
1
THΕ RECIPROCAL FUNCTION
f(x)
1
Another transformation of the function f(x) is g(x)=
f(x)
1
2) H.A. y=a becomes H.A. y=
a
1
3) Any characteristic point (x, y) becomes (x, )
y
NOTICE
In fact, the V.A. x=a becomes not exactly a root but a point of
1
discontinuity on x axis, since g(x)= ≠0. The graph looks like
f(x)
y
x
a
116
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 4
2x - 4
Consider the function f(x)=
x- 3
Observations on f(x) 1
Conclusions for
f(x)
Root: x=2 V.A: x=2
V,A,: x=3 Root: x=3
H.A.: y=2 H.A.: y=1/2
y-intercept y=4/3 y-intercept y=3/4
1 x- 3
For (i.e. ) we indicate roots, asymptotes and carry on
f(x) 2x - 4
117
TOPIC 2: FUNCTIONS Christos Nikolaidis
We obtain
118