3

Let $f\colon\mathbb{R} \to \mathbb{R}$. Define $g: \mathbb{R}\to \mathbb{R}$ by

$g(x)=f(x)(f(x)+f(-x))$

Then which of following is/are correct?

A. $g$ is even for all $f$

B. $g$ is odd for all $f$

C. $g$ is even if $f$ is even

D. $g$ is even if $f$ is odd

Taking $f(x)=\sin x$ eliminated option B. What if I take $f$ to be odd function then my $g=0$. Is $0$ a even function or odd function?

Thanks

MattAllegro
  • 3,316
Taylor Ted
  • 3,408

1 Answers1

0

$g(x)=f(x)(f(x)+f(-x))\tag{1}$

$g(-x)=f(-x)(f(-x)+f(x))\tag{2}$

adding (1) and (2) we get

$g(x)+g(-x)=(f(x)+f(-x))^2$,this equation tells us that $g$ is odd if $f$ is odd.But this is not among the options.

If $f$ is even then equation (1) becomes $g(x)=2(f(x))^2$.Here,$2$ being a constant is an even function in this case $g$ is product of two even functions therefore even itself.

if $f$ is odd, then $g=f(f−f)=0,$, rendering g to be both even and odd. Hence,$g$ is even if $f$ is both even and odd.Hence (C) & (D) are correct options

Styles
  • 3,539