Solveeit Logo

Question

Question: If \( g\left( x \right) = x \) if \( x < 0 \), \( {x^2} \) if \( 0 \leqslant x \leqslant 1 \), and \...

If g(x)=xg\left( x \right) = x if x<0x < 0, x2{x^2} if 0x10 \leqslant x \leqslant 1, and x3{x^3} if x>1x > 1 . How do you show that g is continuous on all real numbers ?

Explanation

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)c \in ( - \infty ,0) .
For x<0x < 0, g(x)=xg\left( x \right) = x .
So, limxcg(x)=limxcx\mathop {\lim }\limits_{x \to c} g(x) = \mathop {\lim }\limits_{x \to c} x
limxcg(x)=c\Rightarrow \mathop {\lim }\limits_{x \to c} g(x) = c
Also, g(c)=cg(c) = c
Thus, limxcg(x)=g(c)=c\mathop {\lim }\limits_{x \to c} g(x) = g(c) = c
Hence the given function g(x) is continuous on (,0)( - \infty ,0) .

Now, evaluating limit at x=0x = 0
limx0g(x)=limx0x=0\mathop {\lim }\limits_{x \to 0} g(x) = \mathop {\lim }\limits_{x \to 0} x = 0
Also, g(0)=0g(0) = 0
Thus, limx0g(x)=g(0)=0\mathop {\lim }\limits_{x \to 0} g(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)d \in (0,1)
limxdg(d)=limxdx2\mathop {\lim }\limits_{x \to d} g(d) = \mathop {\lim }\limits_{x \to d} {x^2}
Or, limxdg(d)=d2\mathop {\lim }\limits_{x \to d} g(d) = {d^2}
Also, g(d)=d2g(d) = {d^2}
Thus, limxdg(d)=g(d)=d2\mathop {\lim }\limits_{x \to d} g(d) = g(d) = {d^2}
Hence the given function g(x) is continuous on (0,1)(0,1).
For 0x10 \leqslant x \leqslant 1, g(x)=x2g\left( x \right) = {x^2} .
So, evaluating limit at x=1x = 1,
limx1g(x)=limx1x2\mathop {\lim }\limits_{x \to 1} g(x) = \mathop {\lim }\limits_{x \to 1} {x^2}
Also, g(1)=1g(1) = 1
Thus, limx1g(x)=g(1)=1\mathop {\lim }\limits_{x \to 1} g(x) = g(1) = 1
Hence the given function g(x) is continuous at x equals one.
Now, consider a real number e, e(1,)e \in (1,\infty )

For x>1x > 1, g(x)=x3g\left( x \right) = {x^3} ,
limxeg(x)=limxex3\mathop {\lim }\limits_{x \to e} g(x) = \mathop {\lim }\limits_{x \to e} {x^3}
Or, limxeg(x)=e3\mathop {\lim }\limits_{x \to e} g(x) = {e^3}
Also, g(e)=e3g(e) = {e^3}
Thus, limxeg(x)=g(e)=e3\mathop {\lim }\limits_{x \to e} g(x) = g(e) = {e^3}
Thus the given function g(x) is continuous on (1,)(1,\infty )
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.