Worked ExampleCalculusIntroMath Workspace (CAS)

Differentiate a polynomial from first principles

This worked example shows how the derivative definition creates an algebra problem first and a limit problem second. The simplification step is the point of the exercise.

Primary Tool

Math Workspace (CAS)

Open CAS workspace

CAS is useful here because it keeps the algebraic expansion, the simplification, and the limiting step in one transcript.

Problem

Find the derivative of from the definition .

This is a standard exercise because it shows that the derivative formula comes from algebraic cancellation, not from a rule you memorize first.

What to watch

When you substitute , the numerator looks messy on purpose. The cancellation is what reveals the derivative.

The limit is easy only after the numerator is simplified to . Sending to too early loses the structure of the problem.

Step-by-step walkthrough

The goal is to make the limit readable by turning the difference quotient into a simpler algebraic expression.

  1. 1Start from and substitute .
  2. 2Expand as .
  3. 3Subtract so the numerator becomes .
  4. 4Factor out to get , then cancel the common factor for .
  5. 5Take the limit of the simplified expression as to obtain .

Common Pitfall

Do not substitute into the original quotient. First simplify the expression, then take the limit of the simplified form as approaches .

Try a Variation

Try the same method on . Which cancellation pattern repeats, and where does the extra power show up?

Related Pages

Keep moving through the cluster

Back to Learn Math →