lsp 120: quantitative reasoning and technological literacy section 118 Özlem elgün

21
LSP 120: Quantitative Reasoning and Technological Literacy Section 118 Özlem Elgün

Post on 19-Dec-2015

218 views

Category:

Documents


1 download

TRANSCRIPT

LSP 120: Quantitative Reasoning and Technological Literacy

Section 118

Özlem Elgün

We can use Excel to determine if a relationship is exponential by filling the neighboring column with the percent change from one Y to the next. As with linear, do not put this formula in the cell next to the first pair of numbers but in the cell next to the second.

old

oldnew

original

differencegeercentChan

P

x y Percent change

0 192

1 96 =(B3-B2)/B2

2 48

3 24

EXPONENTIAL FUNCTIONS

• If doing this calculation on a calculator, you will need to multiply by 100 to convert to a percent. In Excel, just click on the % icon on the toolbar.

• If the column is constant, then the relationship is exponential. So this function is exponential.

x y Percent change

0 192

1 96 -50%

2 48 -50%

3 24 -50%

Exponential function equation• As with linear, there is a general equation for exponential functions.

The equation for an exponential relationship is y = P*(1+r)x

• where P is the starting value (value of y when x = 0), r is the percent change (written as a decimal), and x is the input variable (usually time).

• The equation for the above example would be y = 192 * (1-.5)x

or y = 192 * .5x.

• We can use this equation to find values for y if given an x value. Try the other examples.

Why are exponential relationships important? Where do we encounter them?

• Populations tend to growth exponentially not linearly

• When an object cools (e.g., a pot of soup on the dinner table), the temperature decreases exponentially toward the ambient temperature (the surrounding temperature)

• Radioactive substances decay exponentially

• Bacteria populations grow exponentially

• Money in a savings account with at a fixed rate of interest increases exponentially

• Viruses and even rumors tend to spread exponentially through a population (at first)

• Anything that doubles, triples, halves over a certain amount of time

• Anything that increases or decreases by a percent

If a quantity changes by a fixed percentage,

it grows or decays exponentially.

How to increase/decrease a number by a percent

• There are 2 “ways” to do this:N = P + P * r

orN= P * (1 + r)

• According to the distributive property, these two formulas are the same. For the work we will be doing later in the quarter, the second version is preferred.

• Similarly to the formula above, N is the ending value, P is the starting value and r is the percent (written in decimal form). To write a percent in decimal form, move the decimal 2 places to the left. Remember that if there is a percent decrease, you will be subtracting instead of adding.

Exponential growth or decay is increasing or decreasing by same percent over and over

• If a quantity P is growing by r % each year, after one year there will be P*(1 + r)

• So, P has been multiplied by the quantity 1 + r.

• If P*(1 + r) is in turn increased by r percent, it will be multiplied by (1 + r) again.

• So after two years, P has become:

P*(1+r)*(1+r) = P*(1 + r)2

• So after 3 years, you have P*(1+r)3, and so on. Each year, the exponent increases by one since you are multiplying what you had previously by another (1+r).

• If a quantity P is decreasing by r%, then by the same logic, the formula is P*(1 r).

Example: A bacteria population is at 100 and is growing by 5% per minute. 2 questions:1. How many bacteria cells are present after one hour?2. How many minutes will it take for there to be 1000 cells.

• If the population is growing at 5% a minutes, this means it is being multiplied by 1.05 each minute. Using Excel, we can set up a table to calculate the population at each minute. Note that the time column begins with 0.

• The formula in the second cell of the column is the cell above it multiplied by 1 + the percent written as a decimal. (Note that you do not enter the exponent in the formula) Filling the column will give us the population at each minute.

X minutes

Y population

0 100

1 =B2*(1+.05)

2

3

4

5

Reminder formula for calculating the new population after each period:

y=P*(1 + r) whereP= starting (reference, old) valuer= rate (percent change in decimals) y= the new value

• If you wanted to calculate the population after one hour (60 minutes), you could drag the columns of the excel table down to 60 or you could use the following formula which I refer to as the “by hand” formula. Note that here because you are doing the calculation in one step you do use the exponent.

Y = P *(1+r)x  • Here x is the number of minutes.• Therefore, the population after 60 minutes = y = 100*(1+.05)60 = 1868. (To enter an exponent

in Excel use the ^ key which is above the number 6.) Remember to round your answer appropriately. For this example, we should round to the nearest whole number.

• If you wanted to know how long it would take for the population to reach 1000, you could set up the table in Excel and drag the columns down until the population (the Y value) reaches 1000. Doing so, you should find that the population will reach 1000 after 48 minutes. We will discuss a more mathematical and exact way to solve this problem in the near future.

X minutes

Y population

0 100

1 =B2*(1+.05)

2

3

4

5

• Another example: Country A had population of 125 million in 1995. Its population was growing 2.1% a year. Country B had a population of 200 million in 1995. Its population was decreasing 1.2% a year. What are the populations of the countries this year? Has the population of country A surpassed the population of B? If not, in what year will the population of country A surpassed the population of B?

• Create your own Excel table. The formula in cell B3 is =B2*(1+0.021) and in C3 is =B2*(1-.012). Then each column is filled. Since the A’s population was not larger than B’s in 2006, the columns needed to be extended down farther.

year A B 1995 125 200 1996 127.625 197.6 1997 130.3051 195.2288 1998 133.0415 192.8861 1999 135.8354 190.5714 2000 138.6879 188.2846 2001 141.6004 186.0251 2002 144.574 183.7928 2003 147.6101 181.5873 2004 150.7099 179.4083 2005 153.8748 177.2554 2006 157.1061 175.1283 2007 160.4054 173.0268 2008 163.7739 170.9505 2009 167.2131 168.8991 2010 170.7246 166.8723

Solving Exponential EquationsRemember that exponential equations are in the form:

y = P(1+r)x

P is the initial (reference, old) valuer is the rate, a.k.a. percent change (and it can be either positive or negative)x is time (years, minutes, hours, seconds decades etc…)Y is the new value

-or can be thought of as-y = ba x

b is the initial (reference, old) value a is the growth/decay factor and is equal to either 1+r or 1-r, (r is the rate)x is timeY is the new value

-and another way-N=Pa t

P is the initial value (reference, old) valuea is the growth/decay factor and is equal to either 1+r or 1-r, (r is the rate)t is timeN is the new value

Solving for rate(percent change) and the initial value

• Solving for the rate(percent change):– We already know that we solve for percent change

between two values that are one time period apart:

old

oldnew

original

differencegeercentChan

P

year population (in millions) percent change (in decimal format) percent change (%)1995 1251996 127.625 (127.625-125)/125= .021 2.1%

Solving for the rate(percent change)What if we had to solve for the rate (percent change) but the new value is not one time period but

several time periods ahead? How do we solve for the rate then?

Example: The population of country A was 125 million in 1995. In the year 2010 its population was 170.7246 million people. If we assume that the percent change (rate of population growth) was constant, at what rate did the population grew?

reminder our formula is y = P*(1+r)x

In this case:y= 170.7246 millionP= 125 million x= number of time periods from the initial value to the new value=2010-1995=15 yearsSolve for r!170.7246 = 125 *(1+r)15

170.7246/ 125 = (1+r)15

1.3657968 = (1+r)15

1.36579681/15 = (1+r)1.020999994 =1+r1.020999994 -1 = r0.020999994 = r0.021 = r 2.1%

The population grew 2.1 percent every year in country A from 1995 to 2010.

Solving for the initial value (a.k.a. old value, reference value)

What if we had to solve for the initial value?

Example: The population of a country was 125 million in 1995. If we knew that the percent change (rate of population growth) was constant, and grew at a rate of 2.1 percent every year, what was its population in year 1990?

reminder our formula is y = P*(1+r)x

In this case:y= 125 million x= number of time periods from the initial value to the new value=1995-1990=5 yearsr=2.1% (0.021 in decimals)Solve for P!

125 = P*(1+0.021)5

125 = P*(1.021)15

125= P*1.109503586125/1.109503586= P112.6629977=P

In year 1990, there were 112.66 million people in country A.

Solving for time (using logarithms)

• To solve for time, you can get an approximation by using Excel. To solve an exponential equation algebraically for time, you must use logarithms.

• There are many properties associated with logarithms. We will focus on the following property:

log ax = x * log a for a>0

• This property is used to solve for the variable x (usually time), where x is the exponent.

Solving for time (x): example 1

1) A Petri dish contains 100 bacteria cells. The number of cells increases 5% every minute. How long will it take for the number of cells in the dish to reach 3000? Solving without logarithms:

One way to solve this problem is to use excel.

If you continue the chart, you will find that after 69 minutes, there were 2898 cells and at 70 minutes, there were 3043 cells. Obviously somewhere between minute 69 and 70, the number of cells reached 3000. But we do not know exactly when. Using logarithms we can get an exact answer.

minutes number of cells percent change0 1001 105 0.052 110.25 0.053 115.7625 0.054 121.550625 0.05. . .. . .. . .

69 2898 0.0570 3043 0.05

Solving with logarithms: A Petri dish contains 100 bacteria cells. The number of cells increases 5% every minute. How long will it take for the number of cells in the dish to

reach 3000? Start with : Y= P * (1 + r)X. Fill the variables that you know. To use logarithms, x (time) must be your “unknown” quantity. y= 3000P= 100R=0.05Solve for x!

The equation for this situation is: 3000 = 100 * (1+.05)X

We need to solve for x: Step 1: divide both sides by 100 30 = (1+.05)X

USE THE LOG property you learned earlier log ax = x * log a for a>0

Step 2: take the log of both sides log 30 = log (1+.05)X

Step 3: bring the x down in front log 30 = x * log(1+.05) Step 4: divide by log (1+.05) Enter the following into a cell in excel: =log(30)/log(1+.05) to get 69.71 (Of course you may use a calculator.)

This tells us that at 69.71 minutes, there are 3000 cells. Which also means 69 minutes and .71 seconds of a minute (which is 60 seconds) 60*.71= 42.6 seconds.

This tells us that at 69 minutes and 42.6 seconds there will be 3000 cells in the Petri dish.

Solving for time (x): example 2 If you $100 deposited into a savings account grows at 3.4% compounded annually, how long will it take for your balance to double?

Solving without logarithms: One way to solve this problem is to use excel.

If you continue the chart, you will find that after 20 years, there will be $195.17 in your account and after 21 years, there will be $201.80 in your account. Obviously somewhere between years 20 and 21 the amount in your account will double from $100 to $200. However, using logarithms we can get an exact answer.

years money percent change0 1001 103.4 0.0342 106.9156 0.0343 110.5507304 0.0344 114.3094552 0.0345 118.1959767 0.0346 122.2146399 0.0347 126.3699377 0.0348 130.6665156 0.0349 135.1091771 0.03410 139.7028891 0.03411 144.4527873 0.03412 149.3641821 0.03413 154.4425643 0.03414 159.6936115 0.03415 165.1231943 0.03416 170.7373829 0.03417 176.5424539 0.03418 182.5448973 0.03419 188.7514238 0.03420 195.1689723 0.03421 201.8047173 0.034

Solving with logarithms: If you $100 deposited into a savings account grows at 3.4% compounded annually, how long will it take for your balance to double? Start with : Y= P * (1 + r)X. Fill the variables that you know. To use logarithms, x (time) must be your “unknown” quantity. y= 200P= 100R=0.034Solve for x!

The equation for this situation is: 200 = 100 * (1+.034)X

We need to solve for x: Step 1: divide both sides by 100 2 = (1+.034)X

USE THE LOG property you learned earlier log ax = x * log a for a>0

Step 2: take the log of both sides log 2 = log (1+.034)X

Step 3: bring the x down in front log 2 = x * log(1+.034) Step 4: divide by log (1+.034) Enter the following into a cell in excel: =log(32)/log(1.034) to get 20.731 (Of course you may use a calculator.)

This tells us that at there will be $200 in your account in 20.731 years or it means that will take 20.731 years for the money in your account to double.

Which also means 20 years and .731 days of a year (in which there are 365 days) 365*.731= 266.815 daysThis tells us that at there will be $200 in your account in 20 years and 267 days.

Problem 3 - Practice• Let’s revisit the bacteria situation above.

Assuming we allowed the bacteria population to reach 3000 then put in an antibiotic that killed the cells at a rate of 22.5% a minute, how long would it take for the population to decline to 60 cells?

• Answer the problem using both Excel and Logarithms. The exact answer (using logarithms) is 15.34775 minutes.