Skip to content
GraphingCalc84

Derivative Calculator & Definite Integral Grapher

Graph a function next to its derivative, read the slope at any point, and shade a definite integral so you can see why the answer is positive, negative or zero.

f(x)

x [−4, 4] · y [−6, 6]

f(x) = x³ − 3x f′(x) = 3x² − 3 f′(1) = 0 · tangent y = −2 ∫02 f(x) dx = −2

INTERSECT(−1.2618, 1.7764) (0.66012, −1.6927) Y1 ZEROS−1.7321, 0, 1.7321 Y1 MIN/MAXmin (1, −2) max (−1, 2) ∫0 → 2 = −2 TRACEX=1 Y1=−2

Table

TblStart −3 · ΔTbl 0.5
XY1Y2
−3−1824
−2.5−8.12515.75
−2−29
−1.51.1253.75
−120
−0.51.375−2.25
00−3
0.5−1.375−2.25
1−20
1.5−1.1253.75
229
2.58.12515.75
31824

Highlighted rows bracket a crossing where Y1 = Y2.

CALC inspector

2ND · TRACE
  1. 1:valueY1(1)−2
  2. 2:zeroY1 = 0 near X=1X=1.73205
  3. 3:minimumnearest local min(1, −2)
  4. 4:maximumnearest local max(−1, 2)
  5. 5:intersectY1 ∩ Y2(0.660123, −1.69271)
  6. 6:dy/dxat X=10
  7. 7:∫f(x)dx0 → 2−2

Classroom keypad

Prefer typing? Use your keyboard — Enter evaluates, Esc clears.

Classroom keys

Functions

Numbers

Operators

Actions

See a function and its derivative together

The workspace graphs and its derivative in the same window. Reading the two curves side by side is the fastest way to understand what a derivative is:

  • Where (at ), the original graph has a horizontal tangent: a local maximum and a local minimum .
  • Where (), is increasing; where , it is decreasing.
  • The vertex of the parabola at marks the inflection point of , where concavity switches from down to up.

When a teacher asks "where is increasing?", the answer is read from the sign of , not from whether is going up. Graphing both prevents that mix-up.

Derivative at a point Calculator: slope and tangent line

A graphing calculator estimates with the symmetric difference quotient

with a tiny . At : , and the numerical estimate agrees to many digits because is a smooth polynomial. Since , the tangent line is

Add 9x-16 as a new function to see it kiss the curve at . Zoom in on that point and the curve and the line become almost indistinguishable — the geometric meaning of "locally linear".

Self-check: set x₀ = 2 — the readout should show f′(2) = 9 and the tangent y = 9x − 16.

Definite integral: signed area vs total area

The shaded integral in the workspace runs from 0 to 2. By the Fundamental Theorem of Calculus,

The negative result surprises many students. The curve is below the axis from 0 to and above it from to 2:

IntervalIntegralGeometric area
2.25 (below axis)
0.25 (above axis)
2.5 total

If a question asks for "the area of the region", integrate or split at the zero. If it asks for "the value of the integral" or net change, keep the sign.

Self-check: with a = 0 and b = 2 the integral reads −2; change b to √3 ≈ 1.732 to see −2.25.

Keystroke reference: 2ND → CALC and MATH

TaskTI-84 style key sequenceGraphingCalc84
Slope at a point on the graph2ND TRACE → 6: dy/dxCALC inspector → dy/dx
Integral on the graph2ND TRACE → 7: ∫f(x)dxCALC inspector → ∫f(x)dx with shading
Derivative on the home screenMATH → 8: nDeriv(Readout for the current trace point
Integral on the home screenMATH → 9: fnInt(Integral limits a and b
Find critical points2ND TRACE → 3: minimum / 4: maximumCALC inspector → minimum / maximum

Pitfalls with numerical calculus

Corners and cusps

The symmetric difference quotient of at 0 is , so a calculator reports a derivative of 0 at a point where none exists. The same happens at the cusp of . Look at the graph before you report a derivative.

Self-check: set x₀ = 0 and compare the slope readout with the corner you can see on the graph.

Vertical asymptotes inside the limits

looks like it should equal if you blindly apply the antiderivative , but the integrand is unbounded at 0 and the improper integral diverges. A numerical integrator may return a huge number or an error; neither is a valid answer.

Radian mode

Calculus formulas such as hold only in radians. In degree mode, at 0 comes out as instead of 1.

Rounding too early

Store intermediate results instead of retyping rounded decimals; rounding to 1.7 before integrating can change the third decimal of the final answer.

Integral and antiderivative intuition

An antiderivative is a family of functions whose slope is ; a definite integral is a single number, . Graphing and shading between and connects the two ideas. For exam-style practice with the four calculator skills AP requires — graphing, zeros, derivative at a point and definite integrals — continue to the AP Calculus graphing toolkit. To tabulate and side by side, use the table of values generator. The official AP Calculus AB course page lists exactly which of these skills are tested with a calculator.

Derivative calculator: how to calculate derivatives with the differentiation rules

This derivative calculator is numerical: it computes the slope at a point (like nDeriv) and the definite integral (like fnInt) and draws them, but it does not print symbolic step-by-step solutions. To calculate the derivative by hand, apply the rules of differentiation below, then check your answer by graphing it next to the plotted derivative curve; if the two curves overlap, your formula is right.

RuleFormulaExample
Constant ruled/dx c = 0d/dx 7 = 0
Power ruled/dx xⁿ = n·xⁿ⁻¹d/dx x⁴ = 4x³
Constant multiple ruled/dx [c·f] = c·f′d/dx 5x² = 10x
Sum rule(f + g)′ = f′ + g′d/dx (x³ + x) = 3x² + 1
Product rule(fg)′ = f′g + fg′d/dx x² sin x = 2x sin x + x² cos x
Quotient rule(f/g)′ = (f′g − fg′)/g²d/dx x/(x + 1) = 1/(x + 1)²
Chain ruled/dx f(g(x)) = f′(g(x))·g′(x)d/dx sin(3x) = 3 cos(3x)
Exponentiald/dx eˣ = eˣ, d/dx aˣ = aˣ ln ad/dx e²ˣ = 2e²ˣ
Natural logd/dx ln x = 1/xd/dx ln(x² + 1) = 2x/(x² + 1)

Worked example: first, second and third derivative

Take f(x) = x³ − 3x. Apply the power rule to each term (sum and constant multiple rules): f′(x) = 3x² − 3. Differentiate again for the second derivative, f″(x) = 6x, and once more for the third derivative, f‴(x) = 6. At x = 2 the slope is f′(2) = 9, the same value the grapher reports, and the second derivative f″(2) = 12 > 0 says the curve is concave up there.

Rewrite before you differentiate and respect the order of operations: 1/x² is x−2, √x is x1/2, and sin²x means (sin x)², whose derivative is 2 sin x cos x. The same graph also works as a tangent line calculator and a definite integral calculator; it is not an implicit differentiation calculator, so for a curve like x² + y² = 25, solve for y first (y = √(25 − x²) for the upper half) and then graph.

Derivative rules: quick check before you graph

Use these rules to predict the graph of before you plot it: , so and ; ; ; . If your hand-derived and the graph's slope readout disagree at a test point, the algebra is usually the culprit.

Frequently asked questions

How do I find the derivative at a point on a graphing calculator?
Graph the function, then use 2ND TRACE (CALC) → 6: dy/dx and move to the x-value, or type nDeriv(f(x), x, a) from the MATH menu. For f(x) = x³ − 3x at x = 2 both give 9, which matches f′(x) = 3x² − 3 evaluated at 2.
How do I compute a definite integral on a graphing calculator?
Use 2ND TRACE → 7: ∫f(x)dx and enter the lower and upper limits, or type fnInt(f(x), x, a, b) from MATH → 9. For x³ − 3x from 0 to 2 the result is −2, the signed area.
Why is my definite integral negative?
A definite integral counts area below the x-axis as negative. For x³ − 3x on [0, 2], the region under the axis from 0 to √3 has area 2.25 and the region above from √3 to 2 has area 0.25, so the integral is 0.25 − 2.25 = −2. The total (unsigned) area is 2.5; find it by integrating |f(x)|.
Can a calculator give the derivative of |x| at 0?
Numerical derivatives use a symmetric difference quotient, so nDeriv(|x|, x, 0) returns 0 even though |x| has a corner at 0 and is not differentiable there. Always check the graph for corners, cusps and jumps before trusting a numerical derivative.
Is this a derivative calculator with steps?
This page computes and graphs numerical values (the derivative at a point, definite integrals, tangent lines), which is what AP Calculus allows calculators to do. It does not produce symbolic algebra steps; derive formulas by hand and use the graph to check them.
What is the tangent line to x³ − 3x at x = 2?
f(2) = 8 − 6 = 2 and f′(2) = 9, so the tangent line is y − 2 = 9(x − 2), or y = 9x − 16. Graph both to see the line touching the curve at (2, 2).