I am presented with the following task:
Can you use the chain rule to find the derivatives of $|x|^4$ and $|x^4|$ in $x = 0$? Do the derivatives exist in $x = 0$? I solved the task in a rather straight-forward way, but I am worried that there's more to the task:
First of all, both functions is a variable to the power of an even number, so given that $x$ is a real number, we have that $|x^4| = |x|^4$. In order to force practical use of the chain rule, we write $|x|^4 = \sqrt{x^2}^4$. We are using the fact that taking a number to the power of an even number, and using the absolute value, gives us positive numbers exclusively. If we choose the chain $u = x^2$, thus $g(u) = \sqrt{u}^4$, we have that $u' = 2x$ og $g'(u) = (u^2)' = 2u$. Then we have that the derivative of the function, that I for pratical reasons will name $f(x)$, is $f'(x) = 2x^2 * 2x = 4x^3$. We see that the the general power rule applies here, seeing as we work with a variable to the power of an even number. The derivative in the point $x = 0$ is $4 * 0^3 = \underline{\underline{0}}$. Thus we can conclude that the derivative exists in $x = 0$.
Is this fairly logical? I'm having a hard time seeing that there is anything more to this task, but it feels like it went a bit too straightforward.
It's worth noting that $|x^4|$ and $|x|^4$ equal $x^4$, but no matter. I'll assume that any simplifications like that are off-limits throughout.
One way to express the derivative of $|x|$ is $\frac{|x|}{x}$. So if we applied the chain rule to $|x^4|$ we have $\frac{|x^4|}{x^4}\cdot4x^3$, which is undefined at $0$. However this expression is defined in a neighborhood of $0$, and its limit exists, because $\frac{|x^4|}{x^4}$ is bounded and $4x^3$ approaches $0$.
Something similar could be done with $|x|^4$.