Constant and Linear Functions - SAR
Constant and Linear Functions - SAR
GENMATH
Chemical Engineering Department
Dr. Susan A. Roces
1T, AY 2024 - 2025
CONSTANT FUNCTIONS
Constant functions
u The simplest of all real-valued functions
u Function which takes the same value of y no
matter what the value of x is.
Solution: Graph:
y = f (x) = 3
Domain : D = R
D = {x / x ∈ R}
Range : R = {y / y = 3}
R = {3}
Illustrative Examples: CONSTANT FUNCTIONS
Solution: Graph:
y = f (x) = −1 / 2
Domain : D = R
y = −1 / 2
D = {x / x ∈ R}
Range : R = {y / y = −1 / 2}
R = {−1 / 2}
LINEAR FUNCTIONS
Ø Linear functions have many applications in
different fields like Physics, Chemistry,
Business, etc.
Ø As long as there is a linear relationship
between two quantities, a study of linear
function would be helpful.
Linear functions
u Functions with one independent variable and
one dependent variable.
u Both x and y are raised to one
LINEAR FUNCTIONS
General Form:
y = f (x) = mx + b
Domain : D = {x / x ∈ R} → (−∞, ∞)
Range : R = {y / y ∈ R} → (−∞, ∞)
x and y intercepts
Ø The x-intercept to the graph of f(x) is the
ordered pair (x, y) where y = 0.
Ø It is the intersection of the graph and the x –
axis.
y2 − y1 f (x2 ) − f (x1 )
m= =
x2 − x1 x2 − x1
x-intercept: let y = 0:
0 = 2x +1
x = −1 / 2, P(−1 / 2, 0)
Illustrative Examples: LINEAR FUNCTIONS
y = f (x) = x
Also, since, y = x
whatever is the value of x becomes also the
value of y
Illustrative Examples: LINEAR FUNCTIONS
Solution:
(a) D = {x / x ∈ R}
(b) R = {y / y ∈ R}
(c) The slope of a line P1 (3, 3) and P2 (6,1) is:
y2 − y1 1− 3 2
m= = =−
x2 − x1 6 − 3 3
(d) To solve for y - intercept: x = 0 : P1 (0, b)
Choose any given point, P2 (6,1)
Illustrative Examples: LINEAR FUNCTIONS
1. Point-slope form
y − y1 = m(x − x1 )
2. Slope-intercept form
y = mx + b, where b = y-intercept
y = m ( x − a ), where a = x-intercept
3. Two-intercept form
x y
+ =1
a b
Illustrative Examples: LINEAR FUNCTIONS
Solution:
(a) Slope-intercept form
y = mx + b, where b = y-intercept
Given : P(0, 5) and m = −2 / 3
2
y =− x+5
3
Illustrative Examples: LINEAR FUNCTIONS
⎛ 15 ⎞
Given : P ⎜ , 0 ⎟ and m = −2 / 3
⎝2 ⎠
2 ⎛ 15 ⎞
y = − ⎜x − ⎟
3⎝ 2⎠
Illustrative Examples: LINEAR FUNCTIONS
2
y − 3 = − ( x − 3)
3
Illustrative Examples: LINEAR FUNCTIONS
2
y =− x+5
3
−2x +15
y=
3
3y = −2x +15
2x + 3y −15 = 0
Homework 4_ CONSTANT and LINEAR FUNCTIONS