Since f(x) is continuous at x=π/2, the right-hand limit must equal the value of the function at x=π/2.
x→π/2+limf(x)=f(π/2)
x→π/2+lim(π−2x)2b(1−sinx)=31
Let x=π/2+h. As x→π/2+, h→0+.
h→0+lim(π−2(π/2+h))2b(1−sin(π/2+h))=31
h→0+lim(−2h)2b(1−cosh)=31
h→0+lim4h2b(1−cosh)=31
Using the standard limit h→0limh21−cosh=21, we get:
4b×21=31⇒8b=31⇒b=38
The upper limit of the integral is 3b−6=3(38)−6=2.
The integral to evaluate is I=∫02∣x2+2x−3∣dx.
Factoring the quadratic expression gives x2+2x−3=(x+3)(x−1).
For x∈[0,1], (x+3)(x−1)≤0, so ∣x2+2x−3∣=3−2x−x2.
For x∈[1,2], (x+3)(x−1)≥0, so ∣x2+2x−3∣=x2+2x−3.
Splitting the integral at x=1:
I=∫01(3−2x−x2)dx+∫12(x2+2x−3)dx
Evaluating the first integral:
∫01(3−2x−x2)dx=[3x−x2−3x3]01=3−1−31=35
Evaluating the second integral:
∫12(x2+2x−3)dx=[3x3+x2−3x]12
=(38+4−6)−(31+1−3)=(38−2)−(31−2)=37
Adding the two parts:
I=35+37=312=4
Answer: 4