Answer: (C) 3
Key idea: Use sum and product of roots, together with the formula tan(A+B)=1−tanAtanBtanA+tanB and tan45∘=1.
Step 1 — Sum and product of roots. The two given values are the roots, so their sum is −p and their product is q:
tan30∘+tan15∘tan30∘tan15∘=−p=q
Step 2 — Use 30∘+15∘=45∘. Write tan45∘ with the addition formula and put in the sum and product from Step 1:
tan45∘=1−tan30∘tan15∘tan30∘+tan15∘
1=1−q−p
Step 3 — Simplify. Multiply both sides by 1−q and rearrange:
1−q=−p
q−p=1
Step 4 — Required value. Put q−p=1 into the required expression:
2+q−p=2+1=3
(Numerical check: tan30∘≈0.5774 and tan15∘≈0.2679, so p≈−0.8453, q≈0.1547, and 2+q−p≈3.0000.)
- (A) 1 is the value of q−p; the 2 has not been added.
- (B) 2 would need q−p=0, but q−p=1.
- (D) 0 would need q−p=−2, but q−p=1.