Quicky on derivative of absolute value in exponential

In summary, the conversation is about solving the derivative y'(x) for a function containing an absolute value in the exponent, specifically y(x)=e^{a|x|}. The problem is that the absolute value is not differentiable at zero, so the solution involves taking into account the two cases of x<0 and x>0. The final solution involves using the sign function to set the coefficient to either -1 or 1, depending on the value of x. This solution was provided by mranderson.
  • #1
robousy
334
1
Hey folks,

I'm looking for a little guidance in solving the derivative y'(x)of the following function containing an absolute in the exponent:

[tex]y(x)=e^{a|x|}[/tex]

I'm pretty sure its not as simple as

[tex]y'(x)=a e^{a|x|}[/tex]

Any suggestions??
 
Physics news on Phys.org
  • #2
i think the problem is that [tex] |x| [/tex] is not differential in zero so, [tex]e^{a|x|}[/tex] is not differential in zerp, so if you want to calculate the differential somewhere else, then just do in the two cases. Then you get for [tex]x<0[/tex]

[tex]\partial_x e^{a|x|} = \partial_x e^{-ax} = -ae^{-ax} [/tex]

for [tex]x>0[/tex] you get

[tex]\partial_x e^{a|x|} = \partial_x e^{ax} = ae^{ax} [/tex]

combining these could be

[tex]\partial_x e^{a|x|} = sign(x) a e^{a|x|} = \frac{x}{|x|} a e^{a|x|}[/tex]

but remember that it is not defined in 0.
 
  • #3
Hmmm,

so the [tex]\frac{x}{|x|}[/tex] is really just a neat way of setting the coefficient to [tex]\pm 1[/tex], depending on where x is.

Thats cool. :)

Thanks mranderson, very helpful.
 

Related to Quicky on derivative of absolute value in exponential

1. What is the derivative of the absolute value function?

The derivative of the absolute value function is not defined at points where the function is not differentiable, such as at the point where the function changes direction. However, at points where the function is differentiable, the derivative is either positive or negative, depending on the direction of the function.

2. How do you find the derivative of an exponential function?

To find the derivative of an exponential function, you can use the power rule, which states that the derivative of x^n is nx^(n-1). This rule can also be applied to exponential functions by treating the base as the variable and using the natural logarithm to simplify the result.

3. Can you use the chain rule to find the derivative of an absolute value function?

Yes, the chain rule can be used to find the derivative of an absolute value function. When the absolute value function is nested within another function, the chain rule allows you to find the derivative by multiplying the derivative of the outer function by the derivative of the inner function.

4. How do you simplify the derivative of an absolute value function?

To simplify the derivative of an absolute value function, you can use the definition of absolute value, which states that the absolute value of x is equal to x when x is positive, and -x when x is negative. This can help you to rewrite the derivative in a simpler form.

5. Can the derivative of an absolute value function be negative?

Yes, the derivative of an absolute value function can be negative. This occurs when the function is decreasing at a point, and the slope of the tangent line is negative. However, the derivative is not defined at points where the function is not differentiable, such as at the point where the function changes direction.

Similar threads

Replies
3
Views
2K
Replies
22
Views
2K
Replies
2
Views
1K
Replies
5
Views
1K
Replies
3
Views
515
  • Calculus
Replies
2
Views
2K
Replies
4
Views
2K
Replies
14
Views
1K
Replies
4
Views
1K
Replies
3
Views
1K
Back
Top