For what values of x is f(x)=-x^2+4x+2f(x)=x2+4x+2 concave or convex?

1 Answer
Dec 3, 2016

The function is concave.

Explanation:

f(x)=-x^2+4x+2f(x)=x2+4x+2

f'(x)=-2x+4

For critical points, f'(x)=0

-2x+4=0

x=2

Let's do a sign chart

color(white)(aaaa)xcolor(white)(aaaa)-oocolor(white)(aaaa)2color(white)(aaaa)+oo

color(white)(aaaa)f'(x)color(white)(aaaa)+color(white)(aa)0color(white)(aaa)-

color(white)(aaaa)f(x)color(white)(aaaaa)uarrcolor(white)(aa)6color(white)(aaa)darr

So f(x) is concave between -oo and +oo

graph{-x^2+4x+2 [-16.02, 16.02, -8.01, 8.01]}