How do you calculate the derivative of an absolute value, e.g. g' if g(x) = |x - 2|
its similar to calculating: sqrt(x^2)
It all boils down to the fact that absolute value is basically just a piecewise function in disguise. In particular \[\Large g(x) = |x-2|= \left\{\begin{matrix}x-2 &&& x\ge2\\\\2-x&&&x<2\end{matrix}\right.\]
I saw that (square root of a square) in a Google search but my study guide shows something else. I think I'll ask this again once I get home to check my study guide.
\[\sqrt{x^2}~:~let~u=x^2\] \[\sqrt{u}\to\frac{u'}{2\sqrt{u}}\to\frac{2x}{2\sqrt{x^2}}\to\frac{x}{|x|}\]
oh....^ Das geht... lol
:)
@terenzreignz Love the way you explained that. It actually makes learning absolute value more fun. "...in disguise..". lol.
Yeah... most unfortunately, it'd probably be a headache if it were more than just the absolute value of some linear function... imagine polynomials... we'd have to find its roots D:
hehehehehe @terenzreignz But if you know the basic definition, no matter how difficult the problem, you'd be able to figure it out =]
Any time now someone can show me how to do a derivate of |x-2| lol. Bear in mind that I only started calculus a few weeks ago and we didn't have calculus at high school.
@Mandre Now according to the piecewise function @terenzreignz gave you, differentiate each and see what you get. Each derivative will correspond to the respective interval.
And you'll see that it jives (fortunately) with amistre's more elegant derivative :)
\[\Large \frac{d}{dx}g(x) = \frac{d}{dx}|x-2|= \left\{\begin{matrix}\frac{d}{dx}[x-2] &&& x\color{red}{>}2\\\\\\\\\frac{d}{dx}[2-x]&&&x<2\end{matrix}\right.\]
Then it's 1 for (x-2) or -1 for (2-x)?
why not? Something to do with continuity?
@Mandre That is correct :) Notice I replaced the \(\ge\) sign in the top-function of the piecewise with a simple > sign... That is because the derivative simply doesn't exist at the point x = 2.
I need to revise my continuity. It seemed so simple at the time * sigh *
my derivative is undefined for x=2 ...
@amistre64 how is it undefined at '2'?
@amistre64 \[\Large \frac{x-2}{|x-2|}\]?
Div by 0
\[\frac d{dx}|x-2|\to\frac{x-2}{|x-2|}\]
since |x-2| has no derivative at x=2 to begin with ....
Oh it's (x-2). Sorry I forgot that lol =P
my initial post was really about a linear absolute value in general
@amistre64 oh ok lol. I thought that it was the question rofl...
i had made an explicit rule for some sequence in class .... using the derivative of a combination of linear absolute values such that at any given "n", it matched the stated sequence .... over kill, but it helped to stem the tide of boredom
Here is my actual problem. Find the derivative of g \[g(z) = \frac{ z ^{3}-z+1 }{|1-2z| }\]
I know how to use the quotient rule but get unstuck at the abs value.
you could either divvy it up into parts like terens did, or use my demonstration
Oh, lol... we can't have piecewise functions, now can we? :P You better use amistre's derivative...
\[g(z) = \frac{ z ^{3}-z+1 }{(1-2z) };~\frac{ z ^{3}-z+1 }{(2z-1) }\]
Thank you amistre. You're a star.
Thanks everyone
yep, that me ... the lorenzo lamas of openstudy lol
lol.
Join our real-time social learning platform and learn together with your friends!