The profit the bank makes is .12X minus rX (the amount of interest that they pay). If you substitute in 100r for X, you get a formula for the profit (P)that can be graphed.
P = .12(100r)-r(100r)
P = 12r - 100r2 or P = -100r2 + 12r
The bank makes no profit if the rate is 0.12, (= 12%), as they pay out as much in interest as they make.
To find the maxima of this graph, you can either graph this or you can find the maxima by finding when the derivative of the function is zero. The derivative of the function defines a line tangent to the curve. At the maxima of the graph, the tangent line will be horizontal, having a slope of zero.
The derivative of the graph is -200r + 12
Setting this equal to zero - 200r + 12 = 0
12 = 200r
.06 = r
The graph has a maxima at r = 0.06, or 6% interest.
Darren C.
06/28/17