Core Logic
Split the integral I$I$ at integer points and trigonometric step thresholds between -π/2 ≈ -1.57$-\pi/2 \approx -1.57$ and π/2 ≈ 1.57$\pi/2 \approx 1.57$:
Intervals are: (-π/2, -1), (-1, 0), (0, 1), (1, π/2)$(-\pi/2, -1), (-1, 0), (0, 1), (1, \pi/2)$.
For all x in (-π/2, π/2)$x \in (-\pi/2, \pi/2)$ excluding exactly 0$0$, [ x] = 0$[\cos x] = 0$.
[ x] = -1$[\sin x] = -1$ for x in (-π/2, 0)$x \in (-\pi/2, 0)$ and [ x] = 0$[\sin x] = 0$ for x in (0, π/2)$x \in (0, \pi/2)$.
Execution
Evaluate in pieces:
- x in (-π/2, -1)$x \in (-\pi/2, -1)$:
[x] = -2, [ x] = -1, [ x] = 0$[x] = -2, [\sin x] = -1, [\cos x] = 0$.
Integrand = (12(3 - 2))/(3 - 1 + 0) = (12(1))/(2) = 6$\frac{12(3 - 2)}{3 - 1 + 0} = \frac{12(1)}{2} = 6$.
- x in (-1, 0)$x \in (-1, 0)$:
[x] = -1, [ x] = -1, [ x] = 0$[x] = -1, [\sin x] = -1, [\cos x] = 0$.
Integrand = (12(3 - 1))/(2) = (24)/(2) = 12$\frac{12(3 - 1)}{2} = \frac{24}{2} = 12$.
- x in (0, 1)$x \in (0, 1)$:
[x] = 0, [ x] = 0, [ x] = 0$[x] = 0, [\sin x] = 0, [\cos x] = 0$.
Integrand = (12(3 + 0))/(3) = 12$\frac{12(3 + 0)}{3} = 12$.
- x in (1, π/2)$x \in (1, \pi/2)$:
[x] = 1, [ x] = 0, [ x] = 0$[x] = 1, [\sin x] = 0, [\cos x] = 0$.
Integrand = (12(3 + 1))/(3) = (48)/(3) = 16$\frac{12(3 + 1)}{3} = \frac{48}{3} = 16$.
Integrate piece by piece:
I = ∫-π/2⁻¹ 6 dx + ∫₋₁⁰ 12 dx + ∫₀¹ 12 dx + ∫₁π/2 16 dx$$I = \int_{-\pi/2}^{-1} 6 \,dx + \int_{-1}^{0} 12 \,dx + \int_{0}^{1} 12 \,dx + \int_{1}^{\pi/2} 16 \,dx$$
I = 6(-1 + π/2) + 12(0 - (-1)) + 12(1 - 0) + 16(π/2 - 1)$$I = 6(-1 + \pi/2) + 12(0 - (-1)) + 12(1 - 0) + 16(\pi/2 - 1)$$
I = 3π - 6 + 12 + 12 + 8π - 16$$I = 3\pi - 6 + 12 + 12 + 8\pi - 16$$
I = 11π + 2$I = 11\pi + 2$
Pattern Recognition
For integrals combining integer functions and trigonometric boundaries, breaking the domain purely at integer values (-1, 0, 1)$(-1, 0, 1)$ generally perfectly matches trigonometric boundaries since the ranges of $\sin$ and $\cos$ in (-π/2, π/2)$(-\pi/2, \pi/2)$ hover near these integers.
Chapter Mix
Class 12 Maths: Definite Integration