I'm a little confused
f(x) = |x|^2 - 4|x|
I know that gives the equations of:
x^2 - 4x and
x^2 + 4x
and you can differentiate them, but which equation corresponds to which part of the graph?
Thanks in advance
Hello, freswood!
This is equivalent to the piecewise function: $\displaystyle f(x)\:=\:\left\{\begin{array}{cc} x^2 - 4x & x \geq 0 \\ x^2 + 4x & x < 0\end{array}$Find the derivtive of: $\displaystyle f(x) \:= \:|x|^2 - 4|x|$
Differentiate them for both cases.
You can check your results against the graph.
Code:| * | * | * | * - - * - - - - - * - - - - - * - - -4 * * | * * 4 * * | * * |