• Hey Guest. Check out your NeoGAF Wrapped 2025 results here!

Calculus help maybe please?

Status
Not open for further replies.

Morts

Member
How do I take the derivative of a function with an absolute value in it? For example, I'm dealing with f(x) = (1/(1 + |x|)) + (1/(1 + |x - 2|))
 
|x| = x * ((sign of x) 1)
|x-2| = (x-2) * (sign of (x-2) 1)

this is atleast the definition of absolute value for real numbers.
Take this in account when derivating.
 
Status
Not open for further replies.
Top Bottom