Key Concepts and Formulas
- Continuity: A function f(x) is continuous at a point x=a if limx→a−f(x)=limx→a+f(x)=f(a).
- Differentiability: A function f(x) is differentiable at a point x=a if the limit of the difference quotient exists, i.e., limh→0hf(a+h)−f(a) exists. This implies that the left-hand derivative (LHD) must be equal to the right-hand derivative (RHD) at that point.
- LHD at x=a: limh→0−hf(a+h)−f(a)
- RHD at x=a: limh→0+hf(a+h)−f(a)
- Taylor Series Expansion: For small x, cosx≈1−2!x2+4!x4−….
Step-by-Step Solution
The problem states that the function f(x) is continuous everywhere in R. We need to find the values of a, b, and c that ensure continuity at the points where the definition of f(x) changes, which are x=0 and x=1. Then, we need to determine the number of points, m, where f(x) is not differentiable. Finally, we need to calculate m+a+b+c.
Step 1: Ensure continuity at x=1.
For f(x) to be continuous at x=1, we must have limx→1−f(x)=limx→1+f(x)=f(1).
The function definition for 0≤x≤1 is f(x)=x2+cx+2.
So, f(1)=12+c(1)+2=1+c+2=3+c.
The function definition for x>1 is f(x)=2x+1.
So, limx→1+f(x)=limx→1+(2x+1)=2(1)+1=3.
For continuity at x=1, we set f(1)=limx→1+f(x):
3+c=3
c=0.
Step 2: Ensure continuity at x=0.
For f(x) to be continuous at x=0, we must have limx→0−f(x)=limx→0+f(x)=f(0).
The function definition for 0≤x≤1 is f(x)=x2+cx+2. Since we found c=0, this becomes f(x)=x2+2 for 0≤x≤1.
So, f(0)=02+2=2.
And, limx→0+f(x)=limx→0+(x2+2)=02+2=2.
The function definition for x<0 is f(x)=x2a−bcos2x.
So, limx→0−f(x)=limx→0−x2a−bcos2x.
For continuity at x=0, we must have limx→0−f(x)=f(0)=2.
Thus, limx→0−x2a−bcos2x=2.
To evaluate this limit, we use the Taylor series expansion of cos(2x) around x=0:
cos(u)=1−2!u2+4!u4−…
So, cos(2x)=1−2!(2x)2+4!(2x)4−⋯=1−24x2+2416x4−⋯=1−2x2+32x4−…
Substitute this into the limit:
limx→0x2a−b(1−2x2+32x4−…)=limx→0x2a−b+2bx2−32bx4+…
For this limit to exist (and be finite), the numerator must approach 0 as x→0. This means the constant term in the numerator must be zero.
So, a−b=0⟹a=b.
Now, substitute a=b back into the limit expression:
limx→0x2b−b+2bx2−32bx4+…=limx→0x22bx2−32bx4+…
=limx→0(2b−32bx2+…)
=2b.
For continuity at x=0, this limit must be equal to f(0)=2.
So, 2b=2⟹b=1.
Since a=b, we also have a=1.
Thus, we have found a=1, b=1, and c=0.
Step 3: Determine differentiability at x=0.
Now we need to find the number of points where f(x) is NOT differentiable. We check the points where the definition changes, i.e., x=0 and x=1.
For x<0, f(x)=x21−cos2x.
For 0≤x≤1, f(x)=x2+0x+2=x2+2.
For x>1, f(x)=2x+1.
Let's check differentiability at x=0. We need to compare the left-hand derivative (LHD) and the right-hand derivative (RHD) at x=0.
-
RHD at x=0:
Using the definition of the derivative:
RHD =limh→0+hf(0+h)−f(0)
Since h>0, f(0+h)=f(h)=h2+2. And f(0)=2.
RHD =limh→0+h(h2+2)−2=limh→0+hh2=limh→0+h=0.
-
LHD at x=0:
Using the definition of the derivative:
LHD =limh→0−hf(0+h)−f(0)
Since h<0, f(0+h)=f(h)=h21−cos(2h). And f(0)=2.
LHD =limh→0−hh21−cos(2h)−2
LHD =limh→0−h31−cos(2h)−2h2
Using the Taylor expansion cos(2h)=1−2h2+32h4−…:
LHD =limh→0−h31−(1−2h2+32h4−…)−2h2
LHD =limh→0−h31−1+2h2−32h4+⋯−2h2
LHD =limh→0−h3−32h4+…
LHD =limh→0−(−32h+…)=0.
Since LHD = RHD = 0 at x=0, the function f(x) is differentiable at x=0.
Step 4: Determine differentiability at x=1.
Now let's check differentiability at x=1. We need to compare the LHD and RHD at x=1.
For 0≤x≤1, f(x)=x2+2. The derivative is f′(x)=2x.
So, the derivative from the left at x=1 is f′(1−)=2(1)=2.
For x>1, f(x)=2x+1. The derivative is f′(x)=2.
So, the derivative from the right at x=1 is f′(1+)=2.
Alternatively, using the definition of the derivative:
-
LHD at x=1:
LHD =limh→0−hf(1+h)−f(1)
Since h<0, 1+h<1. So, f(1+h)=(1+h)2+2=1+2h+h2+2=3+2h+h2.
We know f(1)=3+c=3+0=3.
LHD =limh→0−h(3+2h+h2)−3=limh→0−h2h+h2=limh→0−(2+h)=2.
-
RHD at x=1:
RHD =limh→0+hf(1+h)−f(1)
Since h>0, 1+h>1. So, f(1+h)=2(1+h)+1=2+2h+1=3+2h.
We know f(1)=3.
RHD =limh→0+h(3+2h)−3=limh→0+h2h=limh→0+2=2.
Since LHD = RHD = 2 at x=1, the function f(x) is differentiable at x=1.
Step 5: Determine the number of points where f is NOT differentiable.
We have checked the points x=0 and x=1. At both these points, the function is differentiable.
For x<0, f(x)=x21−cos2x. This function is differentiable for all x<0 because cos(2x) is differentiable, and the denominator x2 is non-zero and differentiable.
For 0<x<1, f(x)=x2+2. This is a polynomial and is differentiable everywhere.
For x>1, f(x)=2x+1. This is a linear function and is differentiable everywhere.
Therefore, there are no points where f(x) is not differentiable.
So, m=0.
Step 6: Calculate m+a+b+c.
We found m=0, a=1, b=1, and c=0.
m+a+b+c=0+1+1+0=2.
Common Mistakes & Tips
- Incorrect Taylor Expansion: Ensure the Taylor expansion of cos(2x) is accurate and that terms are correctly handled when substituting into the limit.
- Forgetting Continuity Check: Always ensure continuity at the junction points before checking differentiability. A function cannot be differentiable if it's not continuous.
- Algebraic Errors in Limits: Be meticulous with algebraic manipulations, especially when dealing with subtractions and divisions in limit calculations.
Summary
The problem required us to find the values of constants a, b, and c by ensuring the continuity of the piecewise function f(x) at the points where its definition changes (x=0 and x=1). We used the condition limx→a−f(x)=limx→a+f(x)=f(a). After finding a=1, b=1, and c=0, we then checked the differentiability of f(x) at x=0 and x=1 by comparing the left-hand and right-hand derivatives. We found that f(x) is differentiable at both x=0 and x=1. Since the individual pieces of the function are differentiable in their respective open intervals, there are no points where f(x) is not differentiable, meaning m=0. Finally, we calculated m+a+b+c=0+1+1+0=2.
The final answer is \boxed{2}.