find min and max values of f(x)= cos^2(x)-sin(x) in the interval [0, 2pi]
first, find derrivative of function: F`=-2sin(x)cos(x)-cos(x)=-cos(x)*(sin(x)+1)
ok
then you have to solve equation F`(x)=0: first root is cos(x)=0; x= pi/2 and 3pi/2 and second is sin(x)=-1which is x=3pi/2
hmm...okay so i set f' = 0 and solve to find roots...would those values be where the max and mins occur?
yes, ingeneral they are called extremums, when you find the root, you have to check it in original equation and see, whether it is min or max
okay...so would i use the values to plug in into the original equation to find the max and mins...i think i get it. i would only use the ones that are in the interval, right?
i think i understand it now, thank you for the help!
Plot attached.
Join our real-time social learning platform and learn together with your friends!