Given: The function below

To Determine: If the function as a aximum or a minimum using the first principle
Solution
Let us determine the first derivative of the given function using the first principle

So,






So

Therefore,

Please note that at critical point the first derivative is equal to zero
Therefore

At critical point the range of value of x is 0 and 2
Let us test the points around critical points


The function given has both maximum and minimum point
Hence, the maximum point is (0,0)
And the minimum point is (2, 4)