# AP Calculus AB Quotient rule

> AP Calculus AB · Unit 2: Differentiation: Definition and Fundamental Properties
> Source: https://www.owlsprep.com/study/ap-calculus-ab-u2-quotient-rule/

This module covers the quotient rule for differentiating ratios of differentiable functions, including derivation, application to rational and trigonometric functions, tangent line problems, and common AP exam pitfalls.

**Prerequisites:** [Limit definition of the derivative](https://www.owlsprep.com/study/ap-calculus-ab-u2-derivative-definition/); Derivatives of basic power, trigonometric, and exponential functions; [Product rule for differentiation](https://www.owlsprep.com/study/ap-calculus-ab-u2-product-rule/)

## Learning objectives

- State the quotient rule formula for differentiating ratios of functions
- Apply the quotient rule to power, trigonometric, and exponential quotients
- Derive standard derivative formulas for reciprocal trigonometric functions
- Find equations of tangent and normal lines to quotient functions
- Avoid common AP exam pitfalls when applying the quotient rule

## Definition and Derivation of the Quotient Rule

The quotient rule is a formal differentiation rule that lets you find the derivative of a ratio of two differentiable functions, without returning to the limit definition every time. In AP Calculus AB, this topic is in Unit 2, which makes up 10–12% of your total exam score, appearing on both multiple-choice and free-response sections.

**Quotient Rule** — If both $g(x)$ and $h(x)$ are differentiable, then the derivative of $f(x)$ is given by: $f'(x) = \frac{g'(x)h(x) - g(x)h'(x)}{[h(x)]^2}$

*Notation:* For $f(x) = \frac{g(x)}{h(x)}$, where $h(x) \neq 0$

*Example:* For $f(x) = \frac{x^2}{x+1}$, $g(x) = x^2$, $h(x) = x+1$, so $f'(x) = \frac{2x(x+1) - x^2(1)}{(x+1)^2}$

**Derivation:** Derive the quotient rule from the product rule and chain rule

*Starting from:* We start with $f(x) = \frac{g(x)}{h(x)} = g(x) \cdot [h(x)]^{-1}$, where $g$ and $h$ are differentiable and $h(x) \neq 0$.

1. Apply the product rule, then the chain rule to the second term:

   $$f'(x) = g'(x) \cdot [h(x)]^{-1} + g(x) \cdot (-1)[h(x)]^{-2} h'(x)$$
2. Multiply through by $\frac{[h(x)]^2}{[h(x)]^2}$ to get a common denominator, resulting in the standard formula:

   $$f'(x) = \frac{g'(x) h(x) - g(x) h'(x)}{[h(x)]^2}$$

*Conclusion:* This derivation confirms the standard quotient rule formula that is used for all differentiation of ratios of functions.

> **Memory Hook**
>
> low d high minus high d low, over the square of what’s below. 'Low' refers to the denominator $h(x)$, 'high' refers to the numerator $g(x)$. This prevents the most common order error.

## Applying Quotient Rule to Rational Functions

The most basic application of the quotient rule is differentiating rational functions (ratios of polynomials). Always identify the numerator and denominator clearly, compute their derivatives separately, then substitute into the quotient rule formula before simplifying.

**Worked example:** Use the quotient rule to find the derivative of $f(x) = \frac{3x^2 + 2x}{x - 4}$

1. Identify the numerator (high) and denominator (low):

   $$g(x) = 3x^2 + 2x, \quad h(x) = x - 4$$
2. Compute derivatives of each function:

   $$g'(x) = 6x + 2, \quad h'(x) = 1$$
3. Substitute into the quotient rule formula:

   $$f'(x) = \frac{(6x + 2)(x - 4) - (3x^2 + 2x)(1)}{(x - 4)^2}$$
4. Expand the numerator and combine like terms:

   $$(6x^2 - 24x + 2x - 8) - 3x^2 - 2x = 3x^2 - 24x - 8$$
5. Final simplified derivative:

   $$f'(x) = \frac{3x^2 - 24x - 8}{(x - 4)^2}$$

> **tip**
>
> When simplifying the numerator, expand all products first before combining like terms. This reduces the chance of sign errors, a common source of AP exam point deductions.

**Check your understanding**

Test your understanding of the quotient rule formula

1. Which of the following is the correct derivative of $f(x) = \frac{\sin(x)}{2x^2 + 1}$?

   - $\frac{\cos(x)(2x^2 + 1) - \sin(x)(4x)}{(2x^2 + 1)}$
   - $\frac{\cos(x)(2x^2 + 1) + \sin(x)(4x)}{(2x^2 + 1)^2}$
   - $\frac{\cos(x)(2x^2 + 1) - 4x \sin(x)}{(2x^2 + 1)^2}$
   - $\frac{\sin(x)(2x^2 + 1) - \cos(x)(4x)}{(2x^2 + 1)^2}$

   *Answer:* $\frac{\cos(x)(2x^2 + 1) - 4x \sin(x)}{(2x^2 + 1)^2}$

   *Why:* Correct! All terms match the quotient rule formula. Option A misses the square on the denominator, B has the wrong sign, and D swaps the order of terms in the numerator.

## Quotient Rule for Trigonometric Functions

A core AP exam application of the quotient rule is deriving derivatives of tangent, cotangent, secant, and cosecant, which are all quotients of sine and cosine. The AP exam occasionally asks for a full derivation in a free-response question, so you must show all steps, not just recall the final result.

**Worked example:** Use the quotient rule to find the derivative of $y = \sec(x)$, then simplify to standard trigonometric form

1. Rewrite secant as an explicit quotient, identify numerator and denominator:

   $$y = \sec(x) = \frac{1}{\cos(x)} \\ g(x) = 1, \quad h(x) = \cos(x)$$
2. Compute derivatives:

   $$g'(x) = 0, \quad h'(x) = -\sin(x)$$
3. Apply the quotient rule formula:

   $$y' = \frac{g'(x)h(x) - g(x)h'(x)}{[h(x)]^2} = \frac{(0)(\cos(x)) - (1)(-\sin(x))}{\cos^2(x)}$$
4. Simplify the numerator:

   $$y' = \frac{\sin(x)}{\cos^2(x)}$$
5. Rewrite in standard form using trigonometric definitions:

   $$\frac{\sin(x)}{\cos^2(x)} = \frac{\sin(x)}{\cos(x)} \cdot \frac{1}{\cos(x)} = \tan(x) \sec(x)$$

> **tip**
>
> Always rewrite reciprocal trigonometric functions as an explicit quotient before applying the quotient rule to avoid misidentifying numerator and denominator.

## Applied Problems: Tangent and Normal Lines

One of the most common applied quotient rule problems on the AP exam is finding the equation of a tangent or normal line to a quotient function. This combines multiple Unit 2 skills, following this standard process:

1. Differentiate $f(x)$ using the quotient rule to get $f'(x)$
2. Evaluate $f'(a)$ to get the slope of the tangent at $x=a$
3. Calculate $f(a)$ to get the point $(a, f(a))$
4. Write the tangent line using point-slope form $y - f(a) = f'(a)(x-a)$; for a normal line, use slope $-\frac{1}{f'(a)}$

**Worked example:** Write the equation of the line tangent to $f(x) = \frac{e^x}{x^2 + 1}$ at $x=1$

1. Identify $g(x), h(x)$ and their derivatives:

   $$g(x) = e^x, \quad h(x) = x^2 + 1 \\ g'(x) = e^x, \quad h'(x) = 2x$$
2. Apply quotient rule and simplify:

   $$f'(x) = \frac{e^x(x^2 + 1) - e^x(2x)}{(x^2 + 1)^2} = \frac{e^x(x^2 - 2x + 1)}{(x^2 + 1)^2} = \frac{e^x(x-1)^2}{(x^2 + 1)^2}$$
3. Evaluate derivative at $x=1$ to get slope:

   $$f'(1) = \frac{e^1(0)^2}{(1 + 1)^2} = 0$$
4. Find the $y$-coordinate at $x=1$:

   $$f(1) = \frac{e}{1 + 1} = \frac{e}{2}$$
5. Write the tangent line equation using point-slope form:

   $$y - \frac{e}{2} = 0(x - 1) \implies y = \frac{e}{2}$$

> **tip**
>
> Always simplify the derivative fully before evaluating it at a point. Factoring the numerator first often reveals simplifications that reduce arithmetic errors.

## Common pitfalls

- **Wrong:** Swapping order of terms, writing numerator as $g(x)h'(x) - g'(x)h(x)$
  - Why it fails: Confusion between quotient and product rule, or forgetting the mnemonic order
  - Correct: Always follow the mnemonic 'low d high minus high d low' and write terms in that exact order.
- **Wrong:** Forgetting to square the entire denominator in the derivative
  - Why it fails: Rushing through the formula and skipping the 'square the denominator' step
  - Correct: Write the denominator as (original denominator)$^2$ immediately after writing the numerator, before simplifying.
- **Wrong:** Failing to distribute the negative sign to all terms of $g(x)h'(x)$
  - Why it fails: Forgetting the negative applies to the entire second term, not just the first
  - Correct: Always put the entire $g(x)h'(x)$ term in parentheses after the negative sign.
- **Wrong:** Canceling common factors before differentiating without noting domain restrictions
  - Why it fails: Forgetting the original function is undefined where the original denominator is zero, so the derivative cannot exist there
  - Correct: If you cancel a common factor before differentiating, explicitly state that the derivative does not exist at excluded domain points.
- **Wrong:** Forgetting the chain rule when numerator or denominator is a composite function
  - Why it fails: Focusing on remembering the quotient rule and ignoring required chain rule steps
  - Correct: Check each of $g(x)$ and $h(x)$ for the chain rule when computing their derivatives, before substituting into the quotient formula.

## Cheatsheet

| Category | Formula/Rule | Notes |
| --- | --- | --- |
| General Quotient Rule | $\frac{d}{dx}\left(\frac{g(x)}{h(x)}\right) = \frac{g'(x)h(x) - g(x)h'(x)}{[h(x)]^2}$ | Only applies when $h(x) \neq 0$, $g$ and $h$ differentiable |
| Mnemonic | "low d high minus high d low, over square of what's below" | Prevents common order and sign errors |
| Derivative of $\tan(x)$ | $\frac{d}{dx} \tan(x) = \sec^2(x)$ | Derived from quotient rule on $\frac{\sin(x)}{\cos(x)}$ |
| Derivative of $\cot(x)$ | $\frac{d}{dx} \cot(x) = -\csc^2(x)$ | Derived from quotient rule on $\frac{\cos(x)}{\sin(x)}$ |
| Derivative of $\sec(x)$ | $\frac{d}{dx} \sec(x) = \sec(x)\tan(x)$ | Derived from quotient rule on $\frac{1}{\cos(x)}$ |
| Derivative of $\csc(x)$ | $\frac{d}{dx} \csc(x) = -\csc(x)\cot(x)$ | Derived from quotient rule on $\frac{1}{\sin(x)}$ |
| Tangent Line Slope | $m_{\text{tangent}} = f'(a)$ | Evaluate derivative at $x=a$ for slope at $(a, f(a))$ |
| Normal Line Slope | $m_{\text{normal}} = -\frac{1}{f'(a)}$ | Only applies to non-horizontal, non-vertical tangents |

## What's next

Mastering the quotient rule is an essential foundation for all subsequent differentiation topics in AP Calculus AB. You will combine the quotient rule with the chain rule for composite functions, and later use it in implicit differentiation, where many problems require differentiating rational expressions. The quotient rule is constantly used with rational functions, which appear in related rates, optimization, and integration problems later in the course. Errors in the quotient rule (like sign mistakes or swapped terms) lead to lost easy points across nearly every unit after this one. Practicing this skill until you can apply it quickly and correctly will pay off throughout the rest of the course and on the final AP exam.

- [Implicit Differentiation](https://www.owlsprep.com/study/ap-calculus-ab-u3-implicit-differentiation/)
- [Derivatives of tan, cot, sec, csc](https://www.owlsprep.com/study/ap-calculus-ab-u2-derivatives-of-tan-cot-sec/)
- [Differentiation: Composite, Implicit, and Inverse Functions Overview](https://www.owlsprep.com/study/ap-calculus-ab-u3-overview/)

---

From [OwlsPrep](https://www.owlsprep.com) — free study guides for A-Level, IB, AP and IGCSE, written against the official syllabus. Canonical page: https://www.owlsprep.com/study/ap-calculus-ab-u2-quotient-rule/
