Odd & Even Functions (was thread Fourier Series )

In summary: I wouldn't call it a technique, because there isn't really a "technique" for solving these problems. They just reasoned through the problem a bit and used some definitions.
  • #1
eddievic
48
0
Odd & Even Functions (was thread "Fourier Series")

Homework Statement


determine if the functions below are odd even or neither:
a) f(x)=x^2+2
b) f(x)=(x^2+2)tan(x^2)
c) f(x) = (x^2+2)sin(x)tan(x^2)

Homework Equations



even - f(x) = f(-x)
odd - f(-x)=-f(x)

The Attempt at a Solution



I've managed the first algebraically:

x=1
f(1)=1+2=3
x=-1
f(-1)=1+2=3

so f is even

I reckon I need to do the same for the next function however do not know how to use tan in that equation.

Any help is appreciated.
 
Physics news on Phys.org
  • #2
eddievic said:
I've managed the first algebraically:

x=1
f(1)=1+2=3
x=-1
f(-1)=1+2=3

Don't substitute numbers:
$$
\begin{align}
f(-x) &= (-x)^2 +2 \\
&= x^2 + 2 \\
&= f(x)
\end{align}
$$

Try that with the other functions.
 
  • #3
so next would be:

f(x)=(-x^2)tan(-x^2)
=x^2+2tanx^2
=f(x)

so f would be odd?
 
  • #4
eddievic said:
so next would be:

f(x)=(-x^2)tan(-x^2)
=x^2+2tanx^2
=f(x)

so f would be odd?

Not quite. I'm not sure what you're doing there ( You're using the wrong function and you're omitting a negative sign ), but this is what it should look like:

b) ##f(x)=(x^2+2)tan(x^2)##

##f(-x) = (-x^2 + 2)tan(-x^2)##
##f(-x) = (x^2 + 2) + tan(x^2)##
##f(-x) =f(x)##

Try the third one now.
 
  • #5
Zondrina said:
Not quite. I'm not sure what you're doing there ( You're using the wrong function and you're omitting a negative sign ), but this is what it should look like:

b) ##f(x)=(x^2+2)tan(x^2)##

##f(-x) = (-x^2 + 2)tan(-x^2)##
##f(-x) = (x^2 + 2) + tan(x^2)##
##f(-x) =f(x)##

Try the third one now.
What is that?

$$
\begin{align}
f(-x) &= ((-x)^2 + 2)\tan((-x)^2) \\
&= (x^2 + 2)\tan(x^2) \\
&= f(x)
\end{align}
$$
That one is even again.
 
  • #6
DrClaude said:
What is that?

$$
\begin{align}
f(-x) &= ((-x)^2 + 2)\tan((-x)^2) \\
&= (x^2 + 2)\tan(x^2) \\
&= f(x)
\end{align}
$$
That one is even again.

so last one would be:

f(x)=(x^2+2)sin(x)tan(x^2)
=((-x)^2+2)sin(x)tan((-x)^2))
= f(x)
 
  • #7
Think about why you have such conditions for odd or even functions, must mean they are symmetrical in relation to something.
When you multiply integers together, your products are also even or odd, no different with products of different functions. If you are in doubt of your calculations, consider the factors and see if they are odd or even functions.
If you multiply 2 odd numbers your result is an odd one.
For example b) you already showed a is an even function. Doesn't matter if the other factor is even or odd, the result will be even regardless.
You can easily double check yourself like this, hope that helps :=)
 
  • #8
eddievic said:
so last one would be:

f(x)=(x^2+2)sin(x)tan(x^2)
=((-x)^2+2)sin(x)tan((-x)^2))
= f(x)
The second line should say "f(-x) = ..." Why didn't you change sin x to sin (-x)? Try again.
 
  • #9
lendav_rott said:
For example b) you already showed a is an even function. Doesn't matter if the other factor is even or odd, the result will be even regardless.

won't an even function X an odd one be odd?

The rules are just the same as for number addition (not multiplication) , even X even or odd X odd are even and odd X even is odd - and it should be very simple to see this.
 
  • #10
vela said:
The second line should say "f(-x) = ..." Why didn't you change sin x to sin (-x)? Try again.



f(x)=(x^2+2)sin(x)tan(x^2)
=((-x)^2+2)sin(-x)tan((-x)^2))
= f(-x)

so function is odd?
 
  • #11
eddievic said:
f(x)=(x^2+2)sin(x)tan(x^2)
=((-x)^2+2)sin(-x)tan((-x)^2))
= f(-x)

so function is odd?

. f(x) = f(-x)

f is odd, even or neither?
 
  • #12
eddievic said:
f(x)=(x^2+2)sin(x)tan(x^2)
=((-x)^2+2)sin(-x)tan((-x)^2))
= f(-x)

so function is odd?
This makes no mathematical sense. Why is there a minus sign appearing in the second line? You have the definition of ##f(x)##, and therefore you start from ##f(-x)## and use that definition:
$$
\begin{align}
f(-x) &= ((-x)^2 +2) \sin(-x) \tan((-x)^2) \\
&= (x^2 + 2) (-\sin(x)) \tan(x^2) \\
&= - (x^2 + 2) \sin(x) \tan(x^2) \\
&= -f(-x)
\end{align}
$$
So the is function is even, odd, or neither?
 
  • #13
epenguin said:
won't an even function X an odd one be odd?

The rules are just the same as for number addition (not multiplication) , even X even or odd X odd are even and odd X even is odd - and it should be very simple to see this.
Pardon me, I don't know what I was thinking when I wrote that, of course it simple to see why.

Post #7 is a wheelbarrow full of manure and should be considered as such.
 
  • #14
lendav_rott said:
Pardon me, I don't know what I was thinking when I wrote that, of course it simple to see why.

Post #7 is a wheelbarrow full of manure and should be considered as such.

I will not cast the first stone. :biggrin:
 
Last edited:
  • #15
eddievic said:
f(x)=(x^2+2)sin(x)tan(x^2)
=((-x)^2+2)sin(-x)tan((-x)^2))
This is incorrect because you changed x to -x only on the righthand side of the equation. Remember that you have to treat both sides the same way.

So to expand on what DrClaude did, you have
$$f(x) = (x^2+2)(\sin x)(\tan x^2).$$ That was given to you. Now you're interested in what f(-x) equals to see how it compares to f(x). If we change x to -x on the lefthand side of the equation (so that we have f(-x) which is what we're interested in), we have to change x to -x on the righthand side of the equation as well.
$$f(-x) = ((-x)^2+2) (\sin (-x)) (\tan (-x)^2).$$ At this point, you don't know how f(x) compares to f(-x). They could be equal, differ by a sign, or neither. After a little simplification, however, you can show that
$$f(-x) = -(x^2+2)(\sin x)(\tan x^2).$$ Everything after the minus sign on the righthand side happens to be exactly what f(x) equals, so we can say that
$$f(-x) = -[(x^2+2)(\sin x)(\tan x^2)] = -f(x).$$ So we have that f(-x)=-f(x). So what does that make f(x) — even, odd, or neither?

Try looking over posts 2 and 4 again. You should see that DrClaude and Zondrina followed the same basic pattern.
 
  • #16
Just read back over this thread and now it makes sense sometimes you cannot see the wood for the trees thanks all
 

1. What is an odd function?

An odd function is a mathematical function that satisfies the property f(-x) = -f(x). In other words, when the input is multiplied by -1, the output is the negative of the original output. Graphically, this means that the function is symmetric about the origin.

2. What is an even function?

An even function is a mathematical function that satisfies the property f(-x) = f(x). In other words, when the input is multiplied by -1, the output remains the same. Graphically, this means that the function is symmetric about the y-axis.

3. How do I determine if a function is odd or even?

To determine if a function is odd or even, you can use the properties mentioned above. If f(-x) = -f(x), the function is odd. If f(-x) = f(x), the function is even. You can also graph the function and see if it is symmetric about the origin (odd) or the y-axis (even).

4. Why are odd and even functions important in Fourier series?

Odd and even functions are important in Fourier series because they have special properties that make it easier to find their Fourier coefficients. For example, the Fourier coefficients for odd functions only have sine terms, while the coefficients for even functions only have cosine terms. This simplifies the calculations and makes it easier to find the Fourier series representation of a function.

5. Can a function be both odd and even?

No, a function cannot be both odd and even. This is because the properties of odd and even functions are mutually exclusive. If f(-x) = -f(x) (odd), then f(-x) = f(x) cannot also hold (even). However, a function can be neither odd nor even, in which case it is called a general function.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
272
  • Calculus and Beyond Homework Help
Replies
3
Views
359
  • Calculus and Beyond Homework Help
Replies
6
Views
911
  • Calculus and Beyond Homework Help
Replies
1
Views
959
  • Calculus and Beyond Homework Help
Replies
6
Views
417
  • Calculus and Beyond Homework Help
Replies
6
Views
380
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
342
  • Calculus and Beyond Homework Help
Replies
1
Views
202
Back
Top