Topics in this sectionDerivatives of Trigonometric Functions2 topics
- Derivatives of Sine, Cosine, and Tangent
- Derivatives of Secant, Cosecant, and Cotangent
When we differentiate a function, we are finding the rate at which it changes at any point. For the sine function, we can prove its derivative using the definition from first principles:
f′(x)=limh→0hf(x+h)−f(x)
Let us find the derivative of f(x) = sin x:
f′(x)=limh→0hsin(x+h)−sin(x)
Using the sine addition formula, sin(x + h) = sin x cos h + cos x sin h:
f′(x)=limh→0hsinxcosh+cosxsinh−sinx
f′(x)=limh→0[sinx⋅hcosh−1+cosx⋅hsinh]
Now we use two fundamental limits that you must remember:
limh→0hsinh=1andlimh→0hcosh−1=0
Applying these limits:
f′(x)=sinx⋅0+cosx⋅1=cosx
Therefore:
dxd(sinx)=cosx
We can prove the derivative of cosine using a similar method, or we can use the relationship between sine and cosine. Recall that cos x = sin(90° − x) or cos x = sin(π/2 − x) in radians.
Using the chain rule (which we will study shortly) or by similar first principles work, we obtain:
dxd(cosx)=−sinx
Notice the negative sign — this is important. The cosine function decreases as x increases, which is why its derivative is negative.
The tangent function is defined as tan x = sin x / cos x. To find its derivative, we use the quotient rule:
If f(x) = g(x)/h(x), then f'(x) = [g'(x)h(x) − g(x)h'(x)] / [h(x)]²
Let g(x) = sin x and h(x) = cos x:
dxd(tanx)=cos2xcosx⋅cosx−sinx⋅(−sinx)
dxd(tanx)=cos2xcos2x+sin2x
Using the Pythagorean identity sin²x + cos²x = 1:
dxd(tanx)=cos2x1=sec2x
Therefore:
dxd(tanx)=sec2x
The three remaining trigonometric functions are reciprocals of the ones we have already covered:
- cosecant: csc x = 1/sin x
- secant: sec x = 1/cos x
- cotangent: cot x = 1/tan x
Using the quotient rule or the reciprocal rule, we obtain:
dxd(cscx)=−cscxcotx
dxd(secx)=secxtanx
dxd(cotx)=−csc2x
| Function | Derivative |
|---|---|
| sin x | cos x |
| cos x | −sin x |
| tan x | sec² x |
| csc x | −csc x cot x |
| sec x | sec x tan x |
| cot x | −csc² x |
Notice the pattern: when the original function involves sine, its derivative involves cosine, and vice versa. Tangent and secant are paired together, as are cosecant and cotangent.
When we have a composite function like sin(2x) or cos(3x), we need the chain rule:
dxd[f(g(x))]=f′(g(x))⋅g′(x)
Example: Find the derivative of y = sin(3x)
Here, the outer function is sin(u) and the inner function is u = 3x.
- The derivative of the outer function is cos(u)
- The derivative of the inner function is 3
So:
dxdy=cos(3x)⋅3=3cos(3x)
Example: Find the derivative of y = tan(2x + 1)
dxdy=sec2(2x+1)⋅2=2sec2(2x+1)
Example 1: Differentiate y = sin x + cos x
dxdy=cosx−sinx
Example 2: Differentiate y = x² sin x
This is a product of x² and sin x, so we use the product rule:
dxdy=2x⋅sinx+x2⋅cosx
Example 3: Differentiate y = sin²x
Write sin²x as (sin x)². Using the chain rule:
dxdy=2sinx⋅cosx=sin2x
This result shows that the derivative of sin²x is sin(2x).
In engineering projects in South Sudan — such as designing water pumps for the Nile or constructing buildings in Juba — trigonometric derivatives describe how quantities that oscillate, like water wave heights or alternating electrical current, change over time. Electrical engineers working at the Kajo Keji or Juba power stations use the derivatives of sine and cosine functions to analyse AC (alternating current) circuits, where voltage and current vary sinusoidally. Understanding these derivatives helps engineers calculate peak voltages, frequencies, and phase differences to ensure generators and transformers operate safely and efficiently.
Question
What is the derivative of the function f(x)=sinx?
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet