Quotient Rule

The rule

For a quotient of two functions, "low d-high minus high d-low, over low squared":

ddx[u(x)v(x)]=u′(x)v(x)−u(x)v′(x)v(x)2\dfrac{d}{dx}\left[\dfrac{u(x)}{v(x)}\right] = \dfrac{u'(x)v(x) - u(x)v'(x)}{v(x)^2}

Worked example

Differentiate y=2x+13x−4y = \dfrac{2x+1}{3x-4}.

Solution: With u=2x+1u=2x+1 (u′=2u'=2) and v=3x−4v=3x-4 (v′=3v'=3):

y′=2(3x−4)−(2x+1)(3)(3x−4)2=6x−8−6x−3(3x−4)2=−11(3x−4)2y' = \dfrac{2(3x-4) - (2x+1)(3)}{(3x-4)^2} = \dfrac{6x-8-6x-3}{(3x-4)^2} = \dfrac{-11}{(3x-4)^2}

A function's derivative at a point

The functions f(x)f(x) and g(x)g(x) are differentiable, and h(x)=g(x)f(x)h(x) = \dfrac{g(x)}{f(x)}. Given f(0)=−7f(0)=-7, f′(0)=5f'(0)=5, g(0)=3g(0)=3, and g′(0)=−6g'(0)=-6, find h′(0)h'(0).

Solution: By the quotient rule, h′(x)=g′(x)f(x)−g(x)f′(x)f(x)2h'(x) = \dfrac{g'(x)f(x) - g(x)f'(x)}{f(x)^2}. Substituting the values at x=0x=0:

h′(0)=(−6)(−7)−(3)(5)(−7)2=42−1549=2749h'(0) = \dfrac{(-6)(-7) - (3)(5)}{(-7)^2} = \dfrac{42-15}{49} = \dfrac{27}{49}

Worked example: the derivative of tan x

Use the quotient rule to show that ddxtan⁡x=sec⁡2x\dfrac{d}{dx}\tan x = \sec^2 x.

Solution: Write tan⁡x=sin⁡xcos⁡x\tan x = \dfrac{\sin x}{\cos x}, so u=sin⁡xu = \sin x (u′=cos⁡xu' = \cos x) and v=cos⁡xv = \cos x (v′=−sin⁡xv' = -\sin x):

ddxtan⁡x=cos⁡x⋅cos⁡x−sin⁡x⋅(−sin⁡x)cos⁡2x=cos⁡2x+sin⁡2xcos⁡2x=1cos⁡2x=sec⁡2x\dfrac{d}{dx}\tan x = \dfrac{\cos x\cdot\cos x - \sin x\cdot(-\sin x)}{\cos^2 x} = \dfrac{\cos^2 x + \sin^2 x}{\cos^2 x} = \dfrac{1}{\cos^2 x} = \sec^2 x

Worked example: where the slope is zero

Find where y=x2+1x−1y = \dfrac{x^2+1}{x-1} has a horizontal tangent.

y′=2x(x−1)−(x2+1)(1)(x−1)2=x2−2x−1(x−1)2y' = \dfrac{2x(x-1) - (x^2+1)(1)}{(x-1)^2} = \dfrac{x^2-2x-1}{(x-1)^2}

The derivative is zero where the numerator is: x2−2x−1=0x^2 - 2x - 1 = 0, so x=1±2x = 1 \pm \sqrt2. Both are allowed, since neither makes the denominator zero.

The same rule gives ddxsec⁡x=ddx1cos⁡x=0⋅cos⁡x−1⋅(−sin⁡x)cos⁡2x=sec⁡xtan⁡x\dfrac{d}{dx}\sec x = \dfrac{d}{dx}\dfrac{1}{\cos x} = \dfrac{0 \cdot \cos x - 1 \cdot (-\sin x)}{\cos^2 x} = \sec x\tan x.

When not to use the quotient rule

If the numerator is a constant, rewriting is quicker: 1x2=x−2\dfrac{1}{x^2} = x^{-2}, so the power rule gives −2x−3-2x^{-3} at once. The quotient rule agrees, 0⋅x2−1⋅2xx4=−2x3\dfrac{0 \cdot x^2 - 1 \cdot 2x}{x^4} = -\dfrac{2}{x^3}, but takes longer and gives more chances to slip.

Common mistakes

  • Swapping the order in the numerator. It is u′v−uv′u'v - uv', derivative of the top first. Writing uv′−u′vuv' - u'v flips the sign of the whole answer. In the first example above, that would give +11(3x−4)2+\dfrac{11}{(3x-4)^2} instead of −11(3x−4)2-\dfrac{11}{(3x-4)^2}.
  • Forgetting to square the denominator. The bottom of the answer is v2v^2, not vv.
  • Losing a minus sign while expanding. Keep brackets around uv′uv' until the end: 2(3x−4)−(2x+1)(3)2(3x-4) - (2x+1)(3) expands to 6x−8−6x−36x - 8 - 6x - 3, with the minus applied to both terms.
  • Using it when the denominator is a constant. x25\dfrac{x^2}{5} is just 15x2\dfrac{1}{5}x^2, with derivative 2x5\dfrac{2x}{5}. No quotient rule needed.

Where this comes up in exams

JEE Main 2026 lists differentiation of the sum, difference, product and quotient of two functions, JEE Advanced 2026 lists the derivative of the sum, difference, product and quotient of two functions, and the 2025-26 CBSE Class XI syllabus lists the derivative of sum, difference, product and quotient of functions.

Checked against JEE (Main) 2026 syllabus (NTA), JEE (Advanced) 2026 syllabus and CBSE Mathematics curriculum, Classes XI-XII (2025-26). Syllabi can change from year to year, so confirm with the latest official notification for your exam.

Continue learning

The product rule is the quotient rule's counterpart for multiplying two functions instead of dividing them.