If 1+sin2θ=3sinθcosθ then prove that tanθ=1or12.
1+sin2θ=3sinθcosθDivide both sides of the equation with cos2θ 1cos2θ+sin2θcos2θ=3sinθcosθsec2θ+tan2θ=3tanθ1+tan2θ+tan2θ=3tanθ1+2tan2θ–3tanθ=0Substitute tanθ=a2a2–3a+1=0Solve the quadratic equation to find out the roots.2a2–2a–a+1=02a(a–1)–1(a–1)=0(2a–1)(a–1)=02a–1=0 and (a–1)=02a=1 and a=1a=12 and a=1 Hence a=tanθtanθ=12 and tanθ=1