The period of $\sin(x)$ is $2\pi$ and $\cos(x)$ is $2\pi$.
And the period of $\sin(x)+\cos(x)$ is also $2\pi$.
Why it is so?
The period of $\sin(x)$ is $2\pi$ and $\cos(x)$ is $2\pi$.
And the period of $\sin(x)+\cos(x)$ is also $2\pi$.
Why it is so?
There is something different about the function $$\sin x+\cos x= \sqrt 2(\frac{\sqrt 2}2\sin x+\frac {\sqrt 2} 2\cos x)=\sqrt 2(\cos \frac {\pi}4\sin x+\sin\frac {\pi}4\cos x)=\sqrt 2\sin (x+\frac {\pi}4)$$- it is not the period of the function, which remains $2\pi$, but the amplitude.
To find the period of a function:
Given $$\sin(kx)$$ or $$\cos(kx)$$
So, the period will be $$\frac{2\pi}{k}$$
Now for $$\cos x + \sin x$$
Now, see that we must have an integral number of periods between $\sin x$ and $\cos x$
So, for positive integers $m$ and $n$:
$$2\pi m = 2\pi n$$
This can be satisfied if $m = n =1$
So the period is thus $2\pi$
Let $f(x) = \sin(x) + \cos(x)$. Then
$$f(x + 2\pi) = \sin(x + 2\pi) + \cos(x + 2\pi) = \sin(x) + \cos(x) = f(x)$$
because $$\sin(x+2\pi)+\cos(x+2\pi)=\sin(x)+\cos(x)$$