Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

could you help me with following problem?

I need to find two non-periodic functions "f" and "g" where their composition f(g) will be periodic.

Note that constant function is periodic too.

Thanks for help

share|cite|improve this question

Consider the functions $f(x) = \sin(\mathrm{sgn}(x)x^2)$ and $g(x)=\mathrm{sgn}(x)\sqrt{|x|}$, where $\mathrm{sgn}(x)$ is $1$ if $x\geq 0$ and $-1$ otherwise. These can easily be shown to be non-periodic (hint for $f$: the zeroes get arbitrarily close together). But $f(g(x))=\sin(x)$, which is certainly periodic.

Edit: I didn't want to give a trivial example, but in light of your edit here it is. Let $f(x)=\mathrm{sgn}(x)$ and $g(x)=x^2$, which are non-periodic. Then $f(g(x))=1$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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