## iamsammybear Group Title Consider f(x)=sin^2(x)-cos(x) on the interval 0 is less than or equal to x which is less than or equal to pi. Determine the local extrema of f(x). one year ago one year ago

1. iamsammybear Group Title

$f(\theta)=\sin^{2}(\theta)-\cos(\theta)$ $0\le \theta \le \pi$

2. iamsammybear Group Title

I know one of the local extrema is at x=0. There are two more.

3. niksva Group Title

in order to find the local extrema first differentiate f(x) with respect to x and then put f '(x) = 0 this will help u in getting local extrema

4. iamsammybear Group Title

I get:$\sin(\theta)(2\cos(\theta)+1)=0$

5. iamsammybear Group Title

I know the sin (theta) piece is what give the local extrema at x=0. But I can't figure out the cos part.

6. niksva Group Title

ok 2{cos (theta) + 1} = 0 now can we write cos(theta) + 1 = 0?

7. niksva Group Title

cos(theta) = -1 cos(theta) = cos(n* pi) where n is an odd integer is this step clear to u ?

8. niksva Group Title

i m sorry its wrong

9. iamsammybear Group Title

Yes, I am trying to find the angle that gives the odd integer?

10. niksva Group Title

let me correct its 2cos(theta) +1 = 0 2cos(theta) = -1 cos(theta) = -1/2 is this step clear to u?

11. niksva Group Title

as we know cosine function is negative in second and third quadrant therefore , value of theta must lie in pi/2 < theta < 3*pi/2

12. iamsammybear Group Title

2pi/3 or 4 pi/3

13. niksva Group Title

yup

14. iamsammybear Group Title

Do I then restrict those answers based on the domain?

15. niksva Group Title

yeah

16. iamsammybear Group Title

So then 2pi/3 is the only one that works?