2) How the calculator tests symmetry
A strict algebraic proof may require symbolic manipulation. This calculator uses a robust
numerical check on a chosen window:
\[
E(x)=|f(-x)-f(x)|,\qquad O(x)=|f(-x)+f(x)|.
\]
If the maximum error stays below a small tolerance (scaled to typical function size),
it reports “Even” or “Odd” on that window.
This is a strong practical test, but it is still a numerical test (not a formal proof).
3) Periodicity (optional check)
A function is periodic with period \(T>0\) if:
\[
f(x+T)=f(x)\quad \text{for all } x \text{ in its domain.}
\]
The calculator can test a user-provided period \(T\), or try common candidates
like \(2\pi\), \(\pi\), \(\pi/2\) (useful for trig-style functions).
If you see “Not periodic”, it might still be periodic outside the chosen window, or the window may not allow enough overlap for \(x\) and \(x+T\).
5) Quick examples
\[
x^2,\ \cos(x),\ |x|\ \text{ are even.}
\]
\[
x^3,\ \sin(x)\ \text{ are odd.}
\]
\[
e^x\ \text{is neither even nor odd.}
\]