Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

Define a function f:RR by f(x)=max{|x|,|x1|,.......|x2n|}
Where n is a fixed natural number. Then 02nf(x)dx is.
(A) n 
(B) n2
(C) 3n
(D) 3n2

Answer
VerifiedVerified
531k+ views
like imagedislike image
Hint:- Check values of f(x) in different ranges from [0,2n].

As we know that we had to find the value of 02nf(x)dx.
Where, f(x)=max{|x|,|x1|,.......|x2n|}  (1)
So, from equation 1, we can see that the value of f(x) will be,
f(x)=|x2n| for x in range [0,n] (2)
f(x)=|x| for x in range [n,2n] (3)
So, to find the value of 02nf(x)dx we had to break the limits of the integral into two parts,
So, 02nf(x)dx=0nf(x)dx+n2nf(x)dx  (4)
And, 0nf(x)dx=0n|x2n|dx from equation 2
As, we know that 2n >x for x in range [0,n].
So, 0nf(x)dx=0n(2nx)dx
Now we had to solve the above equation.
So, solving the above equation. It becomes,
0nf(x)dx=(2nxx22)0n=(2n2n22)=3n22 (5)
  And, n2nf(x)dx=n2n|x|dx from equation 3
So, n2nf(x)dx=n2n(x)dx for x in range [n,2n]
So, solving the above equation. It becomes,
n2nf(x)dx=(x22)n2n = (4n22n22) = 3n22 (6)
Now, putting the value of 0nf(x)dx and n2nf(x)dx from equation 5 and 6 to equation 4.
So, 02nf(x)dx=3n22+3n22=3n2
Hence, the correct option will be D.

Note:- Whenever we came up with this type of problem then we should break the
limits of integral according to the value of function in different ranges. Otherwise
solving the given integral without checking the value of integral in different integral
will give us incorrect answers.