# How do you find the absolute max and min for f(x) = 5 + 2x on [-2,1]?

Typically you would take the derivative and solve for the zeros, but in this case, your graph is linear, so one side is the max, $\left(1 , 7\right)$ and the other is the min, $\left(- 2 , 1\right)$.
The above graph shows the plot of the function. I've highlighted the area between $- 2$ and $1$. Just by looking at the graph, you can see that the function is linear, and $x = 1$ is the clear max and $x = - 2$ the min.