Question about domain of derivatives

  • Context: Undergrad 
  • Thread starter Thread starter Taturana
  • Start date Start date
  • Tags Tags
    Derivatives Domain
Click For Summary

Discussion Overview

The discussion revolves around the differentiation of piecewise-defined functions and the determination of their domains, particularly focusing on the conditions under which these functions are differentiable. Participants explore the implications of continuity and differentiability at the boundaries of the defined pieces.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Rafael Andreatta questions how to handle the conditions of |x| when differentiating a piecewise function and asks about the domain of the derivative, suggesting it may be the domain of the original function minus points of non-differentiability.
  • Another participant explains that the maximal domain of the derivative function corresponds to the points in the domain of the original function where it is differentiable, noting that this is more complex for multivariable functions.
  • Rafael reiterates his initial question and provides a detailed explanation of how to approach finding the derivative of a piecewise function, emphasizing the importance of checking one-sided derivatives at the points where the pieces join.
  • Several participants raise questions about the continuity of functions at specific points, particularly regarding whether a function can have a derivative at a point where it is not continuous.
  • A participant acknowledges an error in their previous example and provides a corrected piecewise function along with its derivative, demonstrating the process of checking differentiability at the boundary.

Areas of Agreement / Disagreement

Participants express differing views on the relationship between continuity and differentiability, particularly at boundary points of piecewise functions. There is no consensus on the implications of these relationships, and the discussion remains unresolved regarding the specific conditions under which a derivative can exist at points of discontinuity.

Contextual Notes

Some participants note that the discussion involves assumptions about the behavior of functions at boundary points and the definitions of continuity and differentiability, which may not be universally agreed upon.

Taturana
Messages
108
Reaction score
0
I was thinking how do I differentiate the domain of functions...

Suppose I have a function:

[tex]f(x) = \left\{\begin{matrix}<br /> x^2 -1, \;\; |x| \leq 1\\<br /> 1 - x^2, \;\; |x| > 1 <br /> <br /> \end{matrix}\right.[/tex]

And I need to derive it:

[tex]f'(x) = \left\{\begin{matrix}<br /> 2x, \;\; |x| \leq 1\\<br /> -2x, \;\; |x| > 1 <br /> <br /> \end{matrix}\right.[/tex]

1. What do I do with the conditions of |x| ? Is there a rule to handle this?
2. What will be the domain of f'(x)? Will the domain of f'(x) be the domain of f(x) minus the points where the function is non-differentiable?

Thank you,
Rafael Andreatta
 
Physics news on Phys.org
With regards to the derivative function for single variable functions, the maximal domain of the function that gives the derivative of f at each point will be the set of points in the domain of f where f is differentiable.
For multivariable and vector-valued functions, a more sophisticated definition of the derivative at a point and the derivative function are necessary.
The derivative at a point is generalized to a linear function over the tangent space to the point in the image of the function, and the derivative function is then a map from points in the domain of f to the space of linear functions over the tangent space to each point.
This simplifies to the single-variable case, as linear functions over the tangent line to the curve are constants. From this perspective, the domain would be isomorphic, but not strictly the same.
 
Last edited:
Taturana said:
I was thinking how do I differentiate the domain of functions...

Suppose I have a function:

[tex]f(x) = \left\{\begin{matrix}<br /> x^2 -1, \;\; |x| \leq 1\\<br /> 1 - x^2, \;\; |x| > 1 <br /> <br /> \end{matrix}\right.[/tex]

And I need to derive it:

[tex]f'(x) = \left\{\begin{matrix}<br /> 2x, \;\; |x| \leq 1\\<br /> -2x, \;\; |x| > 1 <br /> <br /> \end{matrix}\right.[/tex]

1. What do I do with the conditions of |x| ? Is there a rule to handle this?
2. What will be the domain of f'(x)? Will the domain of f'(x) be the domain of f(x) minus the points where the function is non-differentiable?

Thank you,
Rafael Andreatta

In a problem like this one (finding the derivative of a piecewise-defined function) I would state the work steps this way (this is my explanation only, not written to be textbook perfect)

* Use ordinary derivative rules everywhere except for the domain values where the different pieces are put together
* Examine the x-values where the pieces are joined. If the one-sided derivatives there agree, no problem. If the one-sided derivatives do not agree, your original function is not differentiable there.

Note: my original first example had an error, pointed out by l'Hopital below: read my later post for the correction.

However, if I have

[tex] h(x) =<br /> \begin{cases}<br /> x^2 + 3x, \quad x \le 2 \\<br /> 5x^2 - 5x, \quad x > 2<br /> \end{cases} [/tex]

I need to examine the two one-sided derivatives at x = 2. The left-hand derivative there
is [itex]7[/itex], while the right-hand derivative is [itex]15[/itex]. Since the left- and right-hand derivatives don't agree there, h is not differentiable there . Thus, for my second example (notice that [tex]\le 2[/tex] has been replaced by [tex]< 2[/tex])

[tex] h'(x) = <br /> \begin{cases}<br /> 2x + 3, \quad x < 2 \\<br /> 10x - 5, \quad x > 2<br /> \end{cases}[/tex]

Hope this helps.
 
Last edited:
I have a question regarding g in statdad's post. It is clear g is not continuous at x = 0. Does it really make sense for g to have a derivative x = 0 ?
 
l'Hôpital said:
I have a question regarding g in statdad's post. It is clear g is not continuous at x = 0. Does it really make sense for g to have a derivative x = 0 ?

Well poop (that's not what I said to myself when I saw your email pop up, but you should get the drift)

Perfect point and I have no excuse for my screwup. Let me use this example.

[tex] f(x) = \begin{cases}<br /> x^2 + 6x - 7, \quad x \le 1 \\<br /> -9 + 10x - x^2, \quad x > 1<br /> \end{cases}[/tex]

A quick check now, using the ideas in my earlier post, gives

[tex] f'(x) = \begin{cases}<br /> 2x + 6, \quad x \le 1\\<br /> 10-2x, \quad x > 1<br /> \end{cases}[/tex]

The idea of my second example still works. Huge apologies for any confusion this may have caused, and a big "Thank-you" to l'Hopital for being a fantastic proof reader.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K