Help to see if this function is diffentiable

  • Thread starter mohlam12
  • Start date
  • Tags
    Function
In summary, to determine if the function f(x)=|sin(x)-cos(x)| is differentiable at x_0=pi/4, we need to find the limit of (f(x)-f(x_0))/(x-x_0) as x approaches pi/4. After rewriting the function as a piecewise function, we can use the left- and right-handed limits to compute the derivative at x_0, which is -sqrt(2). This shows that f(x) is indeed differentiable at x_0=pi/4.
  • #1
mohlam12
154
0
Hello,
I need some help to see if this function is diffentiable at [tex]x_{0}=\frac{\pi}{4}[/tex]
the function is f(x)=|sin(x)-cos(x)|
To do that, you have to find the limit of [tex]\frac{f(x)-f(x_{0})}{x-x_{0}}[/tex] as x-> pi/4
So I get [tex]\frac{sin(x)-cos(x)}{x-\frac{\pi}{4}}[/tex]but I don't know what to do after...any help or hints would be appreciated
Thanks
 
Last edited:
Physics news on Phys.org
  • #2
since sin(x) and cos(x) are equal at x=pi/4, we have

[tex]f(x) = | \sin (x)- \cos (x)| = \left\{\begin{array}{cc}\cos (x)-\sin (x) ,&\mbox{ if } 0\leq x\leq \frac{\pi}{4}\\ \sin (x)- \cos (x), & \mbox{ if } \frac{\pi}{4}\leq x \leq \pi\end{array}\right. [/tex]

now compute the derivative using the formula

[tex]f^{\prime} (x_0) = \lim_{h\rightarrow 0} \frac{f(x_0+h) -f(x_0)}{h}[/tex]

since f(x) is piecewise defined, use left- and right-handed limits to comput the above limit, here is the first one

[tex]f_{-}^{\prime} \left( \frac{\pi}{4}\right) = \lim_{h\rightarrow 0^{-}} \frac{\cos\left( \frac{\pi}{4}+h\right) -\sin\left( \frac{\pi}{4}+h\right) -0}{h} = \lim_{h\rightarrow 0^{-}} \frac{\cos\left( \frac{\pi}{4}\right) \cos (h) -\sin\left( \frac{\pi}{4}\right) \sin (h) - \sin\left( \frac{\pi}{4}\right) \cos(h)- \cos\left( \frac{\pi}{4}\right) \sin (h)}{h}[/tex]
[tex] =\frac{\sqrt{2}}{2} \lim_{h\rightarrow 0^{-}} \frac{-2\sin (h)}{h} = -\sqrt{2}[/tex]

now do the right-hand limit to finish-up.
 

1. What does it mean for a function to be differentiable?

Being differentiable means that the function is smooth and continuous, and it has a well-defined tangent line at every point on its graph. This allows us to calculate the slope or rate of change of the function at any point.

2. How can I determine if a function is differentiable?

A function is differentiable if it has a derivative at every point in its domain. This can be determined by using the limit definition of a derivative or by checking if the function satisfies the criteria for differentiability, such as being continuous and having a defined tangent line at every point.

3. What is the difference between differentiability and continuity?

Continuity and differentiability are related concepts, but they are not the same. A function is continuous if it has no abrupt breaks or holes in its graph. Differentiability, on the other hand, requires the function to be smooth and have a well-defined slope at every point, which includes being continuous but also has additional criteria.

4. Can a function be differentiable at one point but not at another?

Yes, it is possible for a function to be differentiable at one point but not at another. This can happen if the function has a sharp turn or a corner at a particular point, which would make it non-differentiable at that point. However, it may still be differentiable at other points where the function is smooth.

5. How is differentiability used in real-life applications?

Differentiability is used in many real-life applications, such as in physics, engineering, and economics. It allows us to calculate rates of change and optimize functions, which can be applied to various fields such as predicting the motion of objects, designing structures, and analyzing market trends.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
264
  • Calculus and Beyond Homework Help
Replies
2
Views
906
  • Calculus and Beyond Homework Help
Replies
3
Views
547
  • Calculus and Beyond Homework Help
Replies
9
Views
749
  • Calculus and Beyond Homework Help
Replies
3
Views
402
  • Calculus and Beyond Homework Help
Replies
3
Views
783
  • Calculus and Beyond Homework Help
Replies
1
Views
756
  • Calculus and Beyond Homework Help
Replies
1
Views
429
  • Calculus and Beyond Homework Help
Replies
5
Views
327
  • Calculus and Beyond Homework Help
Replies
5
Views
2K
Back
Top