SOLVER7 Study. Nothing Else.
2024 Board Paper Q26(b)

Show that :\(\dfrac{d}{dx}(|x|)=\dfrac{x}{|x|},x\ne 0.\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

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. \]

📖 Derivative of the Absolute Value Function

Detailed Explanation

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 \).

Formula Used

\[ |x| = \begin{cases} x & x > 0 \\ -x & x < 0 \end{cases} \]

Solution

  1. Step 1: Write the definition of the modulus function as a piecewise function: \[ |x| = \begin{cases} x & x > 0 \\ -x & x < 0 \end{cases} \] We handle each case separately since \( x \ne 0 \).
  2. Step 2: Case 1: when \( x > 0 \), we have \( |x| = x \). Differentiating gives \[ \frac{d}{dx}(|x|) = \frac{d}{dx}(x) = 1. \]
  3. Step 3: For \( x > 0 \), notice that \( |x| = x \), so \[ \frac{x}{|x|} = \frac{x}{x} = 1. \] This matches the derivative found in Step 2, so the result holds for \( x > 0 \).
  4. Step 4: Case 2: when \( x < 0 \), we have \( |x| = -x \). Differentiating gives \[ \frac{d}{dx}(|x|) = \frac{d}{dx}(-x) = -1. \]
  5. Step 5: For \( x < 0 \), notice that \( |x| = -x \), so \[ \frac{x}{|x|} = \frac{x}{-x} = -1. \] This matches the derivative found in Step 4, so the result holds for \( x < 0 \).
  6. Step 6: In both cases the derivative of \( |x| \) equals \( \frac{x}{|x|} \). Combining them, we conclude that for all \( x \ne 0 \), \[ \frac{d}{dx}(|x|) = \frac{x}{|x|}. \]

Final 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. \]

Common Mistake

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 \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Recall the piecewise definition: \[ |x| = \begin{cases} x & x > 0 \\ -x & x < 0 \end{cases} \] — Reason: Because \( |x| \) behaves differently on each side of zero, we must treat the two regions separately. The point \( x = 0 \) is excluded since the function has a sharp corner (not differentiable) there.
  2. Step 2: For \( x > 0 \), substitute \( |x| = x \) and differentiate: \[ \frac{d}{dx}(|x|) = \frac{d}{dx}(x) = 1 \] — Reason: When \( x \) is positive, the modulus simply equals \( x \) itself, so its derivative is the same as the derivative of \( x \), which is \( 1 \).
  3. Step 3: Check whether \( \frac{x}{|x|} \) matches this result for \( x > 0 \). Since \( |x| = x \) when \( x > 0 \): \[ \frac{x}{|x|} = \frac{x}{x} = 1 \] — Reason: We verify that the compact formula \( \frac{x}{|x|} \) correctly reproduces the derivative \( 1 \) in this case, confirming agreement.
  4. Step 4: For \( x < 0 \), substitute \( |x| = -x \) and differentiate: \[ \frac{d}{dx}(|x|) = \frac{d}{dx}(-x) = -1 \] — Reason: When \( x \) is negative, the modulus equals \( -x \) (which is positive), so we differentiate \( -x \) with respect to \( x \), giving \( -1 \).
  5. Step 5: Check whether \( \frac{x}{|x|} \) matches this result for \( x < 0 \). Since \( |x| = -x \) when \( x < 0 \): \[ \frac{x}{|x|} = \frac{x}{-x} = -1 \] — Reason: Again, we verify the compact formula correctly reproduces the derivative \( -1 \) in this case, confirming agreement for negative \( x \).
  6. Step 6: Combine both cases: the derivative of \( |x| \) equals \( 1 \) when \( x > 0 \) and \( -1 \) when \( x < 0 \), which is exactly what \( \frac{x}{|x|} \) produces in each region. Therefore, a single unified formula covers both cases: \[ \frac{d}{dx}(|x|) = \frac{x}{|x|}, \quad x \ne 0 \] — Reason: Expressing both cases as one formula using \( \frac{x}{|x|} \) (the sign of \( x \)) is more elegant and compact than writing a piecewise derivative.

Final 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. \]

Common Mistake

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.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: For \( x > 0 \): \( |x| = x \), so \[\frac{d}{dx}(|x|) = 1\] and \[\frac{x}{|x|} = \frac{x}{x} = 1.\]
  2. Step 2: For \( x < 0 \): \( |x| = -x \), so \[\frac{d}{dx}(|x|) = -1\] and \[\frac{x}{|x|} = \frac{x}{-x} = -1.\]
  3. Step 3: In both cases, \( \frac{d}{dx}(|x|) = \frac{x}{|x|} \) for \( x \ne 0 \).

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. \]

➕ More Examples

More Examples

Example 1

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 \)

Example 2

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 \))

🎯 Try a Similar Question

Try a Similar Question

Question: Show that \( \dfrac{d}{dx}\left(|x|^3\right) = 3x|x| \) for \( x \ne 0 \).

Solution

  1. Step 1: Write |x|³ as a piecewise function: Recall that \( |x| = x \) when \( x > 0 \) and \( |x| = -x \) when \( x < 0 \). Therefore: \[ |x|^3 = \begin{cases} x^3 & x > 0 \\ (-x)^3 = -x^3 & x < 0 \end{cases} \]
  2. Step 2: Differentiate for x > 0: For \( x > 0 \), we have \( |x|^3 = x^3 \). Differentiating: \[ \frac{d}{dx}\left(x^3\right) = 3x^2 \] Since \( x > 0 \), we can write \( 3x^2 = 3x \cdot x = 3x \cdot |x| \). So the derivative equals \( 3x|x| \) for \( x > 0 \).
  3. Step 3: Differentiate for x < 0: For \( x < 0 \), we have \( |x|^3 = -x^3 \). Differentiating: \[ \frac{d}{dx}\left(-x^3\right) = -3x^2 \] Since \( x < 0 \), we have \( |x| = -x \), so \( x \cdot |x| = x \cdot (-x) = -x^2 \). Therefore \( 3x|x| = 3(-x^2) = -3x^2 \). The derivative equals \( 3x|x| \) for \( x < 0 \) as well.
  4. Step 4: Combine and conclude: In both cases ( \( x > 0 \) and \( x < 0 \) ), the derivative of \( |x|^3 \) equals \( 3x|x| \). Hence, for all \( x \ne 0 \): \[ \frac{d}{dx}\left(|x|^3\right) = 3x|x| \]

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. \]

Everything you get with Solver7

More questions in Continuity and Differentiability

Chapter 5 Examples Q1 Chapter 5 Examples Q2 Chapter 5 Examples Q3 65/1/1 2024 / Section A Q3 Chapter 5 Examples Q4 65/2/1 2024 / Section A Q4 65/3/1 2024 / Section A Q4 Chapter 5 Examples Q5 65/4/1 2026 / Section A Q5 Chapter 5 Examples Q6 65(B) 2026 / Section A Q6 65/4/1 2023 / Section A Q6 65/4/2 2024 / Section A Q6 65/5/1 2026 / Section A Q6 Chapter 5 Examples Q7 65/3/1 2026 / Section A Q7 65/4/1 2023 / Section A Q7 65/4/1 2026 / Section A Q7 65/4/2 2024 / Section A Q7 Chapter 5 Examples Q8 65/4/1 2026 / Section A Q8 65/5/1 2026 / Section A Q8 Chapter 5 Examples Q9 Chapter 5 Examples Q10 Chapter 5 Examples Q11 65/2/2 2023 / Section A Q11 65/2/3 2026 / Section A Q11 Chapter 5 Examples Q12 65/2/2 2023 / Section A Q12 Chapter 5 Examples Q13 65/1/1 2023 / Section A Q13 65/1/1 2024 / Section A Q13 65/2/1 2024 / Section A Q13 Chapter 5 Examples Q14 65/3/1 2024 / Section A Q14 Chapter 5 Examples Q15 65/3/1 2023 / Section A Q15 Chapter 5 Examples Q16 65/3/1 2023 / Section A Q16 Chapter 5 Examples Q17 Chapter 5 Examples Q18 Chapter 5 Examples Q19 Chapter 5 Examples Q20 Chapter 5 Examples Q21 65/1/1 2024 / Section B Q21(a) 65/1/1 2026 / Section B Q21(a) 65/3/1 2026 / Section B Q21 Chapter 5 Examples Q22 65/1/1 2024 / Section B Q21(b) 65/1/1 2026 / Section B Q21(b) 65/3/1 2024 / Section B Q22(a) 65/4/1 2026 / Section B Q22(a) 65/5/1 2026 / Section B Q22(a) Chapter 5 Examples Q23 65/2/1 2024 / Section B Q22(a) 65/3/1 2024 / Section B Q22(b) 65/4/1 2023 / Section B Q22 65/4/1 2026 / Section B Q22(b) 65/5/1 2026 / Section B Q22(b) Chapter 5 Examples Q24