Solveeit Logo

Question

Mathematics Question on Functions

Let f:RRf: \mathbb{R} \to \mathbb{R} be defined as: f(x) = \begin{cases} \frac{a - b \cos 2x}{x^2}, & x < 0, \\\ x^2 + cx + 2, & 0 \leq x \leq 1, \\\ 2x + 1, & x > 1\. \end{cases}
If ff is continuous everywhere in R\mathbb{R} and mm is the number of points where ff is NOT differentiable, then m+a+b+cm + a + b + c equals:

A

1

B

4

C

3

D

2

Answer

2

Explanation

Solution

To ensure continuity at x = 0 and x = 1 :

At x = 0 : - For the limit from the left:

limx0f(x)=limx0abcos2xx2=undefined unless a=0 and b=0 (to ensure a finite value)\lim_{{x \to 0^-}} f(x) = \lim_{{x \to 0^-}} \frac{{a - b \cos 2x}}{{x^2}} = \text{undefined unless } a = 0 \text{ and } b = 0 \text{ (to ensure a finite value)}

- For the limit from the right:

limx0+f(x)=02+c0+2=2\lim_{{x \to 0^+}} f(x) = 0^2 + c \cdot 0 + 2 = 2

- To ensure continuity at x = 0 , we must have:

limx0f(x)=limx0+f(x)=2\lim_{{x \to 0^-}} f(x) = \lim_{{x \to 0^+}} f(x) = 2

Thus, a = 0 and b = 0.

At x = 1 : - For the limit from the left:

limx1f(x)=12+c1+2=3+c\lim_{{x \to 1^-}} f(x) = 1^2 + c \cdot 1 + 2 = 3 + c

- For the limit from the right:
limx1+f(x)=21+1=3\lim_{{x \to 1^+}} f(x) = 2 \cdot 1 + 1 = 3
To ensure continuity at x = 1 , we must have:
3+c=3    c=03 + c = 3 \implies c = 0
Now, we check differentiability at x = 0 and x = 1 : - At x = 0 , the left-hand derivative does not exist (due to division by x 2), so f is not differentiable at x = 0. - At x = 1 , the left-hand and right-hand derivatives are not equal, so f is not differentiable at x = 1.
Thus, m = 2.
Given a = 0 , b = 0 , and c = 0 , we find:
m+a+b+c=2+0+0+0=2m + a + b + c = 2 + 0 + 0 + 0 = 2