tan(45°+θ)=3tan3θ⇒1+tanθ1−tanθ=3⋅3tanθ−tan3θ1−3tan2θ
Let tanθ=t
then,
1+t1−t=3⋅3t−t31−3t2⇒(1+t)(1−3t2)=3(3t−t3)(1−t)⇒1−3t2+t−3t3=9t−9t2−3t3+3t4⇒3t4−6t2+8t−1=0
∵tana,tanb,tanc,tand are roots of the above equation
∴ Equation whose roots are 1tana,1tanb,1tanc,1tand is
−t4+8t3−6t2+3=0⇒t4−8t3+6t2−3=0
Hence, the sum of the roots
1tana+1tanb+1tanc+1tand=8