2
$\begingroup$

Is there some specific notation for the function

$f(x):=\max\{\cos(x),\sin(x)\}$,

or maybe some equivalent compact expression?

Improvement: Actually, maybe a compact equivalent expression for its squared version

$g(x):=\max\{\cos^2(x),\sin^2(x)\}$,

is easier.

$\endgroup$
1
$\begingroup$

A way is: $$f(x)=\left\{ \begin{array}{ll} \cos{x}, & \left[2\pi k-\frac{3\pi}{4},2\pi k+\frac{\pi}{4}\right]\\\\ \sin{x}, & \left[2\pi k+\frac{\pi}{4},2\pi k+\frac{5\pi}{4}\right] \end{array} \right.,\quad \text{with}\quad k\in\mathbb{Z}$$

$\endgroup$
  • 2
    $\begingroup$ Well, the intervals are compact. $\endgroup$ – Emily Dec 16 '14 at 2:26
  • 1
    $\begingroup$ @Arkamis In the end points, $\sin{x}=\cos{x}$. $\endgroup$ – AsdrubalBeltran Dec 16 '14 at 2:31
  • $\begingroup$ I know. I was remarking that the OP wanted a compact expression. This is... decidedly less so ;) $\endgroup$ – Emily Dec 16 '14 at 2:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.