I saw the theorem that every function can be represented as the sum of and even and odd function, and this made me wonder: can every function from the reals to the reals, defined on all the reals, be represented as the sum of two functions that are each symmetric about (possibly distinct) vertical axes of symmetry?
This seems false to me, but it is harder than I expected to find a counterexample. For example, when trying to decompose f(x)=x this way, one can easily see that if our functions are a(x) and b(x), and we can translate and stretch so that we need to solve the functional equations:
$a(x)+b(x)=x$
$a(-x)=a(x)$
$b(x)=b(1-x)$
but I do not see an obvious contradiction.
Is such a decomposition always possible?
Yes. Here's a sketch: given a function $f(x)$ we'll define functions $f_0(x), f_1(x)$ such that $f(x) = f_0(x) + f_1(x)$ and $f_i$ is symmetric about $i$. We proceed by induction:
The point is that at each step there is nothing stopping you from continuing the construction. Also, no choices have to be made except at the first step (which shows that this decomposition, unlike the decomposition of a function into its even and odd parts, is not unique).