Skip to main content

GATE CSE 2026Calculus › Limits & ContinuityVerified

GATE CSE 2026 PYQ: Consider the function f : R → R f: \mathbb{R} \rightarrow \mathbb{R} f : R → R defined as follows: f ( x ) =…

Consider the function f:R→Rf: \mathbb{R} \rightarrow \mathbb{R} defined as follows:
f(x)={c1ex−c2log⁡e(1x), if x>03 otherwise  f(x)=\left\{\begin{array}{lr} c_{1} e^{x}-c_{2} \log _{\mathrm{e}}\left(\frac{1}{x}\right), & \text { if } x>0 \\ 3 & \text { otherwise } \end{array}\right.
where c1,c2∈Rc_{1}, c_{2} \in \mathbb{R}.

If ff is continuous at x=0x=0, then c1+c2=c_{1}+c_{2}= ____\_\_\_\_. (answer in integer)

    Answer

    3

    Approach

    Use continuity at x=0, so the right-hand limit of the branch valid for x>0 must equal f(0)=3. Rewrite $log_e(1/x)$ as -ln x, then force the logarithmic divergence to disappear, giving c2=0, and solve for c1.

    The only way to avoid an infinite logarithmic term at x→0+ is c2=0. Then the right-hand limit equals c1, and continuity forces c1=3, so c1+c2=3.

    Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.