Definition 3.6.6
A function \(f(x)\) is said to be even if \(f(-x)=f(x)\) for all \(x\text{.}\)
Before we proceed to some examples, we should examine some simple symmetries possessed by some functions. We'll look at three symmetries — evenness, oddness and periodicity. If a function possesses one of these symmetries then it can be exploited to reduce the amount of work required to sketch the graph of the function.
Let us start with even and odd functions.
A function \(f(x)\) is said to be even if \(f(-x)=f(x)\) for all \(x\text{.}\)
A function \(f(x)\) is said to be odd if \(f(-x)=-f(x)\) for all \(x\text{.}\)
Let \(f(x) = x^2\) and \(g(x)=x^3\text{.}\) Then
Hence \(f(x)\) is even and \(g(x)\) is odd.
Notice any polynomial involving only even powers of \(x\) will be even
Similarly any polynomial involving only odd powers of \(x\) will be odd
Not all even and odd functions are polynomials. For example
are all even, while
are all odd. Indeed, given any function \(f(x)\text{,}\) the function
Now let us see how we can make use of these symmetries to make graph sketching easier. Let \(f(x)\) be an even function. Then
if and only if \(y_0= f(x_0) = f(-x_0)\) which is the case if and only if
Notice that the points \((x_0,y_0)\) and \((-x_0,y_0)\) are just reflections of each other across the \(y\)-axis. Consequently, to draw the graph \(y=f(x)\text{,}\) it suffices to draw the part of the graph with \(x\ge 0\) and then reflect it in the \(y\)–axis. Here is an example. The part with \(x\ge 0\) is on the left and the full graph is on the right.
Very similarly, when \(f(x)\) is an odd function then
if and only if
Now the symmetry is a little harder to interpret pictorially. To get from \((x_0,y_0)\) to \((-x_0,-y_0)\) one can first reflect \((x_0,y_0)\) in the \(y\)–axis to get to \((-x_0,y_0)\) and then reflect the result in the \(x\)–axis to get to \((-x_0,-y_0)\text{.}\) Consequently, to draw the graph \(y=f(x)\text{,}\) it suffices to draw the part of the graph with \(x\ge 0\) and then reflect it first in the \(y\)–axis and then in the \(x\)–axis. Here is an example. First, here is the part of the graph with \(x\ge 0\text{.}\)
Next, as an intermediate step (usually done in our heads rather than on paper), we add in the reflection in the \(y\)–axis.
Finally to get the full graph, we reflect the dashed line in the \(x\)–axis
and then remove the dashed line.
Let's do a more substantial example of an even function
Consider the function
We can already produce a quite reasonable sketch just by putting in the horizontal asymptote and the intercepts and drawing a smooth curve between them.
Note that we have drawn the function as never crossing the asymptote \(y=1\text{,}\) however we have not yet proved that. We could by trying to solve \(g(x)=1\text{.}\)
Alternatively we could analyse the first derivative to see how the function approaches the asymptote.
cancel a factor of \((x^2+3)\)
\begin{align*} &= \frac{(x^2+3) \cdot 24 - 96x^2}{(x^2+3)^3}\\ &= \frac{72(1-x^2)}{(x^2+3)^3} \end{align*}Putting this together gives the following sketch:
Another symmetry we should consider is periodicity.
A function \(f(x)\) is said to be periodic, with period \(P \gt 0\text{,}\) if \(f(x+P)=f(x)\) for all \(x\text{.}\)
Note that if \(f(x+P)=f(x)\) for all \(x\text{,}\) then replacing \(x\) by \(x+P\text{,}\) we have
More generally \(f(x+kP)=f(x)\) for all integers \(k\text{.}\) Thus if \(f\) has period \(P\text{,}\) then it also has period \(nP\) for all natural numbers \(n\text{.}\) The smallest period is called the fundamental period.
The classic example of a periodic function is \(f(x)=\sin x\text{,}\) which has period \(2\pi\) since \(f(x+2\pi)=\sin(x+2\pi)=\sin x=f(x)\text{.}\)
If \(f(x)\) has period \(P\) then
if and only if \(y_0=f(x_0)=f(x_0+P)\) which is the case if and only if
\begin{gather*} (x_0+P,y_0)\text{ lies on the graph of }y=f(x) \end{gather*}and, more generally,
if and only if
\begin{gather*} (x_0+nP,y_0)\text{ lies on the graph of }y=f(x) \end{gather*}for all integers \(n\text{.}\)
Note that the point \((x_0+P,y_0)\) can be obtained by translating \((x_0,y_0)\) horizontally by \(P\text{.}\) Similarly the point \((x_0+nP,y_0)\) can be found by repeatedly translating \((x_0,y_0)\) horizontally by \(P\text{.}\)
Consequently, to draw the graph \(y=f(x)\text{,}\) it suffices to draw one period of the graph, say the part with \(0\le x\le P\text{,}\) and then translate it repeatedly. Here is an example. Here is a sketch of one period
and here is the full sketch.