dglee said:
well opz i mean |sin(x)| is not differentiable at pi 2pi and 2npi. ok i understand now that |x| is continuous everywhere but can not be diff at 0 because we can not estimate a slope at x=0.
Yes |sin(x)| is again everywhere continuous, but is not differentiable at x = k \pi, \ k \in \mathbb{Z}.
---------------------
A function is differentiable at x
0 iff:
\lim_{h \rightarrow 0 ^ +} \frac{f(x_0 + h) - f(x_0)}{h} = \lim_{h \rightarrow 0 ^ -} \frac{f(x_0 + h) - f(x_0)}{h}, ie the limit is the same no matter how h tends to 0 (in other words, no matter how x tends to x
0) (from the left or from the right).
(|1+h|-1)/h thus always = to 1 for all h
This is again wrong. What if h = -2?
but however you can not plug 0 in or you will get an undefined function?? you know is it possible to do l'hospital's rule? on absolute value limits? i hate absolute values... now its becoming clearer this is sad I am an applied mathematics student... this is sad lol. and I am a 2nd yr as well.
You must first understand the definition of limit, look it up in your book. It's important because differentiation is based heavily on limit.
If you say \lim_{x \rightarrow \alpha} \mbox{some expression} = L, it does not mean that you take x = \alpha and plug it in the expression, it will return you L. It means that as x tends to \alpha (close to \alpha, but not x = \alpha), the expression: \mbox{some expression} will tends to L.
In other word, we are allow to freely choose an \varepsilon > 0 (no matter how small it is), there
must be a neighbourhood of \alpha, that
if x is in that neighbourhood,
then \left| \mbox{some expression} - L \right| < \varepsilon. Or, equivalently:
\forall \varepsilon > 0, \exists \delta > 0 : \mbox{ if } 0 < |x_0 - \alpha| < \delta \mbox{ then } \left| \mbox{some expression} - L \right| < \varepsilon.
Do you understand this?
So if you plan to say that:
\lim_{h \rightarrow 0} \frac{|1 + h| - 1}{h} = \frac{|1 + 0| - 1}{0}, then you are wrong!
As h
tends to 0, both numerator, and denominator
tend to 0. That yields the
indeterminate form \frac{0}{0}.
(If it's not an
indeterminate form, then you can take x = \alpha, and plug in the expression, but in this case, since it's one of the
indeterminate forms, you
can't).
But before you take the limit, let's answer some questions:
1. As h tends to 0 what does |1 + h| tend to?
2. Is it positive, negative, or depends on the way h tends to 0?
3. So as h tends to 0, |1 + h| = ? (Is it |1 + h| = 1 + h, or |1 + h| = -1 - h)?
Number 3 can be answered after you have answered number 1, and 2.
From there, I think you can solve the problem. Can you?
