Question
Question: If \[\sec \theta + \tan \theta = P\], then what is \[\cos \theta \] equal to?...
If secθ+tanθ=P, then what is cosθ equal to?
Solution
First we will convert the given equation into sinθ and cosθ. Then as we know that cos2θ+sin2θ=1, we will form a quadratic equation in sinθ. Then we will substitute sinθ=t to form a quadratic equation in t. We will solve this quadratic equation to find t and then we will substitute back t=sinθ. Then using cosθ=1−sin2θ we will find the value of cosθ.
Complete step by step answer:
Given, secθ+tanθ=P.
Converting the given equation into sinθ and cosθ, we get
⇒cosθ1+cosθsinθ=P
On taking the LCM, we get
⇒cosθ1+sinθ=P
Multiplying cosθ on both the sides, we get
⇒1+sinθ=Pcosθ
Squaring both the sides, we get
⇒(1+sinθ)2=(Pcosθ)2
On simplifying, we get
⇒1+2sinθ+sin2θ=P2cos2θ−−−(1)
As we know that cos2θ+sin2θ=1 i.e., cos2θ=1−sin2θ.
Using this in (1), we get
⇒1+2sinθ+sin2θ=P2(1−sin2θ)
⇒1+2sinθ+sin2θ=P2−P2sin2θ
On simplifying, we get
⇒(P2+1)sin2θ+2sinθ+1−P2=0
Let sinθ=t. So, we get
⇒(P2+1)t2+2t+1−P2=0
As we know that the roots of a quadratic equation ax2+bx+c=0 where a=0 is given by x=2a−b±b2−4ac.
Using this, we get
⇒t=2(P2+1)−2±(2)2−4(P2+1)(1−P2)
Using the identity (a+b)(a−b)=a2−b2, we get
⇒t=2(P2+1)−2±4−4(1−P4)
Taking 4 common from the root, we get
⇒t=2(P2+1)−2±21−(1−P4)
On simplification, we get
⇒t=2(P2+1)−2±2P4
Rewriting P4as (P2)2, we get
⇒t=2(P2+1)−2±2(P2)2
As (a)2=a. Using this, we get
⇒t=2(P2+1)−2±2P2
Cancelling the common term from the numerator and the denominator, we get
⇒t=P2+1−1±P2
⇒t=P2+1−1+P2 or t=P2+1−1−P2
On rewriting, we get
⇒t=P2+1P2−1 or t=P2+1−(P2+1)
On simplification, we get
⇒t=P2+1P2−1 or t=−1
Substituting sinθ=t, we get
⇒sinθ=P2+1P2−1 or sinθ=−1
Using cosθ=1−sin2θ.
When sinθ=P2+1P2−1.
⇒cosθ=1−(P2+1P2−1)2
⇒cosθ=1−P4+2P2+1P4−2P2+1
On taking the LCM, we get
⇒cosθ=P4+2P2+1P4+2P2+1−P4+2P2−1
⇒cosθ=(P2+1)2(2P)2
On simplifying, we get
⇒cosθ=P2+12P
When sinθ=−1.
⇒cosθ=1−(−1)2
⇒cosθ=0
But, cosθ=0 and we know that tanθ is undefined at all points where cosθ=0 i.e., at θ=(2n+1)2π.
∴cosθ=0
Therefore, cosθ is equal to P2+12P.
Note:
We can also solve this problem by another method.
As we know, sec2θ−tan2θ=1.
⇒(secθ−tanθ)(secθ+tanθ)=1−−−(1)
Given, secθ+tanθ=P. Using this, we get
⇒(secθ−tanθ)P=1
⇒secθ−tanθ=P1−−−(2)
Putting (2) in (1), we get
⇒P1×(secθ+tanθ)=1
⇒secθ+tanθ=P−−−(3)
Adding (2) and (3), we get
⇒secθ−tanθ+secθ+tanθ=P1+P
⇒2secθ=P1+P
Taking the LCM on RHS, we get
⇒2secθ=P1+P2
Dividing both the sides by 2, we get
⇒secθ=2P1+P2
As secθ=cosθ1, we get
⇒cosθ1=2P1+P2
On simplifying, we get
⇒cosθ=1+P22P
Therefore, cosθ equal to P2+12P.