asymptote
ShopSeason 1Sign in
Play
How to playFormulasFor teachersCreatorsJoin a class gameCalculus guidesBadges and levelsLeaderboardsDailyCurvePracticeShopGift a PassTip jarFounderPricing
/
You approach it and never arrive.

Asymptote is a free online calculus game: a calculus practice game for derivatives, limits and integrals, with typed answers and a live mode for class. Newest guide: Derivatives of Trig Functions: Table & Practice Problems.

Guides with practice problems: Chain rule · U-substitution · Implicit differentiation · Integration by parts · Product rule · Quotient rule · Power rule · L'Hôpital's rule · Related rates
SupportTermsPrivacyRefundsInstagramXPressMade with ♥ by the_calculusguy© Boolean Productions 2026

Blog · Calculus guides · 30 October 2026 · 4 min read

By the Asymptote team. Every answer on this page is checked by the same machine that grades the game.

Derivatives of Trig Functions: Table & Practice Problems

An illustration of Derivatives of trig functions

The six trig derivatives are dxd​sinx=cosx, dxd​cosx=−sinx, dxd​tanx=sec2x, dxd​cotx=−csc2x, dxd​secx=secxtanx and dxd​cscx=−cscxcotx. The three that start with "co" all have a minus sign. Inside anything other than plain x, multiply by the inside's derivative as well.

On this page

  • Formula
  • When to use it
  • Steps
  • Worked examples
  • Practice problems
  • Common mistakes
  • FAQ

The formula

dxd​sinx=cosxdxd​tanx=sec2xdxd​secx=secxtanx​dxd​cosx=−sinxdxd​cotx=−csc2xdxd​cscx=−cscxcotx​

Read across each row: the right-hand column is the left-hand one with every function swapped for its "co" partner and a minus sign stuck on the front. Six facts for the price of three.

When to use it

Use these any time a trig function needs differentiating, which in practice means they are rarely used alone. A coefficient just comes along for the ride, a product like xsecx needs the product rule, and sin of anything other than x needs the chain rule. The rules here only hold with x in radians: in degrees, every derivative picks up a factor of 180π​, which is one of many reasons calculus quietly assumes radians. You only truly need two of the six from memory, sine and cosine; the other four are quotients of them, so the quotient rule rebuilds any one you forget in about thirty seconds.

How to do it, step by step

  1. Learn sine and tangent cold. sin→cos and tan→sec2. Secant is secxtanx, the only one that comes out as a product.
  2. Get the other three by the "co" swap. Swap every function for its partner (sin and cos, tan and cot, sec and csc) and add a minus sign: tan→sec2 becomes cot→−csc2.
  3. Spot any product or composition. A trig function times something needs the product rule; a trig function of something needs the chain rule. So tan(5x) becomes 5sec2(5x), and xcosx becomes cosx−xsinx.
  4. Simplify at the end, not the start. Factor out common pieces such as secx once the differentiating is done.

Worked examples

Example 1: Three different functions

Easy

Differentiate:

y=4sinx+3tanx−cotx

A sum differentiates term by term, and a constant multiple just waits at the front while you differentiate what it multiplies. So this is three table lookups and some care with signs.

dxdy​=4cosx+3sec2x−(−csc2x)

The derivative of cotx is −csc2x, and subtracting a negative turns it positive. That double minus is exactly where these questions go wrong.

Answer

dxdy​=4cosx+3sec2x+csc2x

Example 2: Secant in a product

Medium

Differentiate:

y=xsecx

This is u=x times v=secx, so use the product rule u′v+uv′ with u′=1 and v′=secxtanx.

dxdy​=1⋅secx+x⋅secxtanx

If you like, factor out secx to get secx(1+xtanx). Both forms are the same answer, and both are accepted wherever answers are checked as maths rather than as strings.

If you would rather not memorize secxtanx, write secx=cosx1​ and use the chain rule: −cos2x1​⋅(−sinx)=cos2xsinx​, which is cosx1​⋅cosxsinx​. Same thing, rebuilt from scratch.

Answer

dxdy​=secx+xsecxtanx

Example 3: A logarithm that collapses

Harder

Differentiate:

y=ln(sec(x)+tan(x))

The outside is lnu, whose derivative is u1​. The inside is u=secx+tanx, whose derivative is secxtanx+sec2x.

dxdy​=secx+tanxsecxtanx+sec2x​

The top has a common factor of secx: it is secx(tanx+secx). The bracket matches the bottom exactly, so it cancels.

dxdy​=secx+tanxsecx(secx+tanx)​=secx

So a function that looked like it would need three rules at once differentiates to a single term. When an answer simplifies this dramatically, it is usually a sign the question was built backwards from it.

Which is why the integral of secx is ln∣secx+tanx∣+C: a fact nobody guesses and everybody eventually memorizes.

Answer

dxdy​=secx

Derivatives of trig functions practice problems

Three to try, easy to harder. Type an answer and it is checked instantly by the same checker that grades the game; any correct form counts. Stuck? The answer and the first step are under each one.

Problem 1

Easy

Differentiate:

y=3cosx−2secx

Stuck? Show the answer

Answer

−3sinx−2secxtanx

How to start

Term by term: cosx gives −sinx and secx gives secxtanx. Keep the coefficients and watch the signs.

Problem 2

Medium

Differentiate:

y=4sin(3x2−x)

Stuck? Show the answer

Answer

4(6x−1)cos(3x2−x)

How to start

Chain rule: sinu becomes cosu with the inside left alone, then multiply by the inside's derivative, 6x−1.

Problem 3

Harder

Differentiate, and simplify:

y=1+cosxsinx​

Stuck? Show the answer

Answer

1+cosx1​

How to start

Quotient rule. The top comes out as cosx(1+cosx)+sin2x; use sin2x+cos2x=1 and look for a factor that cancels with the bottom.

Want more? Asymptote has 1,060 more derivatives of trig functions problems, free, with no account.

Common mistakes

  • Losing the minus on cosine. dxd​cosx=−sinx. Going round the cycle sin→cos→−sin→−cos→sin helps: every second step changes sign.
  • Writing secx as the derivative of tanx. It is sec2x, squared. In the other direction, secx differentiates to secxtanx, not sec2x.
  • Dropping the chain rule. dxd​sin(3x)=3cos(3x), not cos(3x). In our answer data, plain standard derivatives like dxd​sinx are right 93% of the time; with a chain rule wrapped round them it drops to 90%.
  • Squaring the wrong thing. sin2x means (sinx)2, so its derivative is 2sinxcosx by the chain rule. It is not sin(x2), whose derivative is 2xcos(x2).
  • Working in degrees. All six formulas assume radians. A calculator left in degree mode will give answers that are wrong by a factor of 180π​.

Practice it now

Five minutes, no account

A Sprint can open with a trig derivative: single standard functions first, then sums of sin, cos, tan and sec, then trig of polynomials once the chain rule arrives. There are no cot or csc problems in the game yet, so the other three you will have to trust us on.

Play a SprintSee it on the formula sheet

FAQ

What is the derivative of cscx?
−cscxcotx. It is the "co" version of secx→secxtanx: swap each function for its partner and add a minus sign.
Why is the derivative of tanx equal to sec2x?
Write tanx=cosxsinx​ and use the quotient rule: the top becomes cos2x+sin2x=1, leaving cos2x1​=sec2x.
Which trig derivatives are negative?
The three co-functions: cosine, cotangent and cosecant. Sine, tangent and secant come out positive.
What is the second derivative of sinx?
−sinx. Sine and cosine cycle with period four: sinx→cosx→−sinx→−cosx→sinx. So the fourth derivative of sinx is sinx again, and the 100th is too.
Do trig derivatives work in degrees?
Not as written. The formula dxd​sinx=cosx relies on limx→0​xsinx​=1, which is only true in radians.
Where can I find derivatives of trig functions practice problems?
Right on this page: the practice problems section has three derivatives of trig functions problems, easy, medium and harder, with the answer and the first step under each one, and a box that checks what you type with the same checker that grades Asymptote. The game has 1,060 more derivatives of trig functions problems after that, free and with no account: try a five-minute Sprint.

Keep going

  • Chain Rule: Formula, 3 Examples & Practice Problems

    The chain rule: d/dx f(g(x)) = f'(g(x))·g'(x). Outside, then inside, in 4 steps. 3 worked examples and practice problems with answers, checked instantly.

  • Product Rule: Formula, 3 Examples & Practice Problems

    The product rule: (fg)' = f'g + fg'. When to use it, 4 steps, 3 step-by-step examples and practice problems with answers, checked instantly. Free.

  • Quotient Rule: Formula, 3 Examples & Practice Problems

    The quotient rule: (f/g)' = (f'g − fg')/g². Low d-high minus high d-low, 3 step-by-step examples and practice problems with answers, checked instantly.