Skip to main content
Back to Definite Integration
JEE Main 2023
Definite Integration
Definite Integration
Hard

Question

Let aa and bb be real constants such that the function ff defined by f(x)={x2+3x+a,x1bx+2,x>1f(x)=\left\{\begin{array}{ll}x^2+3 x+a & , x \leq 1 \\ b x+2 & , x>1\end{array}\right. be differentiable on R\mathbb{R}. Then, the value of \int_\limits{-2}^2 f(x) d x equals

Options

Solution

Key Concepts and Formulas

  1. Differentiability of Piecewise Functions: For a piecewise function to be differentiable at a point x=cx=c where the definition changes, it must satisfy two conditions:

    • Continuity: The left-hand limit, right-hand limit, and the function value at x=cx=c must be equal: limxcf(x)=limxc+f(x)=f(c)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c).
    • Equality of Derivatives: The left-hand derivative and the right-hand derivative at x=cx=c must be equal: f(c)=f(c+)f'(c^-) = f'(c^+).
  2. Definite Integration of Piecewise Functions: If a function f(x)f(x) is defined piecewise, its definite integral over an interval can be split at the points where the definition changes. If cc is a point where the definition changes within the interval [P,Q][P, Q], then PQf(x)dx=Pcf(x)dx+cQf(x)dx\int_P^Q f(x) \, dx = \int_P^c f(x) \, dx + \int_c^Q f(x) \, dx.

  3. Basic Integration Formulas:

    • xndx=xn+1n+1+C\int x^n \, dx = \frac{x^{n+1}}{n+1} + C (for n1n \neq -1)
    • kdx=kx+C\int k \, dx = kx + C (where kk is a constant)
    • abg(x)dx=G(b)G(a)\int_a^b g(x) \, dx = G(b) - G(a), where G(x)G(x) is an antiderivative of g(x)g(x).

Step-by-Step Solution

Step 1: Apply the Condition for Continuity at x=1x=1

For the function f(x)f(x) to be differentiable at x=1x=1, it must first be continuous at x=1x=1. The condition for continuity is that the left-hand limit, the right-hand limit, and the function value at x=1x=1 must be equal.

  • The left-hand limit as xx approaches 1 is determined by the first piece of the function: limx1f(x)=limx1(x2+3x+a)\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} (x^2 + 3x + a) Substituting x=1x=1: limx1f(x)=(1)2+3(1)+a=1+3+a=4+a\lim_{x \to 1^-} f(x) = (1)^2 + 3(1) + a = 1 + 3 + a = 4 + a
  • The right-hand limit as xx approaches 1 is determined by the second piece of the function: limx1+f(x)=limx1+(bx+2)\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (bx + 2) Substituting x=1x=1: limx1+f(x)=b(1)+2=b+2\lim_{x \to 1^+} f(x) = b(1) + 2 = b + 2
  • The function value at x=1x=1 is also determined by the first piece: f(1)=(1)2+3(1)+a=4+af(1) = (1)^2 + 3(1) + a = 4 + a

For continuity, these must be equal: 4+a=b+24 + a = b + 2 Rearranging this equation, we get our first relationship between aa and bb: ab=2() a - b = -2 \quad (*)

Step 2: Apply the Condition for Differentiability at x=1x=1

For f(x)f(x) to be differentiable at x=1x=1, the left-hand derivative must equal the right-hand derivative at x=1x=1. First, we find the derivatives of each piece of the function:

  • For x<1x < 1, f(x)=x2+3x+af(x) = x^2 + 3x + a. The derivative is: f(x)=ddx(x2+3x+a)=2x+3f'(x) = \frac{d}{dx}(x^2 + 3x + a) = 2x + 3 The left-hand derivative at x=1x=1 is: f(1)=2(1)+3=5f'(1^-) = 2(1) + 3 = 5
  • For x>1x > 1, f(x)=bx+2f(x) = bx + 2. The derivative is: f(x)=ddx(bx+2)=bf'(x) = \frac{d}{dx}(bx + 2) = b The right-hand derivative at x=1x=1 is: f(1+)=bf'(1^+) = b

For differentiability, these must be equal: 5=b5 = b

Step 3: Solve for the Constants aa and bb

We have found the value of bb from the differentiability condition: b=5b=5. Now, we substitute this value of bb into the equation we obtained from the continuity condition (ab=2a - b = -2): a5=2a - 5 = -2 a=2+5a = -2 + 5 a=3a = 3

So, the constants are a=3a=3 and b=5b=5. The function f(x)f(x) can now be written as: f(x)={x2+3x+3,x15x+2,x>1f(x)=\left\{\begin{array}{ll}x^2+3 x+3 & , x \leq 1 \\ 5 x+2 & , x>1\end{array}\right.

Step 4: Calculate the Definite Integral

We need to calculate 22f(x)dx\int_{-2}^2 f(x) \, dx. Since the definition of f(x)f(x) changes at x=1x=1, we split the integral at x=1x=1: 22f(x)dx=21f(x)dx+12f(x)dx\int_{-2}^2 f(x) \, dx = \int_{-2}^1 f(x) \, dx + \int_1^2 f(x) \, dx

  • First integral: For the interval [2,1][-2, 1], x1x \leq 1, so we use f(x)=x2+3x+3f(x) = x^2 + 3x + 3: 21(x2+3x+3)dx\int_{-2}^1 (x^2 + 3x + 3) \, dx Find the antiderivative: x33+3x22+3x\frac{x^3}{3} + \frac{3x^2}{2} + 3x. Evaluate from -2 to 1: [x33+3x22+3x]21\left[ \frac{x^3}{3} + \frac{3x^2}{2} + 3x \right]_{-2}^1 =(133+3(1)22+3(1))((2)33+3(2)22+3(2))= \left( \frac{1^3}{3} + \frac{3(1)^2}{2} + 3(1) \right) - \left( \frac{(-2)^3}{3} + \frac{3(-2)^2}{2} + 3(-2) \right) =(13+32+3)(83+1226)= \left( \frac{1}{3} + \frac{3}{2} + 3 \right) - \left( -\frac{8}{3} + \frac{12}{2} - 6 \right) =(2+9+186)(83+66)= \left( \frac{2 + 9 + 18}{6} \right) - \left( -\frac{8}{3} + 6 - 6 \right) =296(83)= \frac{29}{6} - \left( -\frac{8}{3} \right) =296+83=296+166=456= \frac{29}{6} + \frac{8}{3} = \frac{29}{6} + \frac{16}{6} = \frac{45}{6}

  • Second integral: For the interval (1,2](1, 2], x>1x > 1, so we use f(x)=5x+2f(x) = 5x + 2: 12(5x+2)dx\int_1^2 (5x + 2) \, dx Find the antiderivative: 5x22+2x\frac{5x^2}{2} + 2x. Evaluate from 1 to 2: [5x22+2x]12\left[ \frac{5x^2}{2} + 2x \right]_1^2 =(5(2)22+2(2))(5(1)22+2(1))= \left( \frac{5(2)^2}{2} + 2(2) \right) - \left( \frac{5(1)^2}{2} + 2(1) \right) =(5(4)2+4)(52+2)= \left( \frac{5(4)}{2} + 4 \right) - \left( \frac{5}{2} + 2 \right) =(10+4)(52+42)= (10 + 4) - \left( \frac{5}{2} + \frac{4}{2} \right) =1492=28292=192= 14 - \frac{9}{2} = \frac{28}{2} - \frac{9}{2} = \frac{19}{2}

Step 5: Sum the Results of the Integrals

Now, add the results from the two integrals: 22f(x)dx=456+192\int_{-2}^2 f(x) \, dx = \frac{45}{6} + \frac{19}{2} To add these fractions, find a common denominator, which is 6: 456+19×32×3=456+576\frac{45}{6} + \frac{19 \times 3}{2 \times 3} = \frac{45}{6} + \frac{57}{6} =45+576=1026= \frac{45 + 57}{6} = \frac{102}{6} Simplify the fraction: 1026=17\frac{102}{6} = 17

The value of the integral is 17.


Common Mistakes & Tips

  • Forgetting Continuity: Always check for continuity before or along with the derivative condition. Differentiability implies continuity, but you need both to find the constants.
  • Incorrectly Applying Derivatives: Ensure you are taking the derivative of the correct piece of the function for each side of the point x=1x=1.
  • Algebraic Errors in Integration: Double-check your antiderivatives and the evaluation of the definite integrals, as simple arithmetic mistakes can lead to the wrong final answer.
  • Simplifying Fractions: Make sure to simplify the final fraction if possible.

Summary

To find the values of the constants aa and bb, we used the conditions for differentiability of a piecewise function at the point x=1x=1. First, we ensured continuity by setting the left-hand limit equal to the right-hand limit at x=1x=1, which gave us a relationship between aa and bb. Second, we ensured the derivatives matched by setting the left-hand derivative equal to the right-hand derivative at x=1x=1. Solving these two conditions simultaneously yielded a=3a=3 and b=5b=5. With the function fully defined, we then calculated the definite integral 22f(x)dx\int_{-2}^2 f(x) \, dx by splitting the integral at x=1x=1 and integrating each piece over its respective interval. The sum of these integrals resulted in the final answer of 17.

The final answer is \boxed{17}. This corresponds to option (C).

Practice More Definite Integration Questions

View All Questions