Main content

### Course: Algebra (all content) > Unit 10

Lesson 36: Introduction to symmetry of functions# Even/odd functions & numbers

The connection between even and odd functions to even and odd numbers. Created by Sal Khan.

## Want to join the conversation?

- If you have the function f(x)=x^4+x^3, is it even of odd?(6 votes)
- If you use a graphing calculator, it is
*neither*(4 votes)

- Is there any other method than looking at the exponent to find out if it is even or odd function?(4 votes)
- Yes, even functions are symmetric about the y axis, or f(-x) = f(x), and odd functions are symmetric about the origin, or -f(-x) = f(x).(2 votes)

- Is zero a odd or even number?(4 votes)
- Zero is even and not odd, but f(x) = 0 is both an even and odd function!(3 votes)

- I'm confused about one thing. A sine function is an odd function. When you are graphing it and the coefficient of x is negative, you are supposed to bring the negative in the front of the function. Example: f(x)=sin(-x) is equal to f(x)=-sin(x). But what if the function is f(x)=3sin(-x)+4, and you brought the negative to the front since it is an off function, f(x)=-3sin(x)+4. How come it does not get distributed to four? I thought the negative is supposed to be distributed to every term with odd functions. I was practicing online and I got it wrong becuase of it. Can anyone answer? I'm really confused.(3 votes)
- When you add the 4 to the sine, it shifts the whole function up four units, which means that it no longer meets the definition of an odd function. Just like f(x) = x^3 is an odd function, but f(x) = x^3 +4 is not an odd function.(2 votes)

- y = 2 is what kind of function?(2 votes)
- This function is an even function. And in the spirit of this video that connects "even" and "odd" functions with the parity (whether a number is even/odd) of it's exponents, the function y = 2 is indeed even. That is because y = 2 is equivalent to y = 2x^0 and the number zero has even parity.

Therefor when he shows the function y = x^3 + 2, that function is mixing even and odd exponents; ^3 is odd and ^0 is even.

I noticed this on my own when I was going through college algebra, however outside of my sharing this pattern with other students and professors I have yet to come upon the zero parity connection being made either in personal conversation or in print. Hope this helps.

Ben(3 votes)

- Would f(x) = 0 be both even and odd?(3 votes)
- When is a function neither even nor odd?!(2 votes)
- A lot of functions are neither even nor odd. For example, if a function is a polynomial with both odd and even exponents, like "f(x) = x^2 + x^1", then the function is neither odd nor even.

And there are many more examples as well. "f(x) = √x" is another example, as is "f(x) = log(x)", and "f(x) = 3^x", and countless others.

In fact, as it turns out,*most*functions are neither even nor odd.(2 votes)

- Can a function be even if it is symmetrical but doesn't cross at 0,0(2 votes)
- Any function always crosses the point (0, 0). So no, a function cannot be even, or anything, if it doesn't cross (0, 0).(1 vote)

- How can you algebraically determine if a function is even, odd, or neither?(2 votes)
- You can find if a function is even algebraically by plugging -x in for x, if the function ends up exactly the same as what you started with then it is even. The function is odd if the function ends up the exact opposite of what you started with. Neither is if you plug in x or -x and they both come out as a different function.(1 vote)

- How do I tell if a function is symmetric with respect to the origin?(2 votes)
- Most of the time you can tell by looking at a graph of the function, but sometimes you have to figure it out using the function itself. You can either graph the function using a graphing calculator, a website like Desmos, or watch the previous video for a little more information.(1 vote)

## Video transcript

In the last video on
even and odd functions, I talk about how you
shouldn't get confused between even functions and
even numbers and odd functions and odd numbers. And I said that there wasn't
any obvious connection between the word even function
and our notion of even numbers, or any connection between odd
functions and odd numbers. And, I was wrong. There actually is a
relatively obvious connection, and this was pointed out by
the YouTube user Nothias. And the connection, I
almost explicitly did it in the last example. When I showed an even function,
I showed you x squared. When I showed you
an odd function, I showed you x to
the third power. When I wanted to show
you another odd function, I showed you y is
equal to x, or f of x is equal to x
to the first power. And so you might start to notice
what Nothias pointed out, is that these archetypal
or these good examples or these simple examples
of even and odd functions, when I just have a very
simple x raised to some power, whether the power
is even or odd, it's going to tell you whether
the function is even or odd. And you want to be
very careful here. Not all even or odd functions
even have exponents in them. They could be
trigonometric functions. They might be some other
type of wacky functions. You don't have to
have exponents. It's just that these
exponents are probably where the motivations for
calling these even functions and odd functions came from. And let me just be clear. It's not just also
any polynomial-- and even in the last video, when
we had x to the third plus 1, this was neither even
or odd-- but if you just have the pure x raised to some
power, then all of the sudden, the motivations for
calling them even and odd start to make
sense, because if I have f of x is equal to x
to the first power-- that's the same thing as y is
equal to x-- this is odd. And it gels with the
name because we are also raising it to an odd power. If we have f of x is
equal to x squared, we saw in the previous
video, this is even. And it gels with
the idea that we're raising it to an even power. I could keep going. If it was to the x to
the third, that is odd. I could keep going. Let me write it this way. In general, if you have f
of x is equal to x to the n, then this is odd-- odd function
if n is odd, is an odd number. And this is an even
function, if n is even. And I want to make
it very clear here. The whole point of
this video is just to clarify the motivation
for calling them even or odd functions. Not all even functions are
going to be of this form here, where it's x raised
to some even power. And not all odd functions
are going to be. And I also don't want
you to be confused that if I have something
like x to the third and then I have other
stuff past that, and you say, oh, x to the
third, that's an odd number. But this is not an odd function. Just when it's just
a pure stripped down x to the third or
x to the first can you really make that statement. But that really is probably
where the motivation comes for naming them even
or odd functions. And then the other
symmetric functions, even if they don't
involve an exponent-- maybe this is some type of
trigonometric function-- you're calling it
even because you're saying it has the same type
of symmetry as, say, x squared or x to an even power. So you group them all
together as even functions. And then all of these, even
though this may or may not have an exponent in it,
it has the same type of symmetries as x
raised to an odd power. So that's why call
them odd functions. Well, thank you Nothias
for pointing that out.