Tutorials › Calculus I › Choosing Between Product and Quotient Rules

Trigonometric Derivatives · Tutorial 521 of 1495

Choosing Between Product and Quotient Rules

Distinguish products from quotients in trigonometric expressions, choose a valid differentiation route, and check the result using identities.

Intermediate 9 min read

What You'll Learn

  • Identify products and quotients even when an expression has been rewritten in another form.
  • State the conditions for using the product and quotient rules.
  • Differentiate products and quotients of sine and cosine step by step.
  • Simplify derivative formulas using trigonometric identities.
  • Check that an alternative algebraic form gives the same derivative.
  • Avoid common errors with quotient-rule signs and denominators.

Recognizing the Structure Before Differentiating

A trigonometric expression can contain familiar functions in several different arrangements. In \(\sin x\cos x\), two functions are multiplied. In \(\frac{\sin x}{\cos x}\), one function is divided by another. These structures call for different differentiation rules, even though identities can sometimes rewrite one expression in another form.

The useful first step is to read the expression as it is written: identify its numerator and denominator, or identify its factors. Then apply a rule that matches that structure. After differentiating, trigonometric identities can help simplify the result or check that two different approaches agree.

Key idea: Use the product rule for a product of differentiable functions and the quotient rule for a quotient whose denominator is nonzero. An algebraic identity may provide another route, but it does not remove the need to check the expression’s domain.

Throughout this tutorial, \(x\) is measured in radians. We use the standard derivatives \((\sin x)'=\cos x\) and \((\cos x)'=-\sin x\), together with the reciprocal trigonometric derivatives established in the earlier material.

The Product Rule

Product rule: If \(u\) and \(v\) are differentiable at \(x\), then $$ \frac{d}{dx}\bigl(u(x)v(x)\bigr)=u'(x)v(x)+u(x)v'(x). $$ Both terms are needed: differentiate the first factor while keeping the second, then keep the first factor while differentiating the second.

For example, in \(\sin x\cos x\), take \(u(x)=\sin x\) and \(v(x)=\cos x\). The rule gives \(\cos x\cos x+\sin x(-\sin x)\). It does not give just the derivative of one factor times the other.

The Quotient Rule

Quotient rule: If \(u\) and \(v\) are differentiable at \(x\), and \(v(x)\ne 0\), then $$ \frac{d}{dx}\left(\frac{u(x)}{v(x)}\right) = \frac{u'(x)v(x)-u(x)v'(x)}{[v(x)]^2}. $$ The order in the numerator is “derivative of the top times the bottom, minus the top times the derivative of the bottom.” The entire denominator is squared.

The condition \(v(x)\ne 0\) matters: the quotient is not defined where its denominator is zero. A simplified expression for a derivative must still be understood on the domain where the original function is defined.

Why the Rules Work

The rules follow from the definition of a derivative. For the product, consider differentiable functions \(u\) and \(v\) at a point \(a\). Add and subtract \(u(x)v(a)\) in the difference quotient. For \(x\ne a\),

$$ \frac{u(x)v(x)-u(a)v(a)}{x-a} = u(x)\frac{v(x)-v(a)}{x-a} + v(a)\frac{u(x)-u(a)}{x-a}. $$

As \(x\) approaches \(a\), differentiability implies continuity, so \(u(x)\) approaches \(u(a)\). The two difference quotients approach \(v'(a)\) and \(u'(a)\), respectively. Therefore the limit is \(u(a)v'(a)+v(a)u'(a)\), which is the product rule.

For the quotient, suppose \(v(a)\ne0\). Since \(v\) is continuous at \(a\), it remains nonzero for \(x\) sufficiently close to \(a\), so the nearby quotient is defined. Its difference quotient can be rearranged as

$$ \frac{\dfrac{u(x)}{v(x)}-\dfrac{u(a)}{v(a)}}{x-a} = \frac{ v(a)\dfrac{u(x)-u(a)}{x-a} - u(a)\dfrac{v(x)-v(a)}{x-a} }{ v(x)v(a) }. $$

Taking the limit as \(x\) approaches \(a\), the numerator approaches \(v(a)u'(a)-u(a)v'(a)\), and the denominator approaches \(v(a)^2\). This gives the quotient rule, including its minus sign and squared denominator.

Worked Example: A Product of Sine and Cosine

Worked Example: A Product of Sine and Cosine

Differentiate \(f(x)=\sin x\cos x\). The expression is a product, so let \(u(x)=\sin x\) and \(v(x)=\cos x\). Their derivatives are \(u'(x)=\cos x\) and \(v'(x)=-\sin x\).

$$ \begin{aligned} f'(x) &=u'(x)v(x)+u(x)v'(x)\\ &=(\cos x)(\cos x)+(\sin x)(-\sin x)\\ &=\cos^2 x-\sin^2 x. \end{aligned} $$

The double-angle identity \(\cos(2x)=\cos^2 x-\sin^2 x\) gives the equivalent form \(f'(x)=\cos(2x)\). Check at \(x=\frac{\pi}{3}\): the first form gives \(\frac14-\frac34=-\frac12\), while the second gives \(\cos(\frac{2\pi}{3})=-\frac12\). The forms agree.

An Expression Can Have More Than One Useful Form

Sometimes an identity lets us choose between a quotient and a product. For instance, where \(\cos x\ne0\), \(\frac{\sin x}{\cos x}=\sin x\sec x\). The quotient rule applies directly to the first form; the product rule applies to the second. If both calculations are correct, they must agree wherever the original expression is defined.

Worked Example: Differentiate a Sine-Cosine Quotient in Two Ways

Let \(f(x)=\frac{\sin x}{\cos x}\), with \(\cos x\ne0\). First use the quotient rule, taking \(u(x)=\sin x\) and \(v(x)=\cos x\):

$$ \begin{aligned} f'(x) &=\frac{(\cos x)(\cos x)-(\sin x)(-\sin x)}{\cos^2 x}\\ &=\frac{\cos^2 x+\sin^2 x}{\cos^2 x}\\ &=\frac{1}{\cos^2 x}\\ &=\sec^2 x. \end{aligned} $$

Now use the identity \(f(x)=\sin x\sec x\). The product rule, with \((\sec x)'=\sec x\tan x\), gives

$$ \begin{aligned} f'(x) &=(\cos x)(\sec x)+(\sin x)(\sec x\tan x)\\ &=1+\frac{\sin^2 x}{\cos^2 x}\\ &=\frac{\cos^2 x+\sin^2 x}{\cos^2 x}\\ &=\sec^2 x. \end{aligned} $$

The two results agree by \(\sin^2 x+\cos^2 x=1\). As a numerical check at \(x=\frac{\pi}{4}\), \(\sec^2(\frac{\pi}{4})=2\). In the quotient calculation the numerator is \(\frac12+\frac12=1\), and the denominator is \(\frac12\), so the result is also \(2\). Both forms are valid only where \(\cos x\ne0\).

Worked Example: A Quotient with a Trigonometric Sum

Worked Example: A Quotient with a Trigonometric Sum

Differentiate \(g(x)=\frac{\sin x}{1+\cos x}\). The denominator must be nonzero, so the domain excludes points where \(1+\cos x=0\). Set \(u(x)=\sin x\), \(v(x)=1+\cos x\), \(u'(x)=\cos x\), and \(v'(x)=-\sin x\). Apply the quotient rule:

$$ \begin{aligned} g'(x) &=\frac{(\cos x)(1+\cos x)-(\sin x)(-\sin x)} {(1+\cos x)^2}\\ &=\frac{\cos x+\cos^2 x+\sin^2 x} {(1+\cos x)^2}\\ &=\frac{1+\cos x}{(1+\cos x)^2}\\ &=\frac{1}{1+\cos x}. \end{aligned} $$

The simplification uses \(\cos^2 x+\sin^2 x=1\), and the last cancellation is valid because \(1+\cos x\ne0\) on the domain. Check at \(x=\frac{\pi}{3}\). The unsimplified numerator is \(\frac34+\frac34=\frac32\), and the denominator is \((\frac32)^2=\frac94\), giving \(\frac32\div\frac94=\frac23\). The simplified derivative is \(\frac{1}{1+\frac12}=\frac23\), as required.

Choosing a Rule and Checking the Result

When you face a trigonometric expression, use its structure to guide the calculation. The following process helps keep the rule, signs, and domain aligned.

1
Identify the structure.
Look for multiplication between factors or a numerator divided by a denominator. Do not confuse a product with a quotient merely because both contain two functions.
2
Record the domain condition.
For a quotient, note where the denominator is nonzero before simplifying. This prevents an algebraic cancellation from obscuring a point where the original function was undefined.
3
Apply the matching rule.
For a product, include both product-rule terms. For a quotient, preserve the numerator order and square the full denominator.
4
Simplify and check.
Use identities such as \(\sin^2 x+\cos^2 x=1\) to compare equivalent forms. If useful, substitute a permitted special angle to check the arithmetic.

There is not always a single best-looking form. A product may be convenient when the factors have simple derivatives; a quotient may be convenient when the quotient rule produces a recognizable identity. Rewriting first is optional, not a requirement. The important point is that the chosen form and differentiation rule must match.

A Common Quotient-Rule Mistake

A frequent error is to remember the correct numerator but forget to square the denominator. For \(f(x)=\frac{\sin x}{\cos x}\), an incorrect calculation is

$$ f'(x)\overset{\text{wrong}}{=} \frac{\cos^2 x+\sin^2 x}{\cos x} =\frac{1}{\cos x}. $$

The quotient rule requires \(\cos^2 x\) in the denominator, not \(\cos x\). The corrected calculation is

$$ f'(x) = \frac{\cos^2 x+\sin^2 x}{\cos^2 x} = \frac{1}{\cos^2 x} = \sec^2 x, \qquad \cos x\ne0. $$

The error is also exposed by checking \(x=\frac{\pi}{4}\): the incorrect answer is \(\sqrt{2}\), while the quotient-rule calculation gives \(2\). A check does not replace a correct derivation, but it can reveal a missing factor or an algebraic slip.

Summary

The product and quotient rules address different structures. A product \(u(x)v(x)\) differentiates to \(u'(x)v(x)+u(x)v'(x)\). A quotient \(\frac{u(x)}{v(x)}\), where \(v(x)\ne0\), differentiates to \(\frac{u'(x)v(x)-u(x)v'(x)}{[v(x)]^2}\). Trigonometric identities can simplify the result and show that different valid approaches agree, provided the original domain is respected.

Check Your Understanding

For each question, identify the relevant structure and state any domain restriction before simplifying.

  1. In \(\sin x\cos x\), which differentiation rule applies, and how many terms should appear?
  2. State the quotient rule and its condition on the denominator.
  3. Differentiate \(\frac{\cos x}{\sin x}\), where \(\sin x\ne0\), and simplify using a trigonometric identity.
  4. Why must the denominator remain squared in the quotient rule?
  5. Where is \(\frac{\sin x}{1+\cos x}\) undefined, and why does simplifying its derivative not change that domain?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon