Show that :\(\dfrac{d}{dx}(|x|)=\dfrac{x}{|x|},x\ne 0.\)
CBSE Class 12 Maths · Continuity and Differentiability
CBSE Class 12 Maths · Continuity and Differentiability
Imagine a number line. When you walk to the right, your distance from zero grows normally. When you walk to the left, your distance still grows, but the direction flips. The absolute value \( |x| \) just measures that distance. For positive numbers it behaves like the number itself. For negative numbers it flips the sign. The derivative simply tells us which way the distance is growing — forward or backward — and the neat expression \( \frac{x}{|x|} \) captures exactly that idea in one tidy formula.
Answer: Since the derivative equals \( 1 \) for \( x > 0 \) and \( -1 \) for \( x < 0 \), and \( \frac{x}{|x|} \) also equals \( 1 \) and \( -1 \) respectively, we have proved that \[ \frac{d}{dx}(|x|) = \frac{x}{|x|}, \quad x \ne 0. \]
The absolute value (modulus) function \( |x| \) is defined differently for positive and negative values of \( x \). At \( x = 0 \) it has a sharp corner, so it is not differentiable there, which is why the problem restricts us to \( x \ne 0 \). To differentiate it, we split it into cases using its piecewise definition and differentiate each piece separately. Finally we express both cases together in one neat formula \( \frac{x}{|x|} \), which is called the signum-type expression and gives the sign of \( x \).
\[ |x| = \begin{cases} x & x > 0 \\ -x & x < 0 \end{cases} \]
Since the derivative equals \( 1 \) for \( x > 0 \) and \( -1 \) for \( x < 0 \), and \( \frac{x}{|x|} \) also equals \( 1 \) and \( -1 \) respectively, we have proved that \[ \frac{d}{dx}(|x|) = \frac{x}{|x|}, \quad x \ne 0. \]
A common mistake is trying to differentiate \( |x| \) at \( x = 0 \) or forgetting that \( |x| \) is not differentiable there. Another error is writing \( |x| = -x \) for \( x > 0 \); remember that for negative \( x \) the modulus removes the sign, giving \( |x| = -x \) only when \( x < 0 \).
Since the derivative equals \( 1 \) for \( x > 0 \) and \( -1 \) for \( x < 0 \), and \( \frac{x}{|x|} \) also equals \( 1 \) and \( -1 \) respectively, we have proved that \[ \frac{d}{dx}(|x|) = \frac{x}{|x|}, \quad x \ne 0. \]
One common mistake: students forget that \( |x| = -x \) (not \( x \)) when \( x < 0 \), and incorrectly write \( \frac{d}{dx}(|x|) = 1 \) for all \( x \ne 0 \), missing the sign change for negative values.
Answer: Since the derivative equals \( 1 \) for \( x > 0 \) and \( -1 \) for \( x < 0 \), and \( \frac{x}{|x|} \) also equals \( 1 \) and \( -1 \) respectively, we have proved that \[ \frac{d}{dx}(|x|) = \frac{x}{|x|}, \quad x \ne 0. \]
Question: Show that \( \frac{d}{dx}(|x^3|) = \frac{3x^3}{|x^3|} \cdot \frac{1}{x^0} \) is equivalent to \( \frac{d}{dx}(|x^3|) = 3x|x| \div x^2 \cdot x^2 \). More precisely, show that \( \frac{d}{dx}(|x^3|) = 3x|x| \) for \( x \ne 0 \).
Solution: We use the piecewise definition of the absolute value. Since \( x^3 > 0 \) when \( x > 0 \) and \( x^3 < 0 \) when \( x < 0 \), we write: \[ |x^3| = \begin{cases} x^3 & x > 0 \\ -x^3 & x < 0 \end{cases} \] Case 1: When \( x > 0 \), \[ \frac{d}{dx}(|x^3|) = \frac{d}{dx}(x^3) = 3x^2 \] Also, for \( x > 0 \), we note that \( |x| = x \), so \( 3x|x| = 3x \cdot x = 3x^2 \). Thus the result holds for \( x > 0 \). Case 2: When \( x < 0 \), \[ \frac{d}{dx}(|x^3|) = \frac{d}{dx}(-x^3) = -3x^2 \] Also, for \( x < 0 \), we have \( |x| = -x \), so \( 3x|x| = 3x \cdot (-x) = -3x^2 \). Thus the result holds for \( x < 0 \) as well. Combining both cases, we conclude that for all \( x \ne 0 \): \[ \frac{d}{dx}(|x^3|) = 3x|x| \] Alternatively, using the chain rule with \( u = x^3 \) and \( \frac{d}{du}(|u|) = \frac{u}{|u|} \): \[ \frac{d}{dx}(|x^3|) = \frac{x^3}{|x^3|} \cdot 3x^2 \] Since \( |x^3| = |x|^3 = x^2|x| \) for all \( x \ne 0 \), we get: \[ \frac{d}{dx}(|x^3|) = \frac{x^3}{x^2|x|} \cdot 3x^2 = \frac{3x^3}{|x|} \] But \( \frac{x^3}{|x|} = \frac{x \cdot x^2}{|x|} = x|x| \cdot \frac{x^2}{x^2} \). More directly, since \( x^2 = |x|^2 \): \[ \frac{3x^3}{|x|} = 3x \cdot \frac{x^2}{|x|} = 3x \cdot |x| \] Hence \( \frac{d}{dx}(|x^3|) = 3x|x| \) for \( x \ne 0 \).
Answer: \( \frac{d}{dx}(|x^3|) = 3x|x| \) for \( x \ne 0 \)
Question: If \( f(x) = x\,|x| \), show that \( f'(x) = 2|x| \) for all \( x \ne 0 \), and verify that \( f'(0) \) also equals \( 0 \) using the definition of derivative.
Solution: We use the piecewise definition of \( f(x) = x|x| \): \[ f(x) = \begin{cases} x \cdot x = x^2 & x > 0 \\ x \cdot (-x) = -x^2 & x < 0 \\ 0 & x = 0 \end{cases} \] Differentiating each piece for \( x \ne 0 \): When \( x > 0 \): \[ f'(x) = \frac{d}{dx}(x^2) = 2x \] Since \( |x| = x \) for \( x > 0 \), we have \( 2x = 2|x| \). The result holds. When \( x < 0 \): \[ f'(x) = \frac{d}{dx}(-x^2) = -2x \] Since \( |x| = -x \) for \( x < 0 \), we have \( -2x = 2(-x) = 2|x| \). The result holds. Thus for \( x \ne 0 \), \( f'(x) = 2|x| \). Now we verify \( f'(0) \) using the first-principle definition: \[ f'(0) = \lim_{h \to 0} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0} \frac{h|h| - 0}{h} = \lim_{h \to 0} |h| \] As \( h \to 0 \), \( |h| \to 0 \), so: \[ f'(0) = 0 \] Notice that \( 2|0| = 0 \) as well, so the formula \( f'(x) = 2|x| \) holds for \( x = 0 \) too, confirming \( f'(x) = 2|x| \) for all \( x \in \mathbb{R} \).
Answer: \( f'(x) = 2|x| \) for all \( x \in \mathbb{R} \) (including \( x = 0 \))
Question: Show that \( \dfrac{d}{dx}\left(|x|^3\right) = 3x|x| \) for \( x \ne 0 \).
Answer: For \( x > 0 \), the derivative is \( 3x^2 = 3x|x| \), and for \( x < 0 \), the derivative is \( -3x^2 = 3x|x| \). Since both cases give the same compact form, we conclude: \[ \frac{d}{dx}\left(|x|^3\right) = 3x|x|, \quad x \ne 0. \]