Chalk−1

Math · Calculus I · Worked example

Differentiate a quotient of polynomials

Differentiate f(x) = (x² + 1)/(x − 3), then find where its tangent line is horizontal.

f⁡(x)=x2+1x−3

Name the top and the bottom

The top is x² + 1, with derivative 2x. The bottom is x − 3, with derivative 1. The function is undefined at x = 3.

top=x2+1,  bottom=x−3,x≠3
top=x2+1bottom=x−3,  x≠3

Apply the quotient rule

Bottom times the derivative of the top, minus top times the derivative of the bottom, over the bottom squared.

f⁡′(x)=2⁢x⁢(x−3)−(x2+1)⁢(1)(x−3)2

Simplify the numerator

2x(x − 3) = 2x² − 6x. Subtracting x² + 1 leaves x² − 6x − 1. Keep the denominator as (x − 3)².

f⁡′(x)=x2−6⁢x−1(x−3)2

Find the horizontal tangents

The tangent is horizontal where f′(x) = 0, which happens where the numerator is zero and the denominator is not. x² − 6x − 1 does not factor over the integers, so use the quadratic formula: x = 3 ± √10. Neither value is 3, so both count.

x2−6⁢x−1=0x=3±10

Locate the points

x = 3 + √10 ≈ 6.162 gives f(x) = 6 + 2√10 ≈ 12.325, a low point of the right branch; x = 3 − √10 ≈ −0.162 gives f(x) = 6 − 2√10 ≈ −0.325, a high point of the left branch.

Result

f′(x) = (x² − 6x − 1)/(x − 3)² for x ≠ 3. The tangent is horizontal at x = 3 ± √10, about 6.162 and −0.162.

f⁡′(x)=x2−6⁢x−1(x−3)2

Your turn

Differentiate y = sin x / x.

Show the answer and explanation

dy/dx = (x cos x − sin x)/x², for x ≠ 0.

Bottom times the derivative of the top is x cos x; top times the derivative of the bottom is sin x · 1. So dy/dx = (x cos x − sin x)/x².

y=sinxxd⁢yd⁢x=xcosx−sinxx2

Keep exploring

Graph f and look at x ≈ −0.162 and x ≈ 6.162: the curve levels off exactly where the numerator of f′ is zero.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

Make it concrete

Try in the workspace

Open the example inputs, change a value and keep a useful result on your board.

Check the derivative in Math See the horizontal tangents in Graph Open worked example on a board Quotient rule in Math Reference

Your existing work stays on this device. Examples open as editable copies.