Limits, Continuity and Differentiability
Let $f(x) = \lim\limits_{\theta \to 0} \left( \frac{\cos \pi x - x^\left( \frac{2}{\theta} \right) \sin(x-1)}{1 + x^\left( \frac{2}{\theta} \right) (x-1)} \right),\ x \in \mathbb{R}$. Consider the following two statements :
(I) $f(x)$ is discontinuous at $x=1$.
(II) $f(x)$ is continuous at $x = -1$.
Then,
Neither (I) nor (II) is True
Only (II) is True
Only (I) is True
Both (I) and (II) are True
The value of
$ \lim\limits_{x \rightarrow 0} \frac{\log _e\left(\sec (e x) \cdot \sec \left(e^2 x\right) \cdot \ldots \cdot \sec \left(e^{10} x\right)\right)}{e^2-e^{2 \cos x}} $
is equal to
$ \frac{\left(e^{10}-1\right)}{2 e^2\left(e^2-1\right)} $
$ \frac{\left(e^{20}-1\right)}{2 e^2\left(e^2-1\right)} $
$ \frac{\left(e^{10}-1\right)}{2\left(e^2-1\right)} $
$ \frac{\left(e^{20}-1\right)}{2\left(e^2-1\right)} $
Let $y=y(x)$ be a differentiable function in the interval $(0, \infty)$ such that $y(1)=2$, and $\lim\limits_{t \rightarrow x}\left(\frac{t^2 y(x)-x^2 y(t)}{x-t}\right)=3$ for each $x > 0$. Then $2 y(2)$ is equal to :
27
18
23
12
Let $[t]$ denote the greatest integer less than or equal to $t$. If the function
$ f(x)=\left\{\begin{array}{cl} b^2 \sin \left(\frac{\pi}{2}\left[\frac{\pi}{2}(\cos x+\sin x) \cos x\right]\right), & x<0 \\ \frac{\sin x-\frac{1}{2} \sin 2 x}{x^3} & , x>0 \\ a & , x=0 \end{array}\right. $
is continuous at $x=0$, then $a^2+b^2$ is equal to :
$\frac{1}{2}$
$\frac{5}{8}$
$\frac{3}{4}$
$\frac{9}{16}$
Let $\alpha, \beta \in \mathbb{R}$ be such that the function $f(x)= \begin{cases}2 \alpha\left(x^2-2\right)+2 \beta x & , x<1 \\ (\alpha+3) x+(\alpha-\beta) & , x \geq 1\end{cases}$ be differentiable at all $x \in \mathbb{R}$. Then $34(\alpha+\beta)$ is equal to
48
84
36
24
If the function $f(x)=\frac{e^x\left(e^{\tan x-x}-1\right)+\log _e(\sec x+\tan x)-x}{\tan x-x}$ is continuous at $x=0$, then the value of $f(0)$ is equal to
$\frac{2}{3}$
$\frac{1}{2}$
2
$\frac{3}{2}$
If $f(x)=\left\{\begin{array}{cc}\frac{a|x|+x^2-2(\sin |x|)(\cos |x|)}{x} & , x \neq 0 \\ b & , x=0\end{array}\right.$
is continuous at $x=0$, then $a+b$ is equal to :
1
2
0
4
Let $f(x)= \begin{cases}\frac{\mathrm{a} x^2+2 \mathrm{a} x+3}{4 x^2+4 x-3} & , x \neq-\frac{3}{2}, \frac{1}{2} \\ \mathrm{~b} & , x=-\frac{3}{2}, \frac{1}{2}\end{cases}$ be continuous at $x=-\frac{3}{2}$. If $f \circ f(x)=\frac{7}{5}$, then $x$ is equal to:
1.4
2
1
0
If $\lim\limits_{x \rightarrow 0} \frac{\mathrm{e}^{(\mathrm{a}-1) x}+2 \cos \mathrm{~b} x+(\mathrm{c}-2) \mathrm{e}^{-x}}{x \cos x-\log _{\mathrm{e}}(1+x)}=2$, then $\mathrm{a}^2+\mathrm{b}^2+\mathrm{c}^2$ is equal to :
3
5
9
7
Let $[\cdot]$ denote the greatest integer function, and let $f(x)=\min \left\{\sqrt{2} x, x^2\right\}$.
Let $\mathrm{S}=\left\{x \in(-2,2)\right.$ : the function $\mathrm{g}(x)=|x|\left[x^2\right]$ is discontinuous at $\left.x\right\}$.
Then $\sum\limits_{x \in \mathrm{~S}} f(x)$ equals
$2-\sqrt{2}$
$2 \sqrt{6}-3 \sqrt{2}$
$1-\sqrt{2}$
$\sqrt{6}-2 \sqrt{2}$
Let $f: \mathbf{R} \rightarrow(0, \infty)$ be a twice differentiable function such that $f(3)=18, f^{\prime}(3)=0$ and $f^{\prime \prime}(3)=4$.
Then $\lim\limits _{x \rightarrow 1}\left(\log _e\left(\frac{f(2+x)}{f(3)}\right)^{\frac{18}{(x-1)^2}}\right)$ is equal to :
9
18
1
2
Given below are two statements:
Statement I: $ \lim\limits_{x \to 0} \left( \frac{\tan^{-1} x + \log_e \sqrt{\frac{1+x}{1-x}} - 2x}{x^5} \right) = \frac{2}{5} $
Statement II: $ \lim\limits_{x \to 1} \left( x^{\frac{2}{1-x}} \right) = \frac{1}{e^2} $
In the light of the above statements, choose the correct answer from the options given below:
Statement I is false but Statement II is true
Both Statement I and Statement II are false
Both Statement I and Statement II are true
Statement I is true but Statement II is false
$\lim _\limits{x \rightarrow 0^{+}} \frac{\tan \left(5(x)^{\frac{1}{3}}\right) \log _e\left(1+3 x^2\right)}{\left(\tan ^{-1} 3 \sqrt{x}\right)^2\left(e^{5(x)^{\frac{4}{3}}}-1\right)}$ is equal to
Let $f$ be a differentiable function on $\mathbf{R}$ such that $f(2)=1, f^{\prime}(2)=4$. Let $\lim \limits_{x \rightarrow 0}(f(2+x))^{3 / x}=\mathrm{e}^\alpha$. Then the number of times the curve $y=4 x^3-4 x^2-4(\alpha-7) x-\alpha$ meets $x$-axis is :
Let $f: \mathbb{R} \rightarrow \mathbb{R}$ be a continuous function satisfying $f(0)=1$ and $f(2 x)-f(x)=x$ for all $x \in \mathbb{R}$. If $\lim _\limits{n \rightarrow \infty}\left\{f(x)-f\left(\frac{x}{2^n}\right)\right\}=G(x)$, then $\sum_\limits{r=1}^{10} G\left(r^2\right)$ is equal to
If $\lim _\limits{x \rightarrow 1^{+}} \frac{(x-1)(6+\lambda \cos (x-1))+\mu \sin (1-x)}{(x-1)^3}=-1$, where $\lambda, \mu \in \mathbb{R}$, then $\lambda+\mu$ is equal to
Let $\quad f(x)= \begin{cases}(1+a x)^{1 / x} & , x<0 \\ 1+b, & x=0 \\ \frac{(x+4)^{1 / 2}-2}{(x+c)^{1 / 3}-2}, & x>0\end{cases}$ be continuous at $x=0$. Then $e^a b c$ is equal to:
For $\alpha, \beta, \gamma \in \mathbf{R}$, if $\lim _\limits{x \rightarrow 0} \frac{x^2 \sin \alpha x+(\gamma-1) \mathrm{e}^{x^2}}{\sin 2 x-\beta x}=3$, then $\beta+\gamma-\alpha$ is equal to :
5
2
3
The value of $\lim \limits_{n \rightarrow \infty}\left(\sum\limits_{k=1}^n \frac{k^3+6 k^2+11 k+5}{(k+3)!}\right)$ is :
5/3
2
4/3
7/3
Let $[x]$ denote the greatest integer function, and let m and n respectively be the numbers of the points, where the function $f(x)=[x]+|x-2|,-2< x<3$, is not continuous and not differentiable. Then $\mathrm{m}+\mathrm{n}$ is equal to :
$\lim _\limits{x \rightarrow 0} \operatorname{cosec} x\left(\sqrt{2 \cos ^2 x+3 \cos x}-\sqrt{\cos ^2 x+\sin x+4}\right)$ is:
Let $f: \mathbb{R}-\{0\} \rightarrow \mathbb{R}$ be a function such that $f(x)-6 f\left(\frac{1}{x}\right)=\frac{35}{3 x}-\frac{5}{2}$. If the $\lim\limits _{x \rightarrow 0}\left(\frac{1}{\alpha x}+f(x)\right)=\beta ; \alpha, \beta \in \mathbb{R}$, then $\alpha+2 \beta$ is equal to
$\lim \limits_{x \rightarrow \infty} \frac{\left(2 x^2-3 x+5\right)(3 x-1)^{\frac{x}{2}}}{\left(3 x^2+5 x+4\right) \sqrt{(3 x+2)^x}}$ is equal to :
If the function
$
f(x)=\left\{\begin{array}{l}
\frac{2}{x}\left\{\sin \left(k_1+1\right) x+\sin \left(k_2-1\right) x\right\}, \quad x<0 \\
4, \quad x=0 \\
\frac{2}{x} \log _e\left(\frac{2+k_1 x}{2+k_2 x}\right), \quad x>0
\end{array}\right.
$
is continuous at $x=0$, then $k_1^2+k_2^2$ is equal to :
If $\lim _\limits{x \rightarrow \infty}\left(\left(\frac{\mathrm{e}}{1-\mathrm{e}}\right)\left(\frac{1}{\mathrm{e}}-\frac{x}{1+x}\right)\right)^x=\alpha$, then the value of $\frac{\log _{\mathrm{e}} \alpha}{1+\log _{\mathrm{e}} \alpha}$ equals :
If $\sum_\limits{r=1}^n T_r=\frac{(2 n-1)(2 n+1)(2 n+3)(2 n+5)}{64}$, then $\lim _\limits{n \rightarrow \infty} \sum_\limits{r=1}^n\left(\frac{1}{T_r}\right)$ is equal to :
Explanation:
$\lim _\limits{x \rightarrow 0} \frac{\frac{\tan (\tan x)-\tan x}{\tan ^3 x} \frac{\tan ^3 x}{x^3}+\frac{\tan x-\sin x}{x^3}+\frac{\sin x-\sin (\sin x)}{\sin ^3 x} \frac{\sin ^3 x}{x^3}}{\frac{\tan x-\sin x}{x^3}}$
$=\frac{\frac{1}{3}+\frac{1}{2}+\frac{1}{6}}{\frac{1}{2}}=2$
For $\mathrm{t}>-1$, let $\alpha_{\mathrm{t}}$ and $\beta_{\mathrm{t}}$ be the roots of the equation
$ \left((\mathrm{t}+2)^{1 / 7}-1\right) x^2+\left((\mathrm{t}+2)^{1 / 6}-1\right) x+\left((\mathrm{t}+2)^{1 / 21}-1\right)=0 \text {. If } \lim \limits_{\mathrm{t} \rightarrow-1^{+}} \alpha_{\mathrm{t}}=\mathrm{a} \text { and } \lim \limits_{\mathrm{t} \rightarrow-1^{+}} \beta_{\mathrm{t}}=\mathrm{b} \text {, } $
then $72(a+b)^2$ is equal to ___________.
Explanation:
$\begin{aligned} &a+b=\lim _{t \rightarrow-1^{+}}(\alpha+\beta)=\lim _{t \rightarrow-1^{+}}-\frac{(t+2)^{\frac{1}{6}}-1}{(t+2)^{\frac{1}{7}}-1}\\ &\begin{aligned} & \text { let } t+2=y \\ & a+b=\lim _{y \rightarrow 1^{+}} \frac{y^{1 / 6}-1}{y^{1 / 7}-1}=\frac{7}{6} \\ & 72(a+b)^2=72 \frac{49}{36}=98 \end{aligned} \end{aligned}$
The number of points of discontinuity of the function $f(x)=\left[\frac{x^2}{2}\right]-[\sqrt{x}], x \in[0,4]$, where $[\cdot]$ denotes the greatest integer function, is ________.
Explanation:
To determine the points of discontinuity of the function $ f(x) = \left[\frac{x^2}{2}\right] - [\sqrt{x}] $, where $[\cdot]$ denotes the greatest integer function, we need to identify possible values of $ x $ where discontinuities might occur within the interval $[0,4]$.
Discontinuity Analysis
For the term $\left[\frac{x^2}{2}\right]$:
The probable values of $ x $ that could cause discontinuities are the roots or specific values where the integer part changes between consecutive integers. The transitions happen when:
$ \begin{aligned} & = 1, 2, 3, 4, 5, 6, 7, 8 \\ & \implies x = \sqrt{2}, 2, \sqrt{6}, 2\sqrt{2}, \sqrt{10}, 2\sqrt{3}, \sqrt{14}, 4 \end{aligned} $
For the term $[\sqrt{x}]$:
The values of $ x $ where $[\sqrt{x}]$ changes are straightforward. They occur at:
$ x = 1, 2 $
Discontinuity Check
By evaluating $ f(x) $ at all these potential points, we find the function is indeed discontinuous at:
$ x = 1, \sqrt{2}, 2, \sqrt{6}, 2\sqrt{2}, \sqrt{10}, 2\sqrt{3}, \sqrt{14} $
Thus, the function $ f(x) $ has 8 discontinuities on the interval $[0,4]$.
Let $m$ and $n$ be the number of points at which the function $f(x)=\max \left\{x, x^3, x^5, \ldots x^{21}\right\}, x \in \mathbb{R}$, is not differentiable and not continuous, respectively. Then $m+n$ is equal to _________.
Explanation:
$\begin{aligned} &\text { for } x \geq 1, x^{21} \geq x^{19} \geq \ldots \geq x \text {. }\\ &f(x)=\left\{\begin{array}{lr} x & x<-1 \\ x^{21} & -1 \leq x \leq 0 \\ x & 0< x<1 \\ x^{21} & x \geq 1 \end{array}\right. \end{aligned}$

$\begin{aligned} &\text { Clearly, } f(x) \text { is continuous everywhere. }\\ &\begin{aligned} & \Rightarrow \alpha=0 \\ & f^{\prime}(x)=\left\{\begin{array}{cl} 1 & ; x<-1 \\ 21 x^{20} & ;-1 \leq x \leq 0 \\ 1 & ; 0< x<1 \\ 21 \cdot x^{20} & ; x \geq 1 \end{array}\right. \\ & \Rightarrow \beta=3 \\ & \Rightarrow \alpha+\beta=3 \end{aligned} \end{aligned}$
Explanation:
To solve the given limit problem, we start by analyzing the expression:
$ \lim\limits_{x \rightarrow 0}\left(\frac{\tan x}{x}\right)^{\frac{1}{x^2}} = p $
This limit exhibits the indeterminate form $1^{\infty}$. To handle this form, we use the transformation:
$ p = e^{\lim_{x \to 0} \left( \frac{\tan x}{x} - 1 \right) \frac{1}{x^2}} $
Expanding $\tan x$ using its Taylor series near $x = 0$, we have:
$ \tan x = x + \frac{x^3}{3} + \frac{2}{15}x^5 + \ldots $
Substituting this expansion into the limit, we get:
$ \frac{\tan x - x}{x^3} = \frac{\left(x + \frac{x^3}{3} + \frac{2}{15}x^5 + \ldots - x\right)}{x^3} = \frac{\frac{x^3}{3} + \frac{2}{15}x^5 + \ldots}{x^3} $
This simplifies to:
$ \frac{x^3}{3x^3} = \frac{1}{3} $
Thus, the limit becomes:
$ p = e^{\frac{1}{3}} $
Therefore, the expression for $\log_e p$ is:
$ \log_e p = \frac{1}{3} $
Finally, computing $96 \log_e p$:
$ 96 \log_e p = 96 \cdot \frac{1}{3} = 32 $
Let [t] be the greatest integer less than or equal to t. Then the least value of p ∈ N for which
$ \lim\limits_{x \to 0^+} \left( x (\left[ \frac{1}{x} \right] + \left[ \frac{2}{x} \right] + \ldots + \left[ \frac{p}{x} \right] \right) - x^2 \left( \left[ \frac{1}{x^2} \right] + \left[ \frac{2^2}{x^2} \right] + \ldots + \left[ \frac{9^2}{x^2} \right] \right) \geq 1 $ is equal to _______.
Explanation:
To find the least natural number $ p $ for which the following inequality holds:
$ \lim \limits_{x \rightarrow 0^{+}}\left(x\left(\left[\frac{1}{x}\right]+\left[\frac{2}{x}\right]+\ldots+\left[\frac{p}{x}\right]\right)-x^2\left(\left[\frac{1}{x^2}\right]+\left[\frac{2^2}{x^2}\right]+\ldots+\left[\frac{9^2}{x^2}\right]\right)\right) \geq 1 $
we simplify the expression inside the limit.
As $ x \to 0^+ $, $ \left[\frac{n}{x}\right] $ approximates to $ \frac{n}{x} $. Thus, the problem becomes finding:
$ \left(1 + 2 + \ldots + p\right) - \left(1^2 + 2^2 + \ldots + 9^2\right) \geq 1 $
The sum of the first $ p $ natural numbers is given by:
$ \frac{p(p+1)}{2} $
And the sum of the squares of the first 9 natural numbers is:
$ 1^2 + 2^2 + \ldots + 9^2 = \frac{9 \cdot 10 \cdot 19}{6} $
Thus, the inequality becomes:
$ \frac{p(p+1)}{2} - \frac{9 \cdot 10 \cdot 19}{6} \geq 1 $
Solving this, we rewrite:
$ p(p+1) \geq 572 $
The least natural number $ p $ satisfying this condition is $ 24 $.
Let $f(x)=\lim \limits_{n \rightarrow \infty} \sum\limits_{r=0}^n\left(\frac{\tan \left(x / 2^{r+1}\right)+\tan ^3\left(x / 2^{r+1}\right)}{1-\tan ^2\left(x / 2^{r+1}\right)}\right)$ Then $\lim\limits_{x \rightarrow 0} \frac{e^x-e^{f(x)}}{(x-f(x))}$ is equal to ___________.
Explanation:
$\begin{aligned} & f(x)=\lim _{n \rightarrow \infty} \sum_{r=0}^n\left(\tan \frac{x}{2^r}-\tan \frac{x}{2^{r+1}}\right)=\tan x \\ & \lim _{x \rightarrow 0}\left(\frac{e^x-e^{\tan x}}{x-\tan x}\right)=\lim _{x \rightarrow 0} e^{\tan x} \frac{\left(e^{x-\tan x}-1\right)}{(x-\tan x)} \\ & =1 \end{aligned}$
Let $\mathrm{f}(x)=\left\{\begin{array}{lc}3 x, & x<0 \\ \min \{1+x+[x], x+2[x]\}, & 0 \leq x \leq 2 \\ 5, & x>2\end{array}\right.$
where [.] denotes greatest integer function. If $\alpha$ and $\beta$ are the number of points, where $f$ is not continuous and is not differentiable, respectively, then $\alpha+\beta$ equals _______ .
Explanation:
$\begin{aligned} & f(x)=\left\{\begin{array}{ccc} 3 x & ; & x<0 \\ \min \{1+x, x\} & ; & 0 \leq x<1 \\ \min \{2+x, x+2\} & ; & 1 \leq x<2 \\ 5 & ; & x>2 \end{array}\right. \\ & f(x)=\left\{\begin{array}{ccl} 3 \mathrm{x} & ; & x<0 \\ \mathrm{x} & ; & 0 \leq x<1 \\ \mathrm{x}+2 & ; & 1 \leq x<2 \\ 5 & ; & x>2 \end{array}\right. \end{aligned}$

Not continuous at $\mathrm{x} \in\{1,2\} \Rightarrow \alpha=2$
Not diff. at $\mathrm{x} \in\{0,1,2\} \Rightarrow \beta=3$
$\alpha+\beta=5$
Let the function,
$f(x)= \begin{cases}-3 \mathrm{ax}^2-2, & x<1 \\ \mathrm{a}^2+\mathrm{b} x, & x \geqslant 1\end{cases}$
be differentiable for all $x \in \mathbf{R}$, where $\mathrm{a}>1, \mathrm{~b} \in \mathbf{R}$. If the area of the region enclosed by $y=f(x)$ and the line $y=-20$ is $\alpha+\beta \sqrt{3}, \alpha, \beta \in Z$, then the value of $\alpha+\beta$ is ___________ .
Explanation:
$\mathrm{f}(\mathrm{x})$ is continuous and differentiable
$ \begin{array}{ll} \text { at } x=1 ; & \text { LHL }=\text { RHL, LHD }=\text { RHD } \\ & -3 a-2=a^2+b,-6 a=b \\ & a=2,1 ; b=-12 \end{array} $
$f(x)=\left\{\begin{array}{cc}-6 x^2-2, & x<1 \\ 4-12 x, & x \geq 1\end{array}\right.$

$\begin{aligned} & \left.\text { Area }=\int_{-\sqrt{3}}^1\left(-6 x^2-2+20\right) d x+\int_1^2(4-12 x+20) d x\right] \\\\ & =16+12 \sqrt{3}+6=22+12 \sqrt{3} \\\\ & \therefore \quad \alpha+\beta=34\end{aligned}$
$\lim _\limits{x \rightarrow 0} \frac{e-(1+2 x)^{\frac{1}{2 x}}}{x}$ is equal to
For $\mathrm{a}, \mathrm{b}>0$, let $f(x)= \begin{cases}\frac{\tan ((\mathrm{a}+1) x)+\mathrm{b} \tan x}{x}, & x< 0 \\ 3, & x=0 \\ \frac{\sqrt{\mathrm{a} x+\mathrm{b}^2 x^2}-\sqrt{\mathrm{a} x}}{\mathrm{~b} \sqrt{\mathrm{a}} x \sqrt{x}}, & x> 0\end{cases}$ be a continuous function at $x=0$. Then $\frac{\mathrm{b}}{\mathrm{a}}$ is equal to :
$\lim _\limits{n \rightarrow \infty} \frac{\left(1^2-1\right)(n-1)+\left(2^2-2\right)(n-2)+\cdots+\left((n-1)^2-(n-1)\right) \cdot 1}{\left(1^3+2^3+\cdots \cdots+n^3\right)-\left(1^2+2^2+\cdots \cdots+n^2\right)}$ is equal to :
Let ,$f:[-1,2] \rightarrow \mathbf{R}$ be given by $f(x)=2 x^2+x+\left[x^2\right]-[x]$, where $[t]$ denotes the greatest integer less than or equal to $t$. The number of points, where $f$ is not continuous, is :
If the function $f(x)=\frac{\sin 3 x+\alpha \sin x-\beta \cos 3 x}{x^3}, x \in \mathbf{R}$, is continuous at $x=0$, then $f(0)$ is equal to :
If the function
$f(x)= \begin{cases}\frac{72^x-9^x-8^x+1}{\sqrt{2}-\sqrt{1+\cos x}}, & x \neq 0 \\ a \log _e 2 \log _e 3 & , x=0\end{cases}$
is continuous at $x=0$, then the value of $a^2$ is equal to
Let $f: \mathbf{R} \rightarrow \mathbf{R}$ be a function given by
$f(x)= \begin{cases}\frac{1-\cos 2 x}{x^2}, & x < 0 \\ \alpha, & x=0, \\ \frac{\beta \sqrt{1-\cos x}}{x}, & x>0\end{cases}$
where $\alpha, \beta \in \mathbf{R}$. If $f$ is continuous at $x=0$, then $\alpha^2+\beta^2$ is equal to :
If for some $\mathrm{a} \in \mathbf{N}, f(f(f(\mathrm{a})))=21$, then $\lim\limits_{x \rightarrow \mathrm{a}^{-}}\left\{\frac{|x|^3}{\mathrm{a}}-\left[\frac{x}{\mathrm{a}}\right]\right\}$, where $[t]$ denotes the greatest integer less than or equal to $t$, is equal to :
$ f(x)= \begin{cases}\frac{a-b \cos 2 x}{x^2} ; & x<0 \\\\ x^2+c x+2 ; & 0 \leq x \leq 1 \\\\ 2 x+1 ; & x>1\end{cases} $
If $f$ is continuous everywhere in $\mathbf{R}$ and $m$ is the number of points where $f$ is NOT differential then $\mathrm{m}+\mathrm{a}+\mathrm{b}+\mathrm{c}$ equals :
Consider the function $f:(0, \infty) \rightarrow \mathbb{R}$ defined by $f(x)=e^{-\left|\log _e x\right|}$. If $m$ and $n$ be respectively the number of points at which $f$ is not continuous and $f$ is not differentiable, then $m+n$ is
$\lim _\limits{x \rightarrow 0} \frac{e^{2|\sin x|}-2|\sin x|-1}{x^2}$
Let $g(x)$ be a linear function and $f(x)=\left\{\begin{array}{cl}g(x) & , x \leq 0 \\ \left(\frac{1+x}{2+x}\right)^{\frac{1}{x}} & , x>0\end{array}\right.$, is continuous at $x=0$. If $f^{\prime}(1)=f(-1)$, then the value $g(3)$ is
