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

Consider the following for the next items that follow:

Let \(f(x)=\left\{\begin{array}{cc} a x(x+1)+b, & x<1 \\ x-1, & 1 \leq x \leq 2 \end{array}\right.\)

If the function f(x) is differentiable at x = 1, then what is the value of (a + b)?

This question was previously asked in
NDA I 2023 GAT Previous Year Paper (16-Apr-2023)
The correct answer is \(-\frac{1}{3}\)

Understanding Differentiability for Piecewise Functions

For a function \(f(x)\) to be differentiable at a point, say \(x=c\), two main conditions must be met:

  1. The function must be continuous at \(x=c\).
  2. The left-hand derivative and the right-hand derivative at \(x=c\) must exist and be equal.

The given function is defined as:

\(f(x)=\left\{\begin{array}{cc} a x(x+1)+b, & x<1 \\ x-1, & 1 \leq x \leq 2 \end{array}\right.\)

We are told that the function \(f(x)\) is differentiable at \(x=1\). We need to find the value of \(a+b\).

Step 1: Ensure Continuity at the Point

For \(f(x)\) to be differentiable at \(x=1\), it must first be continuous at \(x=1\). This means the limit of the function as \(x\) approaches 1 from the left must equal the limit as \(x\) approaches 1 from the right, and both must be equal to the function's value at \(x=1\).

\(\lim_{x \to 1^-} f(x) = \lim_{x \to 1^+} f(x) = f(1)\)

Step 2: Calculate the Left-Hand and Right-Hand Limits

The left-hand limit uses the definition of \(f(x)\) for \(x < 1\):

\(\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} (a x(x+1)+b)\)

Substitute \(x=1\) into this expression:

\(a(1)(1+1)+b = a(1)(2)+b = 2a+b\)

The right-hand limit uses the definition of \(f(x)\) for \(x \geq 1\):

\(\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (x-1)\)

Substitute \(x=1\) into this expression:

\(1-1 = 0\)

The function value at \(x=1\) also uses the definition for \(x \geq 1\):

\(f(1) = 1-1 = 0\)

Step 3: Set up the Continuity Equation

For continuity at \(x=1\), the limits and function value must be equal:

\(2a+b = 0 = 0\)

This gives us our first equation:

\(2a+b = 0 \quad (Equation\;1)\)

Step 4: Calculate the Derivatives for Each Piece

Now, we need to consider the differentiability condition. We find the derivative of each piece of the function.

For \(x < 1\), \(f(x) = ax(x+1)+b = ax^2+ax+b\). The derivative is:

\(f'(x) = \frac{d}{dx}(ax^2+ax+b) = 2ax+a\)

For \(1 < x < 2\), \(f(x) = x-1\). The derivative is:

\(f'(x) = \frac{d}{dx}(x-1) = 1\)

Step 5: Evaluate Left-Hand and Right-Hand Derivatives at the Point

The left-hand derivative at \(x=1\) is the limit of \(f'(x)\) as \(x\) approaches 1 from the left:

\(f'(1^-) = \lim_{x \to 1^-} f'(x) = \lim_{x \to 1^-} (2ax+a)\)

Substitute \(x=1\):

\(2a(1)+a = 3a\)

The right-hand derivative at \(x=1\) is the limit of \(f'(x)\) as \(x\) approaches 1 from the right:

\(f'(1^+) = \lim_{x \to 1^+} f'(x) = \lim_{x \to 1^+} 1\)

This limit is simply:

\(1\)

Step 6: Set up the Differentiability Equation

For the function to be differentiable at \(x=1\), the left-hand derivative must equal the right-hand derivative:

\(f'(1^-) = f'(1^+)\)

\(3a = 1 \quad (Equation\;2)\)

Step 7: Solve the System of Equations for a and b

We now have a system of two equations with two variables \(a\) and \(b\):

  • Equation 1 (from continuity): \(2a+b = 0\)
  • Equation 2 (from differentiability): \(3a = 1\)

From Equation 2, we can directly find the value of \(a\):

\(3a = 1 \implies a = \frac{1}{3}\)

Now substitute the value of \(a\) into Equation 1 to find the value of \(b\):

\(2a+b = 0\)

\(2\left(\frac{1}{3}\right) + b = 0\)

\(\frac{2}{3} + b = 0\)

\(b = -\frac{2}{3}\)

Step 8: Find the Value of (a + b)

Finally, we need to find the value of \(a+b\):

\(a+b = \frac{1}{3} + \left(-\frac{2}{3}\right)\)

\(a+b = \frac{1-2}{3}\)

\(a+b = -\frac{1}{3}\)

Summary of Finding (a + b)

By applying the conditions for differentiability (continuity and equality of left/right derivatives) at \(x=1\), we found the values of \(a\) and \(b\) and subsequently calculated their sum.

The value of \(a+b\) is \(-\frac{1}{3}\).

Revision Table: Key Concepts

Concept Condition at x=c
Continuity \(\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c)\)
Differentiability \(\lim_{x \to c^-} f'(x) = \lim_{x \to c^+} f'(x)\) (provided \(f\) is continuous at \(c\))

These conditions are fundamental when dealing with piecewise functions and their smoothness at the points where their definition changes.

Additional Information on Continuity and Differentiability

Continuity: A function is continuous at a point if its graph can be drawn without lifting the pen. Formally, it means the function is defined at that point, the limit exists at that point, and the limit equals the function value.

Differentiability: A function is differentiable at a point if it has a well-defined tangent line at that point. This means the slope of the tangent line (the derivative) exists and is the same whether you approach the point from the left or the right. If a function is differentiable at a point, it must be continuous at that point. However, the reverse is not true; a function can be continuous at a point but not differentiable (e.g., the function \(f(x) = |x|\) at \(x=0\)).

For piecewise functions, continuity and differentiability checks are crucial at the transition points where the function's definition changes, like \(x=1\) in this problem.

Was this answer helpful?

Similar Questions

  1. The set of all points, where the function \({\rm{f}}\left( {\rm{x}} \right) = \sqrt {1 - {{\rm{e}}^{ - {{\rm{x}}^2}}}} \) is differentiable, is

  2. Consider the function

    \( f(x)=\begin{cases} x^2\ln|x|, & x\neq 0,\\[4pt] 0, & x=0. \end{cases} \)

    What is \(f'(0)\) equal to?

  3. The left-hand derivative of f(x) = [x] sin (πx) at x = k

    Where k is an integer and [x] is the greatest integer function, is
  4. If \({\rm{f}}\left( {\rm{x}} \right) = {\rm{x}}\left( {\sqrt {\rm{x}} - \sqrt {{\rm{x}} + 1} } \right)\) , then f(x) is

  5. \({\rm{f}}\left( {\rm{x}} \right) = \left\{ {\begin{array}{*{20}{c}} {3{{\rm{x}}^2} + 12{\rm{x}} - 1,{\rm{\;\;}} - 1 \le {\rm{x}} \le 2}\\ {37 - {\rm{x}},{\rm{\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;}}2 < {\rm{x}} \le 3} \end{array}} \right.\)

    Which of the following statements is/are correct?

    1. f(x) is increasing in the interval [-1, 2]

    2. f(x) is decreasing in the interval (2, 3).

    Select the correct answer using the code given below:

  6. \({\rm{f}}\left( {\rm{x}} \right) = \left\{ {\begin{array}{*{20}{c}} {3{{\rm{x}}^2} + 12{\rm{x}} - 1,{\rm{\;\;}} - 1 \le {\rm{x}} \le 2}\\ {37 - {\rm{x}},{\rm{\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;}}2 < {\rm{x}} \le 3} \end{array}} \right.\)

    Which of the following statements are correct?

    1. f(x) is continuous at x = 2

    2. f(x) attains greatest value at x = 2

    3. f(x) is differentiable at x = 2

    Select the correct answer using the code given below:

  7. Consider the following statements:

    1. The function f(x) is continuous at x = 0

    2. The function f(x) is continuous at \({\rm{x}} = \frac{{\rm{\pi }}}{2}\)

    Which of the above statements is/are correct?
  8. Consider the following statements:

    1. The function f(x) is differentiable at x = 0

    2. The function f(x) is differentiable at \({\rm{x}} = \frac{{\rm{\pi }}}{2}\) .

    Which of the above statements is/are correct?
  9. What is f’(4) equal to?

  10. What is f’’(2.5) equal to?


Important Questions from Differentiability

  1. What is the value of f'(x) at x = 4 from the following table of values?

    x1234
    f(x)20222735

  2. The set of all points, where the function \({\rm{f}}\left( {\rm{x}} \right) = \sqrt {1 - {{\rm{e}}^{ - {{\rm{x}}^2}}}} \) is differentiable, is

  3. Let f be a differentiable function defined for all x ∈ R such that f(x3) = x5 for all x ∈ R, x ≠ 0. Then the value of \(\dfrac{df}{dx} (8)\) is:

  4. If \(f(x)=\displaystyle\sum_{n-0}^{2k}\left(a_n|x|^n+b_n\ \sin^2x\right)\), where \(a_i^{'}\)s and \(b_i^{'}\)s (0 ≤ i ≤ k) are real constants, then f(x) is:

  5. The set of all point where the function f(x) = 2x|x| is differentiable, is:

Need Expert Advice?
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
503 Tests 1 Tests Free
1066 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