Using Mathematics and Computational Thinking in Science: A Teacher's Guide to NGSS Practice 5
Marie G Martin

The fifth NGSS Science and Engineering Practice asks students to do something most teachers were never trained to teach. Not the math part. The thinking part. Computational thinking is not coding. It is not a unit on Scratch. It is the way scientists break a messy real-world system into pieces a model can actually represent. And it is the practice that decides whether a student leaves your class with a fact about photosynthesis or with the ability to ask, "What would happen if the chloroplast count dropped by half?"
This guide walks through what NGSS Practice 5 actually means, the four components every teacher should be able to name, and a classroom-ready way to integrate it into existing science units without rewriting your scope and sequence.
What is "Mathematics and Computational Thinking" in NGSS?
NGSS Science and Engineering Practice 5 names two skills together because they reinforce each other. Students use math to describe relationships in nature. Students use computational thinking to organize, simulate, and reason about those relationships when they get too complex for paper.
Here is the practical definition:
Mathematics and computational thinking in science is the use of numbers, equations, models, and structured logic to represent, predict, and analyze natural systems.
It shows up in three forms:
- Quantification. Counting, measuring, calculating rates, ratios, probabilities.
- Representation. Graphs, tables, equations, diagrams, simulations.
- Reasoning. Using those representations to predict what happens next.
A student who can graph plant growth has done step one. A student who can predict tomorrow's growth from the curve has done all three.
The Four Components of Computational Thinking
Computer scientist Jeannette Wing defined four components in 2006. NGSS borrowed them. Every science teacher should be able to name them and point to a moment in their own curriculum where each one lives.
Decomposition. Break a big problem into smaller parts. In science class, this looks like splitting an ecosystem into producers, consumers, and decomposers.
Pattern Recognition. Notice repeating structures. In science class, this looks like spotting that all enzymes follow the same lock-and-key behavior.
Abstraction. Strip away detail to reveal the rule. In science class, this looks like reducing a food web to a flow diagram of energy.
Algorithmic Thinking. Build a step-by-step process to solve a class of problems. In science class, this looks like writing a procedure to predict population growth across species.
These are not coding skills. They are thinking habits. Coding is one place they show up. Lab notebooks are another. So is a well-built concept map.
Why This Practice is the One Most Teachers Skip
Most science teachers are confident with Practice 1 (Asking Questions) and Practice 3 (Planning Investigations). Practice 5 is the one that gets a polite nod and a worksheet. There are three honest reasons:
It feels like math class. Teachers worry that adding equations crowds out the science.
It feels like computer class. Teachers worry that "computational" means they need to teach Python.
It is hard to assess. A student's computational thinking is invisible until they apply it to a model.
The fix for all three is the same. Use simulations. A simulation forces decomposition (you have to identify the parts), forces pattern recognition (you watch behavior repeat), forces abstraction (the model is itself an abstraction), and forces algorithmic thinking (you reason about cause and effect through cycles).
A Five-Step Method to Integrate It Into Any Unit
You do not need a new curriculum. You need five questions you ask during a unit you already teach.
Step 1: Identify the system
Before students touch a model, ask, "What are the parts? What is interacting?" This is decomposition. For photosynthesis, the parts are light, water, CO2, chloroplasts, glucose, oxygen. Have students list them on the board.
Step 2: Quantify at least one relationship
Pick one relationship and put a number on it. Light intensity and rate of photosynthesis. Predator population and prey population. Concentration and reaction rate. The number does not have to be precise. The act of putting a value on it shifts students from "this affects that" to "this affects that by how much."
Step 3: Represent it visually
Have students draw, graph, or build a digital model of the relationship. This is where simulation tools matter. A static drawing shows what they think happens. A simulation lets them test whether they were right.
Step 4: Make a prediction
Before running the simulation, students write down what they expect to happen if a variable changes. "If I double the prey population, the predators will..." This is the moment computational thinking actually engages. They are running the model in their head before the computer runs it.
Step 5: Compare prediction to result
Run the model. Compare. Discuss the gap. The gap is the learning.
These five steps fit inside a 50-minute period for any topic. They do not require new content. They require five new questions.
Three Examples Across Grade Bands
Elementary (Grades 3-5): Plant Growth
Students measure the height of a bean plant every day for two weeks. They graph the data. Then they predict the next week using the trend. Decomposition: identify variables (water, light, soil). Pattern recognition: spot the curve. Abstraction: turn the curve into a rule of thumb. Algorithmic thinking: apply the rule to predict.
Middle School (Grades 6-8): Ecosystems
Students use a predator-prey simulation. They start with given populations, predict what happens over ten generations, then run the simulation and compare. They adjust starting conditions and run again. By the end, they can articulate the oscillating relationship without ever being told to memorize it.
High School (Grades 9-12): Genetics
Students model allele frequency in a population over generations using Hardy-Weinberg. They predict how a selection pressure shifts the frequency. They run the model. They write a one-paragraph explanation that includes the math. This is computational thinking applied to biology, indistinguishable from what a population geneticist actually does.
Common Misconceptions to Address
"Computational thinking is just coding." No. Coding is one expression of it. A child who builds a flowchart for getting dressed in the morning is doing computational thinking.
"Math and computation are separate from inquiry." They are inquiry. They are how a scientist asks "what if" without burning down a real ecosystem.
"My students are not ready for this." They are. The four components are developmental, not technical. A first grader doing decomposition is doing the same kind of thinking as a graduate student. The complexity scales with the content.
How to Assess Mathematics and Computational Thinking
The mistake is to assess this practice with a math quiz. The practice is about reasoning, not arithmetic. Three assessment moves work:
- Show-the-thinking prompts. "Before you run the simulation, write what you expect and why."
- Model critique. Give students a flawed model and ask them to identify what is missing.
- Transfer tasks. Apply the same reasoning to a new system. If a student can model predator-prey, can they model a chemical equilibrium?
Performance-based assessment beats multiple-choice for this practice. Always.
What to Do This Week
If you have never deliberately taught Practice 5, pick one unit you are teaching this month. Apply the five-step method. Pick one relationship. Quantify it. Represent it. Predict. Compare. Discuss the gap.
That is the practice. That is the whole thing.
Frequently Asked Questions
What is the difference between mathematical thinking and computational thinking?
Mathematical thinking uses numbers and equations to describe relationships. Computational thinking uses structured logic, decomposition, and step-by-step processes to solve problems. They overlap. A student calculating a population growth rate uses both at once.
Do students need to know how to code to do computational thinking in science?
No. Coding is one application of computational thinking. The four components (decomposition, pattern recognition, abstraction, algorithmic thinking) can be practiced with paper, simulations, lab work, or discussion.
At what grade should computational thinking start in science?
Kindergarten. Sorting objects by attribute is decomposition. Spotting that the same thing happens every time is pattern recognition. Drawing a simplified picture of a butterfly's life cycle is abstraction. The four components scale from age five through graduate school.
What are the four pillars of computational thinking?
Decomposition, pattern recognition, abstraction, and algorithmic thinking. NGSS Practice 5 wraps all four together with mathematics.
How is this different from a normal lab?
A normal lab observes a phenomenon. Practice 5 builds a model of the phenomenon, predicts behavior, and tests the prediction. The model is the new artifact. The reasoning about the model is the new skill.
Read more on NGSS science practices and ready-to-use simulation lessons at modelitk12.com. Watch free lesson videos at youtube.com/@ModelItinAction. For pilot inquiries: info@discoverycollective.com.