To find the maximum value of the function f(x), we first compute the total area of the region bounded by x=0, x=1, y=0, and y=f(x).
The function f(x) is non-negative on [0,1] and is defined piecewise. We can calculate the area A bounded by y=f(x) and the x-axis by dividing the interval [0,1] into four sub-intervals:
-
For x∈[0,2n1]:
I1=∫02n1n(1−2nx)dx=n[x−nx2]02n1=n(2n1−4n2n)=21−41=41
-
For x∈[2n1,4n3]:
I2=∫2n14n32n(2nx−1)dx=2n[nx2−x]2n14n3=2n((16n9−4n3)−(4n1−2n1))=2n(−16n3+4n1)=81
-
For x∈[4n3,n1]:
I3=∫4n3n14n(1−nx)dx=4n[x−2nx2]4n3n1=4n((n1−2n1)−(4n3−32n9))=4n(2n1−32n15)=81
-
For x∈[n1,1]:
I4=∫n11n−1n(nx−1)dx=n−1n[2nx2−x]n11=n−1n((2n−1)−(2n1−n1))=n−1n⋅2n(n−1)2=2n−1
Summing up the individual areas gives the total area A:
A=I1+I2+I3+I4=41+81+81+2n−1=21+2n−1=2n
We are given that the total area A=4:
2n=4⟹n=8
Since f(x) is piecewise linear on each sub-interval, its maximum value must occur at one of the boundary points:
- f(0)=n=8
- f(2n1)=0
- f(4n3)=n=8
- f(n1)=0
- f(1)=n=8
Thus, the maximum value of the function f is n=8.