L6. Finding Some Piecewise Functions
L6. Finding Some Piecewise Functions
functions from
graph
Exercise 1.1
The Greatest Integer Function (Floor
function)
1.2 1 2.2 2
1.3 1 2.4 2
1.9 1 2.6 2
2
The least Integer Function (Ceiling
function)
1.2 2 2.2 3
1.3 2 2.4 3
1.9 2 2.6 3
3
Example
Write a formula for the function y=f(x) whose graph consists of
the two-line segment.
Equation of line:y y1 m x x1
(0,0), (1,1)
(1,0), (2,1)
y2 y1
Slope=m
x2 x1
1 0
m1 1 1, 0
1 0
1 0
m2 1
2 1 4
Equation of line: y y1 m x x1
𝑚1= 1 , ( 0 , 0 ) ∨(1𝑚 2 =1 , ( 1 , 0 ) , ( 2 , 1
, 1)
y 0 1 x 0 y x y 0 1 x 1 y x 1
5
(0,2), (2,0)
(2,1), (5,0)
y2 y1
Slope=m
x2 x1
0 2
m1 1
2 0
0 1 1
m2
5 2 3
6
Equation of line: y y1 m x x1
1
𝑚1= − 1 , ( 2 , 0 ) ∨(0 , 2 ) 𝑚2 =− , ( 2 , 1 ) , (5 , 0
3
1
y 2 1 x 0 y 1 x 2
3
y 2 x 1 2
y x 1
y x 2 3 3
1
y x 5
3
7
Exercise 1.1
Exercise 1.1
Q. 25-32
16