# How do you find local maximum value of f using the first and second derivative tests: #f(x)=x+sqrt(2-x)#?

##### 1 Answer

See below.

#### Explanation:

Domain of

(Some do not apply the term "critical number" at an endpoint of the domain.)

**Using the First Derivative Test**

On

on

and

(Some do not apply the term "local minimum" at an endpoint of the domain. They would disagree with my answer about that.)

**Using the Second Derivative Test (for local extrema)**