Question
Question: Find the points of local maxima or local minima of the following function, using the first derivativ...
Find the points of local maxima or local minima of the following function, using the first derivative test. Also, find the local maximum or local minimum values, as the case may be.
f(x)=sinx−cosx, 0x<2π
Solution
Hint : To find the points of local maximum or minimum the value of differentiation of function should be zero. So, first of all we will find the differentiation of the equation with respect to x. Then we will equate it with zero and find the value of x which is our value of local minimum or local maximum. Then by substituting the value of x in our function f(x)=sinx−cosx, 0<x<2π . We will get the value of local maxima or local minima.
**Complete step-by-step answer ** :
In question we are asked to find the point of local maxima or local minima of the function f(x)=sinx−cosx, 0<x<2π and also find its local minimum or local maximum values. Now, we know that the to the point at which differentiation of the function is equal to zero is called local maxima or local minima point, which can be seen mathematically as,
f′(x)=0 …………….(i)
Now, here f is function of x, so we will find the value at which value of x will be equal to zero, so the expression of function can be given as,
f(x)=sinx−cosx …………..(ii)
Now, on differentiating the expression with respect to x we will get,
f′(x)=dxd(sinx−cosx)
⇒f′(x)=dxd(sinx)−dxd(cosx)
Now, the differentiation of sinx is cosx and differentiation of cosx is −sinx , so on substituting the values we will get,
⇒f′(x)=cosx−(−sinx)=cosx+sinx
Now, on substituting the value in equation (i) we will get,
f′(x)=cosx+sinx=0
⇒sinx=−cosx
Now, on dividing cosx on both the sides we will get,
⇒cosxsinx=−cosxcosx
Now, we know that cosxsinx=tanx , so we will get,
⇒tanx=−1
∴x=tan−1(−1) ………………(iii)
Now, we know that the value of tan functions are negative in the second and fourth quadrant. So, here for maxima we will take angle in the second quadrant i.e. 180−135=45 . So, we can say that tan(45∘)=tan(180−135) . Now, tan(180−135) is in the form of tan(π−θ) . So, from this we can say that x=tan−1(1)=135∘ as x∈(0, 2π) . So, on substituting this in expression (iii) we will get,
x=135
Now, to find the value of local minima or minima, we will substitute value of x in expression (ii), so we will get,
f(135)=sin(135)−cos(135)
Now, value of sin(135)=sin(180−45)=sin(45) , same way for cosine, cos(135)=cos(180−45)=−cos(45) . We know that 135 is in the second quadrant where sin functions are positive and cosine functions are negative. So, we can write sin45∘=cos45∘=21 .
On substituting this in equation we will get,
f(135)=21−(2−1)=21+21
⇒f(135)=21+21=22
Now, on multiplying and dividing the expression with 2 we will get,
⇒f(135)=22×22=2×222
⇒f(135)=2×222=222=2 ……………………(iv)
Now, again we will take the fourth quadrant to find local minima. So, here tan−1(−1)=−tan45∘=tan(360−315) . Thus, from this we can say that the value of x is 315. So, we will substitute value of x in equation (ii), we get as
f(315)=sin(315)−cos(315)
On further simplifying, we can write it as
f(315)=sin(360−45)−cos(360−45)
But we know that in the fourth quadrant angles of sin functions are negative and cosine are positive. So, we get as
f(315)=sin(−45)−cos(45)
f(315)=−21−21=−22
Now, on multiplying and dividing the expression with 2 we will get,
⇒f(315)=2×2−22
⇒f(315)=2−22=−2
Thus, local maxima is 2 and local minima is −2 .
Note : Remember to find both the angles at which tan function is equal to minus 1. Students sometimes make mistakes and find any one value which will be partially correct. Also, after the equation ⇒sinx=−cosx , we can convert it into a cot function also. And by solving in the same way, we will get the same answer as for tan function. So, this can be another approach.