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

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

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:

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

1 only

Understanding the Given Function

The function provided is $f(x) = (|x| - |x – 1|)^2$. This function involves absolute values, $|x|$ and $|x-1|$. To analyze the function properly, we need to consider different cases based on the values of $x$ where the expressions inside the absolute values change sign. The critical points are $x=0$ (for $|x|$) and $x=1$ (for $|x-1|$).

Let's define the function $f(x)$ piecewise:

  • Case 1: $x < 0$
    In this case, $x$ is negative, so $|x| = -x$. Also, $x-1$ is negative (since $x < 0$, $x-1$ is even smaller), so $|x-1| = -(x-1) = 1-x$.
    $|x| - |x-1| = (-x) - (1-x) = -x - 1 + x = -1$.
    So, $f(x) = (-1)^2 = 1$ for $x < 0$.
  • Case 2: $0 \le x < 1$
    In this case, $x$ is non-negative, so $|x| = x$. Also, $x-1$ is negative, so $|x-1| = -(x-1) = 1-x$.
    $|x| - |x-1| = x - (1-x) = x - 1 + x = 2x - 1$.
    So, $f(x) = (2x - 1)^2 = 4x^2 - 4x + 1$ for $0 \le x < 1$.
  • Case 3: $x \ge 1$
    In this case, $x$ is greater than or equal to 1, so $|x| = x$. Also, $x-1$ is non-negative, so $|x-1| = x-1$.
    $|x| - |x-1| = x - (x-1) = x - x + 1 = 1$.
    So, $f(x) = (1)^2 = 1$ for $x \ge 1$.

Combining these cases, the function $f(x)$ is defined as:

$$f(x) = \begin{cases} 1 & \text{if } x < 0 \\ (2x-1)^2 & \text{if } 0 \le x < 1 \\ 1 & \text{if } x \ge 1 \end{cases}$$

Evaluating Statement 1: f(-2) = f(5)

Let's evaluate the function at $x = -2$ and $x = 5$ using the piecewise definition.

  • For $x = -2$: Since $-2 < 0$, we use the first case, $f(x) = 1$. So, $f(-2) = 1$.
  • For $x = 5$: Since $5 \ge 1$, we use the third case, $f(x) = 1$. So, $f(5) = 1$.

Comparing the values, we have $f(-2) = 1$ and $f(5) = 1$. Therefore, $f(-2) = f(5)$.

Statement 1 is correct.

Evaluating Statement 2: f”(-2) + f”(0.5) + f”(3) = 4

To evaluate this statement, we first need to find the second derivative of the function $f(x)$ in each interval where it is smooth. The function might not be differentiable or twice differentiable at the points where the definition changes ($x=0$ and $x=1$), but the points we need to evaluate $f''$ at (-2, 0.5, 3) are away from these critical points.

Let's find the first derivative, $f'(x)$, and the second derivative, $f''(x)$, for each interval:

  • For $x < 0$:
    $f(x) = 1$
    $f'(x) = \frac{d}{dx}(1) = 0$
    $f''(x) = \frac{d}{dx}(0) = 0$
  • For $0 < x < 1$:
    $f(x) = (2x-1)^2 = 4x^2 - 4x + 1$
    $f'(x) = \frac{d}{dx}(4x^2 - 4x + 1) = 8x - 4$
    $f''(x) = \frac{d}{dx}(8x - 4) = 8$
  • For $x > 1$:
    $f(x) = 1$
    $f'(x) = \frac{d}{dx}(1) = 0$
    $f''(x) = \frac{d}{dx}(0) = 0$

So, the second derivative $f''(x)$ is:

$$f''(x) = \begin{cases} 0 & \text{if } x < 0 \\ 8 & \text{if } 0 < x < 1 \\ 0 & \text{if } x > 1 \end{cases}$$

Now, let's evaluate $f''$ at the points specified in the statement:

  • For $x = -2$: Since $-2 < 0$, $f''(-2) = 0$.
  • For $x = 0.5$: Since $0 < 0.5 < 1$, $f''(0.5) = 8$.
  • For $x = 3$: Since $3 > 1$, $f''(3) = 0$.

Now, let's calculate the sum $f''(-2) + f''(0.5) + f''(3)$:

Sum $= 0 + 8 + 0 = 8$.

The statement claims that the sum is 4. However, we calculated the sum to be 8. Therefore, $f''(-2) + f''(0.5) + f''(3) = 4$ is false.

Statement 2 is incorrect.

Conclusion on Statements

Based on our analysis:

  • Statement 1: $f(-2) = f(5)$ is Correct.
  • Statement 2: $f''(-2) + f''(0.5) + f''(3) = 4$ is Incorrect.

Therefore, only statement 1 is correct.

Statement Evaluation Correctness
$f(-2) = f(5)$ $f(-2) = 1$, $f(5) = 1$ Correct
$f''(-2) + f''(0.5) + f''(3) = 4$ $f''(-2) = 0$, $f''(0.5) = 8$, $f''(3) = 0$. Sum = $0+8+0 = 8$. Claimed sum = 4. Incorrect

Revision Table: Key Steps

Step Description
1 Break down the function $f(x)$ into piecewise form based on absolute value definitions.
2 Evaluate $f(x)$ at specific points (-2 and 5) to check Statement 1.
3 Find the first derivative $f'(x)$ piecewise.
4 Find the second derivative $f''(x)$ piecewise.
5 Evaluate $f''(x)$ at specific points (-2, 0.5, and 3) for Statement 2.
6 Calculate the sum $f''(-2) + f''(0.5) + f''(3)$ and compare it with 4.
7 Conclude which statement(s) are correct.

Additional Information on Absolute Value Functions and Derivatives

Functions involving absolute values, like $|x|$ or $|x-c|$, are often defined piecewise. The points where the expression inside the absolute value is zero (like $x=0$ for $|x|$ or $x=c$ for $|x-c|$) are called critical points. At these critical points, the graph of the absolute value function has a sharp corner, and the derivative does not exist there.

When dealing with a function like $f(x) = (|x| - |x-1|)^2$, the critical points from the absolute values are $x=0$ and $x=1$. The function needs to be analyzed in the intervals defined by these points: $(-\infty, 0)$, $[0, 1)$, and $[1, \infty)$.

Derivatives of piecewise functions are found by differentiating the expression for each interval separately. However, one must be careful about the derivative at the boundary points. A function is differentiable at a boundary point only if the left-hand derivative and the right-hand derivative exist and are equal at that point. For the second derivative, the same logic applies to the first derivative function.

In this specific problem, the points where we needed to evaluate the second derivative (-2, 0.5, 3) were in the "smooth" intervals where the function's form was simple (either a constant or a quadratic). Therefore, we could find the second derivative in those intervals directly and evaluate it at the given points.

The function $f(x) = (|x| - |x-1|)^2$ is interesting because $|x| - |x-1|$ simplifies to a constant (-1 or 1) outside the interval $[0, 1)$, leading to $f(x)=1$ in those regions. Inside the interval $[0, 1)$, it is a quadratic $(2x-1)^2$. This structure explains why the second derivative is 0 outside $(0, 1)$ and a constant (8) inside $(0, 1)$.

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. 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?

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

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

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


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
1088 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