Notice that p(2)=0, and for x>2 we have x−2>0 and x+1>0, giving p(x)>0 just to the right of x=2. Therefore p(x) itself (not its absolute value) will be small and positive as x→2+.
Whenever an angle θ approaches 0, we use the standard trigonometric approximation
1−cosθ≈2θ2asθ→0.
Here our “angle” is θ=p(x), which indeed tends to 0 when x→2+. Applying the approximation gives
1−cos(p(x))≈2p(x)2.
Taking square roots on both sides, we obtain
1−cos(p(x))≈2p(x)2=2∣p(x)∣.
But, as discussed, p(x)>0 when x>2, so ∣p(x)∣=p(x). Thus for x close to but greater than 2 we may replace the numerator by 2p(x), giving
x−21−cos(p(x))≈x−22p(x)=2(x−2)p(x).
Hence our limit becomes
L=limx→2+2(x−2)p(x).
We have already factored p(x), so we can simplify the fraction algebraically before taking the limit:
x−2p(x)=x−2(x−2)(x+1)=x+1,x=2.
Therefore
L=limx→2+2x+1=2limx→2+(x+1)=22+1=23.
Hence, the correct answer is Option B.
Tagged Limits of trigonometric functions. Machine-assigned, so read it as a strong shortlist rather than a verdict.