Question
Question: If the roots of the quadratic equation \({{x}^{2}}+px+q=0\) are \(\tan 30{}^\circ \) and \(\tan 15{}...
If the roots of the quadratic equation x2+px+q=0 are tan30∘ and tan15∘ respectively, then the value of 2+q−p is
- 3
- 0
- 1
- 2
Solution
In this problem we need to calculate the value of 2+q−p where tan30∘ and tan15∘ are roots of the quadratic equation x2+px+q=0. Here we will use the relation between the coefficients of the quadratic equation and roots of the quadratic equation. For this we will compare the given quadratic equation with ax2+bx+c=0. Here we will have the value of p and q , after having the values calculate the value of q−p . Use the appropriate trigonometric formulas and values to simplify the value of q−p. After having the value of q−p, simply calculate the required value.
Complete step-by-step solution:
The quadratic equation is x2+px+q=0.
Compare the above quadratic equation with standard quadratic equation ax2+bx+c=0.
a=1 , b=p and c=q .
If α , β are the roots of the quadratic equation ax2+bx+c=0, then the relation between the roots and coefficients of the quadratic equation are given by
α+β=−ab and αβ=ac .
In the problem they have mentioned that tan30∘ and tan15∘ are roots of the quadratic equation x2+px+q=0. So we can write
tan30∘+tan15∘=−1p⇒tan30∘+tan15∘=−p and tan30∘.tan15∘=1q⇒tan30∘.tan15∘=q
Now the value of q−p will be
q−p=tan30∘.tan15∘+tan30∘+tan15∘...(i)
From the trigonometric formula tan(A+B)=1−tanA.tanBtanA+tanB , we can write the value of tan30∘+tan15∘ as tan30∘+tan15∘=[tan(30∘+15∘)][1−tan30∘.tan15∘] . Substituting this value in the equation (i) , then we will have
q−p=tan30∘.tan15∘+[tan(30∘+15∘)][1−tan30∘.tan15∘]⇒q−p=tan30∘.tan15∘+[tan45∘(1−tan30∘.tan15∘)]
We know that the value of tan45∘=1 . substituting this value in the above equation, then we will get
q−p=tan30∘.tan15∘+[1(1−tan30∘.tan15∘)]⇒q−p=tan30∘.tan15∘+1−tan30∘.tan15∘⇒q−p=1
Add 2 on both sides of the above equation, then we will have
2+q−p=1+2∴2+q−p=3
Hence option 1 is the correct answer.
Note: We can also solve the problem in another method. In this method we will first calculate the values of p and q by using the trigonometric formula tan(A+B)=1−tanA.tanBtanA+tanB individually. After simplifying the values of p and q we can calculate the required value. But it is some lengthy process and consumes extra time.