GATE 2017 EE – Question 36
A function $f(x)$ is defined as $f(x) = \begin{cases} e^x, & x < 1 \\ \ln x + ax^2 + bx, & x \geq 1 \end{cases}$, where $x \in \mathbb{R}$. Which one of the following statements is TRUE?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) $f(x)$ is differentiable at $x = 1$ for the unique values of $a$ and $b$.
Explanation
For $f$ to be differentiable at 1 it must first be continuous, so $e = a + b$. The derivatives must also match: from the left $e$, and from the right $1 + 2a + b$. So $2a + b = e - 1$. Solving the two equations gives $a = -1$ and $b = e + 1$, which is a unique pair of values.