Calculus on a graphing calculator
A graphing calculator does four jobs in calculus: it graphs a function in a window you choose, it finds zeros, it estimates a derivative at a point, and it estimates a definite integral. Use it for those four, and keep the reasoning on paper. Its derivative and integral answers are numerical estimates, so they can look right and be wrong, and the examples below show exactly how.
For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.
Book your first session| Function and point | Estimate | True derivative |
|---|---|---|
| x squared at 3 | 6.0000000 | 6 |
| sin x at 0 | 0.9999998 | 1 |
| e to the x at 1 | 2.7182823 | 2.7182818 |
| natural log of x at 2 | 0.5000000 | 0.5 |
| absolute value of x at 1 | 1.0000000 | 1 |
| absolute value of x at 0 | 0.0000000 | does not exist |
| cube root of x at 0 | 100.0000000 | does not exist (the slope is vertical) |
Your calculator's step size may differ, so check its manual. The pattern is the point: the formula returns a number even where no derivative exists.
Computed in code for this page with the symmetric formula (f(x + 0.001) minus f(x - 0.001)) over 0.002; true values from the derivative rules
What does the calculator do when it finds a derivative?
Most graphing calculators estimate a derivative by taking the slope of a very short line through two points that straddle the input, which is a symmetric difference. That is the formula in the table. For smooth functions the estimate is excellent, as the first five rows show, with errors in the seventh decimal place.
At a corner or a vertical tangent the same formula still produces a number. The absolute value of x has a corner at 0, where the left and right slopes are -1 and 1, so the true derivative does not exist. The symmetric estimate averages them to 0 and reports it as if it were a slope. The cube root of x has a vertical tangent at 0, and the estimate is 100, which only reflects the step size. Neither is a valid derivative.
So the rule is: before you trust a calculator derivative, check that the function is smooth at that point, by looking at the graph for a corner, a cusp or a break.
What does it do when it finds an integral?
It adds up many small pieces and reports the total. For a smooth function that works well, and the accuracy improves with more pieces. With Simpson's rule on the integral of sin x from 0 to pi, whose true value is 2, four pieces give 2.0045598, ten give 2.0001095 and twenty give 2.0000068.
A discontinuity breaks that. The integral of 1 over x squared from -1 to 1 diverges, because the function blows up at 0. A midpoint sum with 10 pieces never lands on 0 and returns 47.35. With 100 pieces it returns 491.48. A larger piece count produces a larger answer, which is the sign of divergence. Some calculators warn, and some report a finite number. Look at the graph, and ask whether the function is continuous across the interval, before you read the integral.
Worked example: Using the calculator to check a derivative result
Find and classify the critical points of f(x) = x cubed minus 6x squared plus 9x plus 1, then use a numerical derivative as a check.
- Differentiate by hand: f'(x) = 3x squared minus 12x plus 9, which factors as 3(x - 1)(x - 3). The critical points are x = 1 and x = 3.
- Classify: f(1) = 5 and f(3) = 1. The graph rises, then falls, then rises, so x = 1 is a local maximum and x = 3 is a local minimum.
- Check numerically. The estimate at x = 1 is 0.000001 and at x = 3 is 0.000001, both within the estimate's accuracy of 0. At x = 2, between them, it is -2.999999, close to the true slope of -3.
The estimates agree with the algebra. The tiny 0.000001 is the formula's own error for a cubic, not a nonzero slope.
Source: Computed in code; the function is an original example.
How do you pick and learn a calculator?
Choose one model early in the course and use only that one all year, so that its keys and menus are second nature by exam day. A simple graphing calculator does everything the course needs. A newer model with extra features helps only if you have learned them, and an exam is a poor place to hunt through menus. For an exam, check the approved list on the exam organizer's calculator policy page, because it names the models that are allowed and the features that are not.
Learn four skills on your model until each takes seconds: set and change the window, find a zero or an intersection, find a maximum or minimum, and evaluate a definite integral numerically. Those match the four jobs listed above, and each can be practiced on a function whose answer you already know.
Why does the window matter?
A graph is only as informative as the window you chose, and a standard window can hide the whole story. Take y = (x - 12)^2 - 30. It is a parabola with its lowest point at (12, -30) and zeros near 6.52 and 17.48. In a window that runs from -10 to 10 in both directions, only a short piece of the left branch shows, between about x = 5.7 and x = 7.5, and it looks like a steep line sloping down. The vertex, the second zero and the whole shape are off the screen.
Estimate the shape before you graph, and then use the calculator's automatic fit and a manual window to confirm. If a graph looks like a straight line where you expected a curve, zoom out once before you decide.
How do you count roots and extremes with the graph?
A degree-3 polynomial can have one real zero or three, and its turning points tell you which. The cubic x^3 - 3x + c turns at x = -1 and x = 1. The value at the left turning point is c + 2 and the value at the right one is c - 2. If those two values have opposite signs, the graph crosses the axis three times. If they have the same sign, it crosses once.
| c | Value at x = -1 | Value at x = 1 | Real zeros |
|---|---|---|---|
| -3 | -1 | -5 | 1 |
| -1 | 1 | -3 | 3 |
| 1 | 3 | -1 | 3 |
| 3 | 5 | 1 | 1 |
For c = 1 the zeros are near -1.88, 0.35 and 1.53, and for c = 3 the only zero is near -2.10. A graph also tells you that the turning points are local, not absolute, because a cubic runs to negative infinity on one side and positive infinity on the other. Before you accept an answer from the calculator's maximum or minimum tool, ask whether the point is a local or an absolute extreme.
How do you solve a system with a calculator?
For two equations in two unknowns, graph both and find the intersections. To solve y = x^2 and y = x + 2, enter each and use the intersection tool. The graphs meet at x = -1 and at x = 2, and the pairs (-1, 1) and (2, 4) fit both equations. This graphing approach works only for two variables, so for more unknowns you need algebra or a built-in solver.
What should you do when the calculator is not allowed?
On the College Board's calculus exams, the multiple-choice section has a first part of 29 questions with no graphing calculator and a second part of 13 questions in which some items need a graphing calculator. In the free-response section, the first part of 2 problems requires a graphing calculator and the second part of 4 problems does not allow one. So both kinds of work appear in every sitting. For the no-calculator parts, these habits help.
- Know the ideas, not the keys. If a calculator carried you through the year, you will be lost without it. Do some of your homework by hand each week.
- Write your steps. Even if you can add in your head, jot down a step or two, because arithmetic slips in a no-calculator problem cost points you earned in thought.
- Practice under the rules. Take full practice exams, and mark the parts that forbid a calculator the way the real exam will.
- Watch the clock. Set a time budget per question, and move on from one that is sinking into long arithmetic. Test writers do not pose problems that need huge hand computations, so a heavy calculation is a sign to look for a simpler method.
- Eliminate where you can. In multiple choice, partial work often rules out some choices.
How should you use the calculator in an exam or a course?
Keep the job split clear. By hand, set up the problem, name the variables, write the integral or the equation, and state your conclusion with units. With the calculator, evaluate what you set up. Exams that allow a calculator for part of a paper usually still ask you to show the setup, so a bare calculator answer does not earn the reasoning marks. Read your exam's current calculator policy on the exam organizer's official page, since lists of allowed models change.
Build four habits. First, set the window before you graph, and zoom out once to check nothing is hidden. Second, store a function once and reuse it so a typing slip does not repeat. Third, check each numerical answer against a rough estimate, such as the area of a few rectangles. Fourth, keep the angle mode in radians for calculus, since derivative rules for sine and cosine assume radians.
If you want a second pair of eyes on how you use the tool, see calculus tutoring, the college calculus course page or book a first session. To see the idea behind these estimates in another form, read average rate of change.
Common questions
Can a calculator give a wrong derivative?
Yes. It returns a number even at a corner or a vertical tangent, where no derivative exists. Check the graph first.
Which calculator mode do I use for calculus?
Radians, because the derivative rules for sine and cosine assume radian measure.
Should I use the calculator for every integral?
Use it for the arithmetic of an integral you have set up and for functions with no simple antiderivative. For easy ones, finding the antiderivative by hand is quicker and shows your work.
How do I know the integral estimate is accurate?
For smooth functions, more pieces mean more accuracy. Compare the estimate with a rough sketch of the area, and never trust it across a break in the function.