Solveeit Logo

Question

Question: If \(f\left( x \right) = \left\\{ \begin{gathered} \dfrac{{{e^{2x}} - 1}}{{ax}},{\text{ for }}x ...

If f\left( x \right) = \left\\{ \begin{gathered} \dfrac{{{e^{2x}} - 1}}{{ax}},{\text{ for }}x < 0,a \ne 0 \\\ 1,{\text{ for }}x = 0 \\\ \dfrac{{\log \left( {1 + 7x} \right)}}{{bx}},{\text{ for }}x > 0,b \ne 0 \\\ \end{gathered} \right\\} is continuous at x = 0, then find the values of a and b.

Explanation

Solution

Here, we will proceed by finding the left hand limit (LHL), the right hand limit (RHL) and the value of the function at the point where the function is given continuous (x = 0). Then, we will use the concept that LHL at that point = Value of the function at that point = RHL at that point.

Complete step-by-step answer :
Given function is f\left( x \right) = \left\\{ \begin{gathered} \dfrac{{{e^{2x}} - 1}}{{ax}},{\text{ for }}x < 0,a \ne 0 \\\ 1,{\text{ for }}x = 0 \\\ \dfrac{{\log \left( {1 + 7x} \right)}}{{bx}},{\text{ for }}x > 0,b \ne 0 \\\ \end{gathered} \right\\}
LHL at x = 0 = f(0)=limx0f(x<0)f\left( {{0^ - }} \right) = \mathop {\lim }\limits_{x \to {0^ - }} f\left( {x < 0} \right)
f(0)=limx0e2x1ax\Rightarrow f\left( {{0^ - }} \right) = \mathop {\lim }\limits_{x \to {0^ - }} \dfrac{{{e^{2x}} - 1}}{{ax}}
Put x = 0-h \Rightarrowx = -h (by doing so limx0\mathop {\lim }\limits_{x \to {0^ - }} will become limh0\mathop {\lim }\limits_{h \to 0} ), the above equation becomes

f(0)=limh0e2(h)1a(h) f(0)=(1a)limh0e2h1h  \Rightarrow f\left( {{0^ - }} \right) = \mathop {\lim }\limits_{h \to 0} \dfrac{{{e^{2\left( { - h} \right)}} - 1}}{{a\left( { - h} \right)}} \\\ \Rightarrow f\left( {{0^ - }} \right) = - \left( {\dfrac{1}{a}} \right)\mathop {\lim }\limits_{h \to 0} \dfrac{{{e^{ - 2h}} - 1}}{h} \\\

The above limit corresponds to 00\dfrac{0}{0} form which can be solved using L-Hospital’s rule in which both the numerator and denominator of the limit is differentiated with respect to the variable (i.e., h)
f(0)=(1a)limh0ddh(e2h1)dhdh\Rightarrow f\left( {{0^ - }} \right) = - \left( {\dfrac{1}{a}} \right)\mathop {\lim }\limits_{h \to 0} \dfrac{{\dfrac{d}{{dh}}\left( {{e^{ - 2h}} - 1} \right)}}{{\dfrac{{dh}}{{dh}}}}
Using the formula ddh(ech)=cech\dfrac{d}{{dh}}\left( {{e^{ch}}} \right) = c{e^{ch}} (where c is any constant) in the above equation, we get

f(0)=(1a)limh02e2h1 f(0)=(2a)limh0e2h f(0)=(2a)(e2×0) f(0)=(2a)(e0) f(0)=(2a)(1) f(0)=2a (1)  \Rightarrow f\left( {{0^ - }} \right) = - \left( {\dfrac{1}{a}} \right)\mathop {\lim }\limits_{h \to 0} \dfrac{{ - 2{e^{ - 2h}}}}{1} \\\ \Rightarrow f\left( {{0^ - }} \right) = \left( {\dfrac{2}{a}} \right)\mathop {\lim }\limits_{h \to 0} {e^{ - 2h}} \\\ \Rightarrow f\left( {{0^ - }} \right) = \left( {\dfrac{2}{a}} \right)\left( {{e^{ - 2 \times 0}}} \right) \\\ \Rightarrow f\left( {{0^ - }} \right) = \left( {\dfrac{2}{a}} \right)\left( {{e^0}} \right) \\\ \Rightarrow f\left( {{0^ - }} \right) = \left( {\dfrac{2}{a}} \right)\left( 1 \right) \\\ \Rightarrow f\left( {{0^ - }} \right) = \dfrac{2}{a}{\text{ }} \to {\text{(1)}} \\\

Value of the function at x = 0 = f(0)=f(x=0)f\left( 0 \right) = f\left( {x = 0} \right)
f(0)=1 (2)\Rightarrow f\left( 0 \right) = 1{\text{ }} \to {\text{(2)}}
RHL at x = 0 = f(0+)=limx0+f(x>0)f\left( {{0^ + }} \right) = \mathop {\lim }\limits_{x \to {0^ + }} f\left( {x > 0} \right)
f(0+)=limx0+log(1+7x)bx\Rightarrow f\left( {{0^ + }} \right) = \mathop {\lim }\limits_{x \to {0^ + }} \dfrac{{\log \left( {1 + 7x} \right)}}{{bx}}
Put x = 0+h \Rightarrowx = h (by doing so limx0+\mathop {\lim }\limits_{x \to {0^ + }} will become limh0\mathop {\lim }\limits_{h \to 0} ), the above equation becomes

f(0+)=limh0log(1+7h)bh f(0+)=(1b)limh0log(1+7h)h  \Rightarrow f\left( {{0^ + }} \right) = \mathop {\lim }\limits_{h \to 0} \dfrac{{\log \left( {1 + 7h} \right)}}{{bh}} \\\ \Rightarrow f\left( {{0^ + }} \right) = \left( {\dfrac{1}{b}} \right)\mathop {\lim }\limits_{h \to 0} \dfrac{{\log \left( {1 + 7h} \right)}}{h} \\\

The above limit corresponds to 00\dfrac{0}{0} form which can be solved using L-Hospital’s rule in which both the numerator and denominator of the limit is differentiated with respect to the variable (i.e., h)
f(0+)=(1b)limh0ddh(log(1+7h))dhdh\Rightarrow f\left( {{0^ + }} \right) = \left( {\dfrac{1}{b}} \right)\mathop {\lim }\limits_{h \to 0} \dfrac{{\dfrac{d}{{dh}}\left( {\log \left( {1 + 7h} \right)} \right)}}{{\dfrac{{dh}}{{dh}}}}
Using the formula ddh(log[f(h)])=1f(h)ddh(f(h))\dfrac{d}{{dh}}\left( {\log \left[ {f\left( h \right)} \right]} \right) = \dfrac{1}{{f\left( h \right)}}\dfrac{d}{{dh}}\left( {f\left( h \right)} \right) in the above equation, we get

f(0+)=(1b)limh0(11+7h)[ddh(7h)]1 f(0+)=(1b)limh071+7h f(0+)=(7b)limh011+7h f(0+)=(7b)[11+(7×0)] f(0+)=(7b)[11+(7×0)] f(0+)=7b (3)  \Rightarrow f\left( {{0^ + }} \right) = \left( {\dfrac{1}{b}} \right)\mathop {\lim }\limits_{h \to 0} \dfrac{{\left( {\dfrac{1}{{1 + 7h}}} \right)\left[ {\dfrac{d}{{dh}}\left( {7h} \right)} \right]}}{1} \\\ \Rightarrow f\left( {{0^ + }} \right) = \left( {\dfrac{1}{b}} \right)\mathop {\lim }\limits_{h \to 0} \dfrac{7}{{1 + 7h}} \\\ \Rightarrow f\left( {{0^ + }} \right) = \left( {\dfrac{7}{b}} \right)\mathop {\lim }\limits_{h \to 0} \dfrac{1}{{1 + 7h}} \\\ \Rightarrow f\left( {{0^ + }} \right) = \left( {\dfrac{7}{b}} \right)\left[ {\dfrac{1}{{1 + \left( {7 \times 0} \right)}}} \right] \\\ \Rightarrow f\left( {{0^ + }} \right) = \left( {\dfrac{7}{b}} \right)\left[ {\dfrac{1}{{1 + \left( {7 \times 0} \right)}}} \right] \\\ \Rightarrow f\left( {{0^ + }} \right) = \dfrac{7}{b}{\text{ }} \to {\text{(3)}} \\\

Given, this function is continuous at x = 0 so the left hand limit at x = 0 will be equal to the value of the function at x = 0 which will be further equal to the right hand limit at x = 0
i.e., f(0)=f(0)=f(0+)f\left( {{0^ - }} \right) = f\left( 0 \right) = f\left( {{0^ + }} \right)
By using equations (1), (2) and (3), we get
2a=1=7b (4)\dfrac{2}{a} = 1 = \dfrac{7}{b}{\text{ }} \to {\text{(4)}}
Taking 2a=1\dfrac{2}{a} = 1 from equation (4), we have
a=2\Rightarrow a = 2
Taking 1=7b1 = \dfrac{7}{b} from equation (4), we have
b=7\Rightarrow b = 7
Therefore, the values of a and b are 2 and 7 respectively.

Note :In this particular problem, for the LHL of the function at x = 0, the considered function is f(x)=e2x1axf\left( x \right) = \dfrac{{{e^{2x}} - 1}}{{ax}} because this is the definition of the function for x<0. For the value of the function at x = 0, f(x)=1f\left( x \right) = 1 as given. For the RHL of the function at x = 0, the considered function is f(x)=log(1+7x)bxf\left( x \right) = \dfrac{{\log \left( {1 + 7x} \right)}}{{bx}} because this is the definition of the function for x> 0.