Question
Question: How do you determine if \[x\sin x\] is an even or odd function?...
How do you determine if xsinx is an even or odd function?
Solution
In mathematics, a function is defined as a binary relation between two sets that relates each element of the first set to exactly one set in the second set. Suppose that ‘A’ and ‘B’ are two sets. Then a function relating these two sets is written as f:A→B. Read as ′f maps A to B′.
Odd functions and even functions are functions which satisfy a particular symmetric relation.
Even function:
Let f be a real-valued function. Then, f is said to be an even function if f(x)=f(−x)
For example, take a function f(x)=cosx
So, substitute −x in place of x.
⇒f(−x)=cos(−x)
And we know that, cos(−x)=cosx
⇒f(−x)=cos(−x)=cosx
When we observe here, f(x) and f(−x) are equal. So, f(−x)=f(x)
So, f is an even function.
Odd function:
Let f be a real-valued function. Then, f is said to be an odd function if f(−x)=−f(x)
For example, take a function f(x)=x3
So, substitute −x in place of x.
⇒f(−x)=(−x)3
⇒f(−x)=(−1×x)3=−x3
When we observe this, f(x) and f(−x) are additive inverse to each other. So, f(−x)=−f(x).
So, f is an odd function.
Complete step by step solution:
Now, the given question is xsinx
So, take f(x)=xsinx
So, substitute −x in place of x.
⇒f(−x)=(−x)(sin(−x))
⇒f(−x)=(−x)(−sinx)
So, we get the final result as,
⇒f(−x)=xsinx
When we observe here, f(x) and f(−x) are equal. So, f(−x)=f(x)
Therefore, xsinx is an even function.
We can see the graph of xsinx below
Note:
If you plot graphs for functions like y=f(x), then an even function is symmetrical about the Y-axis. And an odd function is not symmetrical about the Y-axis.
Another form of defining an even function is, if f(x)−f(−x)=0, then f(x) is an even function.
And similarly, if f(−x)+f(x)=0, then f(x) is an odd function.