Question
Question: If \[0\le x\le \pi \] and \[\cos x+\sin x=\dfrac{1}{2}\], then \[\tan x\] is equal to (a) \[\dfra...
If 0≤x≤π and cosx+sinx=21, then tanx is equal to
(a) 3(4−7)
(b) 3−(4+7)
(c) 4(1+7)
(d) 4(1−7)
Solution
For solving this question you should know about the trigonometric formulas and general solutions for these. In this problem we have given the equation in sin and cos form so we will change it in the tanx form and then we will solve it and will determine the values of d and find the values of tanx.
Complete step by step answer:
According to our question, it is asked to find the value of tanx if 0≤x≤π and cosx+sinx=21.
As we can see the equation is given as cosx+sinx=21
which is in the form of cos and sin and we have to ask for tanx. So, we will divide the equation by cosx on both sides.
⇒cosxcosx+cosxsinx=2cosx1
⇒1+tanx=2secx
If we square it both sides, then
⇒(1+tanx)2=(2secx)2
⇒1+tan2x+2tanx=4sec2x
⇒4(1+tan2x+2tanx)=sec2x=1+tan2x
And if we solve these then we get,
⇒3tan2x+8tanx+3=0