Question
Question: How do you find the derivative of \[y = \tan (x)\] using first principles?...
How do you find the derivative of y=tan(x) using first principles?
Solution
Here in this question, we consider the given function as y and we are going to differentiate the given function with respect to x. The function is a trigonometric function so to differentiate the function we use the standard formulas on the trigonometry and then we are going to simplify.
Complete step by step solution:
In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value with respect to a change in its argument. Derivatives are a fundamental tool of calculus.
Now here in this question we have to find the derivative of a given function by using the first principle. Derivative by first principle refers to using algebra to find a general expression for the slope of a curve. It is also known as the delta method. The derivative is a measure of the instantaneous rate of change, which is equal to f′(x)=h→0limhf(x+h)−f(x)
here f(x)=tan(x) and f(x+h)=tan(x+h) and we know that the tangent trigonometry ratio can be written as tan(x)=cos(x)sin(x), therefore first we simplify the f(x+h)−f(x). So we have
⇒f(x+h)−f(x)=tan(x+h)−tan(x)
The tangent trigonometry ratio is written in the form of sine and cosine trigonometry ratio.
⇒f(x+h)−f(x)=cos(x+h)sin(x+h)−cos(x)sin(x)
Use the trigonometry formulas and it is defined as sin(A+B)=sinAcosB+cosAsinB and cos(A+B)=cosAcosB−sinAsinB
⇒f(x+h)−f(x)=cos(x).cos(h)−sin(x).sin(h)sin(x).cos(h)+sin(h).cos(x)−cos(x)sin(x)
On taking the LCM we get
⇒f(x+h)−f(x)=cos(x)(cos(x).cos(h)−sin(x).sin(h))cos(x)(sin(x).cos(h)+sin(h).cos(x))−(cos(x).cos(h)−sin(x).sin(h))sin(x)
⇒f(x+h)−f(x)=cos2(x).cos(h)−cos(x)sin(x).sin(h)cos(x)sin(x)cos(h)+cos2(x)sin(h)−cos(x).cos(h)sin(x)+sin2(x)sin(h)
⇒f(x+h)−f(x)=cos2(x).cos(h)−cos(x)sin(x).sin(h)cos2(x)sin(h)+sin2(x)sin(h)
⇒f(x+h)−f(x)=cos2(x).cos(h)−cos(x)sin(x).sin(h)sin(h)(cos2(x)+sin2(x))
⇒f(x+h)−f(x)=cos2(x).cos(h)−cos(x)sin(x).sin(h)sin(h)
Divide by cos2(x)cos(h)
⇒f(x+h)−f(x)=1−tan(x).tan(h)sec2xtan(h)
Now divide by h we have
⇒hf(x+h)−f(x)=h1×1−tan(x).tan(h)sec2xtan(h)
⇒hf(x+h)−f(x)=sec2x×htan(h)×1−tan(x).tan(h)1
On applying the limit we get
⇒h→0limhf(x+h)−f(x)=h→0lim(sec2x×htan(h)×1−tan(x).tan(h)1)
⇒h→0limhf(x+h)−f(x)=h→0limsec2x×h→0limhtan(h)×h→0lim1−tan(x).tan(h)1
We know that h→0limhtan(h)=1 and h→0limtan(h)=0substituting these we get
⇒h→0limhf(x+h)−f(x)=sec2x×1×h→0lim1−01
⇒h→0limhf(x+h)−f(x)=sec2x
⇒f′(x)=sec2x
Note: The differentiation is defined as the derivative of a function with respect to the independent variable. Here the dependent variable is y and the independent variable is x. If the function is to differentiate by using the first principle we use the formula and it is defined as f′(x)=h→0lim=hf(x+h)−f(x) , By using the limit and trigonometry formulas we can obtain the result