A real estate office manages $50$ apartments in a downtown building. when the rent is $\$900 $ per month, all units are occupied.
for every $\$25 $ increase in rent, one unit becomes vacant. on average, all units require $\$75$ in maintenance and repairs each month. how much rent should the real estate office charge to maximize profit?
We have the problem $max$ $(900 + 25x)(50 - x) - 3750$. So $41250 + 350x - 25x^{2} = 0$. Now simply apply the first derivative test: $350 - 50x = 0$, so $x = 7$. And so $900 + 25 * 7 = 1075$ is your answer.
As the coefficient of $x^{2}$ is negative, the function is maximized at $x = 7$. You can alternatively check the change of derivative around $x = 7$ to confirm.