Let’s take a look at the course syllabus together.
EDS 212: Day 1, Lecture 1
Course intro, algebra refresher
August 3rd, 2026
Welcome to EDS 212 - Essential Math in Environmental Data Science
About your instructor
Carmen Galaz García (she/her)
Before:
Teaching & Research


About your TA
Cella Schnabel


About you!
image: Flaticon.com
Course description
Let’s take a look at the course syllabus together.
Topics overview
Objectives (in general terms)
Shake off the math dust
Exercise core math skills needed to succeed in your Bren courses
Explore how valuable math is to environmental data science
Build a collaborative environment and get to know your cohort
Student expectations
We expect all students will:
Support and encourage all classmates
Be open to learning from each other
Bring a collaborative attitude and communicate respectfully
See opportunities to share kownledge as a chance to deepen understanding
Complete all in-class exercises
Logistics
Please fill out this survey
Why am I taking a math class?
or,
Why do I have to know math when a computer will do it for me?
A quantitative brain warm-up
MEDS students have diverse work & academic histories
This course (re)introduces math concepts and tools that:
Share with the person next to you:
What has been your life or professional experience with math? Best friend ever, mortal enemy, or something in between?
How do you see math being relevant to solving environmental problems?
Math is a core tool in environmental data science
Math helps us investigate the world and communicate our findings
Used by scientists to find evidence
Can be used to quantify relations, trends, and changes
Mathematical models can help us understand complex systems
Must be used responsibly and with awareness of potential biases and limitations
Helps us support arguments that can transform policy and actions
At the center of tools like statistics, machine lerning, and image processing
We need to understand the math to make decisions and efficient implementations using it!
Math at Bren
In your classes:
EDS 222: Statistics for Environmental Data Science
EDS 230: Modeling Environmental Systems
EDS 232: Machine Learning in Environmental Science
In Research
Ecology, modeling, economics, and more!
Today: Math brain warm up
Rules of algebra
You can get far with a few rules:
Follow order of operations (a.k.a. PEDMAS)
Never change an equation. Instead, rewrite them into more useful forms
Manipulate BOTH sides of an equation with the SAME PROCEDURE.
Always add/substract/multiply/divide by the same number on both sides. More generally, always apply the same function to both sides of the equation.
1. Order of operations (P-E-DM-AS)
P - Parentheses
E - Exponents
D/M - Division / multiplication
A/S - Addition / subtraction
1. Order of operations practice problems
Simplify the following:
✏️ Take a minute to solve these individually.
1. Order of operations practice problems
💡 Let’s see a solution!
\(\frac{4-6}{2}(3+1)-\frac{1+2*4}{3}\)
\(3x+4(8x-6x) -(2y-5)+\frac{2x(1-3)}{2}\)
1. Order of operations practice problems
💡 Let’s see a solution!
If we are given the values of \(x=-3\) and \(y=2\), what would be the value of \(z\)? \[ z = 4*(y-4)+(x+1)^2 \]
1. Notation matters
Simplify the following: \(6 \div 3(4+2)\)
What would be a harder-to-misinterpret way to write this?
1. An important takeaway:
Being readable & hard to incorrectly interpret is often as important as being technically “correct”
When designing things, it’s important to consider the different ways that users might misuse or misunderstand it - then build in safeguards to help them use it correctly. Clear communication and user-centered design is critical in environmental data science.
2. Solving equations
Equations help us find unknown values that satisfy certain conditions.
Remember the rules:
Never change an equation. Instead, we rewrite them into more useful forms
Manipulate BOTH sides of an equation with the SAME PROCEDURE.
Always add/substract/multiply/divide by the same number on both sides. More generally, always apply the same function to both sides of the equation.
Example
Prices are important in economics, but not always available for environmental goods.
How do we get prices if we know quantity?
\[ \require{cancel} \begin{aligned} Q&=\frac{(400-P)}{80} &\text{Isolate P in terms of Q} \\ \end{aligned} \]
✏️ Take a minute to solve this individually.
2. Solving equations
💡 Let’s see a solution!
Prices are important in economics, but not always available for environmental goods.
How do we get prices if we know quantity?
\[ \require{cancel} \begin{aligned} Q&=\frac{(400-P)}{80} &\text{Isolate P in terms of Q} \\ \end{aligned} \]
2. Solving equations
💡 Let’s see a solution!
Prices are important in economics, but not always available for environmental goods.
How do we get prices if we know quantity?
\[ \require{cancel} \begin{aligned} Q&=\frac{(400-P)}{80} &\text{Isolate P in terms of Q} \\ 80Q&=\frac{(400-P)\cancel{80}}{\cancel{80}} &\text{ Multiply both sides by 80} \\ 80Q-400&=\cancel{400}-\cancel{400} -P &\text{ Subtract both sides by 400} \\ -1(80Q-400)&=-P(-1) &\text{Multiply both sides by -1} \\ 400-80Q&=P &\text{Flip terms for simplicity} \end{aligned} \]
It can be easy to make mistakes while doing algebra. Practice is key!
Solve all in terms of \(x\)
✏️ Take a minute to solve these individually.
It can be easy to make mistakes while doing algebra. Practice is key!
💡 Let’s see a solution!
Solve all in terms of \(x\)
It can be easy to make mistakes while doing algebra. Practice is key!
💡 Let’s see a solution!
Solve all in terms of \(x\)
Practice solutions
\[
\small
\begin{aligned}
3x+2&=10x-12 \\
3x+2+12&=10x-12(+12) \\
3x-3x+14&=10x-3x \\
14&=7x \\
x&=2
\end{aligned}
\]
\[ \small \begin{aligned} 4-3(2x+1)&=8-\frac{3x}{2}\\ 4-3-6x&=8-\frac{3x}{2} \\ 1-6x&=8-\frac{3x}{2} \\ 2-12x&=16-3x \\ -9x&=14 \\ x&=\frac{-14}{9}\\ \end{aligned} \]
\[ \small \begin{aligned} 3(x+7a)-5&=b+2(c-4x)\\ 3x+21a-5&=b+2c-8x \\ 11x+21a-5&=b+2c \\ 11x&=5+b+2c-21a\\ x&=\frac{5+b+2c-21a}{11} \end{aligned} \]
Exponents make algebra more interesting!
Example
The expression \(x^3\) means \(x\) multiplied by itself 3 times: \[x^3=x * x * x\]
More generally, \[x^n = x \text{ to the power of } n.\]
Intuitively, the exponent \(n\) tells us how many times to multiply the basis \(x\) by itself:
\[x^n = \underbrace{x * x * ... * x}_{n \text{ times}}\]
But the exponent can be any (real) number, not only integers!
What are exponents good for?
They can describe really big numbers

Diameter of the Milky Way = 1,000,000,000,000,000,000,000 meters = \[10^{21} \text{ m}\]
And also really small numbers

Diameter of a human red blood cell = 0.0000000001 meters = \[10^{-10} \text{ m}\]
This way, we can use exponents to describe exponential growth and decay. Many environmental variables behave in this way.
Rules and properties of exponents (1)
✏️
Rules and properties of exponents (2)
✏️
Rules and properties of exponents (1)
Rules and properties of exponents (2)
\[ a = \sqrt[n]{x} \Rightarrow a^n = x \]
\[ \begin{array}{|l|l|} \hline \textbf{Rule} & \textbf{Expression} \\ \hline \text{Product Rule} & x^{a} \cdot x^{b} = x^{a+b} \\ \hline \text{Quotient Rule} & \frac{x^{a}}{x^{b}} = x^{a-b}, \quad x \neq 0 \\ \hline \text{Zero Exponent} & x^{0} = 1, \quad x \neq 0 \\ \hline \text{Negative Exponent} & x^{-a} = \frac{1}{x^{a}}, \quad x \neq 0 \\ \hline \text{Fractional Exponent} & x^{\frac{1}{n}} = \sqrt[n]{x} \\ \hline \text{Power of a Power} & (x^{a})^{b} = x^{ab} \\ \hline \text{Power of a Product} & (xy)^{a} = x^{a}y^{a} \\ \hline \text{Power of a Quotient} & \left(\frac{x}{y}\right)^{a} = \frac{x^{a}}{y^{a}} \\ \hline \text{$n$-th Root Definition} & a = \sqrt[n]{x} \quad \Rightarrow \quad a^{n} = x \\ \hline \end{array} \]
Exponents practice
✏️ Simplify the following.
\[ \begin{array}{|l|l|} \hline \textbf{Rule} & \textbf{Expression} \\ \hline \text{Product Rule} & x^{a} \cdot x^{b} = x^{a+b} \\ \hline \text{Quotient Rule} & \frac{x^{a}}{x^{b}} = x^{a-b}, \quad x \neq 0 \\ \hline \text{Zero Exponent} & x^{0} = 1, \quad x \neq 0 \\ \hline \text{Negative Exponent} & x^{-a} = \frac{1}{x^{a}}, \quad x \neq 0 \\ \hline \text{Fractional Exponent} & x^{\frac{1}{n}} = \sqrt[n]{x} \\ \hline \text{Power of a Power} & (x^{a})^{b} = x^{ab} \\ \hline \text{Power of a Product} & (xy)^{a} = x^{a}y^{a} \\ \hline \text{Power of a Quotient} & \left(\frac{x}{y}\right)^{a} = \frac{x^{a}}{y^{a}} \\ \hline \text{$n$-th Root Definition} & a = \sqrt[n]{x} \quad \Rightarrow \quad a^{n} = x \\ \hline \end{array} \]
Exponents practice
✏️ Let’s see a solution.
Multiplying expressions (FOIL)
First, Outside, Inside, Last
Example:
\[(2x+5)(x-3)\] ✏️ Expand this expression.
Multiplying expressions (FOIL)
First, Outside, Inside, Last
Example:
\[(2x+5)(x-3)\] ✏️ Let’s see a solution.
\[= (2x \times x) (2x \times -3) (5 \times x) (5 \times -3)\]
\[= 2x^2 - 6x + 5x - 15\]
\[=2x^2-x-15\]
Polynomials describe more complex relationships through exponents
A polynomial is a function of the form: \[ \large \begin{align} a_nx^n+a_{n-1}x^{n-1}+...+a_1x+a_0 \end{align} \]
Example:
\(x^5 + x^2 - 1\) is a polynomial of degree five with three terms.
Linear functions like \(mx + c\) where \(m\) and \(c\) are constants are polynomials of degree 1!
Polynomials often represent real world data better than a linear function.
UNITS. UNITS. UNITS.
Think about these statements, which all contain the same value of 4:
There are four in the refrigerator.
There are four burritos in the refrigerator.
There are four roaches in the refrigerator.
There are four million dollars in the refrigerator.
UNITS. UNITS. UNITS.
Think about this sign at New Cuyama. Anything odd here?

Units are critical in environmental data science
We cannot responsibly work with data without knowing the units of each variable we’re working with.
That means we need to always familiarize ourselves with metadata, carefully check units and any unit conversions, and understand how units combine into the units of a dependent variable.
Dimensional analysis (unit conversions)
In dimensional analysis, we multiply initial units by a sequence of unit conversion factors to arrive at the final desired units.
Example: How many centimiters are there in 6 inches?
✏️ Let’s solve this together.
Dimensional analysis (unit conversions)
In dimensional analysis, we multiply initial units by a sequence of unit conversion factors to arrive at the final desired units.
Example: How many centimiters are there in 6 inches?
We know: 1 inch = 2.54 cm. This gives us two unit conversion factors:
\[ \frac{2.54 \text{ cm}}{1 \text{ in}} \text{ and } \frac{1 \text{ in}}{2.54 \text{ cm}}.\] Important: the fraction the numerator and denominator represent the same quantity.
Then we multiply by the appropriate conversion factor and simplify:
\[\begin{align*} 6 \text{ in} &= 6 \text{ in} \cdot \frac{2.54 \text{ cm}}{1 \text{ in}}\\ &= 6 \frac{2.54}{1} \cdot \text{ in}\frac{\text{ cm}}{\text{ in}} \\ &= 15.24 \cancel{\text{ in}}\frac{\text{ cm}}{\cancel{\text{ in}}} \\ &= 15.24 \text{ cm} \end{align*}\]
Dimensional analysis (unit conversions)
Example. Convert \(100 \frac{g}{cm^3}\) into units of \(\frac{kg}{in^3}\), given that 1 cm3 = 0.061 in3.
✏️ Let’s solve this together.
Dimensional analysis (unit conversions)
Example. Convert \(100 \frac{g}{cm^3}\) into units of \(\frac{kg}{in^3}\), given that 1 cm3 = 0.061 in3.
We need one unit conversion factor for \(g\): \(\frac{1 \text{ kg}}{1000 \text{ g}}\).
And another one for \(\text{cm}^3\): \(\frac{1 \text{ cm}^3}{0.061 \text{in}^3}\).
Then we multiply by the conversion factors and simplify
\[\begin{align*} 100 \frac{\text{ g}}{\text{cm}^3} &= 100 \frac{\text{ g}}{\text{cm}^3} \cdot \frac{1 \text{ cm}^3}{0.061 \text{ in}^3} \cdot \frac{1 \text{ kg}}{1000 \text{ g}}\\ &= 100 \frac{1}{0.061} \frac{1}{1000}\cdot \frac{\text{ g}}{\text{cm}^3} \frac{\text{ cm}^3}{ \text{ in}^3} \frac{ \text{ kg}}{\text{ g}}\\ &= \frac{1}{0.61} \cdot \frac{\cancel{\text{ g}}}{\cancel{\text{cm}^3}} \frac{\cancel{\text{ cm}^3}}{ \text{ in}^3} \frac{ \text{ kg}}{\cancel{\text{ g}}}\\ &=1.639\frac{kg}{in^3} \end{align*}\]
Unit conversion practice
What is the total unrecovered amount of oil spilled into the watershed that year, in barrels. Use R & Google here for calculations.
Lunch break!
image: Flaticon.com