Question
Question: f(x) = |sin x + cos x + tan x + cot x + sec x + csc x|...
f(x) = |sin x + cos x + tan x + cot x + sec x + csc x|

1
2
0
3
1
Solution
Let u=sinx+cosx. The range of u is [−2,2]. We can rewrite the function as f(x)=∣u+u−12∣. Let g(u)=u+u−12. We need to find the minimum value of ∣g(u)∣. The derivative g′(u)=1−(u−1)22. Setting g′(u)=0 gives u=1±2. The value u=1+2 is outside the range. The value u=1−2 is inside the range. At u=1−2, g(u)=1−2+(1−2)−12=1−2+−22=1−2−2=1−22. As u→1−, g(u)→−∞. As u→1+, g(u)→+∞. At u=−2, g(−2)=−2+−2−12=−2+(−2)2−122(−2+1)=−2+2−1−22+2=−2−22+2=2−32. At u=2, g(2)=2+2−12=2+(2)2−122(2+1)=2+2−122+2=2+22+2=32+2. The range of g(u) for u∈[−2,2] (excluding u=±1) is (−∞,1−22]∪[32+2,∞). The minimum value of ∣g(u)∣ is ∣1−22∣=22−1≈1.828. The least integer less than or equal to 22−1 is 1.
