SOLVER7 Study. Nothing Else.
Chapter 5 Miscellaneous Exercise Q18

If \(f(x) = |x|^3,\) show that \(f″(x)\) exists for all real \(x\) and find it.

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine a road that bends differently on each side of a bridge. The function \( f(x) = |x|^3 \) behaves like \( x^3 \) on the right side and like \( -x^3 \) on the left side. To find how fast the slope itself is changing, we differentiate twice. At the joining point zero, we carefully check both sides match up. They do, so the second derivative exists everywhere and grows like \( 6|x| \), always zero at the centre and larger as you move away.

Answer: The second derivative exists for all real \( x \) and is given by \[ f''(x) = \begin{cases} 6x & x \ge 0 \\ -6x & x < 0 \end{cases} \] equivalently \( f''(x) = 6|x| \).

📖 Second Derivative of f(x) = |x|^3

Detailed Explanation

The function \( f(x) = |x|^3 \) involves a modulus, so we must first express it without the modulus sign. Recall that \( |x| = x \) when \( x \ge 0 \) and \( |x| = -x \) when \( x < 0 \). Cubing gives \( |x|^3 = x^3 \) for \( x \ge 0 \) and \( |x|^3 = -x^3 \) for \( x < 0 \), since \( (-x)^3 = -x^3 \). The only point where differentiability could fail is \( x = 0 \), the joining point of the two pieces. To prove that \( f''(x) \) exists everywhere, we differentiate each piece, then check at \( x = 0 \) using left-hand and right-hand derivatives.

Formula Used

\( |x| = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases} \) so that \( f(x) = |x|^3 = \begin{cases} x^3 & x \ge 0 \\ -x^3 & x < 0 \end{cases} \)

Solution

  1. Step 1: Remove the modulus by writing the function piecewise. \[ f(x) = |x|^3 = \begin{cases} x^3 & x \ge 0 \\ -x^3 & x < 0 \end{cases} \]
  2. Step 2: Differentiate each piece once to get the first derivative. For \( x > 0 \), \( \frac{d}{dx}(x^3) = 3x^2 \). For \( x < 0 \), \( \frac{d}{dx}(-x^3) = -3x^2 \). So we expect \[ f'(x) = \begin{cases} 3x^2 & x \ge 0 \\ -3x^2 & x < 0 \end{cases} \]
  3. Step 3: Check that \( f'(x) \) exists at \( x = 0 \). The right-hand derivative is \[ \lim_{h \to 0^+} \frac{f(h) - f(0)}{h} = \lim_{h \to 0^+} \frac{h^3}{h} = 0. \] The left-hand derivative is \[ \lim_{h \to 0^-} \frac{f(h) - f(0)}{h} = \lim_{h \to 0^-} \frac{-h^3}{h} = 0. \] Both equal \( 0 \), so \( f'(0) = 0 \) and \( f' \) exists everywhere.
  4. Step 4: We can write \( f'(x) \) compactly. Since \( 3x^2 = 3x|x| \) for \( x \ge 0 \) and \( -3x^2 = 3x|x| \) for \( x < 0 \) (as \( |x| = -x \) there), we have \[ f'(x) = 3x|x|. \] This single formula holds for all real \( x \), including \( x = 0 \).
  5. Step 5: Differentiate each piece of \( f'(x) \) again. For \( x > 0 \), \( \frac{d}{dx}(3x^2) = 6x \). For \( x < 0 \), \( \frac{d}{dx}(-3x^2) = -6x \). So we expect \[ f''(x) = \begin{cases} 6x & x \ge 0 \\ -6x & x < 0 \end{cases} \]
  6. Step 6: Check that \( f''(x) \) exists at \( x = 0 \) using the derivative of \( f'(x) = 3x|x| \). Right-hand: \[ \lim_{h \to 0^+} \frac{f'(h) - f'(0)}{h} = \lim_{h \to 0^+} \frac{3h^2}{h} = 0. \] Left-hand: \[ \lim_{h \to 0^-} \frac{f'(h) - f'(0)}{h} = \lim_{h \to 0^-} \frac{-3h^2}{h} = 0. \] Both equal \( 0 \), so \( f''(0) = 0 \) exists.
  7. Step 7: Combine the pieces. Since \( f''(x) = 6x \) for \( x \ge 0 \) and \( f''(x) = -6x \) for \( x < 0 \), we can write this as \( f''(x) = 6|x| \), which is valid for all real \( x \) and gives \( f''(0) = 0 \).

Final Answer

The second derivative exists for all real \( x \) and is given by \[ f''(x) = \begin{cases} 6x & x \ge 0 \\ -6x & x < 0 \end{cases} \] equivalently \( f''(x) = 6|x| \).

Common Mistake

A common mistake is to write \( f(x) = x^3 \) for all \( x \) after ignoring the modulus, giving \( f''(x) = 6x \) everywhere. This is wrong for \( x < 0 \), where \( |x|^3 = -x^3 \), so \( f''(x) = -6x \) there. Another mistake is not checking the derivatives at the joining point \( x = 0 \) using left-hand and right-hand limits.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite \( f(x) = |x|^3 \) as a piecewise function. Since \( |x| = x \) for \( x \ge 0 \) and \( |x| = -x \) for \( x < 0 \), cubing each case gives \( (-x)^3 = -x^3 \). Therefore: \[ f(x) = \begin{cases} x^3 & x \ge 0 \\ -x^3 & x < 0 \end{cases} \] Reason: Removing the absolute value symbol lets us apply standard differentiation rules to each algebraic piece separately.
  2. Step 2: Differentiate each piece to find \( f'(x) \) away from \( x = 0 \). For \( x > 0 \): \[ \frac{d}{dx}(x^3) = 3x^2 \] For \( x < 0 \): \[ \frac{d}{dx}(-x^3) = -3x^2 \] So away from the origin, \( f'(x) \) equals \( 3x^2 \) or \( -3x^2 \) depending on the sign of \( x \). Reason: Standard power rule applies directly once the absolute value is removed.
  3. Step 3: Verify that \( f'(0) \) exists by computing the right-hand and left-hand derivatives at \( x = 0 \) from the limit definition. Right-hand derivative (using \( f(h) = h^3 \) for small \( h > 0 \)): \[ \lim_{h \to 0^+} \frac{f(h) - f(0)}{h} = \lim_{h \to 0^+} \frac{h^3}{h} = \lim_{h \to 0^+} h^2 = 0 \] Left-hand derivative (using \( f(h) = -h^3 \) for small \( h < 0 \)): \[ \lim_{h \to 0^-} \frac{f(h) - f(0)}{h} = \lim_{h \to 0^-} \frac{-h^3}{h} = \lim_{h \to 0^-} (-h^2) = 0 \] Both one-sided limits equal \( 0 \), so \( f'(0) = 0 \). Reason: Differentiability at a join point must always be confirmed via the first-principles limit — the formula alone cannot be trusted there.
  4. Step 4: Write the complete first derivative including the value at \( x = 0 \): \[ f'(x) = \begin{cases} 3x^2 & x \ge 0 \\ -3x^2 & x < 0 \end{cases} \] Notice that at \( x = 0 \), both pieces give \( 3(0)^2 = 0 \) and \( -3(0)^2 = 0 \), matching \( f'(0) = 0 \) found in Step 3. Reason: Confirming the pieces join smoothly at \( x = 0 \) ensures \( f'(x) \) is well-defined for all real \( x \).
  5. Step 5: Differentiate each piece of \( f'(x) \) once more to get \( f''(x) \) away from \( x = 0 \). For \( x > 0 \): \[ \frac{d}{dx}(3x^2) = 6x \] For \( x < 0 \): \[ \frac{d}{dx}(-3x^2) = -6x \] Reason: Applying the power rule a second time gives the second derivative for each piece.
  6. Step 6: Confirm that \( f''(0) \) exists by checking both one-sided limits of the difference quotient of \( f'(x) \). Right-hand second derivative: \[ \lim_{h \to 0^+} \frac{f'(h) - f'(0)}{h} = \lim_{h \to 0^+} \frac{3h^2 - 0}{h} = \lim_{h \to 0^+} 3h = 0 \] Left-hand second derivative: \[ \lim_{h \to 0^-} \frac{f'(h) - f'(0)}{h} = \lim_{h \to 0^-} \frac{-3h^2 - 0}{h} = \lim_{h \to 0^-} (-3h) = 0 \] Both equal \( 0 \), so \( f''(0) = 0 \). Reason: The second derivative at the join point must again be verified by the limit definition, not assumed from the piecewise formula.
  7. Step 7: Assemble the complete second derivative. At \( x \ge 0 \), the formula \( 6x \) gives \( 6(0) = 0 \), which matches \( f''(0) = 0 \). Hence the piecewise result is consistent, and we can also write it compactly using the absolute value: \( f''(x) = 6|x| \) for all real \( x \). Reason: Expressing the answer in both piecewise and compact \( |x| \)-form makes the structure transparent and is the standard presentation required in CBSE answers.

Final Answer

The second derivative exists for all real \( x \) and is given by \[ f''(x) = \begin{cases} 6x & x \ge 0 \\ -6x & x < 0 \end{cases} \] equivalently \( f''(x) = 6|x| \).

Common Mistake

One common mistake: students assume \( f'(x) = 3x^2 \) everywhere (ignoring the sign of \( x \)), leading to the incorrect conclusion \( f''(x) = 6x \) for all \( x \). Always split the function at \( |x| = 0 \) and handle each branch separately, then verify differentiability at \( x = 0 \) using the limit definition.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Piecewise form: \[f(x) = \begin{cases} x^3 & x \ge 0 \\ -x^3 & x < 0 \end{cases}\]
  2. Step 2: First derivative (verified at \( x = 0 \) via limits, both sides give \( 0 \)): \[f'(x) = \begin{cases} 3x^2 & x \ge 0 \\ -3x^2 & x < 0 \end{cases}\]
  3. Step 3: Second derivative (verified at \( x = 0 \): RHD \( = \lim_{h \to 0^+} \frac{3h^2}{h} = 0 \), LHD \( = \lim_{h \to 0^-} \frac{-3h^2}{h} = 0 \)): \[f''(x) = \begin{cases} 6x & x \ge 0 \\ -6x & x < 0 \end{cases}\]

Answer: The second derivative exists for all real \( x \) and is given by \[ f''(x) = \begin{cases} 6x & x \ge 0 \\ -6x & x < 0 \end{cases} \] equivalently \( f''(x) = 6|x| \).

➕ More Examples

More Examples

Example 1

Question: If \( g(x) = |x|^5 \), show that \( g''(x) \) exists for all real \( x \) and find it.

Solution: We write \( g(x) \) as a piecewise function: \[ g(x) = \begin{cases} x^5 & x \ge 0 \\ -x^5 & x < 0 \end{cases} \] Step 1: Find \( g'(x) \) for \( x \ne 0 \). For \( x > 0 \): \[ g'(x) = 5x^4 \] For \( x < 0 \): \[ g'(x) = -5x^4 \] Step 2: Check differentiability of \( g \) at \( x = 0 \). Left-hand derivative: \[ \lim_{h \to 0^-} \frac{g(0+h) - g(0)}{h} = \lim_{h \to 0^-} \frac{-h^5}{h} = \lim_{h \to 0^-} (-h^4) = 0 \] Right-hand derivative: \[ \lim_{h \to 0^+} \frac{g(0+h) - g(0)}{h} = \lim_{h \to 0^+} \frac{h^5}{h} = \lim_{h \to 0^+} h^4 = 0 \] Both limits are equal, so \( g'(0) = 0 \). Thus: \[ g'(x) = \begin{cases} 5x^4 & x \ge 0 \\ -5x^4 & x < 0 \end{cases} \] Note that \( g'(x) = 5x^3 |x| \) for all \( x \). Step 3: Find \( g''(x) \) for \( x \ne 0 \). For \( x > 0 \): \[ g''(x) = 20x^3 \] For \( x < 0 \): \[ g''(x) = -20x^3 \] Step 4: Check differentiability of \( g' \) at \( x = 0 \). Left-hand derivative: \[ \lim_{h \to 0^-} \frac{g'(0+h) - g'(0)}{h} = \lim_{h \to 0^-} \frac{-5h^4 - 0}{h} = \lim_{h \to 0^-} (-5h^3) = 0 \] Right-hand derivative: \[ \lim_{h \to 0^+} \frac{g'(0+h) - g'(0)}{h} = \lim_{h \to 0^+} \frac{5h^4 - 0}{h} = \lim_{h \to 0^+} 5h^3 = 0 \] Both limits are equal, so \( g''(0) = 0 \). Therefore \( g''(x) \) exists for all real \( x \), and: \[ g''(x) = \begin{cases} 20x^3 & x > 0 \\ 0 & x = 0 \\ -20x^3 & x < 0 \end{cases} \] This can be written compactly as \( g''(x) = 20x^2|x| \) for all \( x \in \mathbb{R} \).

Answer: \( g''(x) = 20x^2|x| \), i.e., \( g''(x) = 20x^3 \) for \( x > 0 \), \( g''(0) = 0 \), and \( g''(x) = -20x^3 \) for \( x < 0 \).

Example 2

Question: If \( h(x) = |x|^4 \), show that \( h''(x) \) exists for all real \( x \) and find it.

Solution: We write \( h(x) \) as a piecewise function: \[ h(x) = \begin{cases} x^4 & x \ge 0 \\ x^4 & x < 0 \end{cases} \] Since \( x^4 = (-x)^4 \) for all \( x \), we have \( h(x) = x^4 \) for all \( x \). However, let us still verify differentiability carefully using the definition to practise the method. Step 1: Find \( h'(x) \) for \( x \ne 0 \). For \( x > 0 \): \[ h'(x) = 4x^3 \] For \( x < 0 \): Noting \( h(x) = (-x)^4 \), we differentiate to get \[ h'(x) = 4(-x)^3 \cdot (-1) = 4x^3 \] Step 2: Check differentiability of \( h \) at \( x = 0 \). Left-hand derivative: \[ \lim_{h \to 0^-} \frac{h(0+h) - h(0)}{h} = \lim_{h \to 0^-} \frac{h^4}{h} = \lim_{h \to 0^-} h^3 = 0 \] Right-hand derivative: \[ \lim_{h \to 0^+} \frac{h(0+h) - h(0)}{h} = \lim_{h \to 0^+} \frac{h^4}{h} = \lim_{h \to 0^+} h^3 = 0 \] Both limits are equal, so \( h'(0) = 0 \). Thus \( h'(x) = 4x^3 \) for all \( x \in \mathbb{R} \). Step 3: Find \( h''(x) \) for \( x \ne 0 \). For \( x > 0 \): \[ h''(x) = 12x^2 \] For \( x < 0 \): \[ h''(x) = 12x^2 \] Step 4: Check differentiability of \( h' \) at \( x = 0 \). Left-hand derivative: \[ \lim_{h \to 0^-} \frac{h'(0+h) - h'(0)}{h} = \lim_{h \to 0^-} \frac{4h^3 - 0}{h} = \lim_{h \to 0^-} 4h^2 = 0 \] Right-hand derivative: \[ \lim_{h \to 0^+} \frac{h'(0+h) - h'(0)}{h} = \lim_{h \to 0^+} \frac{4h^3 - 0}{h} = \lim_{h \to 0^+} 4h^2 = 0 \] Both limits are equal, so \( h''(0) = 0 \). Therefore \( h''(x) \) exists for all real \( x \), and: \[ h''(x) = 12x^2 \quad \text{for all } x \in \mathbb{R} \]

Answer: \( h''(x) = 12x^2 \) for all \( x \in \mathbb{R} \).

🎯 Try a Similar Question

Try a Similar Question

Question: If \( g(x) = |x|^5 \), show that \( g''(x) \) exists for all real \( x \) and find it.

Solution

  1. Step 1: Write g(x) as a piecewise function: We write \( g(x) = |x|^5 \) in piecewise form: \[g(x) = \begin{cases} x^5 & x \ge 0 \\ -x^5 & x < 0 \end{cases}\] This is because \( |x| = x \) for \( x \ge 0 \) and \( |x| = -x \) for \( x < 0 \), so \( |x|^5 = x^5 \) for \( x \ge 0 \) and \( |x|^5 = (-x)^5 = -x^5 \) for \( x < 0 \).
  2. Step 2: Find the first derivative for x ≠ 0: For \( x > 0 \): \( g(x) = x^5 \), so \( g'(x) = 5x^4 \). For \( x < 0 \): \( g(x) = -x^5 \), so \( g'(x) = -5x^4 \).
  3. Step 3: Verify g'(0) exists: We check differentiability of \( g \) at \( x = 0 \) using the definition. The right-hand derivative is \[\lim_{h \to 0^+} \frac{g(0+h) - g(0)}{h} = \lim_{h \to 0^+} \frac{h^5}{h} = \lim_{h \to 0^+} h^4 = 0.\] The left-hand derivative is \[\lim_{h \to 0^-} \frac{g(0+h) - g(0)}{h} = \lim_{h \to 0^-} \frac{-h^5}{h} = \lim_{h \to 0^-} (-h^4) = 0.\] Both limits are equal, so \( g'(0) = 0 \). Therefore \[g'(x) = \begin{cases} 5x^4 & x \ge 0 \\ -5x^4 & x < 0 \end{cases}\] which can be written as \( g'(x) = 5x|x|^3 \).
  4. Step 4: Find the second derivative for x ≠ 0: For \( x > 0 \): \( g'(x) = 5x^4 \), so \( g''(x) = 20x^3 \). For \( x < 0 \): \( g'(x) = -5x^4 \), so \( g''(x) = -20x^3 \).
  5. Step 5: Verify g''(0) exists: We check differentiability of \( g' \) at \( x = 0 \). The right-hand derivative is \[\lim_{h \to 0^+} \frac{g'(0+h) - g'(0)}{h} = \lim_{h \to 0^+} \frac{5h^4}{h} = \lim_{h \to 0^+} 5h^3 = 0.\] The left-hand derivative is \[\lim_{h \to 0^-} \frac{g'(0+h) - g'(0)}{h} = \lim_{h \to 0^-} \frac{-5h^4}{h} = \lim_{h \to 0^-} (-5h^3) = 0.\] Both limits are equal, so \( g''(0) = 0 \). Hence \( g''(x) \) exists for all real \( x \).
  6. Step 6: Write the final expression for g''(x): Combining all cases: \[g''(x) = \begin{cases} 20x^3 & x \ge 0 \\ -20x^3 & x < 0 \end{cases}\] This can also be written compactly as \( g''(x) = 20x^2|x| \), since for \( x \ge 0 \), \( 20x^2|x| = 20x^3 \), and for \( x < 0 \), \( 20x^2|x| = 20x^2(-x) = -20x^3 \).

Answer: The second derivative exists for all real \( x \) and is given by \[g''(x) = \begin{cases} 20x^3 & x \ge 0 \\ -20x^3 & x < 0 \end{cases}\] equivalently \( g''(x) = 20x^2|x| \).

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