The correct options are
A n2−44 when n is of the form 4k
C n2−14 when n is an odd number
D n24 when n is of the form 4k+2
Let g(x)=f1(f2(f3(…..(fn(x))…)
g(x) is a decreasing function.
Hence its derivative will be negative.
Now,
g′(x)=f′1(f2(f3(...fn(x))...)×f′2(f3(...fn(x))...)×...f′n−1(f(x))×f′n(x)
Since g′(x)<0 there must be odd number of negative terms out of the n terms in g'(x).
It is given that r functions are decreasing. Hence, r must be odd.
Now, we wish to maximise r(n−r)
Let p(r)=rn−r2, for 0<r≤n
⇒p′(r)=n−2r
⇒p′′(r)=−2
Hence maximum value of p(r) occurs at r=n2
In our case r is an odd integer. Hence, let us consider different cases.
Case I - n is an even integer.
For p(r) to be maximum , r=n2
For r to be an odd integer, we will have to consider sub cases.
Case I - (a) n=4m+2 , where m is an integer
In this case, r=n2 will be an odd integer.
Hence, p(r)=n24.
Case I - (b) n=4m , where m is an integer
In this case, n2 will not be an odd integer.
Hence let us consider the integer before n2 and after it.
i.e. r=n2−1 and r=n2+1
In both the cases, maximum value of p(r)=n2−44.
Case II - n is an odd number
In this case let us consider the integers between which n2 lies.
i.e. n−12 and n+12
In both the cases, the maximum value of p(r)=n2−14