Derivatives of Trigonometric Functions
Last Updated :
10 Jun, 2025
The derivative of a function f(x) is the rate at which the value of the function changes when the input is changed. In this context, x is called the independent variable, and f(x) is called the dependent variable. Derivatives have applications in almost every aspect of our lives.
From rocket launches to our water tank design, derivatives are used by professionals to measure the rate of change and sometimes analyze physical phenomena from a mathematical perspective. Calculating the derivatives of polynomials is pretty simple. The derivative trigonometric functions and their derivatives require some extra attention. Let's see how to calculate them in detail.
Derivatives
The formal and most basic definition of derivatives involves limits. Geometrically, for a function f(x), the derivative at point x represents the slope of a line that is tangent to the curve at that particular point. Using this intuition, the formal definition of the derivatives using the limits was developed. The figure below shows the geometric intuition of the derivatives.

In this figure, notice that the line joining the points (x, f(x)) and (x, f(x + h)) is secant to the figure. But the assumption is that h approaches to zero. So, in this way as the point (x + h) moves closer and closer to the point x, the secant slowly starts becoming a tangent. That's why it is said that the derivatives are nothing but the slope of the tangents on the curve. Using this logic, first definition of the derivatives is given.
For a function f(x), at a point x = a. The derivative is defined as,
\lim_{x \to a}\frac{f(x) - f(a) }{x - a}
It can also be written as,
\lim_{h \to 0}\frac{f(x + h) - f(x) }{h}
This is the definition of the derivatives. We also denote the derivatives by \frac{df}{dx}or f'(x).
Power rule of Derivatives
This is the most commonly used rule in derivatives. It says, \frac{dx^n}{dx} = nx^{n - 1}
This can be derived through the limit definition of the derivatives.
\frac{d(x^n)}{dx} = \lim_{h \to 0}\frac{(x + h)^n - x^n}{h}
(x + h)n can be opened through binomial expansion,
(x + h)^n = x^n + \frac{n!}{(n-1)!}x^{n-1}h + \frac{n!}{(n-2)!2!}h^2 + ....
⇒\frac{d(x^n)}{dx} = \lim_{h \to 0}\frac{(x^n + \frac{n!}{(n-1)!}x^{n-1}h + \frac{n!}{(n-2)!2!}h^2 + .... - x^n)}{h}
⇒\frac{d(x^n)}{dx} = \lim_{h \to 0}\frac{\frac{n!}{(n-1)!}x^{n-1}h + \frac{n!}{(n-2)!2!}h^2 + ....)}{h}
⇒\frac{d(x^n)}{dx} =\frac{n!}{(n-1)!}x^{n-1} + \lim_{h \to 0}\frac{( \frac{n!}{(n-2)!2!}h^2 + ....)}{h}
⇒\frac{d(x^n)}{dx} =nx^{n-1}
Example: Find the derivative of f(x) = √x.
Solution:
\frac{d(\sqrt{x})}{dx} = \lim_{h \to 0}\frac{f(x + h) - f(x)}{h}
⇒\frac{d(\sqrt{x})}{dx} = \lim_{h \to 0}\frac{\sqrt{x + h} - \sqrt{x}}{h}
This is indeterminate form, using rationalization
⇒\frac{d(\sqrt{x})}{dx} = \lim_{h \to 0}\frac{(\sqrt{x + h} - \sqrt{x})(\sqrt{x + h} + \sqrt{x})}{h(\sqrt{x + h} + \sqrt{x})}
⇒\frac{d(\sqrt{x})}{dx} = \lim_{h \to 0} \frac{(x + h) -x}{h(\sqrt{x + h} + \sqrt{x})}
⇒\frac{d(\sqrt{x})}{dx} = \lim_{h \to 0} \frac{h}{h(\sqrt{x + h} + \sqrt{x})}
⇒\frac{d(\sqrt{x})}{dx} = \lim_{h \to 0} \frac{1}{(\sqrt{x + h} + \sqrt{x})}
⇒\frac{d(\sqrt{x})}{dx} = \frac{1}{2\sqrt{x}}
Derivatives of Trigonometric Functions
Derivatives of the trigonometric are first calculated through the limit definition. Before calculating these derivatives and looking at their proofs, it is necessary to revisit some identities of limit related to trigonometric functions.
\lim_{x \to 0}\frac{sin(x)}{x}
and
\lim_{x \to 0}\frac{cos(x) - 1}{x}
Let's calculate the derivatives for three most important trigonometric function.
- \frac{d(sin(x))}{dx} = cos(x)
- \frac{d(cos(x))}{dx} = -sin(x)
- \frac{d(tan(x))}{dx} = sec^2(x)
Proving the derivative for sine function \frac{d(sin(x))}{dx} = cos(x)
Using the previously mentioned definition of the derivatives
\frac{df(x)}{dx} = \lim_{h \to 0}\frac{f(x + h) - f(x) }{h} \\ = \frac{dsin(x)}{dx} = \lim_{h \to 0}\frac{sin(x + h) - sin(x) }{h}
⇒\frac{dsin(x)}{dx} = \lim_{h \to 0}\frac{sin(x)cos(h) + sin(h)cos(x) - sin(x) }{h}
⇒\frac{dsin(x)}{dx} = \lim_{h \to 0}\frac{sin(x)(cos(h)-1) + sin(h)cos(x)}{h} \\ = \frac{dsin(x)}{dx} = \lim_{h \to 0}\frac{sin(x)(cos(h)-1)}{h}+ \lim_{h \to 0}\frac{sin(h)cos(x)}{h} \\ = \frac{dsin(x)}{dx} = sin(x)\lim_{h \to 0}\frac{(cos(h)-1)}{h}+ cos(x)\lim_{h \to 0}\frac{sin(h)}{h} \\
Using the limit identities described above,
⇒\frac{d(sin(x))}{dx} = cos(x)
Proving the derivative for cosine function \frac{d(cos(x))}{dx} = -sin(x)
Using the previously mentioned definition of the derivatives
\frac{df(x)}{dx} = \lim_{h \to 0}\frac{f(x + h) - f(x) }{h}
⇒\frac{df(x)}{dx} = \lim_{h \to 0}\frac{cos(x + h) - cos(x) }{h}
⇒\frac{df(x)}{dx} = \lim_{h \to 0}\frac{cos(x)cos(h) - sin(x)sin(h) - cos(x) }{h}
⇒\frac{df(x)}{dx} = \lim_{h \to 0}\frac{cos(x)(cos(h) -1) -sin(x)sin(h)}{h}
⇒\frac{df(x)}{dx} = cos(x)\lim_{h \to 0}\frac{(cos(h) -1)}{h} -sin(x)\lim_{h \to 0}\frac{sin(h)}{h}
Using the limit identities described above,
⇒\frac{d(sin(x))}{dx} = -sin(x)
Proving the derivative for tangent function \frac{d(tan(x))}{dx} = sec^2(x)
Now that we have the derivatives for the sine and cosine functions. Derivatives of other functions can be calculated simply through Quotient and product rules.
Quotient rule says, for a function f(x) = \frac{h(x)}{g(x)}, the derivative of this function is given by,
f'(x) = \frac{h(x)g'(x) - g(x)h'(x)}{(g(x))^2}
In this case tan(x) = \frac{sin(x)}{cos(x)}
Thus, h(x) = sin(x) and g(x) = cos(x).
f'(x) = \frac{cos(x)\frac{dsin(x)}{dx} - sin(x)\frac{dcos(x)}{dx} }{(cos(x))^2}
⇒f'(x) = \frac{cos(x)cos(x) + sin(x)sin(x) }{(cos(x))^2}
⇒f'(x) = \frac{1 }{(cos(x))^2}
⇒\frac{d(tan(x))}{dx} = sec^2(x)
Proving the derivative for secant function \frac{d(sec(x))}{dx} = sec(x)tan(x)
This can be proved easily through chain rule,
\frac{d(sec(x))}{dx} = \frac{d(\frac{1}{cos(x)})}{dx}
⇒\frac{d(sec(x))}{dx} = \frac{-1}{cos^2(x)}\frac{d(cos(x))}{dx}
⇒\frac{d(sec(x))}{dx} = \frac{1}{cos^2(x)}sin(x)
⇒\frac{d(sec(x))}{dx} = sec(x)tan(x)
Proving the derivative for co-secant function \frac{d(cosec(x))}{dx} = -cosec(x)cot(x)
This can be proved easily through chain rule,
\frac{d(cosec(x))}{dx} = \frac{d(\frac{1}{sin(x)})}{dx}
⇒\frac{d(cosec(x))}{dx} = \frac{-1}{sin^2(x)}\frac{d(sin(x))}{dx}
⇒\frac{d(cosec(x))}{dx} = \frac{-1}{sin^2(x)}cos(x)
⇒\frac{d(cosec(x))}{dx} = -cosec(x)cot(x)
Proof of Product Rule
There are different ways to prove the product rule which includes definition of the derivative and logarithmic differentiation, lets look at the latter way,
y= (f(x)g(x))' = f'(x)g(x)+ f(x)g'(x)
This can easily be proved by taking the natural log,
ln y'= ln{(f(x)g(x))'} = lnf'(x) + lng'(x)
y'/y= f'(x)/f(x)+ g'(x)/g(x)
y'=y[\frac{f'(x)g(x)+ g'(x)f(x)}{f(x)g(x)}]\\ y'=f(x)g(x)[\frac{f'(x)g(x)+ g'(x)f(x)}{f(x)g(x)}]\\ y'= f'(x)g(x)+ g'(x)f(x)
Hence, proved.
Derivatives of Trigonometric Functions - Sample Problems
Question 1: Find the derivative for the function f(x) at x = 0.
f(x) = sin2(x)
Solution:
This derivative is the combination of power rule and chain rule.
f'(x) = \frac{dsin^2x}{dx}
⇒f'(x) = 2sin(x)\frac{dsinx}{dx}
Using the previous results for the derivative of sin(x).
⇒f'(x) = 2sin(x)cos(x)
At x = 0
f'(x) = 0
Question 2: Find the derivative for the function f(x) at x = 0.
f(x) = 5sec(x) + 2cos(x)
Solution:
This derivative is simple
f'(x) = \frac{d(5sec(x) + 2cos(x))}{dx}
⇒f'(x) = \frac{d(5sec(x))}{dx} + \frac{d(2cos(x))}{dx}
Using the previous results for the derivative of sin(x).
⇒f'(x) = 5sec(x)tan(x) - 2sin(x).
at x = 0
f'(x) = 0
Question 3: Find the derivative for the function f(x) at x = 1. f(x) = x2 + x4
Solution:
This derivative is simple application of power rule
f'(x) = \frac{d(x^2 + x^4)}{dx}
⇒f'(x) = \frac{d(x^2)}{dx} + \frac{d(x^4)}{dx}
Using the previous results for the derivative of sin(x).
⇒f'(x) = 2x + 4x3
At x = 1
f'(x) = 6
Question 4: Find the derivative for the function f(x).
f(x) = \frac{e^x + 1}{x}
Solution:
This derivative is simple application of quotient rule.
Quotient rule says, for a function f(x) = \frac{h(x)}{g(x)}, the derivative of this function is given by,
f'(x) = \frac{h(x)g'(x) - g(x)h'(x)}{(g(x))^2}
Here h(x) = ex + 1 and g(x) = x
f'(x) = \frac{x\frac{d(e^x + 1)}{dx} - (e^x + 1)\frac{dx}{dx}}{x^2}
⇒f'(x) = \frac{xe^x - (e^x + 1)}{x^2}
Question 5: Use the Product rule to differentiate the given function,
y = 5xsinx + 4x2cosx
Solution:
Differentiating using Product Rule,
y'= 5sinx + 5xcosx + 8xcosx - 4x2sinx
y'= 5sinx + 13xcosx - 4x2sinx
Practice Problems on Derivatives of Trigonometric Functions
1. Find the derivative of f(x) = 3sin(2x) + 4cos(x).
2. Differentiate g(x) = tan(x²) using the chain rule.
3. Find the derivative of h(x) = x · sin(x) using the product rule.
4. Determine the derivative of f(x) = sec(3x) - csc(x).
5. Calculate the second derivative of g(x) = cos(2x).
Summary
Derivatives of trigonometric functions are fundamental in calculus and have wide-ranging applications in physics, engineering, and other sciences. The basic derivatives are: d/dx(sin x) = cos x, d/dx(cos x) = -sin x, d/dx(tan x) = sec² x, d/dx(cot x) = -csc² x, d/dx(sec x) = sec x tan x, and d/dx(csc x) = -csc x cot x. These can be combined with other differentiation rules like the chain rule, product rule, and quotient rule to handle more complex trigonometric expressions. Understanding these derivatives is crucial for analyzing periodic phenomena, wave motion, and oscillations in various fields.
Similar Reads
Chapter 1: Sets
Representation of a SetSets are defined as collections of well-defined data. In Math, a Set is a tool that helps to classify and collect data belonging to the same category. Even though the elements used in sets are all different from each other, they are all similar as they belong to one group. For instance, a set of dif
8 min read
Types Of SetsIn mathematics, a set is defined as a well-defined collection of distinct elements that share a common property. These elementsâ like numbers, letters, or even other sets are listed in curly brackets "{ }" and represented by capital letters. For example, a set can include days of the week. The diffe
13 min read
Universal SetsUniversal Set is a set that has all the elements associated with a given set, without any repetition. Suppose we have two sets P = {1, 3, 5} and Q = {2, 4, 6} then the universal set of P and Q is U = {1, 2, 3, 4, 5, 6}. We generally use U to denote universal sets. Universal Set is a type of set that
6 min read
Venn DiagramVenn diagrams are visual tools used to show relationships between different sets. They use overlapping circles to represent how sets intersect, share elements, or stay separate. These diagrams help categorize items, making it easier to understand similarities and differences. In mathematics, Venn di
14 min read
Operations on SetsSets are fundamental in mathematics and are collections of distinct objects, considered as a whole. In this article, we will explore the basic operations you can perform on sets, such as union, intersection, difference, and complement. These operations help us understand how sets interact with each
15+ min read
Union of SetsUnion of two sets means finding a set containing all the values in both sets. It is denoted using the symbol 'âª' and is read as the union. Example 1:If A = {1, 3. 5. 7} and B = {1, 2, 3} then AâªB is read as A union B and its value is,AâªB = {1, 2, 3, 5, 7}Example 2:If A = {1, 3. 5.7} and B = {2, 4} t
12 min read
Chapter 2: Relations & Functions
Chapter 3: Trigonometric Functions
Chapter 4: Principle of Mathematical Induction
Chapter 5: Complex Numbers and Quadratic Equations
Complex NumbersComplex numbers are an essential concept in mathematics, extending the idea of numbers to include solutions for equations that don't have real solutions. Complex numbers have applications in many scientific research areas, signal processing, electromagnetism, fluid dynamics, quantum mechanics, and v
12 min read
Algebraic Operations on Complex NumbersA complex number is a number that includes both a real and an imaginary part. It is written in the form:z = a + biWhere:a is the real part,b is the imaginary part,i is the imaginary unit, satisfying i2 = â1.Algebraic operations on complex numbers follow specific rules based on their real and imagina
7 min read
Absolute Value of a Complex NumberThe absolute value (also called the modulus) of a complex number z = a + bi is its distance from the origin in the complex plane. The absolute value tells you how far a number is from zero, regardless of its direction (positive or negative).It is denoted as â£z⣠and is given by the formula:|z| = \sqr
7 min read
Conjugate of Complex NumbersIn the world of mathematics, complex numbers are one of the most important discoveries by mathematicians as they help us solve many real-life problems in various fields such as the study of electromagnetic waves, engineering, and physics.The Conjugate of a Complex Number is also a complex number obt
6 min read
Polar Representation of Complex NumbersComplex numbers, which take the form z = x + yi, can also be represented in a way that highlights their geometric properties. This alternative representation is known as the polar form. The polar representation of a complex number expresses it in terms of its magnitude (modulus) and direction (argum
9 min read
Imaginary NumbersImaginary numbers are numbers as the name suggests are the number that is not real numbers. All the numbers real and imaginary come under the categories of complex numbers. Imaginary numbers are very useful in solving quadratic equations and other equations whose solutions can not easily be found us
9 min read
Chapter 6: Linear Inequalities
Compound InequalitiesCompound Inequalities are the combination of two or more inequalities. These inequalities are combined using two conditions that are AND, and OR. These conditions have specific meanings and they are solved differently. The inequities in compound inequalities are individually solved using normal rule
10 min read
Algebraic Solutions of Linear Inequalities in One VariableA linear inequality is a mathematical expression involving an inequality symbol (<, >, â¤, or â¥) and a linear expression. Unlike linear equations, which give a specific solution, linear inequalities define a range of possible solutions.Example: 2x+3>5 In this case, the inequality indicates t
8 min read
Graphical Solution of Linear Inequalities in Two VariablesWe know how to formulate equations of different degree, and it is used a lot in real life, but the question arises, is it always possible to convert a situation into an equation? Sometimes we get statements like, the number of Covid cases per day in Delhi has reached more than 10,000. This phrase âL
8 min read
Solving Linear Inequalities Word ProblemsWe are well versed with equations in multiple variables. Linear Equations represent a point in a single dimension, a line in a two-dimensional, and a plane in a three-dimensional world. Solutions to linear inequalities represent a region of the Cartesian plane. It becomes essential for us to know ho
10 min read
Chapter 7: Permutations and Combinations
Chapter 8: Binomial Theorem
Chapter 9: Sequences and Series
Sequences and SeriesA sequence is an ordered list of numbers following a specific rule. Each number in a sequence is called a "term." The order in which terms are arranged is crucial, as each term has a specific position, often denoted as anâ, where n indicates the position in the sequence.For example:2, 5, 8, 11, 14,
10 min read
Arithmetic SeriesAn arithmetic series is the sum of the terms of an arithmetic sequence, where an arithmetic sequence is a sequence of numbers in which the difference between consecutive terms is constant. Or we can say that an arithmetic progression can be defined as a sequence of numbers in which for every pair of
5 min read
Arithmetic SequenceAn arithmetic sequence or progression is defined as a sequence of numbers in which the difference between one term and the next term remains constant.For example: the given below sequence has a common difference of 1.1 2 3 4 5 . . . n â â â â â . . . 1st 2nd 3rd 4th 5th . . . nth TermsThe Arithmetic
8 min read
Geometric Progression or GPGeometric Progression (GP) is a sequence of numbers where each term after the first is found by multiplying the previous term by a constant called the common ratio.For Example, the sequence given below forms a GP with a common ratio of 2 1 2 4 8 16 . . . nâ â â â â . . . 1st 2nd 3rd 4th 5th . . . nt
12 min read
Geometric SeriesIn a Geometric Series, every next term is the multiplication of its Previous term by a certain constant, and depending upon the value of the constant, the Series may increase or decrease.Geometric Sequence is given as: a, ar, ar2, ar3, ar4,..... {Infinite Sequence}a, ar, ar2, ar3, ar4, ....... arn {
3 min read
Special Series in Maths - Sequences and Series | Class 11 MathsSpecial Series: A series can be defined as the sum of all the numbers of the given sequence. The sequences are finite as well as infinite. In the same way, the series can also be finite or infinite. For example, consider a sequence as 1, 3, 5, 7, ⦠Then the series of these terms will be 1 + 3 + 5 +
10 min read
Arithmetic Progression and Geometric ProgressionArithmetic Progression and Geometric Progression: The word "sequence" in English means a collection of some numbers or objects in such a way that it has a first member, a second member, and so on. Sequences can be of anything, for example. - January, February, .... is the sequence of months in a yea
10 min read
Chapter 10: Straight Lines
Slope of a LineSlope of a Line is the measure of the steepness of a line, a surface, or a curve, whichever is the point of consideration. The slope of a Line is a fundamental concept in the stream of calculus or coordinate geometry, or we can say the slope of a line is fundamental to the complete mathematics subje
12 min read
Introduction to Two-Variable Linear Equations in Straight LinesLines are the most basic configuration in geometry. Many other geometrical shapes can be obtained from lines. Lines are referred 1-Dimensional. We can obtain higher dimensional shapes using lines. Let's understand the lines in depth. Let's say, we have two sets as follows, x = {1, 2, 3, 4, 5, 6, 7}
6 min read
Forms of Two-Variable Linear Equations - Straight Lines | Class 11 MathsLine is the simplest geometrical shape. It has no endpoints and extends in both directions till infinity. The word âstraightâ simply means without âbendâ. The gradient between any two point on the line is same. Hence, we can say that, if the gradient between any two points on the line is same, then
5 min read
Point-slope Form - Straight Lines | Class 11 MathsThere are several forms to represent the equation of a straight line on the two-dimensional coordinate plane. Three major of them are point-slope form, slope-intercept form, and general or standard form. The point-slope form includes the slope of the straight line and a point on the line as the name
9 min read
X and Y InterceptThe x-intercept is the point at which the graph crosses the x-axis. At this point, the y-coordinate is zero. The y-intercept is the point at which the graph crosses the y-axis. At this point, the x-coordinate is zero. In this article, we will explore the definition of intercepts including both x and
9 min read
Slope Intercept FormThe slope-intercept formula is one of the formulas used to find the equation of a line. The slope-intercept formula of a line with slope m and y-intercept b is, y = mx + b. Here (x, y) is any point on the line. It represents a straight line that cuts both axes. Slope intercept form of the equation i
9 min read
Writing Slope-Intercept EquationsStraight-line equations, also known as "linear" equations, have simple variable expressions with no exponents and graph as straight lines. A straight-line equation is one that has only two variables: x and y, rather than variables like y2 or âx. Because it contains information about these two proper
10 min read
Graphing Slope-Intercept Equations - Straight Lines | Class 11 MathsTo graph a straight line we need at least two points that lie on the straight line. From the slope-intercept form of the given straight line, we can calculate two points on the line very easily using the information present in the equation. Consider a straight line with slope m and y-intercept c. We
7 min read
Standard Form of a Straight LineThere are several forms available to represent the equation of a straight line on the 2-dimensional coordinate plane, out of several forms three major forms are point-slope form, slope-intercept form, and general or standard form. The general or standard form is a linear equation where the degree of
11 min read