continuous functions and differentiability (g(x) piecewise)

Math wiz ya rite 09

Junior Member
Joined
Aug 27, 2006
Messages
136
g(x)=

x+b, x<0
cosx, x greater than or equal to 0

Is there a value for b that will make g(x) continuous at x=0? Is there a value that will make g(x) differentiable at zero? If there is, what is it? If not, why not? Give reasons for your answeres.

Thanks
 
Re: continuous functions and differentiability

Hello, Math wiz ya rite 09!

\(\displaystyle g(x) \;= \;\left\{\begin{array}{ccc}x\,+\,b& \quad & x\,<\,0 \\
\cos x & \quad & x\,\geq\,0 \end{array}\)

Is there a value for b\displaystyle b that will make g(x)\displaystyle g(x) continuous at x=0\displaystyle x=0? . . . . yes

To be continuous at x=0\displaystyle x=0, the curves must "meet" there.
If you make a sketch, the answer is obvious.
Code:
                  |
                  o b
                * |
              *   |
            *   1 *
          *       |   *
        *         |     *
      *           |      *
    *             |
  - - - - - - - - + - - - -*- - - - - -
                  |
                  |          *
                  |           *
                  |             *
                  |                *
                  |

And we see that b\displaystyle b must be 1.\displaystyle 1.



Is there a value that will make g(x)\displaystyle g(x) differentiable at x=0\displaystyle x=0? . . . . no

At x=0\displaystyle x=0, the line has slope 1\displaystyle 1
. . and the cosine curve has slope sin(0)=0\displaystyle \,-\sin(0)\,=\,0.

 
Top