Given, A=dia. (d1,d2,d3,d4)
⇒A=⎡⎢
⎢
⎢⎣d10000d20000d30000d4⎤⎥
⎥
⎥⎦
∴det(A)=d1⋅d2⋅d3⋅d4
Now, using A.M ≥ G.M. for positive numbers d1,2d2,4d3,8d4, we get
d1+2d2+4d3+8d44≥(d1.2d2.4d3.8d4)1/4
⇒164≥23/2(d1⋅d2⋅d3⋅d4)1/4⇒d1.d2.d3.d4≤4
⇒det(A)∈(0,4]
Now,
f(x)=log(tanx+cotx)(det(A)), x∈(0,π2)
=log(det(A))log(tanx+cotx)
As, (tanx+cotx)≥2 ∀ x∈(0,π2)
∴f(x) will be maximum when numerator is maximum and denominator is minimum.
Hence, f(x)max=log4log2=log2(4)=2