Question Number 96758 by bobhans last updated on 04/Jun/20
$$\mathrm{Let}\:{x}\in\:\left[\:−\frac{\mathrm{5}\pi}{\mathrm{12}}\:,\:−\frac{\pi}{\mathrm{3}}\:\right]\:.\:\mathrm{The}\:\mathrm{maximum}\: \\ $$$$\mathrm{value}\:\mathrm{of}\:\mathrm{y}\:=\:\mathrm{tan}\:\left({x}+\frac{\mathrm{2}\pi}{\mathrm{3}}\right)−\mathrm{tan}\:\left({x}+\frac{\pi}{\mathrm{6}}\right)\:+\mathrm{cos}\:\left({x}+\frac{\pi}{\mathrm{6}}\right) \\ $$$$\mathrm{is}\:\_\_\_ \\ $$
Commented by john santu last updated on 04/Jun/20
$$\mathrm{set}\:{m}\:=\:−{x}−\frac{\pi}{\mathrm{6}},\:{m}\in\:\left[\:\frac{\pi}{\mathrm{6}},\:\frac{\pi}{\mathrm{4}}\:\right] \\ $$$$\mathrm{and}\:\mathrm{2}{m}\:\in\:\left[\:\frac{\pi}{\mathrm{3}},\:\frac{\pi}{\mathrm{2}}\:\right].\:\mathrm{we}\:\mathrm{have}\: \\ $$$$\mathrm{tan}\:\left({x}+\frac{\mathrm{2}\pi}{\mathrm{3}}\right)\:=\:−\mathrm{cot}\:\left({x}+\frac{\pi}{\mathrm{6}}\right)\:=\:\mathrm{cot}\:{m} \\ $$$$\mathrm{then}\:{y}\:=\:\mathrm{cot}\:{m}\:+\:\mathrm{tan}\:{m}\:+\:\mathrm{cos}\:{m} \\ $$$${y}\:=\:\frac{\mathrm{2}}{\mathrm{sin}\:\mathrm{2}{m}}\:+\:\mathrm{cos}\:{m}.\: \\ $$$${since}\:{both}\:\frac{\mathrm{2}}{\mathrm{sin}\:\mathrm{2}{m}}\:\mathrm{and}\:\mathrm{cos}\:{m}\:{are} \\ $$$${monotonic}\:{decreasing}\:{in}\:{this} \\ $$$${case},\:\mathrm{so}\:\mathrm{y}\:\mathrm{reaches}\:\mathrm{the}\:\mathrm{maksimum} \\ $$$$\mathrm{at}\:{m}\:=\:\frac{\pi}{\mathrm{6}}\:,\:\mathrm{where}\:\mathrm{y}_{\mathrm{max}} \:=\:\frac{\mathrm{2}}{\mathrm{sin}\:\frac{\pi}{\mathrm{3}}}\:+\:\mathrm{cos}\:\frac{\pi}{\mathrm{6}} \\ $$$$=\:\frac{\mathrm{4}}{\:\sqrt{\mathrm{3}}\:}\:+\:\frac{\sqrt{\mathrm{3}}}{\mathrm{2}}\:=\:\frac{\mathrm{11}\sqrt{\mathrm{3}}}{\mathrm{6}}\:.\: \\ $$