We have,
Total number =12
Let the first part be =x
And IInd part be =12−x
According to given question,
Maximize f(x)=x4×(12−x)2(∴0<x<12)
=x4(144−24x+x2)
f(x)=x6−24x5+144x4
On differentiating and we get,
f′(x)=6x5−120x4+576x3
=6x3(x2−20x+96)
Then,
For maximum and minimum
f′(x)=0
⇒6x3(x−12)(x−8)=0
Then,
x=12 and x=8 and x=0
If x=8 then,
12−x
⇒12−8
=4
Hence, f(x) is maximized.