Find the local minimum of the following function: $\tan\left(x+\frac{2\pi}{3}\right)-\tan\left(x+\frac{\pi}{6}\right)+\cos\left(x+\frac{\pi}{6}\right)$
I am wondering how can I simply this function..
Find the local minimum of the following function: $\tan\left(x+\frac{2\pi}{3}\right)-\tan\left(x+\frac{\pi}{6}\right)+\cos\left(x+\frac{\pi}{6}\right)$
I am wondering how can I simply this function..
I would go at this brute force. Following @Martin's plot, minima occur near $3\pi/4 + n\pi$ with $n$ being an integer. Take your function $f(y) = \cos y - \tan y - \cot y$ and expand it with a Taylor series at these values; f({3\pi\over 4}+z) = f({3\pi\over 4}) + f'({3\pi\over 4})z + f''({3\pi\over 4}){z^2\over 2} .. Solve for $z$ such that the derivative of this function is zero, giving you a minimum at z = -{f'(3\pi/4) \over f''(3\pi/4)}. This gives you to first order the location of the minimum. The value of the function at the minimum can then be found by plugging back into the function.
This gives you an approximate solution. You can improve the order of the approximation if you like.