All Exams Test series for 1 year @ ₹349 only
Question

Let f(x) = (|x| - |x – 1|) 2

What f’(x) equal to when 0 < x < 1?

This question was previously asked in
NDA I 2016 GAT Previous Year Paper (17-Apr-2016)
The correct answer is

8x - 4

Finding the Derivative of an Absolute Value Function

The question asks for the derivative of the function \( f(x) = (|x| - |x – 1|)^2 \) when \( 0 < x < 1 \). To find the derivative, we first need to simplify the function \( f(x) \) within the specified interval.

Simplifying the Function for \( 0 < x < 1 \)

Let's analyze the absolute value expressions \(|x|\) and \(|x – 1|\) within the interval \( 0 < x < 1 \):

  • For \(|x|\): Since \( 0 < x < 1 \), \( x \) is positive. Therefore, \( |x| = x \).
  • For \(|x – 1|\): Since \( 0 < x < 1 \), \( x - 1 \) is negative (e.g., if \( x = 0.5 \), \( x - 1 = -0.5 \)). Therefore, \( |x – 1| = -(x – 1) = 1 – x \).

Now, substitute these simplified expressions back into the function \( f(x) \):

\( f(x) = (x – (1 – x))^2 \)

Simplify the expression inside the parentheses:

\( x – (1 – x) = x – 1 + x = 2x – 1 \)

So, for \( 0 < x < 1 \), the function simplifies to:

\( f(x) = (2x – 1)^2 \)

Calculating the Derivative \( f’(x) \)

We need to find the derivative of \( f(x) = (2x – 1)^2 \) with respect to \( x \). We can use the chain rule for differentiation. The chain rule states that if \( y = u^n \), then \( \frac{dy}{dx} = n u^{n-1} \frac{du}{dx} \).

In our case, let \( u = 2x – 1 \) and \( n = 2 \). The function is \( f(x) = u^2 \).

First, find the derivative of \( u \) with respect to \( x \):

\( \frac{du}{dx} = \frac{d}{dx}(2x – 1) = 2 \)

Now, apply the chain rule:

\( f’(x) = \frac{d}{dx}((2x – 1)^2) = 2(2x – 1)^{2-1} \times \frac{d}{dx}(2x – 1) \)

\( f’(x) = 2(2x – 1)^1 \times 2 \)

\( f’(x) = 4(2x – 1) \)

Finally, distribute the 4:

\( f’(x) = 8x – 4 \)

Conclusion

When \( 0 < x < 1 \), the derivative of \( f(x) = (|x| – |x – 1|)^2 \) is \( 8x – 4 \).

Comparing this result with the given options, we find that it matches option 4.

Revision Table: Derivative Concepts

Concept Description Formula Example
Absolute Value Definition \( |a| = a \) if \( a \ge 0 \)
\( |a| = -a \) if \( a < 0 \)
\( |5|=5, |-3|=3 \)
Power Rule Derivative of \( x^n \) is \( nx^{n-1} \) \( \frac{d}{dx}(x^3) = 3x^2 \)
Chain Rule Derivative of \( f(g(x)) \) is \( f'(g(x)) \times g'(x) \) \( \frac{d}{dx}((2x)^3) = 3(2x)^2 \times 2 = 24x^2 \)
Derivative of a Constant The derivative of a constant is 0. \( \frac{d}{dx}(5) = 0 \)

Additional Information: Derivatives and Piecewise Functions

Functions involving absolute values are often piecewise functions. To find the derivative of such a function, it's crucial to first define the function explicitly in different intervals based on where the expressions inside the absolute values change sign.

For \( f(x) = (|x| - |x – 1|)^2 \), the critical points where the absolute value expressions change behavior are \( x = 0 \) (for \(|x|\)) and \( x = 1 \) (for \(|x – 1|\)). These points divide the number line into three intervals:

  • \( x < 0 \): \( |x| = -x \), \( |x – 1| = -(x – 1) = 1 – x \)
  • \( 0 \le x \le 1 \): \( |x| = x \), \( |x – 1| = -(x – 1) = 1 – x \)
  • \( x > 1 \): \( |x| = x \), \( |x – 1| = x – 1 \)

The question specifically asks for the derivative in the interval \( 0 < x < 1 \). In this open interval, the function is differentiable because it simplifies to a standard polynomial \( (2x-1)^2 = 4x^2 - 4x + 1 \), which is differentiable everywhere. The derivative is \( 8x - 4 \).

Note that differentiability at the points where the absolute value expressions are zero (\(x=0\) and \(x=1\)) needs separate analysis using the definition of the derivative or by checking the left and right derivatives.

Was this answer helpful?

Similar Questions

  1. What is the derivative of log 10 (5x 2+ 3) with respect to x?

  2. The derivative of In(x + sin x) with respect to (x + cos x) is

  3. If y = \(\frac{x \sqrt{x^2−16}}{2} − 8 \ln\left|x + \sqrt{x^2−16}\right|\) , then what is  \(\frac{\text{dy}}{\text{dx}}\)  equal to ?

  4. If e θϕ = c + 4θϕ, where c is an arbitrary constant and ϕ is a function of θ, then what is ϕ dθ equal to?     

  5. What is the derivative of sec 2(tan -1 x) with respect to x?

  6. What is the derivative of sin(ln x) + cos(ln x) with respect to x at x = e?

  7. Which of the following equations is/are correct?

    1. f(-2) = f(5)

    2. f”(-2) + f”(0.5) + f”(3) = 4

    Select the correct answer using the code given below:

  8. If y = cos x ⋅ cos 4x ⋅ cos 8x, then what is  \(\rm \frac{1}{y}\frac{dy}{dx}\)  at  \(\rm x = \frac{\pi}{4}\)  equal to?

  9. Let f(x) be a polynomial function such that f ∘ f(x) = x 4. What is f'(1) equal to ?

  10. What is the derivative of \(\rm e^{e^x}\)  with respect to e x?


Important Questions from Evaluation of derivatives

  1. Differentiate {-log (log x), x > 1} with respect to x

  2. Find the derivation of f(x) = 1/x2

  3. The derivative of the function f(x) = -3x2 + 6x - 4 is given by:
  4. Differential coefficient of log10 x with respect to logx 10 is

  5. The derivatives of (x3 + ex + 3x + cot x) with respect to x is

Need Expert Advice?
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
503 Tests 1 Tests Free
1091 Attempts
4.6(137)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App