Derivative of function containing absolute value

In summary: But I'm not sure if that would be enough.Well, you'd certainly need $c_1=0$ if the initial conditions are finite.
  • #1
find_the_fun
148
0
I'm working on a ODE with initial conditions y(2)=4 and y'(2)=1/3. I solved it to be \(\displaystyle y=\frac{c_1}{|x-6|^8} + c_2|x-6|^{\frac{2}{3}}\). How do I apply the second initial condition? I'm stuck at taking the derivative.
 
Physics news on Phys.org
  • #2
$$\frac{d}{dx}|x|=\text{sgn}(x),$$
where sgn is the signum (or sign) function. Out of curiosity, what is your original DE?
 
  • #3
Ackbach said:
$$\frac{d}{dx}|x|=\text{sgn}(x),$$
where sgn is the signum (or sign) function. Out of curiosity, what is your original DE?

I forget but I think I had fouled up at an earlier step than shown.
 
  • #4
find_the_fun said:
I forget but I think I had fouled up at an earlier step than shown.

Ok...
 
  • #5
Ackbach said:
$$\frac{d}{dx}|x|=\text{sgn}(x),$$
where sgn is the signum (or sign) function...

This is true only if we accept the definition of derivative...

$\displaystyle f^{\ '} (x) = \lim_{\delta \rightarrow 0} \frac{f(x + \delta) - f(x - \delta)}{2\ \delta}\ (1)$

With the more 'conventional' definition...

$\displaystyle f^{\ '} (x) = \lim_{\delta \rightarrow 0} \frac{f(x + \delta) - f(x)}{\delta}\ (2)$

... the derivative of |x| in x=0 doesn't exist...

Kind regards

$\chi$ $\sigma$
 
  • #6
chisigma said:
This is true only if we accept the definition of derivative...

$\displaystyle f^{\ '} (x) = \lim_{\delta \rightarrow 0} \frac{f(x + \delta) - f(x - \delta)}{2\ \delta}\ (1)$

Not sure I agree. It is true that using the symmetric definition yields $f'(0)=0=\text{sgn}(0)$. However, to my mind, this is a meaningless statement. $|x|$ has a corner at the origin, and should not be viewed as differentiable there. I was kind of taking it as understood that $|x|$ is not differentiable at the origin. You could think of this as an "almost everywhere" equality.
 
  • #7
Ackbach said:
Not sure I agree. It is true that using the symmetric definition yields $f'(0)=0=\text{sgn}(0)$. However, to my mind, this is a meaningless statement. $|x|$ has a corner at the origin, and should not be viewed as differentiable there. I was kind of taking it as understood that $|x|$ is not differentiable at the origin. You could think of this as an "almost everywhere" equality.

Ok! ... some problems, however could be born if the initial conditions have not been given at x = 2 but at x = 6 ... what to do in this case? ...

Kind regards

$\chi$ $\sigma$
 
  • #8
chisigma said:
Ok! ... some problems, however could be born if the initial conditions have not been given at x = 2 but at x = 6 ... what to do in this case? ...

Kind regards

$\chi$ $\sigma$

Well, you'd certainly need $c_1=0$ if the initial conditions are finite. As for the derivative, I really don't think it's possible even to specify two-sided derivative conditions at $x=6$. You could specify one-sided derivative conditions, though. That is, you could specify what
$$\lim_{h\to 0^{+}}\frac{y(6+h)-y(6)}{h}\quad\text{and}\quad
\lim_{h\to 0^{-}}\frac{y(6+h)-y(6)}{h}$$
are. I imagine if you specify one of them, the other might be determined.
 

FAQ: Derivative of function containing absolute value

What is the derivative of a function containing absolute value?

The derivative of a function containing absolute value is the slope of the tangent line at a specific point on the graph of the function. It represents the rate of change of the function at that point.

How do you find the derivative of a function containing absolute value?

To find the derivative of a function containing absolute value, you can use the limit definition of a derivative and apply it to the specific point. Alternatively, you can break the function into different pieces based on the absolute value and use the power rule and chain rule to find the derivative.

Can the derivative of a function containing absolute value be negative?

Yes, the derivative of a function containing absolute value can be negative. This means that the function is decreasing at that point on the graph.

What is the significance of the derivative of a function containing absolute value?

The derivative of a function containing absolute value is significant because it tells us about the behavior of the function at a specific point. It can help us determine if the function is increasing or decreasing, and can also be used to find critical points and extrema.

Are there any special rules for finding the derivative of a function containing absolute value?

Yes, there are some special rules for finding the derivative of a function containing absolute value. These include the absolute value function rule, the piecewise function rule, and the chain rule. It is important to carefully analyze the function and apply the appropriate rule when finding its derivative.

Similar threads

Replies
2
Views
1K
Replies
6
Views
2K
Replies
22
Views
2K
Replies
5
Views
2K
Replies
4
Views
2K
Replies
1
Views
1K
Replies
3
Views
2K
Back
Top