ME 163 Logistic Model for US Population



Similar documents
6.1. The Exponential Function. Introduction. Prerequisites. Learning Outcomes. Learning Style

Math 132. Population Growth: the World

Fractions as Numbers INTENSIVE INTERVENTION. National Center on. at American Institutes for Research

Examples on Monopoly and Third Degree Price Discrimination

Graphical Integration Exercises Part Four: Reverse Graphical Integration

Section 1. Inequalities

Section 1.4. Difference Equations

Note on growth and growth accounting

The Taxman Game. Robert K. Moniot September 5, 2003

Plotting Lines in Mathematica

c 2008 Je rey A. Miron We have described the constraints that a consumer faces, i.e., discussed the budget constraint.

1. The RSA algorithm In this chapter, we ll learn how the RSA algorithm works.

F.IF.7b: Graph Root, Piecewise, Step, & Absolute Value Functions

Kevin James. MTHSC 102 Section 1.5 Exponential Functions and Models

1 Review of Least Squares Solutions to Overdetermined Systems

AP Statistics Solutions to Packet 2

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.

1 Error in Euler s Method

6.080 / Great Ideas in Theoretical Computer Science Spring 2008

the points are called control points approximating curve

EXPONENTIAL FUNCTIONS

For additional information, see the Math Notes boxes in Lesson B.1.3 and B.2.3.

Matlab Practical: Solving Differential Equations

IB Maths SL Sequence and Series Practice Problems Mr. W Name

CHAPTER 11 PRICE AND OUTPUT IN MONOPOLY, MONOPOLISTIC COMPETITION, AND PERFECT COMPETITION

The Logistic Function

Biology Chapter 5 Test

(Refer Slide Time: 2:03)

Current California Math Standards Balanced Equations

Employment and Pricing of Inputs

EC 331: Research in Applied Economics

Solutions to Linear First Order ODE s

Elasticity. I. What is Elasticity?

The Method of Least Squares. Lectures INF2320 p. 1/80

Fixed Point Theorems

Time Series Forecasting Techniques

PART A: For each worker, determine that worker's marginal product of labor.

3.2. Solving quadratic equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

University of Saskatchewan Department of Economics Economics Homework #1

Continued Fractions. Darren C. Collins

LINEAR EQUATIONS IN TWO VARIABLES

Lecture Notes on Elasticity of Substitution

Monopoly and Monopsony Labor Market Behavior

The Graphical Method: An Example

WRITING A CRITICAL ARTICLE REVIEW

4 G: Identify, analyze, and synthesize relevant external resources to pose or solve problems. 4 D: Interpret results in the context of a situation.

Fibonacci Numbers and Greatest Common Divisors. The Finonacci numbers are the numbers in the sequence 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144,...

LINEAR INEQUALITIES. Mathematics is the art of saying many things in many different ways. MAXWELL

Hypothesis testing. c 2014, Jeffrey S. Simonoff 1

Student Outcomes. Lesson Notes. Classwork. Discussion (10 minutes)

12.5: CHI-SQUARE GOODNESS OF FIT TESTS

Designing Efficient Software for Solving Delay Differential Equations. C.A.H. Paul. Numerical Analysis Report No Oct 2000

EQUATIONS and INEQUALITIES

Curve Fitting, Loglog Plots, and Semilog Plots 1

Math 461 Fall 2006 Test 2 Solutions

100. In general, we can define this as if b x = a then x = log b

Graphing calculators Transparencies (optional)

How Cell Phones Have Changed Our Lives

Father s height (inches)

Notes on Continuous Random Variables

SEQUENCES ARITHMETIC SEQUENCES. Examples

Economics 121b: Intermediate Microeconomics Problem Set 2 1/20/10

Near Optimal Solutions

MULTIPLICATION AND DIVISION OF REAL NUMBERS In this section we will complete the study of the four basic operations with real numbers.

Review of Fundamental Mathematics

The «include» and «extend» Relationships in Use Case Models

Managerial Economics Prof. Trupti Mishra S.J.M. School of Management Indian Institute of Technology, Bombay. Lecture - 13 Consumer Behaviour (Contd )

The Standard Normal distribution

Euler s Method and Functions

The normal approximation to the binomial

This means there are two equilibrium solutions 0 and K. dx = rx(1 x). x(1 x) dt = r

Outline. Written Communication Conveying Scientific Information Effectively. Objective of (Scientific) Writing

2 Session Two - Complex Numbers and Vectors

3. Logical Reasoning in Mathematics

Georgia Department of Education Common Core Georgia Performance Standards Framework Teacher Edition Coordinate Algebra Unit 4

School of Engineering Department of Electrical and Computer Engineering

Chapter 11 Number Theory

Section 1.3 P 1 = 1 2. = P n = 1 P 3 = Continuing in this fashion, it should seem reasonable that, for any n = 1, 2, 3,..., =

22 COMPETITIVE MARKETS IN THE LONG-RUN

The Central Idea CHAPTER 1 CHAPTER OVERVIEW CHAPTER REVIEW

CHAPTER FIVE. Solutions for Section 5.1. Skill Refresher. Exercises

Representation of functions as power series

The Time Constant of an RC Circuit

Chapter 1: Looking at Data Section 1.1: Displaying Distributions with Graphs

Introduction to MATLAB IAP 2008

The Binomial Distribution

5/31/ Normal Distributions. Normal Distributions. Chapter 6. Distribution. The Normal Distribution. Outline. Objectives.

VANILLA OPTIONS MANUAL

CALCULATIONS & STATISTICS

2.2 Derivative as a Function

Solving Quadratic Equations by Graphing. Consider an equation of the form. y ax 2 bx c a 0. In an equation of the form

These draft test specifications and sample items and other materials are just that drafts. As such, they will systematically evolve over time.

Economics 326: Duality and the Slutsky Decomposition. Ethan Kaplan

1. The Fly In The Ointment

REPORT WRITING GUIDE

Microeconomic Theory: Basic Math Concepts

Maximum Likelihood Estimation

ECON 459 Game Theory. Lecture Notes Auctions. Luca Anderlini Spring 2015

Transcription:

logistic.nb 1 ME 163 Logistic Model for US Population Fitting the Logistic Model to the US Population in 1921 The year is 1921. You are a summer intern working for the US Census Bureau. Because of your background in differential equations obtained in ME 163, you have been asked to develop a theoretical model of the US population. You know the Malthusian model with unlimited exponential growth is not realistic, so you decide to use the logistic model, with its built-in limit to growth. The basic differential equation is dp ÅÅÅÅÅÅÅÅ dt As shown in class, the solution to the initial value problem is = kph1 - P ê PML. In[1]:= plog@t_, PM_D := PM êh1 + HHPM - P0LêP0L * Exp@-k * Ht - t0ldl Here PM is the maximum sustainable population, P0 is the initial population, k is the growth rate, and t0 is the initial time. Before using this function, we will need to supply values for these four constants. We use the census data given in the text (p. 101) from the initial census in 1790 up to the census of last year (1920). We store the data in a list named census. In[2]:= census = 881790, 3.93<, 81800, 5.31<, 81810, 7.24<, 81820, 9.64<, 81830, 12.87<, 81840, 17.07<, 818, 23.19<, 81860, 31.44<, 81870, 39.82<, 81880,.16<, 81890, 62.95<, 81900, 75.99<, 81910, 91.97<, 81920, 105.71<<; We can retrieve any element of the list by using the index of the element. For example, to get the third pair, we type In[3]:= census@@3dd Out[3]= 81810, 7.24< The final time in the data table we assign to the variable tf. In[4]:= tf = 1920; We begin our analysis by plotting this data. We call the graph censusgraph. The relevant plotting command is ListPlot, which plots a list of coordinate pairs. We use an option to make the dots bigger and hence a little easier to see. We ask that each dot have a width equal to 0.02 times the width of the plot.

logistic.nb 2 In[5]:= censusgraph = ListPlot@census, AxesLabel -> 8"Year", "Population"<, AxesOrigin -> 81790, 0<, PlotRange -> 881790, tf + 5<, 80, 125<<, PlotStyle -> PointSize@0.02DD; Population 120 80 60 40 20 To use the logistic model for predictive purposes, we must use the data to determine the values of the parameters in the model. The initial time and the initial population are gotten directly from the data: In[6]:= t0 = 1790; P0 = 3.93; As shown in class, we can estimate the growth rate k from the data for early years, in which the population is far below P M and hence the growth is Malthusian. We somewhat arbitrarily use the data points for 1790 and 1810 to estimate k. The estimate comes from the Malthusian law applied to the growth from the initial time 1790 to 1810 from which we get P(t) = P 0 Exp[k*(t - t0)], k = Log[P(t)/P(t0)]/(t - t0). We use Mathematica to calculate k, using the data from 1790 and 1810: 1 In[7]:= k = ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅ ÅÅÅÅÅÅÅÅÅÅÅ * Log@7.24 ê 3.93D 1810-1790 Out[7]= 0.0305491 The remaining parameter to determine is the maximum sustainable population PM. Although we could use a sophisticated numerical procedure to do this, it is more instructive to use a graphical trial-and-error procedure. Basically we will pick a value of PM and then plot the theoretical curve and the actual data on a single graph. We will vary PM until we get a match, if possible. We define a routine now called logistigraph which when executed will construct the theoretical graph with a supplied value of PM In[8]:= logisticgraph@pm_d := Plot@plog@t, PMD, 8t, t0, tf<, AxesLabel -> 8"Year", SequenceForm@" ", PaddedForm@PM, 84, 1<D, " L" D<, AxesOrigin -> 81790, 0<, PlotRange -> 881790, tf + 5<, 80, PM<<D; Let's try this out for PM =.

logistic.nb 3 In[9]:= graph = logisticgraph@d;.0 L 140 120 80 60 40 20 Now we use Mathematica's show command to combine this with the data: In[10]:= Show@graph, censusgraphd;.0 L 140 120 80 60 40 20 We see that the fit is not too bad, but the theoretical curve lies below the data. We will try larger values of PM. First we automate the process by defining now a routine which will construct the theoretical graph and combine it with the data graph all in one operation. We call this routine compare. In[11]:= compare@pm_d := Show@logisticgraph@PMD, censusgraphd We will now try this for a sequence of increasing PM values. In[12]:= compare@175d;

logistic.nb 4 175 125 75 25 175.0 L 175 125 75 25 175.0 L In[13]:= compare@d; 175 125 75 25.0 L

logistic.nb 5 175 125 75 25.0 L In[14]:= compare@225d; 225.0 L 225.0 L In[15]:= compare@2d;

logistic.nb 6 2 2.0 L 2 2.0 L In[16]:= compare@240d; 240.0 L

logistic.nb 7 240.0 L Several of the graphs show a good fit. Perhaps the best fit is for PM = 225. We use that value in what follows. What the 1921 Model Says in 0 The fit for PM = 225 appears to be excellent. Thus in 1921, you could have achieved a certain amount of fame by claiming that your mathematical model predicts a maximum US population of 225 million. As the years go by, your fame will turn to notoriety, if you are even remembered at all. Let's see why that is so by fast-forwarding to 0. Now our data list is In[17]:= census = 881790, 3.93<, 81800, 5.31<, 81810, 7.24<, 81820, 9.64<, 81830, 12.87<, 81840, 17.07<, 818, 23.19<, 81860, 31.44<, 81870, 39.82<, 81880,.16<, 81890, 62.95<, 81900, 75.99<, 81910, 91.97<, 81920, 105.71<, 81930, 122.78<, 81940, 131.67<, 819, 151.33<, 81960, 179.32<, 81970, 203.21<, 81980, 226.<, 81990, 249.63<<; We change our final time to In[18]:= tf = 1990; and replot both the data and the model for PM = 2.

logistic.nb 8 In[19]:= censusgraph = ListPlot@census, AxesLabel -> 8"Year", "Population"<, AxesOrigin -> 81790, 0<, PlotRange -> 881790, tf + 5<, 80, 300<<, PlotStyle -> PointSize@0.02DD; Population 300 2 1800 18 1900 19 Year In[20]:= compare@225d; 225.0 L 1800 18 1900 19 Year 225.0 L 1800 18 1900 19 Year It is clear from the graph that this is not a very good fit. The data are showing a very different trend than the model. We also know that the present population of the US is well over the predicted theoretical maximum of 225 million. The

logistic.nb 9 point is that the logistic model with only two fixed parameters (k and PM) should not be expected to predict the population in a complex, time-dependent and evolving culture. Of course the question of the maximum sustainable population in the US or other countries or the entire world is a crucial one, but one on which experts do not agree. Who Was Thomas Malthus? In 1798, the English clergyman, professor, and political economist Thomas R. Malthus published anonymously a pamphlet entitled An Essay on the Principle of Population as It Affects the Future Improvement of Society, with Remarks on the Speculations of Mr. Godwin, M. Condorcet, and Other Writers. ( A number of inexpensive modern reprints are available -- for example, the one edited by Geoffrey Gilbert and published by Oxford University Press in 1993.) This pamphlet was meant to counter some of the rosier utopian views of that time on the perfectability of human society. Malthus' counter argument was that population growth would eventually produce widespread poverty or worse. In his words (p. 61 of the edition cited above): "Must it not then be acknowledged by an attentive examiner of the histories of mankind, that in every age and in every state in which man has existed, or does now exist, That the increase of population is necessarily limited by the means of subsistence. That population does invariably increase when the means of subsistence increase. And, That the superior power of population is repressed, and the actual population kept equal to the means of subsistence, by misery and vice." These were not popular words in 1798 nor are they now. The debate started by Malthus continues to this day. Thomas R. Malthus (1766-1834)