Let f(x)=2x+3tanx−π defined on [−2π,2π]∖{±2π,±23π}.
Derivative:
f′(x)=2+3sec2x.
Since sec2x≥1 for every real x, we have f′(x)=2+3sec2x>0.
Thus f(x) is strictly increasing on every interval in which it is continuous.
Consequently, in each such interval f(x)=0 can have at most one root.
The vertical asymptotes of tanx that lie inside the given domain are at
x=−23π,−2π,2π,23π.
These points divide the domain into five continuous intervals:
I1:[−2π,−23π),I2:(−23π,−2π),
I3:(−2π,2π),I4:(2π,23π),I5:(23π,2π].
Case 1: x∈I1=[−2π,−23π)
f(−2π)=2(−2π)+3tan(−2π)−π=−5π<0.
As x→(−23π)−,tanx→+∞⟹f(x)→+∞.
With f(x) increasing, it must cross zero exactly once in I1.
Case 2: x∈I2=(−23π,−2π)
As x→(−23π)+,tanx→−∞⟹f(x)→−∞.
As x→(−2π)−,tanx→+∞⟹f(x)→+∞.
Again, by monotonicity, exactly one root lies in I2.
Case 3: x∈I3=(−2π,2π)
x→(−2π)+limf(x)=−∞,x→(2π)−limf(x)=+∞.
Hence there is exactly one root in I3.
Case 4: x∈I4=(2π,23π)
x→(2π)+limf(x)=−∞,x→(23π)−limf(x)=+∞.
Therefore one root exists in I4.
Case 5: x∈I5=(23π,2π]
x→(23π)+limf(x)=−∞.
At the right end, f(2π)=2(2π)+3tan(2π)−π=4π−π=3π>0.
Hence f(x) rises from −∞ to a positive value, giving one more root in I5.
Counting the unique root in each of the five intervals, the total number of solutions in the prescribed domain is 5.
Therefore, the correct choice is Option B.