Functions
Functions
MATHEMATICS
Applications and Interpretation SL (and HL)
Lecture Notes
Christos Nikolaidis
TOPIC 2
FUNCTIONS
Only for HL
December 2020
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)
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
EXAMPLE 2
We consider again
y=2x2-12x+10 (1)
y=2(x-1)(x-5) (2)
y=2(x-3)2-8 (3)
10
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 3
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 4
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
11
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
12
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
13
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.
14
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
15
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
16
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
17
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.
18
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
19
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
20
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 6
21
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.
22
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
23
TOPIC 2: FUNCTIONS Christos Nikolaidis
DISCUSSION
Notice that
f(0) = 10 g(10) = 0
f(1) = 11 g(11) = 1
f(2) = 12 g(12) = 2
f(3) = 13 g(13) = 3 and so on.
In simple words,
f(x)=x+10
f-1(x)=x-10
Mathematically
If f(x)=y then f-1(y)=x.
f(x)=x+3 f-1(x)=x-3
f(x)=2x f-1(x)=x/2
f(x)=10x f-1(x)=x/10
f(x)=ex ?
24
TOPIC 2: FUNCTIONS Christos Nikolaidis
f(x)=3x+7
Here
y 7
x=
3
f(x)=x3+5
is
f-1(x)= 3
x 5
GRAPH OF f-1
y
y=x
f
f-1
25
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
Notice:
a
has
26
TOPIC 2: FUNCTIONS Christos Nikolaidis
P
P=4a a
4
Now the side is given in terms of the perimeter. This is in fact the
inverse function of P=4a
A=a2 a A
Now the side is given in terms of the area. This is in fact the
inverse function of A=a2.
EXAMPLE 2
Let
F denote the temperature in Fahrenheit degrees
C denote the temperature in Celsius degrees
F 1.8C 32
27
TOPIC 2: FUNCTIONS Christos Nikolaidis
y=2x
x … -3 -2 -1 0 1 2 3 …
Domain:
Range: y>0
To express this behavior we say that the x-axis (i.e. the line y=0) is
a horizontal asymptote of the function.
28
TOPIC 2: FUNCTIONS Christos Nikolaidis
x … -3 -2 -1 0 1 2 3 …
Again
Domain: xR
Range: y>0
NOTICE
2) if a>1, then f(x)=ax increases (the graph looks like that of 2x)
f(x)=a-x decreases (the graph looks like that of 2-x)
3) if a<1, then f(x)=ax decreases while f(x)=a-x increases)
e.g. f(x)=0.5x decreases while f(x)=0.5-x increases)
29
TOPIC 2: FUNCTIONS Christos Nikolaidis
f(x) = ex f(x)=e-x
1
1
y=ex+1 y= ex+2
y=2
y=1
30
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
Look at the following function in the graph mode of your GDC and
try to understand the information in columns 2 and 3.
31
TOPIC 2: FUNCTIONS Christos Nikolaidis
The answer is 3
log1000=3
log x
log x = y 10 y =x
For example,
etc.
Clearly,
log10=1
log1=0
32
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
U
log1000000 = 6,
log0.1 = -1,
log0.01 = -2,
log0.001 = -3,
log0.000001 = -6,
33
TOPIC 2: FUNCTIONS Christos Nikolaidis
y = logx
x 1 10 20 30 40 …
f(3)=103 = 1000,
f-1(1000) = log1000=3
For y = logx
Domain: x>0
Range: yR
The function is not defined at x=0 so the graph does not touch the
vertical line x=0 (y-axis).
As x tends to 0, y tends to -.
We say that
the line x=0 is a vertical asymptote
34
TOPIC 2: FUNCTIONS Christos Nikolaidis
ln2=0.69314…
e0.69314 = 2
y=ex
y=lnx
Observations:
35
TOPIC 2: FUNCTIONS Christos Nikolaidis
36
TOPIC 2: FUNCTIONS Christos Nikolaidis
ONLY FOR
HL
37
TOPIC 2: FUNCTIONS Christos Nikolaidis
38
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
39
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
40
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
Solution
(fog)(1)=7
(g0f)(1) = 2
(fof)(x) = f(f(x))
41
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
42
TOPIC 2: FUNCTIONS Christos Nikolaidis
The answer is
(2b 3) 2
A=a2 f(x) = x2
a=2b+3 g(x)=2x+3
and obtained
A (2b 3) 2 (f◦g)(x)=(2b+3)2
EXAMPLE 3
Let
F denote the temperature in Fahrenheit degrees
C denote the temperature in Celsius degrees
K denote the temperature in Kelvin degrees
F 1.8C 32
C K 273.15
Therefore, the conversion from Kelvin to Fahrenheit is given by
F 1.8C 32 1.8(K - 273.15) 32
F 1.8K - 459.67
Compare with
f(x) 1.8x 32
g(x) x 273.15
43
TOPIC 2: FUNCTIONS Christos Nikolaidis
DEFINITION
Let f:R→R
f(x)=y f-1(y)=x.
Steps Example
f is given f(x) = x+10
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
44
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
Let f(x)=3x+5.
(b) f-1(11)
Solution
(a) We follow the three steps:
Set 3x+5=y
y5
3x+5=y 3x = y-5 x =
3
x 5
f-1(x)=
3
x 5
(b) Since we know f-1(x)= , it is f-1(11) = 2
3
Alternatively:
It is not necessary to find f-1(x).
If f-1(11)=x then f(x)=11. Hence
3x+5 = 11 3x = 6 x=2.
Thus, f-1(11) =2
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
45
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 2
Solution
f-1(49) = 25 = 5
EXAMPLE 3
x 1
Let f(x)=
x2
2x - 1
(a) Show that f-1(x)=
1x
Solution
x 1
(a) = y x+1= y(x+2)
x2
x+1= y(x+2)
x+1=yx+2y
x-yx=2y-1
x(1-y)=2y-1
2y- 1 2x - 1
x= Hence, f-1(x)=
1y 1x
46
TOPIC 2: FUNCTIONS Christos Nikolaidis
2x - 1 2x - 1 1- x x
1
(b) (fof-1)(x) = 1- x = 1- x = 1- x = x
2x - 1 2x - 1 2 - 2x 1
2
1- x 1- x 1- x
That is (fof-1)(x)=x (identity function)
EXAMPLE 4
1
Let f(x)=1-2x and g(x)= . Find
x
(a) (f0g)(x) (b) (g0f)(x) (c) (g0f-1)(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
47
TOPIC 2: FUNCTIONS Christos Nikolaidis
NOTICE:
Notice that (f0g)-1 ≠ f-10g-1 . In fact it holds
(f0g)-1 = g-10f-1
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,
X Y X Y
f f-1
x1 y1 x1 y1
x2 y2 x2 y2
NOTICE: Remember that any function must satisfy the vertical line
test. If, moreover, f is “1-1” it satisfies the
48
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 5
x- 1
Thus f-1 exists: f-1(x)=
3
(b) The function f(x)=x2 is not “1-1”
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).
However, if we consider
f(x)=x2, x≥0
f-1(x)= x
49
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)
50
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
51
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
VERTICAL TRANSFORMATIONS
f(x)=x2 f(x)=x2+2 f(x)=x2-2
[initial 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
52
TOPIC 2: FUNCTIONS Christos Nikolaidis
HORIZONTAL TRANSFORMATIONS
f(x)=x2 f(x)=(2x)2
[initial 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
53
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:
It can be shown that a quadratic function can always take the so-
called vertex form
y=a(x-h)2+k
x2 initial 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
54
TOPIC 2: FUNCTIONS Christos Nikolaidis
h
The two translations by imply that the initial vertex (0,0) of
k
the function x2 moves
vertex
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
55
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.
56
TOPIC 2: FUNCTIONS Christos Nikolaidis
x
- 0 +
1
Similarly, for g(x)= 2 (f moved 1 unit right and 2 units up).
x- 1
1
x
57
TOPIC 2: FUNCTIONS Christos Nikolaidis
In general,
2
x
- -4 0 1 +
58
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
2x - 4
Consider the function f(x)=
x- 3
Observations on f(x)
Root: x=2
Vertical asymptote: x=3
Horizontal asymptote: y=2
Similarly,
- 2000 - 4 - 2004
If x=-1000, y= 2
- 1000 - 3 - 1003
NOTICE
ax b
In fact for a function of the form f(x)= (rational function)
cx d
d d
the vertical asymptote is x= (since the domain is x )
c c
a
the horizontal asymptote is y=
c
59
TOPIC 2: FUNCTIONS Christos Nikolaidis
Asymptotes
Function Graph
V.A. H.A
1
y= x = 0 y = 0
x
rational
ax b d a
y= x= y =
cx d c c
y=bx
exponential y= Ae kx -- y = 0
y= Ab x
exponential y=bx + c
c units y= Ae kx c -- y = c
up or down y= Ab x c
y=lnx
logarithmic x = 0 --
y=logx
logarithmic
y=ln(x-c)
c units to the x = c --
y=log(x-c)
right or left
60
TOPIC 2: FUNCTIONS Christos Nikolaidis
log2x = y 2 y =x
For example,
etc.
23.321928…=10
EXAMPLE 1
U
log232=5
log225=5
log22=1
log21=0
61
TOPIC 2: FUNCTIONS Christos Nikolaidis
In exactly the same way, for any base a>0, a≠1 we define
y
logax = y a =x
NOTICE
U
If a>1 (for example if a=2), the graphs of these two functions look
like
y=ax
y=logax
62
TOPIC 2: FUNCTIONS Christos Nikolaidis
Observations:
loga1 = 0
logaa = 1
logaax = x
alogax = x
63
TOPIC 2: FUNCTIONS Christos Nikolaidis
NOTICE
The first two laws can be combined in the following way:
ABD
logA+logB-logC+logD = log
C
2logA+3logB-4logC+5logD = logA2+logB3-logC4+logD5
A 2B 3D 5
= log
C4
Thus
A 2B 3D 5
2logA + 3logB - 4logC + 5logD = log
C4
For example
32 43
2log3 + 3log4 - 4log2 = log = log36
24
or
32 43
2ln3 + 3ln4 - 4ln2 = ln = ln36
24
A 2B 3D 5
log = 2logA + 3logB - 4logC + 5logD
C4
For example
or
64
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 2
Suppose lnx=a, lny=b, lnz=c. Express the following in terms of a,b,c.
y x 3y 1
lnxy, lnx2, ln , ln 2
, ln , ln x ,
z z x
Solution
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 a
ln x = lnx1/2 = lnx =
2 2
EXAMPLE 3
Suppose ln2=m, ln5=n. Express the following in terms of m, n.
x ab
65
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 4
Solution
(a) x 2 23 x 2 8 x 6
(c) x 2 e3 x e3 2
Notice
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
66
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 5
Solve the equations
(a) logx+log(x+2)= log3
(b) logx+log(x+3)= 1
3
(c) logx+log(x-2)-log(x- )=log3
4
Solution
(a) We obtain log x(x+2) = log3
Hence
x(x+2)=3 x2+2x-3=0
The second solution is rejected since x>0 and x+2>0 by the original
equation. Therefore x=1.
Hence
x(x+3)=101 x2+3x-10=0
x(x - 2)
(c) We obtain log = log3
3
(x - )
4
Hence
x(x - 2) 9 9
=3 x2-2x=3x- x2-5x+ =0
3 4 4
(x - )
4
The solutions are x=4.5 or x=0.5
Notice
67
TOPIC 2: FUNCTIONS Christos Nikolaidis
ax=b
x=logab
EXAMPLE 1
loga
Solve the equation 2(5x) = 9. Express the result in the form .
logb
Solution
We first divide by 2 and then apply log
log4.5
5x = 4.5 log5x = log 4.5 xlog5 = log4.5 x =
log5
Notice
ln4.5
If we use ln( ), the answer will be x =
ln5
This value according to the GDC is equal to 0.93453… 0.935
Check the solution by using GDC - SolveN
68
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
xln5 = (x+1)ln2
xln5 = xln2+ln2
x(ln5-ln2) = ln2
ln2 ln2
x = x =
ln5 - ln2 5
ln
2
5x = 2x+1 5x = (2x) 2
x
5x 5
x
= 2 = 2
2 2
5 ln2
xln = ln2 x =
2 5
ln
2
Remark
This is the exact answer. If we are looking for an answer to
3sf, the calculator gives x=0.756.
69
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 4
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
Notice:
Mind the following (common mistake)
A B C does not imply logA logB = logC
it implies log(A B) = logC
70
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 5
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
EXAMPLE 6
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
71
International Baccalaureate
MATHEMATICS
Applications and Interpretation SL (and HL)
Lecture Notes
Christos Nikolaidis
TOPIC 2
FUNCTIONS
Only for HL
April 2024
TOPIC 2: FUNCTIONS Christos Nikolaidis
1
TOPIC 2: FUNCTIONS Christos Nikolaidis
x 1 2 5 7 10 12
y 6.1 7.2 10.5 12.7 16 18.2
In fact, any pair of points gives the same gradient, and this is the
gradient of the line in question.
2
TOPIC 2: FUNCTIONS Christos Nikolaidis
Two points are enough to find the line passing through them.
First approach
y-y1 = m(x-x1)
y-6.1 = 1.1(x-1)
y-6.1 = 1.1x-1.1
y = 1.1x+5
Second approach
y = 1.1x+5
Notice: any pair of points would give the same result (check!)
Confirm
If we pick another point among our data, say E(10,16), it satisfies
the equation: For x=10,
10+5 = 11+5 = 16
1.1x+5 = 1.1
3
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
The relation between Celsius degrees (°C) and Fahrenheit (°F) is
linear. That is
°F = a °C+ b
We are told that
4°C correspond to 39.2 °F
10°C correspond to 50 °F
Thus
39.2 = 4a+b
50 = 10a+b
The solution is a=1.8 and b=32. Therefore the formula is
°F = 1.8 °C+ 32
In other words in order to convert temperatures in degrees Celsius
to Fahrenheit, multiply by 1.8 (or 9/5) and add 32.
Sometimes in real life the data seem to almost lie on a line. For
example,
Q 10 13 15 20 25
P 15 20 25 33 45
4
TOPIC 2: FUNCTIONS Christos Nikolaidis
P = 2Q - 5
5
TOPIC 2: FUNCTIONS Christos Nikolaidis
6
TOPIC 2: FUNCTIONS Christos Nikolaidis
decreasing if a<0
7
TOPIC 2: FUNCTIONS Christos Nikolaidis
QUADRATIC MODEL
y=2x2-7x+2
8
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
A model approach
Suppose that the length of one side is x. Choose some values for x:
x 5 10 20 25 30 37
A 225 400 600 625 600 481
9
TOPIC 2: FUNCTIONS Christos Nikolaidis
If A=ax2+bx+c then
That is
A=-x2+50x
Indeed, the remaining points satisfy the equation, for example let
us check the point (10,400):
A=-102+5010 = 400
Amax = 625 m2
Notice: Here the analytic approach is easy. But this is not always
the case and sometimes the model approach is our only option.
We chose this example to demonstrate the two different
approaches.
10
TOPIC 2: FUNCTIONS Christos Nikolaidis
But for our particular problem x can be between 0 and 50. So our
model is
A=-x2+50x, 0<x<50
If the points do not perfectly fit into a parabola, we can pick three
representative points and find a quadratic model that describes
quite well our data.
x 5 10 20 25 30 37
A 225 400 600 625 600 481
the points, of course, perfectly fit into a parabola, so the GDC will
give the exact solution. But let us try it just for practice:
11
TOPIC 2: FUNCTIONS Christos Nikolaidis
y=ax3+bx2+cx+d
METHOD A
select 4 points
substitute each point into the model to derive 4 linear equations
for a, b, c, d
solve the system of 4 equations (GDC: equation-simultaneous).
METHOD B
use regression
Note:
If the points exactly fit a cubic function, both methods will
produce the correct cubic model.
12
TOPIC 2: FUNCTIONS Christos Nikolaidis
(n 1) ( n 1 )
1
yx y
x
( n 2 )
(n 2)
1
y x2 y
x2
(n 3) ( n 3 )
1
y x3 y
x3
(n 4) ( n 4 )
1
y x4 y
x4
13
TOPIC 2: FUNCTIONS Christos Nikolaidis
or
or
POWER MODELS
In real life applications we meet models of the form
k
y kx n or y n
x
where x is takes only positive values.
For positive exponents the models look like as follows
14
TOPIC 2: FUNCTIONS Christos Nikolaidis
The relation
y kx n
The relation
k
y
xn
shows an inverse variation between (a power of) x and y:
15
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
Consider the relation
P = 5Q 2
Q 1 2 3 4 …
P 5 20 45 80 …
EXAMPLE 2
Consider the relation
5
P =
Q2
Q 1 2 3 4 …
5 5 5
P 5 …
4 9 16
EXAMPLE 3
(a) P is proportional to the cube of Q (i.e. P =kQ3).
Find the relation if we know that P = 5 when Q = 2.
Solution
5
(a) 23k=5 8k = 5 k = = 0.625. Hence P = 0.625Q3
8
(b) 2nk=6.4 and 3nk=48.6. If we divide the two relations
n
3 n k 48.6 3
n
7.59375 . Hence n = 5.
2 k 6.4 2
The first relation gives: 25k=6.4. Hence k = 0.2.
Therefore, P = 0.2Q5
16
TOPIC 2: FUNCTIONS Christos Nikolaidis
A is proportional to B
A is proportional to the square of C
A is inversely proportional to the cube of D
AREA vs LENGTH
Look at the area A for several shapes below
Shape Area
Square
A x2
of side length x
x
Rectangle x
A 2x 2
of sides x and 2x
2x
Right-angled triangle 1 2
a A a
of equal vertical sides a 2
a
Circle r
A πr 2
of radius r
17
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 4
Consider all rectangles of area 50 with side lengths x and y
(a) Describe the relation between the x and y.
(b) Express the perimeter of the rectangle in terms of x.
Solution
50
(a) xy =50 y . Thus y is inversely proportional to x.
x
100
(b) P = 2x+2y = 2x
x
VOLUME vs LENGTH
Look at the volume V for several shapes below
Shape Volumes
18
TOPIC 2: FUNCTIONS Christos Nikolaidis
Consider
x 1 2 3 4 …
y 2 15 50 120 …
Given that the points are well described by a power function model
of the form
y ax n
y 1.98x 2.95
19
TOPIC 2: FUNCTIONS Christos Nikolaidis
y 10 3 x
20
TOPIC 2: FUNCTIONS Christos Nikolaidis
y Ae kx
According to k
y increases if k>0
y decreases if k<0
EXAMPLE 1
y A bx
Then
point (1,30) gives: A b 1 30 (1)
A b 4 810
b 3 27 b 3
A b1 30
A 3 1 30 A 10
21
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 2
Suppose that the exponential function
y Ae kx
has y-intercept (0,25) and passes through the point (5,100).
Then
point (0,25) gives: Ae 0 25 A 25
25e 5k 100
e 5k 4
We can use the natural logarithm ln (or directly GDC):
5k ln4
ln4
k 0.277
5
Hence
y 25e 0.277x
P=Poekt
22
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 3
n=1000e0.2t
Solution
Otherwise,
ln2.5 = lne0.2t
ln2.5 = 0.2t
ln2.5
t = = 4.58 hours
0.2
(d) It’s a similar question to (c). We let n=2000 and find t.
ln2 = lne0.2t
ln2 = 0.2t
ln2
t = = 3.47 hours
0.2
We can also use the graph mode of GDC to answer the questions
23
TOPIC 2: FUNCTIONS Christos Nikolaidis
The function
n=1000e0.2t
has the following graph
For questions (c) and (d) we use GSolv-X calc: y=2500 then x=4.58
y=2000 then x=3.47
EXAMPLE 3
24
TOPIC 2: FUNCTIONS Christos Nikolaidis
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
or by using ln:
Again, we can answer the questions (b) and (c) above by using the
graph of m = 4e–0.277t
25
TOPIC 2: FUNCTIONS Christos Nikolaidis
In either case:
The horizontal line y=c is a horizontal asymptote to the graph.
For x=0, the y-intercept is y = A+c
26
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 5
27
TOPIC 2: FUNCTIONS Christos Nikolaidis
t 1 2 3
P 20 30 50
We firstly eliminate c:
Ab 3 Ab 2 20
Ab 2 Ab 10
Ab 2 (b 1)
2 b2
Ab(b- 1)
P 5 2 t 10
28
TOPIC 2: FUNCTIONS Christos Nikolaidis
x 1 2 3 4 …
y 2 15 50 120 …
Power model: y ax n
bx
Exponential model: y ab x (or y ae )
2.95
The power function model we found was y 1.98x
[F1] gives
y 0.707e1.35x
[F2] gives
y 0.707 3.85 x
29
TOPIC 2: FUNCTIONS Christos Nikolaidis
For our purpose we only present some basic notions of the functions
f(x)=sinx, f(x)=cosx and certain modifications of them.
f(x) = sinx°
Look at the graph of the function f(x) = sinx° on your GDC by using
the following settings
We obtain
The following table contains some values of the function which are
also shown on the graph above.
y=sinx° 0 1 0 -1 0
We have:
Domain: x R
Range: y [-1,1] [since ymin=-1 and ymax=1]
30
TOPIC 2: FUNCTIONS Christos Nikolaidis
Furthermore, we define
f(x) = cosx°
y=cosx° 1 0 -1 0 1
Again Domain: x R
Range: y [-1,1] [ymin=-1 and ymax=1]
Central axis: y = 0
Amplitude = 1
Period: T= 360°
NOTICE:
For both functions y=sinx and y=cosx, the horizontal distance
31
TOPIC 2: FUNCTIONS Christos Nikolaidis
Compare the original function f(x)=sinx (in black) with the following
three transformations of sinx (in red)
32
TOPIC 2: FUNCTIONS Christos Nikolaidis
f(x) = AsinBx + C
we have
360
The period is T=
B
Notice:
f(x) ranges between the values C-|A| and C+|A|
Similar observations apply for f(x) = AcosBx +C
The amplitude is 3
360
The period is T= 90
4
33
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
The graph of f(x) = Asin(Bx°) + C is given below. Find A, B, C.
EXAMPLE 2
The graph of f(x) = AcosBx +C is given below. Find A, B, C.
90 180
34
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 3
Express the following graph as a trigonometric function.
-90 90 180
35
TOPIC 2: FUNCTIONS Christos Nikolaidis
the region of A: all the points which are closest to the site A
the region of B: all the points which are closest to the site A
It is pretty obvious that the border of the two regions will be the
perpendicular bisector of the line segment AB.
This is perhaps the simplest Voronoi diagram! The two regions are
called cells. The line between the two cells is called an edge.
36
TOPIC 2: FUNCTIONS Christos Nikolaidis
If the three sites are collinear (they lie on the same line) the
Voronoi diagram is pretty obvious:
If, otherwise, the three sites form a triangle, the Voronoi diagram
looks like
Particularly for this case of three sites, we know that the edges
between the three cells are the perpendicular bisectors of the sides.
We know form Geometry that the three edges meet at the same
point. The point P where the edges meet is called a vertex.
37
TOPIC 2: FUNCTIONS Christos Nikolaidis
Let us add one more site D (see below). We obtain four cells and
the edges meet at the two vertices P and Q.
EXAMPLE 1
Suppose that the four sites in the diagram above have coordinates
A(2,3), B(8,3), C(6,7) and D(10,5).
38
TOPIC 2: FUNCTIONS Christos Nikolaidis
39
TOPIC 2: FUNCTIONS Christos Nikolaidis
In problems with
Interest rates r%
where
EXAMPLE 1
(a) An amount of 2000 euros is invested at 8% per year. What is
the amount returned after 10 years?
Solution
40
TOPIC 2: FUNCTIONS Christos Nikolaidis
r
In fact, this is a geometric sequence with common ratio R=1+
100
r
That is, if an amount increases by r%, we multiply by R=1+
100
2
r
After two years we multiply again by R. Thus FV=PV 1
100
n
r
Thus after n years: FV=PV 1
100
41
TOPIC 2: FUNCTIONS Christos Nikolaidis
PROBLEM 1 PROBLEM 2
EXAMPLE 2
There are ten boxes in a row. The first box contains 100€ and any
subsequent box contains 10% more that the previous one. What is
the amount in the 10th box?
Solution
Here u1 =100 and r = 1.10. Thus u10 =100(1.10)9 235.8
This is in fact the FV formula, but say that after 9 boxes FV=100(1.10)9
42
TOPIC 2: FUNCTIONS Christos Nikolaidis
Solution
n
8
FV=2000 1 >5000
100
Therefore, n = 12
Since we are looking for complete years we accept the first integer
above 11.9, that is n = 12
2000(1.08)n = 5000
Method D (by using logarithms: come back after you learn logs!)
Thus n = 12
43
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 4
The current population of a city is 800,000. The population
increases by 5.2% every year. Find
Solution
[short explanation:
for the future we multiply by 1.052 every year
for the past we divide by 1.052 every year, or otherwise we
1
multiply by 1.052-1 every year]
1.052
(c) we solve the equation
FV=2×800,000
n
5.2
800,000 1 = 1,600,000
100
44
TOPIC 2: FUNCTIONS Christos Nikolaidis
C/Y stands for the number of periods per year. Check FV for
n = 5 PMT=0
I% = 12 P/Y =1
PV = -1000 C/Y = 1, 2, 4, 12 respectively
45
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 5
An amount of 1000€ is invested with an interest rate 12%
compounded yearly. An extra payment of 300€ is added at the
end of each year. Find the value of the investment after 7 years.
By using GDC–Financial mode
n = 7 PMT= -300
I% = 12 P/Y =1
PV = -1000 C/Y = 1
FV gives 5237.38.
------------------
Remark: if the last payment is not included we subtract one PMT:
Value = FV-PMT = 5237.38-300 = 4937.38
EXAMPLE 6
An initial amount of 1000€ and then an extra amount of 1000€
at the end of each year are invested with an interest rate 12%
compounded yearly. Find the value of the investment after 7 years.
By using GDC–Financial mode
n = 7 PMT= -1000
I% = 12 P/Y =1
PV = -1000 C/Y = 1
FV gives 12299.69.
------------------
Remark: if the last payment is not included we subtract one PMT:
Value = FV-PMT = 12299.69-1000 = 11299.69
46
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 7
An amount of 1000€ is invested with an interest rate 12%
compounded monthly. An extra payment of 300€ is added at the
end of each year. Find the value of the investment after 7 years.
By using GDC–Financial mode
n = 7 PMT= -300
I% = 12 P/Y =1
PV = -1000 C/Y = 12
FV gives 5397.73.
------------------
Remark: if the last payment is not included we subtract one PMT:
Value = FV-PMT = 5397.73-300 = 5097.73
NOTICE.
If the annual interest rate r% is compounded in k periods and the
regular payments also take place in k periods then
P/Y = k, C/Y = k
But now n is the total number of periods, i.e. n=k(years).
EXAMPLE 8
An amount of 1000€ is invested with an interest rate 12%
compounded monthly. An extra payment of 300€ is added at the
end of each month. Find the value of the investment after 7 years.
By using GDC–Financial mode
n = 712 = 84 PMT= -300
I% = 12 P/Y =12
PV = -1000 C/Y = 12
FV gives 41508.41.
------------------
Remark: if the last payment is not included, we subtract one PMT:
Value = FV-PMT = 41508.41-300 = 41208.41
47
TOPIC 2: FUNCTIONS Christos Nikolaidis
If the annual interest rate is r%, the ratio of the geom. sequence is:
r
R 1
100
The value of the investment after n years is given by
Rn 1
FV PV R n PMT
R 1
Indeed,
n
r
- PV is invested for n years: PV 1 PV R
n
[1st box]
100
NOTICE
If we don’t wish to include the last payment in our calculations
we just subtract one payment (PMT)
48
TOPIC 2: FUNCTIONS Christos Nikolaidis
In EXAMPLE 5
PV = 1000€,
PMT = 300€ at the end of each year
r=12% compounded yearly (so R=1.12).
The value of the investment after 7 years is
1.127 1
FV 1000 1.127 300 5237.38
1.12 1
In EXAMPLE 6
PV = 1000€,
PMT = 1000€ at the end of each year
r=12% compounded yearly (so R=1.12).
The value of the investment after 7 years is
1.128 1
FV 1000 12299.69
1.12 1
NOTICE. If
the annual interest rate r% is compounded in k periods
the payments occur yearly
k
r
then the ratio for 1 year is: R 1
100k
In EXAMPLE 7
PV = 1000€,
PMT = 300€ at the end of each year
r=12% compounded monthly. Now the ratio for 1 year is
12
12
R 1 =1.0112
100 12
R7 1
FV 1000 R 7 300 5397.73
R 1
49
TOPIC 2: FUNCTIONS Christos Nikolaidis
NOTICE. If
the annual interest rate r% is compounded in k periods
the payments also occur in k periods
r
then the ratio for 1 period is: R 1
100k
But now n is the total number of periods, i.e. n=k(years).
In EXAMPLE 8
PV = 1000€,
PMT = 300€ at the end of each month.
r=12% compounded monthly. Now the ratio for 1 month is
12
R 1 =1.01
100 12
The value of the investment after 7 years (so n=712=84) is
1.0184 1
FV 1000 1.0184 300 41508.41
1.01 1
ANNUITY – AMORTIZATION
We invest PV but now, we regularly withdraw an amount PMT.
Notice for GDC–Financial mode
We insert the payment PMT as a positive value [we receive]
Here, the last payment is always included.
EXAMPLE 9
An amount of 1000€ euros is invested with an interest rate 12%
compounded monthly. A withdrawal of 150€ is made at the end
of each year. Find the value of the investment after 7 years.
By using GDC–Financial mode
n = 7 PMT= 150
I% = 12 P/Y =1
PV = -1000 C/Y = 12
FV gives 761.22.
50
TOPIC 2: FUNCTIONS Christos Nikolaidis
150-51.84=98.16 euros.
In EXAMPLE 9
The ratio for 1 year is
12
12
R 1 =1.0112
100 12
R7 1
FV 1000 R 7 150 761.22
R 1
51
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 10
An amount of 1000€ euros is invested with
an interest rate 5% per year (r = 5%)
an inflation rate 2% per year. (a = 2%)
Find the real value of the investment after 10 years.
52
TOPIC 2: FUNCTIONS Christos Nikolaidis
ONLY FOR
HL
53
TOPIC 2: FUNCTIONS Christos Nikolaidis
54
TOPIC 2: FUNCTIONS Christos Nikolaidis
L
f(x)
1 Ce kx
If you increase the upper bound for y you will realise that the
behaviour of graph changes dramatically!
55
TOPIC 2: FUNCTIONS Christos Nikolaidis
This function is called logistic and it is the model in many real life
situations.
L
y
1 Ce kx
looks like
In our example
100
y
1 4e 2x
56
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
L
The logistic model P has a limiting value P=1000.
1 Ce kt
We also know the data
t 0 4
P 160 500
Clearly L=1000.
For t=0, P=160:
L 1000
160 160 1+C = 6.25 C = 5.25
1C 1C
For t=4, P=500:
1000
500 1000 1 5.25e 4k 5.25e 4k 1
1 5.25e- 4k 500
ln5.25
e 4k 5.25 4k ln5.25 k 0.415
4
Therefore,
1000
P
1 5.25e 0.415t
The value of P exceeds 800 when t = 7.34 (use GDC to confirm).
Well, consider the two points of EXAMPLE 1 above and the point
(100,1000) [as a limiting value]. Use GDC: REG: Logistic, to find
the values of L, C and k of the logistic model!
57
TOPIC 2: FUNCTIONS Christos Nikolaidis
y a blnx
58
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
Q 4 8
P 15 18
Then
a+bln4=15 (1)
a+bln8=18 (2)
This is in fact a system of two linear equations.
1 ln4 15
1 ln8 18
For practice, use the two points above to find the model
P 9 4.33lnQ
[Again, for two points only the model is perfect! But given a series
of more points, regression provides the best possible log model]
59
TOPIC 2: FUNCTIONS Christos Nikolaidis
y ex (exponential)
3
yx (power)
y 20 100lnx (logarithmic)
As you can see the graphs of the exponential and power models
look alike. Thus if we are given some series of points as follows
60
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
the function y 3 5lnx
takes the form y 3 5X [where X=lnx]
which is linear!
x 2 3 5 10
y 6.47 8.49 11.0 14.5
If X=lnx then
You see that the points on the second diagram lie on a line.
61
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 2
the function y 3e 2x
takes the form Y ln3 2X [where Y=lny]
which is linear!
2x
Let us select some points of y 3e :
x 1 2 3 5
y 22.2 163.8 1210.3 66079.4
If Y=lny then
x 1 2 3 5
Y=lny 3.1 5.1 7.1 11.1
You see that the points on the second diagram lie on a line.
62
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 3
the function y 3x 5
takes the form Y ln3 5X [X=lnx, Y=lny]
which is linear!
5
Let us select some points of y 3x :
x 1 2 3 5
y 3 96 729 9375
You see that the points on the second diagram lie on a line.
63
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 4
Consider the data
t 3 6 10 12
P 109.417 119.722 134.986 143.333
t 3 6 10 12
lnt ln3 ln6 ln10 ln12
P 109.417 119.722 135.986 143.333
lnP ln(109.417) ln(119.722) ln(135.986) ln(143.333)
t 3 6
lnP ln(109.417) ln(119.722)
We obtain:
3a + b = ln109.417
6a + b = ln119.722
The solution is (by GDC): a = 0.03 b = 4.60516
Therefore,
lnP = 0.03t+4.60516
64
TOPIC 2: FUNCTIONS Christos Nikolaidis
-x + 6, 0x<2
2
f(x) = x , 2x<4
256 2-x , 4 x 10
which is linear in the 1st interval, quadratic in the 2nd interval and
exponential in the 3rd interval.
65
TOPIC 2: FUNCTIONS Christos Nikolaidis
EXAMPLE 1
Peter investigated a series of data (x,y) and observed that
between x=0 and x=10, y is proportional to x
i.e data follow a model of the form ax
between x=10 and x=30, y decreases linearly in rate 2
i.e data follow a model of the form -2x+b
between x=30 and x=50, data follow the quadratic model
0.1(x- 30)2 10,
(a) Write down a piecewise function f(x) that describes the data.
(b) Find the values of a and b given that f(x) is continuous.
(c) Sketch the graph of the function.
Solution
ax, if 0 x 10
(a) f(x) -2x + b, if 10 x 30
0.1(x- 30)2 10, if 30 x 50
(b) At x=10: ax =-2x + b 10a=-20+b
At x=30: -2x + b = 0.1(x- 30)2 10 60+b=10
5x, if 0 x 10
(c) f takes the form f(x) -2x +70, if 10 x 30
0.1(x- 30)2 10, if 30 x 50
and the graph is
66