Linear and Quadratic Functions
Linear and Quadratic Functions
Linear and Quadratic Functions
Functions
A function describes the relationship that exists
between two sets of numbers.
Put another way, a function is a rule applied to one
set of numbers to produce a second set of
numbers.
Function Notation
Consider the function
x
f ( x)
x3
(0,6)
(2,0)
f ( x) 0
Graphing Functions
Input and output values form coordinate pairs:
(x, f(x)) or (x, y).
x values measure the distance from the origin in the
horizontal direction and f(x) values the distance
from the origin in the vertical direction.
To plot a straight line (linear function), 2 sets of
coordinates (3 sets is better) must be calculated. For
other functions, a selection of x values should be
made and coordinates calculated.
7
3
0
f ( x)
2(3) 4 10
2(0) 4 4
2(3) 4 2
(3,10)
(0,4)
(3, 2)
f (x)
2
f ( x) 2 x 4
10
0 2 x 5x 2
2
5 (5) 2 4 2 2
x
2 2
53
4
2 or 0.5
b
Vertex: x
2a
5
1.25
2(2)
When x 1.25,
2
f ( x) 2(1.25) 5(1.25) 2 1.125
The coordinates of the vertex are: (1.25, 1.125).
12
f (x)
2 (0,2)
f ( x) 2 x 2 5 x 2
(0.5,0)
1
2
(2,0)
-1
(1.25, -1.125)
13
Linear Functions
All linear functions (or equations) have the
following features:
a slope or gradient (m)
a y-intercept (b)
If (x1, y1) and (x2, y2) are two points on the line then
the gradient is given by:
y2 y1
m
x2 x1
14
y y1 y 2 y1
x x1
x 2 x1
2. Given m and (x1, y1)
y y1 m( x x1 )
3. Given m and b
y mx b
17
Problem: Depreciation
18
V
60,000
?
15,000
10
t
19
20
When t 0, V 60,000
(0, 60,000)
( x1 , y1 )
When t 10, V 15,000
(10, 15,000)
( x2 , y2 )
x0
10 0
21
y 60,000
4500
x
y 60,000 4500 x
y 4500 x 60,000
or more correctly
V 4500t 60,000
Example
Suppose a manufacturer of shoes will place on the
market 50 (thousand pairs) when the price is $35
(per pair) and 35 (thousand pairs) when the price is
$30 (per pair).
Find the supply equation, assuming that price p
and quantity q are linearly related.
(50, 35) ( x1 , y )
1
(35, 30) ( x2 , y2 )
23
(50, 35) ( x1 , y1 )
(35, 30) ( x2 , y2 )
y y1 y2 y1
x x1 x2 x1
y 35 30 35
x 50 35 50
y 35 1
x 50 3
1
y 35 ( x 50)
3
24
y 35 0.33 x 16.67
y 0.33 x 16.67 35
y 0.33 x 18.33
The supply equation is
p 0.33q 18.33
25
Example
For sheep maintained at high environmental
temperatures, respiratory rate r (per minute)
increases as wool length l (in centimetres) decreases.
Suppose sheep with a wool length of 2cm have an
(average) respiratory rate of 160, and those with a
wool length of 4cm have a respiratory rate of 125.
Assume that r and l are linearly related.
(a) Find an equation that gives r in terms of l.
(b) Find the respiratory rate of sheep with a wool
length of 1cm.
26
(2,160) ( x1 , y1 )
(4,125) ( x2 , y2 )
y 2 y1 125 160
m
17.5
x 2 x1
42
27
y y1 m( x x1 )
y 160 17.5( x 2)
y 17.5 x 35 160
y 17.5 x 195
r 17.5l 195
28
(b) When l = 1
r 17.5(1) 195
177.5
29
Quadratic Functions
All quadratic functions can be written in the
form
f ( x) ax 2 bx c
where a, b and c are constants and a 0.
30
q
31
q
32
33
0 p5
34
Graphically,
70
equilibrium
price
Algebraically,
D(p) = S(p)
p 18 p 68 2 p 8 p 12
2
p 2 p 18 p 8 p 68 12 0
2
p 10 p 56 0
a 1, b 10, c 56
2
10 (10) 2 4(1)(56)
p
2 1
p 14 or 4
36
37
a 0.15 0
Maximum occurs at
b
2.95
t
9.83
2a 2(0.15)
She should wait 9.83 weeks
( 10 weeks) for maximum revenue.
(R = $59 per tree)
40