Basic Calculus
Basic Calculus
Basic Calculus
Topic 4 1. Functions
2. Linear Functions
3. Quadratic Functions
Basic Calculus 4. Exponential Functions
5. Logarithmic Functions
1 2
Functions 1 Functions 1
3 4
Functions 1 Functions 1
1
Domain of a function 1 Domain of a function 1
Unless otherwise stated, the domain Example 1: Find the domain for function
consists of all real numbers for which the f(x) = x
rule of the function makes sense, that is, it x2 − x − 2
gives function values that are real
numbers. x2 – x – 2 = 0
1 (x – 2)(x + 1) = 0
For example, suppose h(x) =
x−6 x = 2, -1.
Here any real number can be used for x
except 6 because the denominator is 0 Therefore, the domain of f is all real
when x is 6. Thus the domain h is numbers except 2 and –1
understood to be all real numbers except 6.
7 8
There are different ways of combining two In general, for any functions f and g, there
functions to create a new function. are 4 types of combination:
Suppose f and g are the functions given by Sum (f + g): (f + g)(x) = f(x) + g(x)
f(x) = x2 and g(x) = 3x
Adding f(x) and g(x) gives Difference (f – g): (f – g)(x) = f(x) – g(x)
f(x) + g(x) = x2 + 3x
This operation defines a new function called the Product (fg): (fg)(x) = f(x).g(x)
sum of f and g, denoted f + g. Its function value at
x is f(x) + g(x). That is, f f f(x)
Quotient ( ) : (x) =
(f + g)(x) = f(x) + g(x) = x2 + 3x g g g(x)
11 12
2
Combination of Functions 1 Combination of Functions 1
Example Solution:
a) (f + g)(x)= 3x – 1 + x2 + 3x
If f(x) = 3x – 1 and g(x) = x2 + 3x find = x2+ 6x + 1
a. (f + g)(x) b) (f – g)(x)=3x – 1 – (x2 + 3x)
b. (f – g)(x) =3x – 1 – x2 - 3x = – x2 – 1
c) (fg)(x) = (3x – 1)(x2 + 3x)
c. (fg)(x) = 3x3 + 9x2 -x2 -3x = 3x3 + 8x2 - 3x
f
d. f (x) d) (x) = (3x – 1)
g g (x2 + 3x)
13 14
15 16
Definition Example:
Find the slope of a line passing through
Let (x1, y1) and (x2,y2) be two (2,3) and (4,4)
different points on a nonvertical line.
The slope of the line is the number m Solution:
given by m=4–3
y − y1
m = ∆y = vertical.change = 2 4–2
∆x horizontal.change x 2 − x1 =1
2
17 18
3
Equations of Lines 2 Equations of Lines 2
4
Parallel and Perpendicular 2 Parallel and Perpendicular 2
line line
Solution: Solution:
a) The slope of y = 3x + 1 is 3. Thus b) The slope of a line perpendicular
the line through (3 , -2) that is to y = 3x + 1 must be - 1 3 . Using a
parallel to y = 3x + 1 also has slope point –slope form, we get
3. Using a point-slope form, we get y - y1 = m(x – x1)
y - y1 = m(x – x1) y - (-2) = - 1 3(x – 3)
y - (-2) = 3 (x – 3) y + 2 = - 1 3x + 1
y + 2 = 3x – 9 y = - 1 3x – 1
y = 3x - 11
25 26
3x – y – 7 = 0………………………(2)
From (1), x = 9 – 3y 2 2
Replace x into equation (2), which gives Replace y in x which
3(9 – 3y) – y – 7 = 0 gives, Example
27 – 9y – y – 7 = 0 x = 9 – 3(2) = 3 Find the middle point between A (2,4) and B (6,10) .
20 – 10y = 0 Solution:
10y = 20 2+6 4 +10 = (4,7)
y=2 ,
Thus the intersect point between two
2 2
lines, x + 3y = 9 and 3x – y – 7 = 0 is (3,2)
29 30
5
Distance between two points 2 GRAPHING LINEAR 2
FUNCTIONS
The distance between A(x1, y1) and B(x2,y2) gives a. Graph f(x) = 2x + 1
2 2
x − x2 + y1 − y2
1
m = 2, c = 1
Example: f(x)
Find the distance between (1,4) and (-2,5). f(x) = 2x + 1
Solution:
= 1− (−2) + 1− 5
2 2
1
= 3 + − 4
2 2
x
= 25
=5
31 32
t
33 34
6
Quadratic Functions Graph 3 Quadratic Functions Graph 3
If a > 0 , the graph extends If a < 0, the parabola Each parabola is symmetric about vertical line, called the
upward indefinitely and we opens downward. axis of symmetry of the parabola. The figure below shows a
say the parabola opens point called vertex, where the axis cuts the parabola.
upward. a < 0
a > 0 If a > 0, the vertex is the If a < 0, the vertex is the
y y c > 0
c > 0 lowest point of the parabola. highest point of the parabola.
This means that f(x) has a This means that f(x) has a
minimum value at this point maximum value at this point
x x
y
y y axis of symmetry y vertex (maximum value)
x
x x
x
Vertex 3 y-intercept 3
The formula for vertex is given by: The point where the parabola
y = ax2 + bx + c
− b − b
Vertex = , f intersects the y-axis (that is the y-
2a 2 a intercept) occurs when x = 0.
The y-coordinate of this point is c, so
the y-intercept is (0,c).
39 40
x-intercept 3 x-intercept 3
x x x
1 solution for x 2 solution for x no solution/ no 1 solution for x 2 solution for x no solution/ no
x-intercepts x-intercepts
b2-4ac = 0 b2-4ac > 0 b2-4ac = 0 b2-4ac > 0
b2-4ac < 0 b2-4ac < 0
41 42
7
x-intercept 3 x-intercept 3
y = f(x) = -x2 – 4x + 12 = 0 – 0 + 12 = 12
16
then y-intercept is (0,12) 12
x-intercept: when y = 0 8
y = f(x) = -x2 – 4x + 12 4
x
0 = - (x2 + 4x + 12) -6 -4 -2
-4 2
0 = - (x + 6)(x – 2) -8
Thus x = -6 or x = 2,
so the x-intercepts are (–6,0) and (2,0) 47 48
8
Exponential Function 4 Exponential Function 4
(ab ) x = a xb x (2 x 4) 2 = 2 2 x 4 2 = 4 x16 = 64
51 52
Let the base a = 2, base b = 4, x = 2 and y = 3 The logarithmic function with base b,
a a
x x 2 2 where b > 0 and b ≠ 1, is defined by
2 2 4 1
= x = 2 = = logb and is defined by
b b 4 4 16 4
1 1 1 y = logbx if and only if by = x
−x
a = x 2 −2 = 2 =
a 2 4 The domain of logb is all positive real
x 2
numbers and the range is all real
a y = ax
y
2 3 = 3 22 = 3 4
numbers.
a0 = 1 20 = 1 y = logbx means by = x
a1 = a 21 = 2 53 54
9
Logarithmic Function 5 5
Example: Converting from Exponential
to Logarithmic Form
Log28 = 3 because 23 = 8
base
55 56
5
Example: Converting from Logarithmic
Original Logarithmic 5
to exponential Form
57 58
a log a N = N
log a a = 1 There 2 way to solve exponential
log a 1 = 0 equation:
log a ( MN ) = log a M + log a N writes both left hand side and right
M hand side of equation in the same bases
log a = log a M − log a N and then compared and solved
N
log a M p = p log a M writes both left hand side and right
hand side of equation in the logarithmic
log a x
log b x = equation
log a b
If log a x = log a y then x = y 59 60
10
Exponential Equations 5 Logarithmic Equations 5
Logarithmic Equations 5
Example:
Solve 2 log 2 y = 2 + log 2 ( y - 1)
2 log 2 y = 2 + log 2 ( y - 1) y2
= 22
( y - 1)
2 log 2 y - log 2 ( y - 1) = 2
y 2 = 4( y - 1)
log 2 y 2 - log 2 ( y - 1) = 2 y 2 = 4y - 4
2
y2 y - 4y + 4 = 0
log 2 =2 (y-2) (y-2) = 0
( y - 1)
y= 2 63
11