# How do you find the axis of symmetry, and the maximum or minimum value of the function #y= -x^2 + 2x + 1#?

##### 1 Answer

Feb 3, 2016

The function has a maximum at

Axis of symmetry is -

#x=-1#

#### Explanation:

Given -

#y=-x^2+2x+1#

#dy/dx=-2x+2#

#(d^2y)/(dx^2)=-2#

#dy/dx=0=> -2x+2=0#

#x=2/(-2)=-1#

At

Hence the function has a maximum at

Axis of symmetry is -

#x=-1#