JEE Main 2022 Mathematics question — Definite integrals: properties and King's rule
If [t] denotes the greatest integer ≤t, then the value of ∫01[2x−∣3x2−5x+2∣+1]dx is
SOLUTION
We need to evaluate ∫01[2x−∣3x2−5x+2∣+1]dx where [t] is the greatest integer function.
We first analyse g(x)=2x−∣3x2−5x+2∣+1. The expression inside the absolute value is 3x2−5x+2=(3x−2)(x−1). The roots are x=32 and x=1.
For x∈[0,2/3]: 3x2−5x+2≥0 (both factors have consistent sign), so ∣3x2−5x+2∣=3x2−5x+2, and g(x)=2x−(3x2−5x+2)+1=−3x2+7x−1.
For x∈[2/3,1]: 3x2−5x+2≤0, so ∣3x2−5x+2∣=−(3x2−5x+2), and g(x)=2x+3x2−5x+2+1=3x2−3x+3.
Now for the floor function, we need to determine where g(x) crosses integer values.
On [0,2/3]:g(x)=−3x2+7x−1. At x=0: g(0)=−1. At x=2/3: g(2/3)=−3(4/9)+7(2/3)−1=−4/3+14/3−1=10/3−1=7/3≈2.33. The vertex is at x=7/6>2/3, so on [0,2/3], g is increasing.
We find where g(x)=0: −3x2+7x−1=0, so 3x2−7x+1=0, giving x=67±49−12=67±37. The smaller root is x1=67−37.
Where g(x)=1: −3x2+7x−1=1, so 3x2−7x+2=0, giving x=67±49−24=67±5. So x=31 or x=2. On our interval, x2=31.
Where g(x)=2: −3x2+7x−1=2, so 3x2−7x+3=0, giving x=67±49−36=67±13. The smaller root is x3=67−13.
On [2/3,1]:g(x)=3x2−3x+3. At x=2/3: g=3(4/9)−2+3=4/3+1=7/3. At x=1: g=3−3+3=3. The minimum is at x=1/2 (outside this interval), so on [2/3,1], g is increasing from 7/3 to 3.
Where g(x)=3: 3x2−3x+3=3, so 3x2−3x=0, giving x=0 or x=1. So g(x)=3 only at x=1. On [2/3,1), g(x)∈[7/3,3), so [g(x)]=2.
Now on [0,2/3], the floor values are:
[0,x1): g(x)∈[−1,0), so [g(x)]=−1
[x1,x2): g(x)∈[0,1), so [g(x)]=0
[x2,x3): g(x)∈[1,2), so [g(x)]=1
[x3,2/3]: g(x)∈[2,7/3], so [g(x)]=2
The integral becomes:
I=(−1)(x1−0)+0⋅(x2−x1)+1⋅(x3−x2)+2⋅(2/3−x3)+2⋅(1−2/3)