Business Maths - Lecture 3
Business Maths - Lecture 3
1
Learning outcomes
• Determine the equation of a straight line and sketch its
graph on the x-y plane.
• Understand the concept of a function and determine its
domain and range.
• Compute the sum, difference, product, quotient and
composition of functions.
2
Cartesian coordinate system
• The Cartesian coordinate system consists of two
perpendicular number lines. The horizontal line is the x-
axis and the vertical line is the y-axis.
• The point where the two lines intersect is called the origin,
O. The numbers on the axes to the right and above the
origin are positive whereas the numbers on the axes to
the left and below the origin are negative.
• The location of a unique point in the coordinate system is
indicated by an ordered pair in the form (x, y), also known
as the coordinates of the point. 3
Cartesian coordinate system
4
Slope
• Slope or gradient, is a measure of the “steepness” of
the line.
• It is defined as the ratio of the vertical change to the
horizontal change for any two points on the line, i.e. if
(x1, y1) and (x2, y2) are two points on the line, then
y2 y1
Slope
x2 x1
5
Example 3.1
• Find the slope of the line passing through (1, 2) and (5, 4).
4 2
Slope
5 1
2
4
1
2
6
Different types of slopes
7
Parallel and perpendicular slopes
8
Example 3.2
• A line L1 passes through the points (–1, 2) and (4, 12).
Find the slope of the line which is (a) parallel to L1, and
(b) perpendicular to L1.
12 2
(a) Slope of L1 2
4 1
Slope of line parallel to L1 2
9
Example 3.2
• A line L1 passes through the points (–1, 2) and (4, 12).
Find the slope of the line which is (a) parallel to L1, and
(b) perpendicular to L1.
1
(b) 2m 1 m
2
1
Slope of line perpendicular to L1
2
10
Equation of straight lines
• An equation of a straight line shows a linear relationship
between two variables, usually denoted by x and y.
• Therefore, every straight line lying in the coordinate
system can be represented by an equation.
• All the points with coordinates (x, y) that lie on the
straight line will satisfy the equation.
11
Horizontal and vertical lines
• Consider the equation of a
vertical line that passes through
the point (a, b).
• Any other point on the line
would have coordinates (a, y).
• Thus the equation of a vertical
line would be of the form x = a.
12
Horizontal and vertical lines
• Consider the equation of a
horizontal line that passes
through the point (a, b).
• Any other point on the line would
have coordinates (x, b).
• Thus the equation of a horizontal
line would be of the form y = b. .
13
Point slope form
• Most lines are neither parallel to the x-axis nor to the y-
axis but are usually inclined at an angle to the x-axis.
• To determine the equation of a general line, we first
need to compute the slope of the line, m.
y2 y1
m
x2 x1
• Then use the formula
y y1 m x x1
14
Example 3.3
• Find the equation of the line that passes through the
points (3, 1) and (5, 11).
11 1 10
Slope of line, m 5
5 3 2
y 1 5 x 3
y 1 5 x 15
5 x y 14 0
15
Slope intercept form
• The slope-intercept form of a line that has slope m and
intersects the y-axis at the point (0, b) is given by
y mx b
slope y-intercept
16
Example 3.6
• Find the equation of the line L that passes through the
point (3, –2) and is perpendicular to the line with
equation y = 2x – 1.
19
Functions
• A function is a mathematical relation between two sets A
and B such that each element in set A is associated with
exactly one element in set B.
• The mathematical relation is called the rule of the
function and is usually denoted by f.
• If x is an element in set A, then the element in B that is
associated with x is written f(x).
20
Functions
21
Evaluating functions
• When we evaluate a function, we are computing the
value of f(x) for a specific value of x.
• This is usually accomplished by simply replacing x with
the particular value.
22
Example 3.7
• The function f is defined by the rule f(x) = x2 – 3x + 1.
24
Example 3.8
• Find the domain of each function.
(a) f x x 2 x 1
25
Example 3.8
• Find the domain of each function.
1
(b) f x 2
x 9
1
Factorising the denominator, we have f x
x 3 x 3
As division by zero is undefined, the domain for f is the
set of all real numbers excluding 3 and –3, i.e. (–∞, –3)
(–3, 3) (3, ∞).
26
Example 3.8
• Find the domain of each function.
(c ) f x x 2
27
Range of a function
• The range of a function is the set of all elements that
f(x) can take.
• To determine the range of a function, we can present a
function as a graph.
• The domain is the set of all real numbers lying on the x-
axis and the range is the set of all real numbers lying on
the y-axis.
28
Example 3.9
Domain = [–2, 4]
f(3) = 2
Range = [–2, 2]
29
Plotting graphs
• By plotting a few points (x, f(x)) of a function, we are
usually able to determine the shape of the graph.
• The graph of a linear equation is a straight line
• The graph of a quadratic equation is a parabola.
30
Plotting graphs
• More systematic and sophisticated techniques for
graphing linear and quadratic functions will be
discussed in the next chapter.
31
Example 3.11
• Sketch the graph of the function f defined by
x if x 0
f x
2 x 1 if x 0
• Hence, find the range of the function f.
32
Example 3.11
f(x) = –x f(x) = 2x + 1
x –2 –1 0 x 0 1 2
f(x) –2 –1 0 f(x) 1 3 5
34
Example 3.12
• Determine which of the curves shown below are graphs
of functions.
(a) (b)
f g
x x 2
1 x 1
x 2 x 2
f g x x 1 x 2 x x 3
2 2
fg x x 2
1 x 2
f x2 1
x
g x 2
37
Composite functions
f x x 1, g x x 2
1 2 4
f x x 1 g x x 2
2 3 9
… … …
a a+1 (a + 1)2
g f x x 1
2
38
Composite functions
• In general, if f and g are functions, then the composition
of g and f is defined by the function
g f x g f x
39
Example 3.14
f x x , g x x 1
2
g f x g f x f g x f g x
g x 2 f x1
2 2
x 1 x1
x 1
x 2 x 1
40
Exercise
• Try Discussion questions Q6, 7, 8 and 9.
41