Question
Question: If \( g\left( x \right) = x \) if \( x < 0 \), \( {x^2} \) if \( 0 \leqslant x \leqslant 1 \), and \...
If g(x)=x if x<0, x2 if 0⩽x⩽1, and x3 if x>1 . How do you show that g is continuous on all real numbers ?
Solution
Hint : In the given question, we are required to find whether a function given to us is continuous or not. The problem involves concepts of continuity and differentiability and can be solved easily with the knowledge of conditions for a function to be continuous. In the question, we are given a piece by piece defined function. This means the behavior of the graph of the function changes for different intervals of x.
Complete step by step solution:
Let us consider a real number c, where c∈(−∞,0) .
For x<0, g(x)=x .
So, x→climg(x)=x→climx
⇒x→climg(x)=c
Also, g(c)=c
Thus, x→climg(x)=g(c)=c
Hence the given function g(x) is continuous on (−∞,0) .
Now, evaluating limit at x=0
x→0limg(x)=x→0limx=0
Also, g(0)=0
Thus, x→0limg(x)=g(0)=0
Hence the given function g(x) is continuous at x equals zero.
Now let us consider a real number d, where d∈(0,1)
x→dlimg(d)=x→dlimx2
Or, x→dlimg(d)=d2
Also, g(d)=d2
Thus, x→dlimg(d)=g(d)=d2
Hence the given function g(x) is continuous on (0,1).
For 0⩽x⩽1, g(x)=x2 .
So, evaluating limit at x=1,
x→1limg(x)=x→1limx2
Also, g(1)=1
Thus, x→1limg(x)=g(1)=1
Hence the given function g(x) is continuous at x equals one.
Now, consider a real number e, e∈(1,∞)
For x>1, g(x)=x3 ,
x→elimg(x)=x→elimx3
Or, x→elimg(x)=e3
Also, g(e)=e3
Thus, x→elimg(x)=g(e)=e3
Thus the given function g(x) is continuous on (1,∞)
Therefore, we conclude that the given function g(x) is continuous on all real numbers.
Note : A function is said to be continuous if the graph of the function does not have any empty spaces in between or can be drawn on a graph paper without lifting up the pencil or pen. Functions that are defined piecewise behave differently for different sets of values of x.