Exponentials, logarithms and rescaling of data Math 151 Based upon previous notes by Scott Duke- Sylvester as an adjunct to the Lecture notes posted on.

Slides:



Advertisements
Similar presentations
Chapter 2 Functions and Graphs
Advertisements

EGR 105 Foundations of Engineering I
Excel Part III Curve-Fitting, Regression Section 8 Fall 2013 EGR 105 Foundations of Engineering I.
Lesson Quiz: Part I 1. Change 6 4 = 1296 to logarithmic form. log = 4 2. Change log 27 9 = to exponential form = log 100,000 4.
The Use and Interpretation of the Constant Term
Choosing a Functional Form
Copyright © 2006 Pearson Addison-Wesley. All rights reserved. Lecture 6: Supplemental A Slightly More Technical Discussion of Logarithms (Including the.
EGR 105 Foundations of Engineering I Fall 2007 – week 7 Excel part 3 - regression.
1 Chapter 7 Transcendental Functions Inverse Functions and Their Derivatives.
EGR 105 Foundations of Engineering I Fall 2007 – week 7 Excel part 3 - regression.
Engineering Computation Curve Fitting 1 Curve Fitting By Least-Squares Regression and Spline Interpolation Part 7.
Radioactivity – decay rates and half life presentation for April 30, 2008 by Dr. Brian Davies, WIU Physics Dept.
Lectures 4a,4b: Exponential & Logarithmic Functions 1.(4.1) Exponential & Logarithmic Functions in Biology 2.(4.2) Exponential & Logarithmic Functions:
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Chapter 2 Review Important Terms, Symbols, Concepts 2.1. Functions Point-by-point plotting may be used to.
Name : ___________( ) Class: _______ Date : _______
Bell work Find the value to make the sentence true. NO CALCULATOR!!
6 Coursework Power & Exponential Relationships Breithaupt pages 247 to 252 September 11 th, 2010 CLASS NOTES HANDOUT VERSION.
Exponential/ Logarithmic
Transformations to Achieve Linearity
Logarithmic and Exponential Functions
Logarithms 28 August, 2015F L1 MH Objectives : To know what log means To learn the laws of logs To simplify logarithmic expressions To solve equations.
Logarithms and Exponential Equations Ashley Berens Madison Vaughn Jesse Walker.
9 - 1 Intrinsically Linear Regression Chapter Introduction In Chapter 7 we discussed some deviations from the assumptions of the regression model.
More about Relationships Between Two Variables
Unit 4: Mathematics Introduce the laws of Logarithms. Aims Objectives
Copyright © 2005 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Transcendental Functions.
ECON 1150, 2013 Functions of One Variable ECON 1150, Functions of One Variable Examples: y = 1 + 2x, y = x Let x and y be 2 variables.
Solving Exponential Equations…
Exponent is the logarithm
Transforming to achieve linearity
Maths and Chemistry for Biologists. Maths 2 This section of the course covers – exponential processes and logs to the base e straight line graphs how.
Formal Computational Skills Week 1: Functions. Overview By the end you should: Be able to evaluate a function Know how to visualise a function Know what.
R. Kass/W03P416/Lecture 7 1 Lecture 7 Some Advanced Topics using Propagation of Errors and Least Squares Fitting Error on the mean (review from Lecture.
The derivative Lecture 5 Handling a changing world x 2 -x 1 y 2 -y 1 The derivative x 2 -x 1 y 2 -y 1 x1x1 x2x2 y1y1 y2y2 The derivative describes the.
Logarithmic Functions & Graphs, Lesson 3.2, page 388 Objective: To graph logarithmic functions, to convert between exponential and logarithmic equations,
20 March 2009College Algebra Ch.41 Chapter 4 Exponential & Logarithmic Functions.
Session 6 : 9/221 Exponential and Logarithmic Functions.
Slide 1 Transformation & regression Many seemingly nonlinear relationships can be linearized by data transformation. We cover four types of relationship.
Simple Linear Regression. The term linear regression implies that  Y|x is linearly related to x by the population regression equation  Y|x =  +  x.
College Algebra Acosta/Karwowski. Chapter 6 Exponential and Logarithmic Functions.
11/20/2015ENGR 111A - Fall MatLab – Palm Chapter 5 Curve Fitting Class 14.1 Palm Chapter:
Review of Logs Appendix to Lab 1. What is a Log? Nothing more complicated than the inverse of an exponential!!!!!!!
Introduction We are going to look at exponential functions We will learn about a new ‘special’ number in Mathematics We will see how this number can be.
Section 5.4 Logarithmic Functions. LOGARITHIMS Since exponential functions are one-to-one, each has an inverse. These exponential functions are called.
Math 1304 Calculus I 1.6 Inverse Functions. 1.6 Inverse functions Definition: A function f is said to be one-to- one if f(x) = f(y) implies x = y. It.
9.5 BASE E AND NATURAL LOGS. NATURAL BASE EXPONENTIAL FUNCTION An exponential function with base e  e is the irrational number … *These are used.
Chapter 3 Exponential & Logarithmic Functions. 3.1 Exponential Functions Objectives –Evaluate exponential functions. –Graph exponential functions. –Evaluate.
8.4 Logarithmic Functions
Basic Review - continued tom.h.wilson Department of Geology and Geography West Virginia University Morgantown, WV.
Introduction Previously, you learned how to graph logarithmic equations with bases other than 10. It may be necessary to convert other bases to common.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
Chapter 4 More on Two-Variable Data. Four Corners Play a game of four corners, selecting the corner each time by rolling a die Collect the data in a table.
Objectives  Graph the relationship between Independent and Dependent Variables.  Interpret Graphs.  Recognize common relationships in graphs.
R. Kass/Sp07P416/Lecture 71 More on Least Squares Fit (LSQF) In Lec 5, we discussed how we can fit our data points to a linear function (straight line)
Announcements Topics: -roughly sections 1.4, 2.2, and 2.3 * Read these sections and study solved examples in your textbook! Work On: -Practice problems.
EGR100- Engineering Seminar Engineering Graphics 3 – Creating Equations.
Slide the Eraser Exponential and Logarithmic Functions.
Chapter 2 Functions and Graphs
Linear Regression Essentials Line Basics y = mx + b vs. Definitions
or why I like to draw straight lines
Logarithmic Functions
5.3 Logarithmic Functions & Graphs
Exponential & Logarithmic Functions
The Exponential and Log Functions
Linear and Non-Linear Functions
and Logarithmic Functions
Exponential and Logarithmic Functions
Homework: pg. 276 #5, 6 5.) A. The relationship is strong, negative, and curved. The ratios are all Since the ratios are all the same, the exponential.
1.2 Essential Functions.
Presentation transcript:

Exponentials, logarithms and rescaling of data Math 151 Based upon previous notes by Scott Duke- Sylvester as an adjunct to the Lecture notes posted on the course web page

Definitions f(x) = a x, exponential function with base a f(x) = log a x, logarithm of x base a f(x) = ax b, is an allometric function

Motivation Many biological phenomena are non-linear: Population growth Relationship between different parts/aspects of an organism (allometric relationships) The number of species found in a given area (species-area relationships) Radioactive decay and carbon dating Many others Exponentials, logs and allometric functions are useful in understanding these phenomena

Population growth is a classic example Algae : cell division Geometric growth … t =

Exponentials f(x) = a x, a > 0 a > 1 exponential increase 0 < a < 1 exponential decrease As x becomes very negative, f(x) gets close to zero As x becomes very positive, f(x) gets close to zero

Special case, a = 1

f(x) = a x is one-to-one. For every x value there is a unique value of f(x). This implies that f(x) = a x has an inverse. f -1 (x) = log a x, logarithm base a of x.

f(x) = a x f(x) = log a x

log a x is the power to which a must be raised to get x. y = log a x is equivalent to a y = x f(f -1 (x)) = a log a x = x, for x > 0 f -1 (f(x)) = log a a x = x, for all x. There are two common forms of the log fn. a = 10, log 10 x, commonly written a simply log x a = e = …, log e x = ln x, natural log. log a x does not exist for x ≤ 0.

Laws of logarithms log a (xy) = log a x + log a y log a (x/y) = log a x - log a y log a x k = k·log a x log a a = 1 log a 1 = 0 Example 15.7 :

Example 15.8 : Radioactive decay A radioactive material decays according to the law N(t)=5e -0.4t When does N = 1? For what value of t does N = 1?

To compute log a x if your calculator doesn’t have log a Example: or use

general formula for a simple exponential function: f(x) =  x or y =  x Then ln(y) = ln  x ln(y) = ln  + ln (  x ) ln(y) = ln  + x ln  Let b = ln , and m = ln , Y=ln (y) then this shows Y = b + mx which is the equation of a straight line. This is an example of transforming (some) non-linear data so that the transformed data has a linear relationship. An exponential function gives a straight line when you plot the log of y against x (semi-log plot). Special exponential form : f(x) =  e mx

Consider the algae growth example again. How do you know when a relationship is exponential? Regular plotSemilog plot N=  t ln(N) = mt+b

Fit a line to the transformed data Estimate the slope and intercept using the least squares method. Y=mx+b b~0, m = Estimate  and . b = ln  ->  = e b = e 0 = 1 m = ln  ->  = e m = e = 2.0 N = 2 t ln(N) = (0.693)t N=2 t

Example 17.9 : Wound healing rate Regular plot Semilog plot

How do you make a semilog plot? Use the semilog(x,y) command in Matlab Take the log of one column of data and plot the transformed data (here log y) against the untransformed data (here x)

Estimate slope and intercept using least squares Y = b+mx m = b = 4.69 b = ln  ->  = e b = e 4.69 = m = ln  ->  = e m = e = A = (0.953) t ln(A)= t A=108.85(0.953) t

f(x)=bx a Allometric relationships (also called power laws) Describes many relationships between different aspects of a single organism: Length and volume Surface area and volume Body weight and brain weight Body weight and blood volume Typically x > 0, since negative quantities don’t have biological meaning.

a > 1 a = 1 a < 1 a < 0

f(x) = ba x f(x) = bx a

Example : It has been determined that for any elephant, surface area of the body can be expressed as an allometric function of trunk length. For African elephants, a=0.74, and a particular elephant has a surface area of 20 ft 2 and a trunk length of 1 ft. What is the surface area of an elephant with a trunk length of 3.3 ft? x = trunk length y= surface area y = bx a = bx = b(1) = b y=20x 0.74 y=20(3.3) 0.74 =48.4 ft 2

How do you know when your data has an allometric relationship? Example 17.10

log-log plot Semilog plot Regular plot

How do you make a log-log plot? Use the loglog(x,y) command in matlab Take the log of both columns of data and plot the transformed columns.

Y=bx a ln(y)=ln(bx a ) ln(y) = ln(b) + ln(x a ) ln(y) = ln(b) + a ln(x) Let Y = ln(y) X=ln(x) B=ln(b) Then Y=B + a X Which is the equation for a straight line. So an allometric function gives a straight line on a loglog plot.