06 BBMP1103 T2
06 BBMP1103 T2
Quadratic
2 Functions
LEARNING OUTCOMES
By the end of this topic, you should be able to:
1. Identify linear and quadratic functions;
2. Find the slope of a line;
3. Determine whether two lines are parallel or perpendicular;
4. Sketch the graphs for linear and quadratic functions; and
5. Find the intersection point between two functions.
INTRODUCTION
At the beginning of the 17th century, Gottfried Wilhelm Leibniz introduced the
term “function” to the mathematical vocabulary. The concept turned out to be one
of the most fundamental mathematical concepts. In general, a function is a special
type of input-output relation that expresses how the amount of one quantity (the
output) depends on another quantity (the input). A function is a rule that assigns
each value of x (input) to only one value of y (output) which is denoted by the
symbol f (other symbols such as g and h are also used). Usually, the symbol x is
used to represent an independent variable as it is free to take on any value while the
symbol y is used to denote a dependent variable as its value depends on the value
taken by x.
y = f x
or read as “y is a function of x”
y = g x
SELF-CHECK 2.1
Example 2.1
Obtain the slope and the y-intercept for each of the following linear equations:
(a) y = 6 – 3x (b) 2y + 6x = 9
Solution
Express the following equations in the general form, i.e. y = mx + c. Then, calculate
the value for m (scalar for x) and the y-intercept, i.e. the value of c.
(a) y 6 3x
(General form)
y 3x 6
Therefore, m = –3 and c = 6.
(b) 2 y 6x 9
2 y 6 x 9
(General form)
9
y 3x
2
9
Therefore, m = –3 and c .
2
2.1.2 Slope
If two points A (x1, y1) and B (x2, y2) are given, a slope can be derived by using the
following formula:
y2 y1
m
x2 x1
Example 2.2
Find the slope for each line that connects the two given points:
(a) A (1, 4) and B (–2, 5)
(b) C (0, –3) and D (7, –1)
(c) E (–6, 6) and F (1, 6)
Solution
54
(a) m
2 1
1
3
1 3
(b) m
70
1 3
7
2
7
66
(c) m
1 6
0
7
0
ACTIVITY 2.1
(a) Find two different points that are on the line and plot them.
Example 2.3
Sketch the graph for each of the following linear functions:
(a) y = 2x 1
(b) y = 4x
Solution
(a) y = 2x 1
Let x = 0, y 2(0) 1
y 1
Let y = 0, 2 x 1 0
2x 1
1
2
1
Hence, the second point is ,0 .
2
(b) y = 4x
Let x = 0, y 4(0)
y0
(ii) The second point: Find any other point besides the x-intercept (as it is
the same as the y-intercept)
Let x = 2, y 4(2)
y 8
Two lines are said to be parallel if and only if they have the same slope.
Example 2.4
Is line 2y – 3x + 6 = 0 parallel to line 4y = 6x + 3?
Solution
Find the slope for each line:
2 y 3x 6 0 4 y 6x 3
2 y 3x 6 6 3
y x
3x 4 4
y 3
2 3 3
y x
3 2 4
m1
2 3
m2
2
Since they have the same slope, these two lines are parallel.
Example 2.5
Find an equation of a straight line that passes through point (–2, 10) and parallel to
another straight line 5x – y = 0.
Solution
Determine the slope for line 5x – y = 0
5x y 0
y 5 x
y 5x
m5
The equation of a straight line is y = mx + c (The slope for this equation is also 5
since the slope of the two lines is the same).
Since this line passes through point (–2, 10), substitute x = –2 and y = 10 into
y = 5x + c and you will get:
10 10 c
10 10 c
c 20
Now we know when two lines are said to be parallel. But how about perpendicular
lines? Let us find out.
Perpendicular lines are two or more lines that intersect at a 90-degree angle, like
the two lines, L1and L2, shown in Figure 2.8.
Two lines are said to be perpendicular if and only if the product of the two slopes
is –1.
Example 2.6
Determine whether the straight line y – 2x = 1 is perpendicular to 2y + x = 2.
Solution
Calculate the slope for each line and multiply them.
y 2x 1 2y x 2
y 2x 1 2 y x 2
m1 2 x
y 1
2
1
m2
2
Since the multiplication of the two slopes is equal to –1, therefore, the two lines are
perpendicular to each other.
Example 2.7
Find an equation of a straight line that passes through point (1, 2) and perpendicular
to a straight line x + 5y = 2.
Solution
Determine the slope for line x + 5y = 2
x 5y 2
5y x 2
x 2
y
5 5
1
m1
5
1
m2 1 (The multiplication of the two slopes is –1 since the two lines
5
are perpendicular.)
m2 5
This line passes through point (1, 2). So, we substitute x = 1 and y = 2 into y = 5x + c
2 5(1) c
2 5c
25 c
3 c
Therefore, the equation of the straight line that we are looking for is y = 5x – 3.
ACTIVITY 2.2
EXERCISE 2.1
1. For each of the following equations, determine the slope and the
y-intercept:
x
(a) y 1 (b) y = –5 – 5x
2
2. Find the equation of a straight line with slope –1 that passes through
point (3, 2).
3. Given two points A (2, 4) and B (5, 12), determine the equation of a
straight line that passes through them.
5. Obtain the equation for a straight line that passes through point
(3, –2) and is perpendicular to line 3x – y + 3 = 0.
EXERCISE 2.2
The graph of a quadratic function is a parabola. The direction in which the parabola
opens depends on the value of a. If a is positive, the parabola opens upward and the
function has a minimum value. Take a look at Figure 2.9.
On the other hand, if a is negative, the parabola opens downward and the function
has a maximum value as shown in Figure 2.10.
The following are steps for sketching the graph for the quadratic function
f (x) = ax 2 + bx + c:
(a) Determine the direction in which the parabola opens by observing the value
of a.
(b) Find the vertex (x, y) using this formula:
b 4 ac b 2
x , y
2a 4a
(c) Find the y-intercept at which x = 0.
Substitute x = 0 into the quadratic function.
f ( x) ax 2 bx c
b b 2 4ac
Quadratic Formula: x
2a
Whether the graph crosses the x-axis or not depends on the value of b 2 4ac.
(i) When b 2 4ac > 0, the graph crosses the x-axis at two points;
(ii) When b 2 4ac = 0, the graph crosses the x-axis at only one point; and
(iii) When b 2 4ac < 0, the graph does not cross the x-axis.
(e) Plot all the predetermined points from steps (a) to (d). Draw a smooth curve
as it passes through the various points.
Example 2.8
Sketch the graph for each of the following quadratic functions:
(a) f ( x) = x 2 ă 4 x
(b) f ( x) = 3 – 2 x – x 2
(c) f ( x) = 2 x 2 + 2 x + 1
Solution
where a = 1, b = 4, c = 0
b 4ac b 2
x , y
2a 4a
2
4 4 1 0 4
,
2 1 4 1
4 0 16
,
2 4
2 , 4
c=0
x (x – 4) = 0
x (x – 4) = 0
x = 0, x=4
b b2 4ac
x
2a
b 2 4ac 4 4 1 0
2
16 0
16
4 16
x
2 1
44
x
2
44 44
x , x
2 2
x 4, x 0
(v) Thus, there are two x-intercepts, i.e. (0, 0) and (4, 0).
b 4ac b 2
x , y
2a 4a
2 4 1 3 2
2
x , y
2 1 4 1
2 12 4
x , y
2 4
16
x 1 , y
4
y4
c=3
3 – 2x – x2 = 0
b b
x , y f
2a 2a
2 1
x , Substitute x into the function
2 2 2
2 1
x y f
4 2
2
1 1 1
x , y 2 2 1
2 2 2
1
y 2 1 1
4
1
y
2
1 1
Hence, the vertex is ,
2 2
c=1
2 x2 + 2x + 1 = 0
b b 2 4ac
x
2a
b 2 4ac 2 2 4 2 1
48
4
ACTIVITY 2.3
Why do you think that the quadratic equation has the shape of a parabola?
Share your answer in the myINSPIRE forum.
EXERCISE 2.3
Example 2.9
Find the intersection point for the lines 2x + y = 4 and x – y = 2.
Solution
Solve the two equations simultaneously. Add the two equations together to
eliminate y.
2x y 4
() x y 2
3x 6
x2
2 y 2
y0
Example 2.10
Find the intersection point for the lines 2x + 4y = 6 and 6x + 3y = 18.
Solution
Equate the scalar of x in both equations by multiplying each term in equation
2x + 4y = 6 by 3.
Then subtract this equation from the other to eliminate the variable x.
6 x 12 y 18
( ) 6 x 3 y 18
9y 0
y0
2 x 4(0) 6
2x 6
x3
Example 2.11
Find the intersection point(s) for the curves y = 4 x ă x 2 and y = x 2 ă 6.
Solution
Solve the equations y = 4 x ă x 2 and y = x 2 ă 6.
4x x2 x2 6
4 x x2 x2 6 0
2 x x2 3 0
2 4 4 1 3
x
2 1
2 16
x
2
2 4
x
2
2 4 2 4
x , x
2 2
2 6
x , x
2 2
x 1 , x 3
Hence, the intersection points are (–1, –5) and (3, 3).
Example 2.12
Find the intersection point(s) for the curve x2 + y – 3 = 0 and the line 2x + y = 0.
Solution
Solve the equations x2 + y – 3 = 0 and 2x + y = 0
x2 y 3 0
x2 2 x 3 0
(Factorise the equation)
( x 3)( x 1) 0
x 3, x 1
When x = 3, y = –2(3)
y = –6
y=2
Thus, the intersection points are (3, –6) and (–1, 2).
ACTIVITY 2.4
1. When two graphs cross each other, what can we say about their
respective values of x and y at the intersection point? Discuss.
EXERCISE 2.4
1. Form the linear equation for a line that passes through point 3, 1
and having slope –7.
A. y = –7x + 21 B. y = 7x – 22
C. y = –7x + 20 D. y = 3x + 7
B. L1 : 2 x 2 y 1 , L2 : y x 9
C. L1 : y 3x 7 , L2 : y 3x 7
D. L1 : 3x y 7 0 , L2 : x y 1 0
A. B.
C. D.
Function Parabola
Intersection point Quadratic function
Linear function
Ratti, J. S., & McWaters, M. (2008). College algebra. Boston, MA: Pearson
Addison-Wesley.