Is $\sqrt{\sin x}$ periodic?

2.5k Views Asked by At

$\sin^2(x)$ has period $\pi$ but it seems to me $\sqrt{\sin x}$ is not periodic since inside square root has to be positive and when it is negative, it is not defined.

Does it creates problem for periodicity? Can we say square root of the periodic function need to be periodic? Thanks for your help.

enter image description here

This is graph of the $\sqrt{\sin x}$ above.

4

There are 4 best solutions below

1
On

The function $\sqrt{\sin x}$ is periodic. If you want (but don't do it in public) think of "undefined" as a real number. Then if $\sin x$ is negative, you have $$\sqrt{\sin x} = \mbox{ undefined } =\sqrt{\sin(x+2\pi)}.$$

Or you can extend to the complex numbers and you'll have periodicity everywhere.

2
On

$f$ is periodic, if there is a positive real number $p\ $ (the period) such that for every $x$ from the domain of $f$ the value of $x$ is the same as value of $(x+p)$ - more formal and more exactly:

$$f \text{ is periodic }\iff\exists p>0: \forall x \in D(f): x+p \in D(f)\ \land\ f(x) = f(x+p)$$

For the function $g = \sqrt f$ of a periodic function $f$ obviously $$x \in D(g) \iff x + k \in D(g)$$

(because $x \in D(g) \iff f(x) \ge 0 \iff f(x+k)=f(x) \ge 0 $)

and

$$f(x) = f(x+p),$$

so the square root of a periodic function is a periodic one, too.

2
On

If a function $f$ is periodic, then there exists $k\ne0$ such that $f(x)=f(x+k)$ for all $x\in\mathbb{R}$. So if $g$ is its square root, we have $$g(x)=\sqrt{f(x)}=\sqrt{f(x+k)}=g(x+k).$$ And, hence, $g$ is also periodic. BUT note that the square root is only defined in the intervals in which $f$ is nonnegative. Out of them, $g$ is not periodic because it is not even defined.

0
On

The periodicity holds if we can show $f(x+T) = f(x)$. We can see if the periodicity holds if we do $$ \begin{align} f(x+T) &= \sqrt{\sin(x+T)} \\ &= \sqrt{\sin(x)\cos(T)+\cos(t)\sin(T)} \tag{1} \end{align} $$ We need to search for the smallest value of $T$ in Eq.(1) that leads to $f(x)$. Indeed, if $T=2\pi$ sec, then Eq.(1) becomes $$ \begin{align} f(x+T) &= \sqrt{\sin(x)\cos(T)+\cos(t)\sin(T)} \\ &= \sqrt{\sin(x)(1)+\cos(t)(0)} \\ &= \sqrt{\sin(x)} \\ &= f(x) \tag{2} \end{align} $$ Eq.(2) proves the periodicity of the function with a fundamental period $T_o=2\pi$ sec. We can plot the function and check if it indeed repeats itself after $T=2\pi=6.28$ sec.

enter image description here