Derivative of cos x: Complete Rules, Proofs, and Worked Examples
The derivative of cos x with respect to x is -sin x when the angle is measured in radians. According to sources like derivativecalculus.com, this fundamental rule represents the rate of change of the cosine function and the slope of its tangent line at any given point.
Step-by-step solver·Exact symbolic engine
Interactive Calculus Problem Solver
Derivatives, antiderivatives, definite and improper integrals, and limits. Every answer comes with the rules used, and antiderivatives are verified by differentiating them back.
Input syntax
- Powers
x^2, rootssqrt(x),cbrt(x), absolute value|x| - Implicit multiplication works:
3x sin(2x) sin cos tan sec csc cot,asin acos atan,sinh cosh tanhe^xorexp(x);ln(x)is the natural log. In this solverlog(x)also means the natural log (the usual calculus convention); typelog10(x)for base 10- Constants
piande; bounds acceptinfand-inf

Use our Derivative Calculator to get the answer instantly.
What is the derivative of cos x
The derivative of cos x is equal to negative sine of x, written mathematically as d/dx[cos x] = -sin x. This negative sign appears because the cosine curve starts at its maximum value of one at the origin and immediately downward as x increases.

How to find derivative of cos x using limit definition
You can find the derivative of cos x from first principles by applying the limit definition of a derivative. Setting up the difference quotient for f(x) = cos x gives the limit as h approaches zero of [cos(x + h) – cos x] divided by h.
You expand cos(x + h) using the angle addition trigonometric identity: cos x cos h – sin x sin h. Substituting this expansion back into your numerator yields [cos x cos h – sin x sin h – cos x] \/ h.
You rearrange the terms to isolate cos x and sin x: [cos x (cos h – 1) / h] – [sin x (sin h / h)]. Then you evaluate the standard limits as h approaches zero: (cos h – 1) \/ h approaches zero, and (sin h \/ h) approaches one. Such limits leave you with -sin x.

Why is derivative of cos x negative
The derivative of cos x is negative because the slope of the cosine graph is negative immediately after the y-intercept. When you look at the curve at x equals zero, the tangent line is horizontal, which yields a zero rate of change. [opentextbooks.clemson.edu]

Derivative of cos x squared
The derivative of cos x squared, meaning the derivative of (cos x)^2, requires the chain rule. You multiply 2 cos x by the inner derivative of cos x, which gives -2 sin x cos x. You simplify this expression to -sin(2x) using double angle trigonometric identities.
If you need the derivative of cos(x^2) instead, you apply the chain rule to the squared angle. You differentiate the outer cosine function to get -sin(x^2), and you multiply it by the derivative of the inner term x^2, resulting in -2x sin(x^2).

Derivative of cos x/2
Next, find the derivative of cos(x/2) by applying the chain rule to the fraction inside the argument. Differentiating the outer cosine function gives -sin(x/2), and multiplying by the derivative of the inner term x/2 yields 1/2. The final result is -(1/2) sin(x/2).
Derivative of cos x tan x
You calculate the derivative of the product cos x tan x by applying the product rule. You first rewrite tan x as sin x / cos x, which simplifies the function to just sin x. You take the derivative of sin x, which yields cos x. Alternatively, if you apply the product rule directly to cos x * tan x, you get (-sin x)(tan x) + (cos x)(sec^2 x), which simplifies algebraically to cos x.

Derivative of cos x / sin^2 x
You evaluate the derivative of cos x / sin^2 x by using the quotient rule or by rewriting the expression using negative exponents and trigonometric identities. Using the quotient rule, you take the denominator times the derivative of the numerator minus the numerator times the derivative of the denominator, all divided by the denominator squared.
Derivative of cos xy with respect to x
The derivative of cos xy with respect to x requires implicit differentiation, treating y as a function of x and applying the product rule to the inner term xy. According to differential calculus rules, differentiating cos(xy) gives -sin(xy) multiplied by the derivative of xy, which is y + x(dy/dx). You distribute -sin(xy) to get -y sin(xy) – x sin(xy) (dy/dx).

Derivative of cos x and sin x comparison
Comparing the derivatives of sine and cosine highlights the cyclic nature of trigonometric functions. The derivative of sin x is cos x, while the derivative of cos x is -sin x. Taking successive derivatives of either function cycles through four distinct states: sine, cosine, negative sine, and negative cosine.
Frequently asked questions
What is the derivative of cos x in degrees?
If the angle x is measured in degrees instead of radians, the derivative of cos(x°) is -(π/180) sin(x°) due to the conversion factor required for angle measurements.
Why is the derivative of sin x equal to cos x?
The derivative of sin x equals cos x because the sine wave begins at zero and increases upward with a positive slope at the origin.
What happens at the peaks and troughs of the cosine wave?
The derivative of cos x is zero at the peaks and troughs of the cosine wave. This happens because the tangent line is completely horizontal at those points.
Who does this derivative rule not suit?
This rule does not apply directly if your angle is measured in degrees rather than radians without including the necessary pi-over-180 conversion factor.
Sources
Calculators for this topic
Keep learning
Derivative of e^x: Rules, Examples, and Common Mistakes
The derivative of e^x is e^x itself, a unique property where the function’s rate of change equals its value. This article explains why and provides practical examples.
Derivative of 1/x: Step-by-Step Power and Quotient Rule Explained
The derivative of 1/x is -1/x² for all x ≠ 0. You can derive this result efficiently using the power rule or through the more comprehensive quotient rule.

