Next Step Blog - Resources for Educators

How to Use AI in the Math Classroom

Written by AAron D. Wootton | Nov 12, 2026, 7:56:25 PM

AI in Industry

A friend of mine is a vice president at a large construction company. Another is a software engineer. Like me, both received their education in the pre-digital era, growing up in an analog world before entering adulthood in a digital one. Today, both use AI daily, and that background may be more relevant to how they use it than it first appears.

Like many teachers, I’ve been wrestling with AI’s impact on education. AI is becoming a daily part of life, so ignoring it would be a disservice to our students. At the same time, we’ve seen the negative impact AI can have on learning when, for example, a student feeds an entire assignment into an AI tool and submits the output as their own. Math becomes an exercise in copy-and-paste rather than problem-solving. That’s hardly preparation for a career.

So, I began to wonder. What are my friends with successful careers in industry doing differently that makes the human element essential?

I asked them both how they use AI and got similar answers. Their deep experience in construction and software development allows them to give AI the context, direction, and key ideas it needs to tackle complex tasks, from preparing project bids to building new apps. Just as importantly, they draw on that expertise to evaluate, refine, and improve the results. As the software engineer put it, AI has “given him a jetpack” in terms of what he can now accomplish.

The takeaway: AI needs direction, and its output needs to be evaluated. It can dramatically increase efficiency, but human expertise remains essential. As AI grows more capable, so does the value of deeply understanding the problem you’re trying to solve, thinking critically, exercising sound judgment, and turning AI’s output into meaningful solutions.

Preparing students for this future means teaching them to use AI thoughtfully and effectively. As math teachers, we have a unique opportunity to develop these skills by integrating AI into problem-solving activities that emphasize reasoning, evaluation, and real-world applications. By carefully crafting problems, like these, we can help students learn to use AI as a tool for thinking rather than a shortcut around it. We, too, can give our students a jetpack!

AI in Math

So, where does AI fit into a math class? Thinking back to my friend’s approach: they use their expertise to guide AI through complex problems then check the results and make adjustments as needed. Can we replicate this process in a classroom?

Absolutely. We can show students how to use AI to help solve problems that would otherwise be almost impossible, or in the very least tedious, to solve by hand—problems that are grounded in meaningful, real-world, and relevant-to-students data making them more engaging while still developing the skills we already teach in calculus. Students can use their mathematical knowledge to guide AI, evaluate its solutions, and refine the solutions when necessary.

An Example: Approximate Lung Volume using CT Scans

The following is a problem you might see in a current Calculus text: the idea is to use Riemann sums to approximate the internal volume of a pair of fully inflated lungs—called total lung capacity—using slices.


With AI, we can make this problem more engaging to the student and reflective of what they might see in a work environment, ensuring that they build the career-ready skill of engaging an AI using their expertise as a guide. As you read, feel free to try the problems yourself!

Instead of a table, we can give the students a real CT scan of a horizontal cross-section of a pair of lungs such as the one in Figure 1, where the internal part of each lung is the black oval-like areas surrounded by white.

Before engaging with AI, students should first develop an intuitive sense of answers they might expect. A good starting point is to imagine their own lungs as rectangular boxes and estimate their total volume. Next, provide students with a CT scan and ask them to approximate the internal cross-sectional area of the lungs by hand, using the image’s known width of 374 mm. A reasonable estimate is 280 cm². They can then use this estimate to approximate the volume of a 3-cm thick slice of lung. These preliminary estimates give students a mathematical basis for judging whether an AI-generated result is reasonable. We could then ask: How might you use this information, together with other CT scans, to estimate total lung capacity?

Figure 1 : CT Scan of a Lung

Figure 2: AI Calculated Area of Lung

And now comes AI! By providing the CT scan and its pixel scale, we can ask AI to estimate the area of the cross-section in the CT scan inside the lungs. When I tried this myself, the AI also generated Figure 2, highlighting the calculated area in green. Give it a try! In my case, the AI gave me an area of 298.4 cm², remarkably close to my original by-hand estimate of 280 cm². Just as I used my own estimate to evaluate the AI’s result, students can compare its answer with their own work to judge whether it is reasonable.

We can take this a step further by using AI to estimate total lung capacity from multiple CT scans, building up a model of the lungs slice by slice—as many slices as we have access to. For example, here you can find 11 CT scans, representing slices of a pair of lungs every 3 cm, enough to produce a reasonable estimate of total lung capacity. More ambitious students can work with 106 slices, each just 3 mm thick, to construct a much more detailed and accurate model found here.[1]

The main point: students understand what the AI is doing, and they can push back if the answers they see are unreasonable. They're using it to tackle a task that would be difficult, though not impossible, to complete by hand and one whose results they can check against their own mathematical reasoning. Even better, estimating lung capacity this way reflects a real-world application of medical imaging.[2] Aspiring health professionals can explore a problem relevant to their future careers, right in their calculus classroom!

Further Uses for AI: Visualization

A simple follow-up prompt can direct the AI to build 3D models of the lungs with different numbers of slices; see Figures 3-5. Students can then see for themselves how adding more slices improves the approximation provided by a Riemann sum.



Figure 3: 3D Rendition of Lungs with 11 Slices

Figure 4: 3D Rendition of Lungs with 106 Slices

Figure 5: 3D Rendition of Lungs

More Examples to Try

AI may not yet be part of the calculus curriculum, but why wait? If it sparks your interest, consider using the lung problem in your classroom—as a standalone activity or as part of an extended project. You can preview other problems slated for the ninth edition of Calculus here. If you give these problems a try, we’d love to hear what you think and how you’ve used them with your students. Most of all, did your students feel that AI had given them a jetpack of their own?

[1] CT scans from wikimedia by Mikael Häggström, MD., CC0 1.0 Universal Public Domain Dedication. Date accessed: May 14, 2026. More information here.

[2] Schultz et al. (2020). “Workflow-centred open-source fully automated lung volumetry in chest CT.” Clinical Radiology, 75(1), 78.e1–78.e7, https://pubmed.ncbi.nlm.nih.gov/31587801/

Aaron D. Wooton is