# Modelling question using completing the square

In this example, the maximum possible number of mosquitoes was solved using completing the square.

Is there any other methods to solving this? How do I exactly recognise and know which formula to apply for modelling questions like this?

## 1 Answer

It's hard to answer such questions when we aren't given any context. I have several answers in mind, but they each depend on what you already know. Just taking a stab: The function $m=-r(r-4)= -r^2+4r$ is quadratic and its graph is a parabola. Since the leading coefficient is negative, we know it's parabola with arms pointing down. So the maximum of the function is at the vertex of the parabola. The usual way to find the vertex is by completing the square, as was done in your example.

Other ways are by taking the derivative $\frac{dm}{dr} = -2r+4$ and setting it equal to zero. When you solve, you get $r=2$, which you can plug back into the function to get $m=4.$

• yes, I do agree is difficult. But, I feel that I am stuck at this sort of problem, although I know how to complete the square. – ilovetolearn Aug 2 '17 at 14:00
• yet, I do not know that using complete the square could help me resolve this. – ilovetolearn Aug 2 '17 at 14:00