Continuous but Not Smooth

Calculus Level 2

Given that the following function is continuous and differentiable.

f ( x ) = { a x + b x 0 sin 2 x x < 0 f(x) = \begin{cases} ax + b & \quad x \geq 0 \\ \sin 2x & \quad x < 0 \end{cases}

What is the value of a + b a+b ?


This problem is slightly changed from a practice problem from the MIT OpenCourseWare .


The answer is 2.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Christopher Boo
May 23, 2014

Since the function a x + b ax+b and sin 2 x \sin{2x} are both continuous and differentiable, f ( x ) f(x) is continuous and differentiable if f ( x ) f(x) is continuous and differentiable at x = 0 x=0 .

For f ( x ) f(x) continuous at x = 0 x=0 ,

lim x 0 + a x + b = lim x 0 sin 2 x \lim_{x \to 0^{+}} ax+b=\lim_{x \to 0^{-}} \sin{2x}

b = 0 b=0

Now we have f ( x ) = a x f(x)=ax for x > 0 x>0 .

For f ( x ) f(x) differentiable at x = 0 x=0 ,

d d x a x + b = d d x sin 2 x \frac{d}{dx} ax+b=\frac{d}{dx} \sin{2x}

a = 2 cos 2 x a=2\cos{2x}

a = 2 a=2

Hence, a + b = 2 a+b=2 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...