If the
and
are even function then
is an even function, if
and
are odd function then the function
is an odd function and if
is even and
is odd then the function
is an even function.
Further explanation:
An even functrion satisfies the property as shown below:

An odd functrion satisfies the property as shown below:

Consider the given composite function as follows:

If both the function
and
are even function.

From the above calculation it is concluded that,

This implies that the composite function
is an even function.
If both the function
and
are odd function.

From the above calculation it is concluded that,

This implies that the composite function
is an odd function.
If the function
is even and
is odd.

From the above calculation it is concluded that,

This implies that the composite function
is an even function.