Constant Function is defined as the real valued function $f : R \rightarrow R$ , y = f(x) = c for each $x \in R$
and c is a constant
So ,this function basically associate each real number to a constant value
It is a linear function where $f(x_1) =f(x_2) $ for all $x_1,x_2 \in R$
Domain and Range of the Constant Function
For $f : R \rightarrow R , y = f(x) = c$ for each $x \in R$
Domain = R
Range = {c}
The value of c can be any real number
Graph of the Constant Function
We can draw the graph on the Cartesian plane with value of x on the x-axis and value of y=f(x) on the y-axis. We can plot the point and join the point to obtain the graph. Here in case of the constant function,the graph will be a straight line parallel to x-axis
It will be above x-axis if constant is positive
It will be below x-axis if constant is negative
It will be coincident with x-axis if constant is zero
It can concluded from above things above the ,the slope of constant function is 0
Solved examples of constant Functions
1. which is below function is a constant function?
a. $y =x$
b. $y = 11$
c. $ y=\pi $
d. $ x + y=1$
e. $y =x^2$ Solution
For the function to be a constant function ,it should yield same value for each x
a. This is constant function as output is different for each input
b. This is constant function as output is same for each input. It is of the format y=c
c. This is constant function as output is same for each input. It is of the format y=c
d. This is constant function as output is different for each input
e. This is constant function as output is different for each input
2. which of the graph represent constant function?
Solution
The graph should be parallel to x-axis for the function to be constant function
So C and D are constant function