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:
| Interval | Integral | Geometric 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
| Task | TI-84 style key sequence | GraphingCalc84 |
|---|---|---|
| Slope at a point on the graph | 2ND TRACE → 6: dy/dx | CALC inspector → dy/dx |
| Integral on the graph | 2ND TRACE → 7: ∫f(x)dx | CALC inspector → ∫f(x)dx with shading |
| Derivative on the home screen | MATH → 8: nDeriv( | Readout for the current trace point |
| Integral on the home screen | MATH → 9: fnInt( | Integral limits a and b |
| Find critical points | 2ND TRACE → 3: minimum / 4: maximum | CALC 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.
| Rule | Formula | Example |
|---|---|---|
| Constant rule | d/dx c = 0 | d/dx 7 = 0 |
| Power rule | d/dx xⁿ = n·xⁿ⁻¹ | d/dx x⁴ = 4x³ |
| Constant multiple rule | d/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 rule | d/dx f(g(x)) = f′(g(x))·g′(x) | d/dx sin(3x) = 3 cos(3x) |
| Exponential | d/dx eˣ = eˣ, d/dx aˣ = aˣ ln a | d/dx e²ˣ = 2e²ˣ |
| Natural log | d/dx ln x = 1/x | d/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.