Question
Question: How do you find the derivative of \(y = \dfrac{4}{{\cos x}}\)?...
How do you find the derivative of y=cosx4?
Solution
We have to find y′. For this differentiate y with respect to x. Then, use the property that the differentiation of the product of a constant and a function = the constant × differentiation of the function. Then, use trigonometry identity cosθ×secθ=1 to replace cosx1 with secx. Then, use the property that the differentiation of secant function is a product of secant and tangent function and get the desired result.
Formula used: The differentiation of the product of a constant and a function = the constant × differentiation of the function.
i.e., dxd(kf(x))=kdxd(f(x)), where k is a constant.
The differentiation of secant function is a product of secant and tangent function.
i.e., dxd(secx)=secxtanx
Trigonometric identity: cosθ×secθ=1
Complete step-by-step solution:
We have to find the derivative of y=cosx4.............…(i)
So, differentiate y with respect to x.
dxdy=dxd(cosx4)...........…(ii)
Now, using the property that the differentiation of the product of a constant and a function = the constant × differentiation of the function.
i.e., dxd(kf(x))=kdxd(f(x)), where k is a constant.
So, in above differentiation (ii), constant 4 can be taken outside the differentiation.
⇒dxdy=4dxd(cosx1)...........…(iii)
Now, use trigonometry identity cosθ×secθ=1 to replace cosx1 with secx.
So, differentiation (iii) can be written as
⇒dxdy=4dxd(secx)............…(iv)
Now, using the property that the differentiation of secant function is a product of secant and tangent function.
i.e., dxd(secx)=secxtanx
So, in above differentiation (iv), we can use above property and find the derivative of y.⇒dxdy=4sec(x)tan(x)
Therefore, the derivative is y′=4sec(x)tan(x).
Note: We can also find the derivative using the limit definition of derivative.
Definition of the Derivative:
The derivative of f(x) with respect to x is the function f′(x) and is defined as,
f′(x)=h→0limhf(x+h)−f(x)..........…(1)
So, all we really need to do is to plug this function into the definition of the derivative, (1), and do some algebra.
First plug the function into the definition of the derivative.
f′(x)=h→0limhf(x+h)−f(x)
⇒y′(x)=h→0limhcos(x+h)4−cos(x)4
Now, we know that we can’t just plug in h=0 since this will give us a division by zero error. So, we are going to have to do some work.
⇒y′(x)=4h→0limhcos(x+h)1−cos(x)1
⇒y′(x)=4h→0limhcos(x)cos(x+h)cos(x)−cos(x+h)
As cosC−cosD=2sin(2C+D)sin(2D−C).
⇒y′(x)=4h→0limhcos(x)cos(x+h)2sin(22x+h)sin(2h)
⇒y′(x)=4h→0limhcos(x)cos(x+h)sin(22x+h)×h→0limh/2sin(h/2)
As h→0limh/2sin(h/2)=1.
⇒y′(x)=4×cos(x)sin(x)sin(x)×1
⇒y′(x)=4sec(x)tan(x)
Therefore, the derivative is y′=4sec(x)tan(x).