If you are given any arbitrary function f(x), how is it possible to make it circular with a period of n, writing the function explicitly?
The function would be: $$f(x_{2\space periodic})= \begin{equation} \begin{cases} &f(x), x<n\\ &f(x-n),n<x<2n\\ &f(x-2n), 2n< x < 3n\\ &... \end{cases} \end{equation} $$
But to write it explicitly in terms of x is a bit more difficult. Using the Fourier Transform would work, but is not something I want to employ (for one given that I am working on a computer problem). Are there any simple ways to make function repeat itself, especially if the domain is limited?
Let $D$ be the domain of $f.$ Assuming that $D$ is bounded and not empty, let $c=\inf D$ and $d=\sup D.$ Let $n>d-c.$ First extend the domain to the interval $[c,c+n)$ by assigning an arbitrary value (e.g. $0$) to $f(x)$ for any $x\in [c,c+n)$ \ $D.$
Let $[x]$ denote the largest integer not exceeding $x.$ For any $x$ let $x'=x-n [(x-c)/n].$ Then $x'\in [c,c+n)$ and $(x'-x)/n\in \mathbb Z.$ So let $f(x)=f(x').$