A function $f(x)$ is defined as $f(x) = \begin{cases}e^x & < 1 \\ \ln x + ax^2 + bx & \ge 1 \end{cases}$ where $x \in \mathbb R$ which one of the following statements is TRUE?
- $f(x)$ is NOT differentiable at $x=1$ for any values of $a$ and $b$.
- $f(x)$ is differentiable at $x=1$ for the unique values of $a$ and $b$.
- $f(x)$ is differentiable at $x = 1$ for all the values of $a$ and $b$ such that $a + b = e$
- $f(x)$ is differentiable at $x=1$ for all values of $a$ and $b$.
I'm checking the continuity of the function at $x=1$. Left hand limit at $x=1^{-1}$ gives $e$. $$\lim_{x \to 1^{-1}} f(x) = e$$ Similarly taking the right hand limit $$\lim_{x \to 1^{1^{+}}} f(x) = a + b$$ So, for the function to be continuous $a + b = e$. So, according to me the right answer is option (3). Am I right ?