![f(x)=-2x^2+4x-1](https://img.qammunity.org/2023/formulas/mathematics/college/bimlraaft84fe2hb3jojqbjapm1h6z8i7j.png)
To find a maximum or minimum, we have to derivate our function and set it equal to 0
![f^(\prime)(x)=-2x+4](https://img.qammunity.org/2023/formulas/mathematics/college/e4eutlzf5l867qt5820an6cabemfjbz1ac.png)
![\begin{gathered} -2x+4=0 \\ -2x=-4 \\ x=(-4)/(-2) \\ x=2 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/18xobblf0pnslpfrt7nbkyvmzysbrnl4an.png)
Now that we have the point at x, we plug it into the initial function f(x) to find the point at y
![\begin{gathered} f(x)=y \\ f(2)=-(2)^2+4(2)-1 \\ y=-4+8-1 \\ y=3 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/l5z2mrwzv31zoox31dxmkyeh5tbm6x7n83.png)
Now we know that our maximum or minimun point is (2,3)
To know if it is a maximum or a minimum we must perform the second derivative. Remember that if the sign of the second derivative is negative, our point is a maximum and if it is positive, our point is a minimum.
![f^(\prime)^(\prime)(x)=-2](https://img.qammunity.org/2023/formulas/mathematics/college/cxdyhyq9h5tmldfe5cdowmkd5mee6xe819.png)
Now we know that our point is a maximum since its second derivative was negative. This can be seen in the graph, where our function belongs to a parabola that opens downwards
For the domain and range we have:
• The ,domain, of the function that is equivalent to all the values that x can take are, all the real ones
,
• The ,range, of the function that is equivalent to all the values it can take on and is defined from its maximum point to negative infinity, that is ,[3,-∞)