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

A function is defined in (0, ∞) by \( f(x) = \begin{cases} 1-x^2 & for& , 0 < x \leq 1 \quad \\ In \ x & for &, 1 < x \leq 2 \\ In \ 2 - 1 + 0.5x & for &, 2 < x < \infty \end{cases} \)

Which one of the following is correct in respect of the derivative of the function, i.e. f’(x)?

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

f’(x) = -2x for 0 < x < 1

Understanding the Derivative of a Piecewise Function

The question asks us to find the correct expression for the derivative, \(f'(x)\), of the given piecewise function defined over the interval \((0, \infty)\). A piecewise function has different definitions for different intervals of its domain.

The function is given as:

\( f(x) = \begin{cases} 1-x^2 & for& , 0 < x \leq 1 \quad \\ In \ x & for &, 1 < x \leq 2 \\ In \ 2 - 1 + 0.5x & for &, 2 < x < \infty \end{cases} \)

To find the derivative \(f'(x)\), we need to find the derivative of each piece of the function with respect to \(x\) for the corresponding open intervals. At the points where the definition changes (\(x=1\) and \(x=2\)), the derivative may or may not exist. The derivative \(f'(x)\) is generally defined for open intervals.

Calculating the Derivative for Each Interval

Let's calculate the derivative for each defined interval:

  1. For the interval \(0 < x \leq 1\), the function is \(f(x) = 1 - x^2\).
    • The derivative for the open interval \(0 < x < 1\) is:
    • \( f'(x) = \frac{d}{dx}(1 - x^2) = \frac{d}{dx}(1) - \frac{d}{dx}(x^2) = 0 - 2x = -2x \)
    • So, for \(0 < x < 1\), \(f'(x) = -2x\).
  2. For the interval \(1 < x \leq 2\), the function is \(f(x) = \ln x\).
    • The derivative for the open interval \(1 < x < 2\) is:
    • \( f'(x) = \frac{d}{dx}(\ln x) = \frac{1}{x} \)
    • So, for \(1 < x < 2\), \(f'(x) = \frac{1}{x}\).
  3. For the interval \(2 < x < \infty\), the function is \(f(x) = \ln 2 - 1 + 0.5x\).
    • The derivative for the open interval \(2 < x < \infty\) is:
    • \( f'(x) = \frac{d}{dx}(\ln 2 - 1 + 0.5x) = \frac{d}{dx}(\ln 2) - \frac{d}{dx}(1) + \frac{d}{dx}(0.5x) = 0 - 0 + 0.5 = 0.5 \)
    • So, for \(2 < x < \infty\), \(f'(x) = 0.5\).

Checking Differentiability at Endpoints

The derivative \(f'(x)\) is defined for open intervals. At points where the function definition changes, such as \(x=1\) and \(x=2\), we need to check if the function is differentiable. Differentiability at a point requires the left-hand derivative and the right-hand derivative to exist and be equal at that point. Also, the function must be continuous at that point for it to be differentiable there.

Check at x = 1:

First, let's check continuity at \(x=1\):

  • Left limit: \( \lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} (1 - x^2) = 1 - 1^2 = 0 \)
  • Right limit: \( \lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (\ln x) = \ln 1 = 0 \)
  • Function value: \( f(1) = 1 - 1^2 = 0 \) (from the first definition)

Since the left limit, right limit, and function value are all equal (\(0\)), the function is continuous at \(x=1\).

Now, let's check differentiability at \(x=1\) by comparing the derivatives from the left and right sides:

  • Left derivative: For \(x < 1\), \(f'(x) = -2x\). As \(x \to 1^-\), the left-hand derivative \(f'(1^-) = \lim_{x \to 1^-} (-2x) = -2(1) = -2\).
  • Right derivative: For \(x > 1\), \(f'(x) = \frac{1}{x}\). As \(x \to 1^+\), the right-hand derivative \(f'(1^+) = \lim_{x \to 1^+} (\frac{1}{x}) = \frac{1}{1} = 1\).

Since the left-hand derivative (\(-2\)) and the right-hand derivative (\(1\)) are not equal at \(x=1\), the function \(f(x)\) is not differentiable at \(x=1\).

Check at x = 2:

First, let's check continuity at \(x=2\):

  • Left limit: \( \lim_{x \to 2^-} f(x) = \lim_{x \to 2^-} (\ln x) = \ln 2 \)
  • Right limit: \( \lim_{x \to 2^+} f(x) = \lim_{x \to 2^+} (\ln 2 - 1 + 0.5x) = \ln 2 - 1 + 0.5(2) = \ln 2 - 1 + 1 = \ln 2 \)
  • Function value: \( f(2) = \ln 2 \) (from the second definition)

Since the left limit, right limit, and function value are all equal (\(\ln 2\)), the function is continuous at \(x=2\).

Now, let's check differentiability at \(x=2\):

  • Left derivative: For \(x < 2\), \(f'(x) = \frac{1}{x}\). As \(x \to 2^-\), the left-hand derivative \(f'(2^-) = \lim_{x \to 2^-} (\frac{1}{x}) = \frac{1}{2} = 0.5\).
  • Right derivative: For \(x > 2\), \(f'(x) = 0.5\). As \(x \to 2^+\), the right-hand derivative \(f'(2^+) = \lim_{x \to 2^+} (0.5) = 0.5\).

Since the left-hand derivative (\(0.5\)) and the right-hand derivative (\(0.5\)) are equal at \(x=2\), the function \(f(x)\) is differentiable at \(x=2\), and \(f'(2) = 0.5\).

Summarizing the Derivative f'(x)

Based on our calculations, the derivative \(f'(x)\) is:

  • \(f'(x) = -2x\) for \(0 < x < 1\)
  • \(f'(x) = \frac{1}{x}\) for \(1 < x < 2\)
  • \(f'(x) = 0.5\) for \(x = 2\)
  • \(f'(x) = 0.5\) for \(2 < x < \infty\)

Combining the last two, we have \(f'(x) = 0.5\) for \(2 \leq x < \infty\). So, the derivative function is:

\( f'(x) = \begin{cases} -2x & for& , 0 < x < 1 \quad \\ \frac{1}{x} & for &, 1 < x < 2 \\ 0.5 & for &, 2 \leq x < \infty \end{cases} \)

Note that \(f'(1)\) is undefined because the function is not differentiable at \(x=1\).

Evaluating the Options

Let's look at the provided options:

  1. f’(x) = 2x for 0 < x ≤ 1: This is incorrect. The derivative is \(-2x\) for \(0 < x < 1\).
  2. f’(x) = -2x for 0 < x ≤ 1: This is incorrect because the function is not differentiable at \(x=1\), so \(f'(x)\) is not equal to \(-2x\) (or any value) for the *closed* interval \(0 < x \le 1\). It's only \(-2x\) for the *open* interval \(0 < x < 1\).
  3. f’(x) = -2x for 0 < x < 1: This matches our calculated derivative for the open interval \(0 < x < 1\).
  4. f’(x) = 0 for 0 < x < ∞: This is incorrect. The derivative is not 0 over the entire domain.

Based on our analysis, the statement "f’(x) = -2x for 0 < x < 1" accurately describes the derivative of the function over that specific open interval.

Summary of f(x) and f'(x)
Interval Function f(x) Derivative f'(x)
\(0 < x < 1\) \(1 - x^2\) \(-2x\)
\(x=1\) \(1 - x^2\) (\(f(1)=0\)) Not differentiable
\(1 < x < 2\) \(\ln x\) \(\frac{1}{x}\)
\(x=2\) \(\ln x\) (\(f(2)=\ln 2\)) \(0.5\) (Differentiable)
\(2 < x < \infty\) \(\ln 2 - 1 + 0.5x\) \(0.5\)

Conclusion on Derivative of Piecewise Function

The correct statement about the derivative of the function \(f(x)\) is that \(f'(x) = -2x\) for the open interval \(0 < x < 1\). The function is not differentiable at \(x=1\), so the derivative is not defined at that point, and thus the statement cannot hold for \(0 < x \le 1\).

Revision Table: Key Concepts

Concept Description Relevance to Problem
Piecewise Function A function defined by multiple sub-functions, each applying to a different interval of the domain. The given function \(f(x)\) is a piecewise function.
Derivative \(f'(x)\) Represents the instantaneous rate of change of a function; defined for open intervals. We need to find \(f'(x)\) for each piece of the function.
Differentiability at a Point Requires the function to be continuous at the point and the left-hand derivative to equal the right-hand derivative. Crucial for analyzing endpoints where the function definition changes (like \(x=1\) and \(x=2\)).
Left/Right Derivatives The limit of the difference quotient as \(x\) approaches a point from the left or right side. Used to check differentiability at transition points.

Additional Information: Piecewise Differentiability

When dealing with the derivative of a piecewise function, it is essential to compute the derivative for each definition over its corresponding open interval. The points where the function definition changes are called "transition points" or "split points."

To determine if the derivative exists at a transition point \(c\), you must perform two checks:

  1. Continuity Check: Verify if \(f(x)\) is continuous at \(x=c\). This means \( \lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c) \). If the function is not continuous at \(c\), it cannot be differentiable at \(c\).
  2. Differentiability Check: If the function is continuous at \(c\), check if the left-hand derivative equals the right-hand derivative at \(c\). This is often done by checking if \( \lim_{x \to c^-} f'(x) = \lim_{x \to c^+} f'(x) \), provided \(f'(x)\) is continuous on either side near \(c\). More formally, it involves evaluating \( \lim_{h \to 0^-} \frac{f(c+h) - f(c)}{h} \) and \( \lim_{h \to 0^+} \frac{f(c+h) - f(c)}{h} \) and seeing if they are equal.

If both checks pass, the function is differentiable at \(c\), and the derivative \(f'(c)\) exists. If either check fails, the function is not differentiable at \(c\), and \(f'(c)\) is undefined.

In this problem, we found that the function is not differentiable at \(x=1\) because the left and right derivatives are not equal, even though the function is continuous there. At \(x=2\), the function is continuous and the left and right derivatives are equal, so it is differentiable at \(x=2\).

Was this answer helpful?

Similar Questions

  1. If \({\rm{y}} = {\cos ^{ - 1}}\left( {\frac{{2{\rm{x}}}}{{1 + {{\rm{x}}^2}}}} \right)\) , then \(\frac{{{\rm{dy}}}}{{{\rm{dx}}}}\) is equal to

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

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

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

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

  6. If \(\rm x^m y^n =a^{m+n}\) , then what is  \(\rm \dfrac{dy}{dx}\)  equal to?

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

  8. Let f(x + y) = f(x) f(y) for all x and y. Then what is f’(5) equal to [where f’(x) is the derivative of f(x)]?

  9. Which of the following statements are not correct?

    1. y as a function of x is not defined for all real x.

    2. y as a function of x is not continuous at x = 0

    3. y as a function of x is differentiable for all x.

    Select the correct answer using the code given below

  10. What is the derivative of y as a function of x with respect to x for x < 0?


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?
Upcoming Exams
NDA
September 13, 2026
CDS
September 13, 2026
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
501 Tests 1 Tests Free
767 Attempts
4.7(129)
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