f(x)=⎧⎨⎩x|x|x≤−1[1+x]+[1−x]−1<x<1−x|x|x≥1, then f(x) is
A
both even as well as odd function
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
an even function
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
an odd function
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
neither even nor odd function
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is B an even function f(x)=⎧⎪
⎪
⎪
⎪
⎪⎨⎪
⎪
⎪
⎪
⎪⎩−x2x≤−10+1−1<x<02x=01+00<x<1−x2,x≥1⇒f(x)=⎧⎪
⎪
⎪
⎪
⎪⎨⎪
⎪
⎪
⎪
⎪⎩−x2x≤−11−1<x<02x=010<x<1−x2x≥1
This is clearly of the form f(−x)=f(x)
Hence f(x) is even function.