Outline. Calculus for the Life Sciences. Kleiber s Relationship. Metabolism/Weight for Animals. Lecture Notes Allometric Modeling

Similar documents
3.2 LOGARITHMIC FUNCTIONS AND THEIR GRAPHS. Copyright Cengage Learning. All rights reserved.

FINAL EXAM SECTIONS AND OBJECTIVES FOR COLLEGE ALGEBRA

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

What does the number m in y = mx + b measure? To find out, suppose (x 1, y 1 ) and (x 2, y 2 ) are two points on the graph of y = mx + b.

Exponential and Logarithmic Functions

Microeconomics Sept. 16, 2010 NOTES ON CALCULUS AND UTILITY FUNCTIONS

Review of Fundamental Mathematics

Lecture 3 : The Natural Exponential Function: f(x) = exp(x) = e x. y = exp(x) if and only if x = ln(y)

The Point-Slope Form

MBA Jump Start Program

Microeconomic Theory: Basic Math Concepts

Linear Equations. Find the domain and the range of the following set. {(4,5), (7,8), (-1,3), (3,3), (2,-3)}

RESPIRATION and METABOLIC RATE page 43

Graphing Linear Equations

List the elements of the given set that are natural numbers, integers, rational numbers, and irrational numbers. (Enter your answers as commaseparated

Nonlinear Regression Functions. SW Ch 8 1/54/

Vocabulary Words and Definitions for Algebra

Equations. #1-10 Solve for the variable. Inequalities. 1. Solve the inequality: Solve the inequality: 4 0

MAT12X Intermediate Algebra

1. Which of the 12 parent functions we know from chapter 1 are power functions? List their equations and names.

CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA

Curve Fitting, Loglog Plots, and Semilog Plots 1

Experiment #1, Analyze Data using Excel, Calculator and Graphs.

Linear Approximations ACADEMIC RESOURCE CENTER

QUADRATIC, EXPONENTIAL AND LOGARITHMIC FUNCTIONS

ALGEBRA REVIEW LEARNING SKILLS CENTER. Exponents & Radicals

PLOTTING DATA AND INTERPRETING GRAPHS

Graphing Rational Functions

Negative Integer Exponents

Section 4.5 Exponential and Logarithmic Equations

a. all of the above b. none of the above c. B, C, D, and F d. C, D, F e. C only f. C and F

Lecture 3: Derivatives and extremes of functions

Mathematics Review for MS Finance Students

Algebra 2 Year-at-a-Glance Leander ISD st Six Weeks 2nd Six Weeks 3rd Six Weeks 4th Six Weeks 5th Six Weeks 6th Six Weeks

CURVE FITTING LEAST SQUARES APPROXIMATION

Inverse Functions and Logarithms

x 2 + y 2 = 1 y 1 = x 2 + 2x y = x 2 + 2x + 1

This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.

Polynomial and Rational Functions

Math 120 Final Exam Practice Problems, Form: A

MPE Review Section III: Logarithmic & Exponential Functions

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

Algebra I Vocabulary Cards

12.6 Logarithmic and Exponential Equations PREPARING FOR THIS SECTION Before getting started, review the following:

Lecture 8 : Coordinate Geometry. The coordinate plane The points on a line can be referenced if we choose an origin and a unit of 20

Slope-Intercept Equation. Example

Chemical Kinetics. Reaction Rate: The change in the concentration of a reactant or a product with time (M/s). Reactant Products A B

AP Physics 1 and 2 Lab Investigations

PRACTICE FINAL. Problem 1. Find the dimensions of the isosceles triangle with largest area that can be inscribed in a circle of radius 10cm.

Algebra 2: Themes for the Big Final Exam

Sample lab procedure and report. The Simple Pendulum

correct-choice plot f(x) and draw an approximate tangent line at x = a and use geometry to estimate its slope comment The choices were:

6.4 Logarithmic Equations and Inequalities

Pennsylvania System of School Assessment

Chemical Kinetics. 2. Using the kinetics of a given reaction a possible reaction mechanism

1.3 LINEAR EQUATIONS IN TWO VARIABLES. Copyright Cengage Learning. All rights reserved.

3.3. Solving Polynomial Equations. Introduction. Prerequisites. Learning Outcomes

Some Lecture Notes and In-Class Examples for Pre-Calculus:

High School Algebra Reasoning with Equations and Inequalities Solve systems of equations.

Algebra and Geometry Review (61 topics, no due date)

Examples of Tasks from CCSS Edition Course 3, Unit 5

Pre-Session Review. Part 2: Mathematics of Finance

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

LIGHTSTICK KINETICS. INTRODUCTION: General background on rate, activation energy, absolute temperature, and graphing.

Nominal and Real U.S. GDP

Module M1.5 Exponential and logarithmic functions

Algebra II End of Course Exam Answer Key Segment I. Scientific Calculator Only

Using Excel (Microsoft Office 2007 Version) for Graphical Analysis of Data

Week 2: Exponential Functions

Reaction Rates and Chemical Kinetics. Factors Affecting Reaction Rate [O 2. CHAPTER 13 Page 1

NEW YORK STATE TEACHER CERTIFICATION EXAMINATIONS

Exponential Functions. Exponential Functions and Their Graphs. Example 2. Example 1. Example 3. Graphs of Exponential Functions 9/17/2014

Understanding Basic Calculus

Florida Math for College Readiness

Tutorial on Using Excel Solver to Analyze Spin-Lattice Relaxation Time Data

College Algebra. George Voutsadakis 1. LSSU Math 111. Lake Superior State University. 1 Mathematics and Computer Science

LINEAR EQUATIONS IN TWO VARIABLES

Section 1.1 Linear Equations: Slope and Equations of Lines

How To Understand And Solve Algebraic Equations

Homework # 3 Solutions

1. What do you think is the definition of an acid? Of a base?

Course Objective This course is designed to give you a basic understanding of how to run regressions in SPSS.

Algebra 1 Course Title

Non-Linear Regression Samuel L. Baker

Section 4-7 Exponential and Logarithmic Equations. Solving an Exponential Equation. log log 5. log

Section 1.4. Difference Equations

USING EXCEL ON THE COMPUTER TO FIND THE MEAN AND STANDARD DEVIATION AND TO DO LINEAR REGRESSION ANALYSIS AND GRAPHING TABLE OF CONTENTS

How To Understand Algebraic Equations

ALGEBRA 2: 4.1 Graph Quadratic Functions in Standard Form

Slope-Intercept Form of a Linear Equation Examples

Part 1: Background - Graphing

A synonym is a word that has the same or almost the same definition of

Integer Operations. Overview. Grade 7 Mathematics, Quarter 1, Unit 1.1. Number of Instructional Days: 15 (1 day = 45 minutes) Essential Questions

3.1. RATIONAL EXPRESSIONS

1. Then f has a relative maximum at x = c if f(c) f(x) for all values of x in some

Simple Linear Regression

Common Core Unit Summary Grades 6 to 8

South Carolina College- and Career-Ready (SCCCR) Algebra 1

Solving Exponential Equations

Physics Lab Report Guidelines

Transcription:

Calculus for the Life Sciences Lecture Notes Outline 1 Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Department of Mathematics and Statistics Dynamical Systems Group Computational Sciences Research Center San Diego State University San Diego, CA 918-77 http://www-rohan.sdsu.edu/ jmahaffy Spring 17 3 Graphing Exponential and 4 (1/4) (/4) Kleiber s Relationship Metabolism/Weight for Animals Metabolism and Size Kleiber asks, Does a horse produce more heat per day than a rat...? 1 Obviously, YES Does a horse produce more heat per day per kilogram of body weight than a rat? Clearly, NO Animals benefit metabolically by increasing size 1 Max Kleiber (1947), Body size and metabolic rate, Physiological Reviews, 4, 511-541 (3/4) Table of Metabolism (kcal) and Weight (kg) for Various Animals Animal Weight Metabolism Animal Weight Metabolism Mouse.1 3.6 Dog 4.8 875 Rat.8 8.1 Dog 3.6 87 Guinea pig.41 35.1 Goat 36 8 Rabbit.98 167 Chimpanzee 38 19 Rabbit 1.5 83 Sheep 46.4 154 Rabbit.46 119 Sheep 46.8 133 Rabbit 3.57 154 Woman 57. 1368 Rabbit 4.33 191 Woman 54.8 14 Rabbit 5.33 33 Woman 57.9 13 Cat 3 15 Cow 3 41 Macque 4. 7 Cow 435 8166 Dog 6.6 88 Heifer 48 7754 Dog 14.1 534 Cow 6 7877 (4/4)

Modeling Data or Power Law Model Modeling the Data The data are clearly not linear There are general methods for finding the least squares best fit to nonlinear data These techniques are very complicated and often difficult to implement Power Law or are easier Allometric models assume a relationship between two sets of data, x and y, that satisfy a power law of the form y = Ax r A and r are parameters that are chosen to best fit the data in some sense This model assumes that when x =, then y = The method fits a straight line to the logarithms of the data (5/4) (6/4) Graph of the Metabolic and Weight data 1 If w is the weight (kg) and M is the metabolic rate (kcal), then below is the graph of log 1 M vs. log 1 w 4 8 Metabolism (kcal) 6 4 Log1 Metabolism (kcal) 3 1 1 3 4 5 6 7 Weight (kg) 1 1 3 Log 1 Weight (kg) (7/4) (8/4)

The best slope is r =.7565 The best intercept is log 1 (A) = 1.85 with A = 66.8 This gives the best fit power law for this model as M = 66.8w.7565 The minimum least squares for the log of the data gives J(A,r) = 3.81 1 6 Nonlinear least squares best fit model (with a 4.5% better fit (SSE)) satisfies M = 63.86w.7685 Kleiber s Law M = 66.8w.7565 The graph of the power law provides a reasonable fit to the data The logarithm of the data closely lie on a straight line The coefficient A = 66.8 scales the variables The power r =.7565 often give physical insight to the behavior If metabolism rate was proportional to mass, then r = 1 If metabolism relates to heat loss through skin, we expect r = 3 Why is r = 3 4? This is Kleiber s Law. (9/4) (1/4) Allometric Model/Power Law Review of Exponents Graphing Exponential and Allometric Model/Power Law When the logarithm of the data lie on a line, then a Allometric Model is appropriate Allometric Model can give insight into underlying biology of a problem Numerous examples satisfy allometric models Several Computer Lab problems based on allometric models Understanding Allometric models requires logarithms and exponentials Properties of Exponents 1. a m a n = a m+n,. (a m ) n = a mn, 3. a m = 1 a m, 4. a m a n = am n, 5. (ab) m = a m b m, 6. a = 1. For solving equations with exponents, the inverse function of the exponent is needed, the logarithm (11/4) (1/4)

Graphing Exponential and Graphing Exponential and Definition of Logarithm Review of Definition: Consider the equation: y = a x The inverse equation that solves for x is given by x = log a y The a in the expression is called the base of the logarithm Properties of 1. log(ab) = log(a)+log(b),. log(a m ) = m log(a), 3. log(1/a) = log(a), 4. log(a/b) = log(a) log(b), 5. log a (a) = 1, 6. log(1) =. The only property that requires the base of the logarithm for Property 5 All other properties are independent of which base is used (13/4) (14/4) Base 1 and e Graphing Exponential and Graphing Exponential and Graphing the Exponential Function 1 base 1 and e Graphing the Exponential Function The two most common logarithms that are used are log 1 and log e The natural logarithm, often denoted log or ln The natural logarithm is the default for most calculators and programming languages However, Excel defaults to log 1 We will soon see the importance of the natural base e in Calculus For graphing purposes, e is an irrational number between and 3, more precisely, e =.7188... The domain of e x is all of x e x becomes extremely small very fast for x < (a horizontal asymptote of y = ) It grows very fast for x > The graph of y = e x has the same y-intercept of 1, but its the mirror reflection through the y-axis of y = e x (15/4) (16/4)

Graphing Exponential and Graphing the Exponential Function Graphing Exponential and Graphing the Logarithm Function 1 The graphs of the y = e x and y = e x Exponential Functions Graphing the Logarithm Function 15 Since ln(x) is the inverse function of e x, the graph of this function mirrors the graph of e x through the line y = x y 1 5 f(x) = e x f(x) = e x The domain of ln(x) is x > The range of ln(x) is all values of y As y = ln(x) becomes undefined at x =, there is a vertical asymptote at x = 3 1 1 3 x (17/4) (18/4) Graphing Exponential and Graphing the Logarithm Function Graphing Exponential and Example of Graphing the Exponential 1 The graph of the y = ln(x) 4 Natural Logarithm Consider the exponential function given by f(x) = 4 e x f(x) = ln(x) Find the all intercepts and any horizontal asymptotes and graph this equation y Skip Example Solution: Since 4 f() = 4 e = 4 1 = 3, 6 5 1 15 x the y-intercept is (, 3) (19/4) (/4)

Graphing Exponential and Example of Graphing the Exponential Graphing Exponential and Example of Graphing the Exponential 3 Solution (cont): Solving 4 e x = gives The graph of the y = 4 e x 6 f(x) = 4 e x e x = 4 or e x = 1 4 Thus, x = ln(1/4) = ln() or x = ln().6931 The x-intercept is (.6931, ) For large values of x, e x is very close to zero, so there is a horizontal asymptote for large positive x f(x) tends toward 4 y 4 Horizontal Asymptote 4 1 1 3 x (1/4) (/4) Graphing Exponential and Example of Graphing the Logarithm 1 Graphing Exponential and Example of Graphing the Logarithm Consider the logarithmic function given by f(x) = ln(x+) Find the all intercepts and any vertical asymptotes and graph this equation Skip Example Solution: The domain of f(x) is x > There is a vertical asymptote at the edge of the domain, where x = Solution (cont): When x =, f() = ln().6931 Thus, the y-intercept is (,.6931) Solving ln(x+) =, gives x+ = 1 or x = 1 Thus, the x-intercept is ( 1, ) (3/4) (4/4)

Graphing Exponential and Example of Graphing the Logarithm 3 The graph of the y = ln(x+) y = ln(x + ) The Allometric Model for two sets of data, x and y satisfies a power law y = Ax r The parameters A and r are chosen to best fit the data By properties of logarithms y Vertical Asymptote ln(y) = ln(ax r ) = ln(a)+rln(x) Let X = ln(x), Y = ln(y), and a = ln(a), then Y = a+rx 4 1 1 3 4 x This is a line with a slope of r and a Y-intercept of ln(a) (5/4) (6/4) Example of Kleiber s Law 1 Example of Kleiber s Law The data and model for Kleiber s Law is plotted with logarithmic scales 1 4 The plot of the logarithms of the data for metabolism and weight of various animals 1 1 3 8 Metabolism (kcal) 1 ln(m) 6 4 1 1 1 1 1 Weight (kg) The log-log plot falling on a straight line suggests an allometric model 4 4 6 ln(w) This graph is very similar to the previous graph (7/4) (8/4)

Example of Kleiber s Law 3 Example of Weight and Pulse 1 The least squares best fit of the straight line to the logarithms of the data Best slope r =.7565 Best intercept a = ln(a) = 4. It follows A = 66.8 The best allometric model is M = 66.8w.7565 Example of Weight and Pulse Smaller animals have a higher pulse than larger animals Suppose a 17 g mouse has a pulse of 5 beats/min and a 68 kg human has a pulse of 65 Create an allometric model (other data support this form) Predict the pulse for a 1.34 kg rabbit Skip Example (9/4) (3/4) Example of Weight and Pulse Example of Weight and Pulse 3 Solution (cont): Create a line through logarithm of data Solution: An allometric model P = Aw k Animal Weight(kg) ln(w) Pulse(beats/min) ln(p) Mouse.17 4.75 5 6.15 Human 68 4. 65 4.174 give The slope k is ln(p) = ln(a)+kln(w) k = 4.174 6.15 4.+4.75 =.46 As noted above, this is a straight line in ln(w) and ln(p) The intercept of ln(a) satisfies: ln(a) = kln(w )+ln(p ) =.46(4.) +4.174 = 5.1 (31/4) (3/4)

Example of Weight and Pulse 4 Example of 1 Solution (cont): The linear model in the logarithm of the data satisfies: The allometric model is ln(p) =.46ln(w)+5.1 P = 183.5w.46 If we consider a 1.34 kg rabbit, then the model gives: P = 183.5(1.34).46 = 171 beats/min Example of There are three Pacific islands in a chain. Island A is 15 km, Island B is 11 km, and Island C is 74 km. An extensive biological survey finds 5 species of birds on Island A and 9 species of birds on Island B. Skip Example Assume an allometric model between the number of species, N, on each of these islands and their area, A, of the form N = ka x Use the data from Islands A and B to determine constants k and x (33/4) (34/4) Example of Example of 3 Solution (cont): Create a line through logarithm of data From the model predict the number of bird species on Island C Also, determine how large an island would be required to support species of birds near this chain of islands Solution: The allometric model can be rewritten as the linear model of the logarithm of the data ln(n) = ln(k)+xln(a) The slope x satisfies Island Area ln(a) Species ln(n) A 15.78 5 1.69 B 11 4.7 9.197 x = ln(9) ln(5) ln(11) ln(15).95 The intercept of ln(k) satisfies: ln(k) = ln(5) xln(15).811 or k.5 (35/4) (36/4)

Example of 4 Example of 5 Solution (cont): The linear model in the logarithm of the data satisfies: ln(n) =.811+.95ln(A) The allometric model is Below is a graph of the allometric model showing the area and the species predictions 8 Species Predictions N =.5A.95 The model predicts that Island C has N =.5(74).95 8.1 species Bird Species 6 4 4 6 8 1 1 Island Area (km ) (37/4) (38/4) Example of 6 Below is a graph of ln(a) and the ln(n), showing the linearity of the logarithmic plot ln(bird Species). 1.8 1.6 1.4 1. Log Log Plot for Species Predictions 1 3 4 5 ln(area) (39/4) Example of 7 Finally, we want to predict the size of an island necessary to support species We solve the equation From properties of logarithms =.5A.95 ln() = ln(.5) +.95 ln(a) ln(a) = 1 (ln() ln(.5) = 7.46.95 The model predicts that the area of the island needs to be A = 1646 km (4/4)