[Math] Extend a function as odd/even periodic function

periodic functions

Let $f$ be the function $f(x) = x^2 + 2 $, where $ 0<x<1 $.
Extend the function $f(x)$
(1) As an odd periodic function with period $2$
(2) As an even periodic function with period $2$
(3) As a periodic function with period $1$

I know what exactly are odd and even functions. But have no idea how to extend as such. Please explain with a correct method.

Best Answer

  • Even case

Due to symmetry we need to define $f(x)=x^2+2$ on $(-1,0)$. It remains to discuss the $2$-periodicity. One starts with "special points", for example $x=0$. Then

$$f(0)=0^2+2=\text{(2-periodicity)}=f(0+2)=f(2),$$

i.e. $f(2):=2$. To find the extension of $f$ on $(2,3)$ one continues with all $\delta\in (0,1)$, i.e.

$$f(\delta)=\delta^2+2=\text{(2-periodicity)}=f(\delta+2),$$

where $\delta+2\in (2,3)$. Similarly, considering all points $-\delta\in(-1,0)$, using $2$-periodicity one finds the extension of $f$ on the interval $(1,2)$ via $-\delta+2\in (1,2)$, as we did above. The extension of $f$ for all other points easily follow by drawing.

  • Odd case

Due to symmetry we need to define $f(x)=-x^2-2$ on $(-1,0)$. One selects once again the "special points", for example $x=0$ as in the even case. The analysis is completely similar, with due changes.

Related Question