Determining if a function is odd or even

2 replies · 2K views · last reply
ainster31
Messages
158
Reaction score
1

Homework Statement



Textbook problem 8: piecewise function f(x) equals x + 5 for -2 < x < 0 and -x + 5 for 0 ≤ x < 2, with instruction to determine whether each function in Problems 1-10 is even, odd, or neither.


Homework Equations


The Attempt at a Solution



$$f(-x)=\begin{cases} -x+5,\quad -2<x<0 \\ x+5,\quad 0≤x<2 \end{cases}\\ =f(x)$$

The issue is that I can't get to the second step. I know the function is even.
 
ainster31 said:

Homework Statement



Textbook problem 8 asking whether f(x) is even, odd, or neither, with f(x) = x + 5 for -2 < x < 0 and -x + 5 for 0 ≤ x < 2.


Homework Equations





The Attempt at a Solution



$$f(-x)=\begin{cases} -x+5,\quad -2<x<0 \\ x+5,\quad 0≤x<2 \end{cases}\\ =f(x)$$

The issue is that I can't get to the second step. I know the function is even.

You should have
$$f(-x)=\begin{cases} -x+5,\quad -2<-x<0 \\ x+5,\quad 0≤-x<2 \end{cases}$$

(You need to substitute -x for x in the inequalities as well.)
 
ainster31 said:

Homework Statement



Problem 8 from a textbook: piecewise function f(x) equals x + 5 for -2 < x < 0 and -x + 5 for 0 ≤ x < 2, with instructions to determine whether the function is even, odd, or neither.


Homework Equations





The Attempt at a Solution



$$f(-x)=\begin{cases} -x+5,\quad -2<x<0 \\ x+5,\quad 0≤x<2 \end{cases}\\ =f(x)$$

The issue is that I can't get to the second step. I know the function is even.
I have no idea what you mean by "the second step". (What was the first step?) Just use the definition of "even function".

If -2< x< 0 then 0< x< 2 so f(-x)= (-x)+ 5= -x+ 5= f(x).
If 0< x< 2 then -2< x< 0 so f(-x)= -(-x)+ 5= x+ 5= f(x).