Calculus with a Graphing Calculator — Derivatives & Integrals

Use a graphing calculator for calculus. Visualise derivatives as tangent lines, compute definite integrals with shading, and explore limits graphically.

← All Guides
Advanced10 min read

Calculus becomes far more intuitive when you can see it. The graphing calculator at graphingcalculate.com includes built-in tools for visualising derivatives as tangent lines and computing definite integrals with area shading — making abstract concepts tangible.

Part 1: Derivatives and Tangent Lines

What is a derivative?

The derivative of a function f(x) at a point x = a represents the instantaneous rate of change — equivalently, the slope of the tangent line to the curve at that point.

Visualise a tangent line

  1. Open the calculator and enter y = x^2
  2. Hold Shift while moving your mouse over the curve
  3. A dashed tangent line appears at the cursor position
  4. The slope value (the derivative) is shown in the coordinate display

💡 For y = x², the derivative is 2x. At x = 1, slope = 2. At x = 3, slope = 6. Try hovering at these points to verify.

Understanding the derivative value

  • Positive derivative — curve is increasing at that point
  • Negative derivative — curve is decreasing
  • Zero derivative — local maximum or minimum (the tangent is horizontal)

The calculator auto-marks maxima and minima. These are exactly where the derivative equals zero. Try y = -x^2 + 4x and hover around x = 2 — you'll see the tangent become horizontal at the maximum.

How the derivative is computed

The calculator uses the central difference formula — a numerical approximation:

f'(x) ≈ [f(x + h) − f(x − h)] / (2h)

with h = 0.0001. This is accurate to 6+ decimal places for smooth functions.

Graphing derivative functions

You can visually confirm derivative relationships by plotting a function and its derivative side by side. Try:

  • Equation 1: y = sin(x)
  • Equation 2: y = cos(x) — this is the derivative of sin(x)

Notice that cos(x) is zero exactly where sin(x) has a peak or trough — confirming that the derivative is zero at extrema.

Part 2: Definite Integrals

What is a definite integral?

The definite integral ∫ₐᵇ f(x) dx gives the signed area between the curve and the x-axis from x = a to x = b. Areas above the x-axis are positive; areas below are negative.

Computing an integral with the calculator

  1. Enter a function, e.g. y = sin(x)
  2. Click the ∫ Integral button in the toolbar (or press I)
  3. Click on the canvas to set the lower bound (point a)
  4. Click again to set the upper bound (point b)
  5. The area between the curve and x-axis is shaded and the numeric value is shown in a badge

⚡ Integration uses Simpson's Rule with 1,000 sub-intervals for high-precision numerical results.

Verifying known integrals

Use the integral tool to verify these classic results:

  • ∫₀¹ x² dx = 1/3 ≈ 0.333 — graph y = x^2, integrate from 0 to 1
  • ∫₀^π sin(x) dx = 2 — graph y = sin(x), integrate from 0 to ~3.14
  • ∫₋₁¹ (1 − x²) dx = 4/3 ≈ 1.333 — graph y = 1 - x^2, integrate from −1 to 1

Signed area

When a function dips below the x-axis, that region contributes negative area. Try:

  • Graph y = sin(x)
  • Integrate from 0 to 2π (full period)

The result is 0 — the positive area (0 to π) and negative area (π to 2π) cancel out exactly. Shade both halves separately to see each contribution.

Part 3: Exploring Limits Graphically

While the calculator doesn't compute symbolic limits, you can investigate limiting behaviour visually:

  • Graph y = sin(x) / x — zoom into x = 0. The function approaches 1 as x → 0, even though it's undefined at exactly x = 0.
  • Graph y = (1 + 1/x)^x — as x → ∞ (scroll right), y approaches e ≈ 2.718

Part 4: The Fundamental Theorem of Calculus

The FTC states that differentiation and integration are inverse operations. Visualise this by comparing:

  • Graph y = x^3 / 3 (antiderivative of x²)
  • Graph y = x^2 (derivative of the above)

Use the tangent line tool on y = x^3/3 at various points — the slope matches the y-value of y = x^2 at the same x. This is the Fundamental Theorem in action.

📝 Practice problems
  1. Use the tangent line tool on y = e^x. What do you notice about the slope at each point compared to the y-value?
  2. Compute ∫₀² (3x² - 2x + 1) dx using the integral tool. Verify algebraically.
  3. Graph y = x^3 - 3x. Find all points where the derivative is 0. Are they maxima or minima?