High School Algebra 2 Data Science Lesson on AI Fairness

Students often mistake computer-generated results for objective truths. They assume that if an algorithm produces a number or a prediction, it must be correct by default. This high school math lesson works to dismantle that assumption by focusing on the hidden human inputs that shape automated output. It is part of the Algebra 2 – Data Science course, and it requires students to look at software not as an infallible oracle, but as a tool built by people with specific goals and biases.

This Data Science and Artificial Intelligence: Fairness, Accountability, and Transparency lesson focuses on the intersection of technology and social ethics. The lesson asks students to identify how automated systems might inadvertently create or reinforce problems in real-world environments like healthcare and school administration. It introduces them to the term Algorithmic Impact Analysis, which is the process of reviewing how automated systems produce outcomes, checking for fairness toward groups, accountability for mistakes, and transparency in decision-making. Students examine why this analysis is crucial because AI now manages things like housing, healthcare, and schools.

Understanding algorithmic impact analysis

The core of this work sits within the California-adopted standard CA.MATH.HS.DS.7. This standard asks students to evaluate the societal impact of data-driven decisions and AI. It is not enough for a student to know how to run a model or calculate a result. They must be able to consider the broader issues of fairness, accountability, and transparency. You will find that this standard is taught the same way across the state, whether in the Modesto City High School District, the Sweetwater Union High School District, Barstow Unified, or Palo Verde Unified.

To meet the standard, the lesson asks students to master three specific concepts. Fairness is defined here as the quality of a system providing impartial results that do not discriminate against protected groups. Accountability is the practice of ensuring that individuals or organizations take responsibility for the decisions and errors made by AI systems. Transparency is the state of making the data and rules used by an algorithm clear and understandable to the people affected by the decisions. These three pillars provide a framework for students to critique any system they encounter.

Putting ethics into practice

The lesson uses a concrete example involving a hospital to show how bias manifests. In this scenario, a hospital hires an external firm to review patient-routing software. The firm discovers that the system was sending specific patient groups to different buildings based on flawed data. By identifying the error, the hospital can take accountability and correct the software. This is a great way to show a student who needs to see the real-world application of ethics in math. It moves the conversation away from abstract theory and toward fixing tangible, harmful mistakes.

You can use this high school data science lesson for a whole-class assignment when you have a day dedicated to ethics or for a student who missed the week and needs to catch up on the social implications of data. The guided practice even includes a scenario where a school district uses a predictive model to identify which students might need extra help before they fall behind. It prompts students to think about how they would ensure that model remains fair. The lesson notes that effective accountability often requires binding policies, which are a formal set of rules that organizations must follow to remain in compliance, such as mandatory third-party code audits or government regulations.

One caveat for teachers is that students may initially struggle with the idea that an algorithm can be mathematically correct but socially biased. It takes some practice for them to see that the math is only as good as the data entered and the goals defined by the programmers. By the time they finish the material, they should be able to argue why companies have a duty to prioritize safety and fairness for the public. This lesson works well for a substitute day because the text is accessible, and the examples provide a clear path for students to follow without needing constant guidance.