Math 319: Math Modeling

Prof. Andrew Ross

Winter 2022

Basic Information

Note: this syllabus is temporary, and may change up to the first day of class.
This version posted on: 2022-01-09

Something You Would Hope Wouldn't Need To Be Said, But It Does

I stand against white supremacy and racism in all forms in my career, as part of my profession, and in my everyday life. I can supply you a lot of reading about white supremacy and racism in math--please ask! In the meantime, here are a few links or thoughts:

A Sense of Belonging

I hope that everyone knows that they belong in this class, and that our class atmosphere contributes to that sense of belonging. You belong in this class even if nobody else (or only a few people) look like you--that's the fault of racist/sexist/ableist systems, not your fault. You belong in this class even if you feel like your math skills aren't where you want them to be--we'll work together on that.

Parenting

I hope that we can have a parent-friendly classroom. Parenting is hard work, and doubly so when combined with being a student. I recognize that there may occasionally be times when the way to make it possible is to have your child accompany you to class, whether that is because it's how your new baby gets fed, or because your older child's school doesn't meet that day. Know that they are welcome! I trust your judgement on what your child can be present for, and that you will provide supervision/quiet activities for them during class. I honor the hard work that you are doing. I also appreciate the issues involved in taking care of other friends and relatives (such as elders).

General Description

Math Modeling is the art of taking a real-world problem and stating it in mathematical terms. It often involves making simplifying assumptions. In our class, we get in the habit of doing all the parts of the math modeling cycle: modeling, solving, checking, and guessing. Often, a large part of the problem is even deciding which problem to solve. For example, should you find the best schedule for your staff at one location, or consider opening new locations? Should you start with a theoretical model then match it to data, or just model the data directly? We will also consider a lot of common mathematical models, and explore their properties.

Course Catalog Entry

The modeling process; model building and evaluation, techniques of modeling; model fitting and models requiring optimization; empirical model construction---experimental models, dimensional analysis, simulation models, dynamic models; use of derivatives in the modeling process, single and multivariable dynamic models.

Prerequisites

Supposedly Math 120 and Math 122, but really we don't use them very heavily.
Some experience using Excel, Python, R, VBA, Mathematica, Maple, or Matlab will also be VERY helpful, but it is not strictly a prerequisite.

Follow-up courses: Math 325 Differential Equations, Math 418 Modeling with Linear Algebra, Math 419W Introduction to Stochastic Mathematical Modeling, Math 425 Math for Scientists, Math 436 Numerical Analysis

The U of M has two related courses: Math 462, "Mathematical Modeling", and Math 463, "Mathematical Modeling in Biology". However, these focus on differential equation models, while this class focuses on regression, operations research, and dynamical systems.

Class Meetings

Math 319 Section 0, CRN 20534; 2:00-3:15 M/W in-person (we hope!)
3 credit hours.
A detailed schedule follows. While I'm good at sticking to a schedule in Math 110, 120, 121, and Stat 360, I'm not so good at sticking to it in Math 319. Bonus Excel stuff is in this Youtube playlist
Block#Date 2022dayunittopicsBonus Excel Material after classHW assignedHW duePython goals
11/10Mongeneral modelingintro; math model examples; a math model has; graph sketching M1  
21/12Wedgeneral modelingbloom's taxonomy; CCSS-M standards for mathematical practice; malaria nets--start simple; evacuation; modeling cycletext-to-columnsM2M1import csv file
 1/17Mon MLK Jr. Day - No Classes; Campus-wide Celebration! Think about math/stats and civil rights.    
31/19Wedgeneral modelingreal modeling cycle; oper tact strat; airline problems; concept maps; intro to excel (graphing, label axes, title, autofill, control-shift-down)left/mid/right and =DATEM3M2matplotlib
41/24Monregressionlinear regression: houses, predictions, residuals, graph residuals!vlookupR1, R2M3statsmodels.OLS or sklearn.linear_model.LinearRegression
51/26WedregressionR^2; school district data; correlation/causation; ecological fallacy; common resid graphs; basic procedure; LSRL math model; averaging before regression?marked scatterplotsR3R1Matrix of scatterplots: https://colab.research.google.com/drive/1QRhh8InP7jq3ygfZfkOo7vBoZkTtG8oG
61/31MonregressionPre-Lab at home: 4-function pre-quiz; in-class: answers; exponential fits, compound interestsparklines R3 before class, R2R2 solution key in Python--ask me for link
72/2Wedregressionyeast; logplots; power fitPivot TablesR4 logarithms and linear regression
82/7Monregressionlog-of-log, model selection, occam's razor, multivariate regression school dataparallel axis plotsR5R4multiple regression; r4 solution key in Python; r6 demo https://colab.research.google.com/drive/1eJGi9k7HIWmtLvnXlStOxKZNSnL_X3uS
92/9Wedregressionheat index; polynom; sinesLiveRegression R5numpy.polyfit or statsmodels.OLS
102/14Monregressionfalstad.com java fourier app; waves and trends R6 FFT? voiceprint?
112/16WedregressionQuiz on R5; Logistic; overfitting/crossvalidation; Machine Learning overviewgenerating random numbersR7, R8, R9R6generating random numbers; scipy.optimize.curve_fit; sklearn.linear_model.LogisticRegression ; r7 demo https://colab.research.google.com/drive/1g_UsVwZAGnnUEqc_0A46y4E9cg1FSmlH
122/21MonoptimizationLP toys, wyndor (no sensitivity analysis), knapsack, swimmers O1R7scipy.optimize.linprog vs PuLP
132/23Wedoptimizationshift scheduling; network flow O2R9 
143/7MonoptimizationNetworks  O1 
153/9WedoptimizationMCNF node-node; ramen; brief fast-food intro; sensitivity analysis on wyndor; feas region; fundamental theorem of LP O3, M4O2 
163/14Monoptimizationexample papers: dinosaur and relay; NLP: manufacturing, electricityPasting into Word/PPT: live or dead copies? O3, M4scipy.optimize.minimize
173/16Wedoptimizationconcavity  proposal 1 
183/21Monoptimizationairport O4  
193/23Wedoptimizationshotspotter O5  
203/28MondynsysDynamical Systems; PID; credit card, repeated dosing  O4, O5for-loop
213/30WedprojectsProject Presentations  report 1; presentation 1 
224/4MonprojectsProject Presentations M6  
234/6Weddynsyslimited population growth; quiz D1M6 (yes, before M5.) 
244/11Mondynsyspagerank; leslie; SIR; pred/prey;oilspill D2D1 
 4/13Weddynsysmultiple initial conditions; equilibria; delta plots; phase-plane plots; fitting limited-pop growth D3proposal2 
254/18Mondynsysobservation noise, process noise  D2 
264/20Weddynsysrepeated dosing? accel/vel/pos? chaos? splines? PERT/CPM? wrapup; M5 & M6 discussion; presentations D4, M5D3 
274/25Monprojects1:30-3:00 Presentations during "final exam" slot; AN HOUR EARLY!  report 2; presentation 2 
284/27  no class; other classes having finals.  D4, M5
Block#	Date 2022	day	unit	topics	Bonus Excel Material after class	HW assigned	HW due	Python goals
1	1/10	Mon	general modeling	intro; math model examples; a math model has; graph sketching		M1		
2	1/12	Wed	general modeling	bloom's taxonomy; CCSS-M standards for mathematical practice; malaria nets--start simple; evacuation; modeling cycle	text-to-columns	M2	M1	import csv file
	1/17	Mon		MLK Jr. Day - No Classes; Campus-wide Celebration! Think about math/stats and civil rights.				
3	1/19	Wed	general modeling	real modeling cycle; oper tact strat; airline problems; concept maps; intro to excel (graphing, label axes, title, autofill, control-shift-down)	left/mid/right and =DATE	M3	M2	matplotlib
4	1/24	Mon	regression	linear regression: houses, predictions, residuals, graph residuals!	vlookup	R1, R2	M3	statsmodels.OLS or sklearn.linear_model.LinearRegression
5	1/26	Wed	regression	R^2; school district data; correlation/causation; ecological fallacy; common resid graphs; basic procedure; LSRL math model; averaging before regression?	marked scatterplots	R3	R1	Matrix of scatterplots: https://colab.research.google.com/drive/1QRhh8InP7jq3ygfZfkOo7vBoZkTtG8oG
6	1/31	Mon	regression	Pre-Lab at home: 4-function pre-quiz; in-class: answers; exponential fits, compound interest	sparklines		R3 before class, R2	R2 solution key in Python--ask me for link
7	2/2	Wed	regression	yeast; logplots; power fit	Pivot Tables	R4		logarithms and linear regression
8	2/7	Mon	regression	log-of-log, model selection, occam's razor, multivariate regression school data	parallel axis plots	R5	R4	multiple regression; r4 solution key in Python; r6 demo https://colab.research.google.com/drive/1eJGi9k7HIWmtLvnXlStOxKZNSnL_X3uS
9	2/9	Wed	regression	heat index; polynom; sines	LiveRegression		R5	numpy.polyfit or statsmodels.OLS
10	2/14	Mon	regression	falstad.com java fourier app; waves and trends		R6		FFT? voiceprint?
11	2/16	Wed	regression	Quiz on R5; Logistic; overfitting/crossvalidation; Machine Learning overview	generating random numbers	R7, R8, R9	R6	generating random numbers; scipy.optimize.curve_fit;  sklearn.linear_model.LogisticRegression ; r7 demo https://colab.research.google.com/drive/1g_UsVwZAGnnUEqc_0A46y4E9cg1FSmlH
12	2/21	Mon	optimization	LP toys, wyndor (no sensitivity analysis), knapsack, swimmers		O1	R7	scipy.optimize.linprog vs PuLP
13	2/23	Wed	optimization	shift scheduling; network flow		O2	R9	
14	3/7	Mon	optimization	Networks			O1	
15	3/9	Wed	optimization	MCNF node-node; ramen; brief fast-food intro; sensitivity analysis on wyndor; feas region; fundamental theorem of LP		O3, M4	O2	
16	3/14	Mon	optimization	example papers: dinosaur and relay; NLP: manufacturing, electricity	Pasting into Word/PPT: live or dead copies?		O3, M4	scipy.optimize.minimize
17	3/16	Wed	optimization	concavity			proposal 1	
18	3/21	Mon	optimization	airport		O4		
19	3/23	Wed	optimization	shotspotter		O5		
20	3/28	Mon	dynsys	Dynamical Systems; PID; credit card, repeated dosing			O4, O5	for-loop
21	3/30	Wed	projects	Project Presentations			report 1; presentation 1	
22	4/4	Mon	projects	Project Presentations		M6		
23	4/6	Wed	dynsys	limited population growth; quiz		D1	M6 (yes, before M5.)	
24	4/11	Mon	dynsys	pagerank; leslie; SIR; pred/prey;oilspill		D2	D1	
	4/13	Wed	dynsys	multiple initial conditions; equilibria; delta plots; phase-plane plots; fitting limited-pop growth		D3	proposal2	
25	4/18	Mon	dynsys	observation noise, process noise			D2	
26	4/20	Wed	dynsys	repeated dosing? accel/vel/pos? chaos? splines? PERT/CPM? wrapup; M5 & M6 discussion; presentations		D4, M5	D3	
27	4/25	Mon	projects	1:30-3:00 Presentations during "final exam" slot; AN HOUR EARLY!			report 2; presentation 2	
28	4/27			no class; other classes having finals.			D4, M5	

Class meetings will be mostly interactive lectures, with some time to work on problems in class, and some time to go over problems from the homework. You should bring a laptop to most class sessions, since I couldn't get a computer lab for us. If you don't have a laptop, buddy up with someone who does.

I expect that you will work on Math 319 for 6 to 9 hours per week outside of class during a regular (Fall or Winter) semester, and 2 times that during a Summer semester (7.5-week session)

Instructor information

Professor Andrew Ross
Pray-Harrold 515m
andrew.ross@emich.edu
http://emunix.emich.edu/~aross15
(734) 487-1658, but I strongly prefer e-mail instead of phone contact.
Math department main office: Pray-Harrold 515, (734) 487-1444

Office Hours and other help

Here is my complete schedule.
 
Mon/Wed:
	2:00-3:15 Math 319
	then, haphazardly scheduled Zoom office hours. Email for an appointment.
Tue/Thu:
	haphazardly scheduled Zoom office hours. Email for an appointment.
	 
Fri:
	No official office hours, but I'm available for Zoom appointments.
	
	11:00-12:00 department colloquium (once a month)
	12:30-2:30 department meeting (once a month)
	

I am also happy to make appointments if you cannot come to the general office hours. Please send me e-mail to arrange an appointment.

The Mathematics Student Services Center (or "Math Lab") is also here to help you, in Pray-Harrold 411 Their hours are posted here. Please give them a call at 734-487-0983 or just drop by.

A good place to study, if the Math Lab doesn't suit you, is the Math Den, Pray-Harrold room 501.

Another resource on campus is the Holman Success Center, formerly the Holman Learning Center.

Many assignments in this course will be in the form of papers, which I want to be well written. Please consult with The Writing Center for help in tuning up your writing.

Teaching philosophy, interests

I am a very applied mathematician. Applied, applied, applied. Not pure. Impure. I try to focus on real-world problems, rather than artificial drill problems (though I do recognize the need for some drill). My classes spend much more time on formulating problems (going from the real world to math notation and back) than on proving theorems. If you want the theoretical basis for anything we are discussing, please ask!

My general math interests are in Industrial Engineering and Operations Research (IEOR). In particular, I do research in applied probability and queueing theory, the mathematics of predicting how long it takes to wait in line for service. You can learn more about this in Math 319 and 419 when I teach them. I also enjoy teaching about cost-minimizing/profit-maximizing methods called Non-Linear Programming (NLP) in Math 560.

(not-absolutely-)Required materials

Most students do well in this course without a textbook. For those who feel the need to have one just in case, I suggest finding "A First Course in Mathematical Modeling", any edition, by Giordano, Weir, and Fox, in a library or the Math Den (PH 501).

A lot of our work will be done on computers, specifically in Excel or other spreadsheet software (except Apple Numbers). If you had been waiting for a good reason to buy a laptop, this is it.

Spreadsheets other than Excel (such as OpenOffice/LibreOffice, Google Docs, etc.) work reasonably well for most things in the class, but some things really don't work well without name-brand Excel. Fortunately, it's available free to EMU students (as of Fall 2016). Email me to ask for details.

Course Web Pages

I will post data files, homework assignment files, etc. on my home page.

We will use an on-line gradebook (via EMU Canvas) to keep track of grades. It is a good idea to keep an eye on your scores using the system, and get extra help if your scores indicate the need. Nearly everything will be submitted via the various dropboxes inside EMU Canvas. The rule is: if it's not in a dropbox, it doesn't exist (for grading purposes).

Supplementary Materials

Here is a list of books that I have found interesting and related to math modeling. Perhaps some of them will strike your fancy, too. I own the ones that are starred (*) and can lend them to you. Others you will have to find at the library or on the usual Internet booksellers. Links are given to Amazon, but I do not specifically endorse them or any particular bookseller. Of course, if you like a book you can see what similar books the online bookseller recommends. Here are some journals that you might be interested in: Other Stuff:

Course Content

Course Goals

Our primary goal is to teach you to be a good (or great!) math modeler. To be a good modeler, you need:

We have a few secondary goals, which may be more or less applicable to your personal situation:

Student Outcomes

By the end of the course, students will be able to: (optional topics that we might not get to are marked with a ?) Also compare this list of outcomes to the CUPM 2015 course guide for math modeling.

This course was originally organized around the Giordano modeling textbook, though it is not required for the course. Here we show which chapters from that book we cover, in roughly the order we will cover them. A star (*) denotes full coverage, a plus (+) denotes partial coverage, and no symbol denotes no coverage. For example, DTMCs (as cool as they are) will be covered in Math 419 rather than 319.

Ch  2:+ proportionality, similarity
Ch  3:* model fitting, least-squares
Ch  4:+ experimental modeling, high-order polynom, low-order polynom, splines
Ch  5:+ simulation
Ch  6:  Discrete Time Markov Chains (DTMCs)
Ch  8:+ modeling using graph theory
Ch  7:+ Linear Programming (LP), one-dim. line search
		(and add Integer Programming?)
Ch 13:* Non-Linear Programming (NLP), inventory
Ch  9:+ dimensional analysis and similitude
Ch 10:  graphs of functions as models
Ch  1:* difference equations, dynamical systems
Ch 11:+ one-dim ODEs
Ch 12:+ systems of ODEs
Some variations in this outline are to be expected.

Grading Policies

Attendance

Regular attendance is strongly recommended. Since there is no formal textbook, missing class means you will miss a lot! If you must miss a class, arrange to get a copy of the notes from someone, and arrange for someone to ask your questions for you.

My lectures and discussions mostly use the document camera, along with demonstrations in Excel and other mathematical software. I do not usually have PowerPoint-like presentations, and thus cannot hand out copies of slides.

Homework

Homework will be assigned about once per class meeting, though some assignments are short. It will sometimes be a small problem set designed to help you understand the behavior of math models. Other times, it will involve writing up a little paper on an assigned topic. All homework should be typed unless noted.

Homework papers should be submitted on-line, where they might be checked by TurnItIn or a similar service. This is partly to help keep you honest, and partly to help you learn acceptable ways to cite the work of others. A side benefit is that sometimes TurnItIn finds papers relevant to your work that you would not have found otherwise!

Exams

There will be no exams, unless the class demonstrates an unwillingness to be motivated any other way.

Projects

Instead of a mid-term and a final exam, you will do a mid-term and a final project. Your results will be reported in a paper and a presentation to the class. You may work by yourself or in a team of 2 people, but no groups larger than 2 will be allowed. You may switch project partners at your will. Your project grades will each be split something like this:

The final presentations will be made during the time slot reserved for the final exam.

On average, students should spend a total of about 30 minutes in office hours discussing the project. Plan for this in advance!

Overall Grades

No scores will be dropped, unless a valid excuse with evidence (as needed) is given. In the unfortunate event of a medical need, the appropriate grade or grades might be dropped entirely, rather than giving a make-up, at the instructor's discretion. You are highly encouraged to still complete the relevant assignments and consult with me during office hours to ensure you know the material.

Your final score will be computed as follows: Final percentage scores will be given letter grades as follows:

General Caveat

The instructor reserves the right to make changes to this syllabus throughout the semester. Notification will be given in class or by e-mail or both. If you miss class, it is your responsibility to find out about syllabus and schedule changes, especially the due dates and times of projects, assignments, or presentations.

Advice from Other Math Modeling Students

In the last two semesters, I've asked my math modeling students to give advice to you, future math modeling students, based on their experiences in my course. Here are some of the highlights:

Land Acknowledgement

The campus of Eastern Michigan University is located on the traditional territory (ceded in the 1807 Treaty of Detroit) of the Anishinaabeg, which refers collectively to the Ojibwe, Odawa, and Potawatomi (also known as the People of the Three Fires), and was also home to the Wendat/Wyandot people. This acknowledgement is included here to honor the elders and stewards of these heritages. Let’s consider this: https://theconversation.com/land-acknowledgments-meant-to-honor-indigenous-people-too-often-do-the-opposite-erasing-american-indians-and-sanitizing-history-instead-163787 which concludes with “Land acknowledgments are not harmful, we believe, if they are done in a way that is respectful of the Indigenous nations who claim the land, accurately tell the story of how the land passed from Indigenous to non-Indigenous control, and chart a path forward for redressing the harm inflicted through the process of land dispossession. What many Indigenous persons want from a land acknowledgment is, first, a clear statement that the land needs to be restored to the Indigenous nation or nations that previously had sovereignty over the land. This is not unrealistic: There are many creative ways to take restorative measures and even to give land back, such as by returning U.S. national parks to the appropriate tribes. Following from this, land acknowledgments must reveal a sincere commitment to respecting and enhancing Indigenous sovereignty. If an acknowledgment is discomforting and triggers uncomfortable conversations versus self-congratulation, it is likely on the right track.”

University Writing Center

The University Writing Center (115 Halle Library; 487-0694) offers one-to-one writing consulting for both undergraduate and graduate students. The UWC also has several college and program satellite locations across campus. The locations and hours for the other satellites can be found on the UWC web site: http://www.emich.edu/ccw/writing-center/contact.php Students seeking writing support at any UWC location should bring a draft of their writing (along with any relevant instructions or rubrics) to work on during the consultation.

Standard University Policies

In addition to the articulated course specific policies and expectation, students are responsible for understanding all applicable university guidelines, policies, and procedures. The EMU Student Handbook is the primary resource provided to students to ensure that they have access to all university policies, support resources, and student's rights and responsibilities. Changes may be made to the EMU Student Handbook whenever necessary, and shall be effective immediately, and/or as of the date on which a policy is formally adopted, and/or the date specified in the amendment. Electing not to access the link provided below does not absolve a student of responsibility. For questions about any university policy, procedure, practice, or resource, please contact the Office of the Ombuds: 248 Student Center, 734.487.0074, emu_ombuds@emich.edu, or visit the website at www.emich.edu/ombuds . CLICK HERE to access the University Course Policies

Food Pantry

Swoop's Pantry (104 Pierce Hall, emich.edu/swoopspantry, 734 487 4173) offers food assistance to all EMU students who could benefit. Students are able to visit twice per month to receive perishable and non-perishable food items, personal hygiene items, baby items, and more. Students can visit our website for hours of operation and more information. If you are in a position to donate to Swoop's, I encourage you to do so!

Resources

https://www.emich.edu/studenthandbook/campus-resources/index.php

EMU COVID Policies, etc.

www.emich.edu/emusafe

In addition to the articulated course specific policies and expectation, students are responsible for understanding all applicable university guidelines, policies, and procedures. The EMU Student Handbook is the primary resource provided to students to ensure that they have access to all university policies, support resources, and student's rights and responsibilities. Changes may be made to the EMU Student Handbook whenever necessary, and shall be effective immediately, and/or as of the date on which a policy is formally adopted, and/or the date specified in the amendment. Electing not to access the link provided below does not absolve a student of responsibility. For questions about any university policy, procedure, practice, or resources, please contact the Office of the Ombuds: 248 Student Center, 734.487.0074, emu_ombuds@emich.edu, or visit the website at www.emich.edu/ombuds. CLICK HERE to access the University Course Policies

Refusals to comply with COVID mitigation requirements are a disruption of the classroom learning environment. This includes examples such as refusing to wear a face mask, maintain appropriate distancing, or otherwise comply with the University' COVID-19 policies. Steps that instructors may take in the event of a classroom disruption include:

Make reasonable efforts to resolve the classroom disruption within the classroom. This includes reminding the student that they must wear a face mask, class will not begin and instructors are not permitted to conduct a class session until they do so. Failure to comply with University policy will subject the student to disciplinary action.

If the behavior persists and the student does not comply with the policy, the instructor has the right to (and with masking violations SHOULD) discontinue the class session and immediately report the behavior to their department head/school director who will contact the Office of Wellness and Community Responsibility.

If the situation escalates and an instructor feels an immediate threat to themselves or others, they may contact DPS (911 or 734-487-1222) for support.

University Writing Center

The University Writing Center Virtual (UWCV) offers writing support to all undergraduate and graduate students. In doing so, we value the diversity of our campus and honor all students and the languages they bring with them to the University.

Holman Success Center

Provides Academic Support through a variety of virtual and in-person services

Disabilities Resource Center

The DRC works collaboratively with students, faculty and staff to create an accessible, sustainable, and inclusive educational environment.

University Library

Research support is available to all students, 24/7. This includes getting started with research, identifying sources to search, developing search strategies, evaluating resources, and more. See https://www.emich.edu/library/help/ask.php for all of the ways in which you can get help with research. Some University Library services have changed, and may continue to change, in response to the pandemic. Please check for current information at https://www.emich.edu/library/news/covid.php

Title IX regarding discrimination on the basis of sex

Title IX of the Education Amendments of 1972 prohibits discrimination on the basis of sex under any education program or activity receiving federal financial aid. Sexual assault and sexual harassment is a form of sex discrimination prohibited by Title IX. What you need to know about Title IX

Student and Exchange Visitor Statement (SEVIS):

The Student Exchange Visitor Information System (SEVIS) requires F and J students to report numerous items to the Office of International Students & Scholars (OISS)