Pre-Sessional Math and Statistics

45
Pre-Sessional Math and Statistics Lecturer: Dr. Yu Zheng School of Economics and Finance Lecture 1: Simple functions and the basics of present value

Transcript of Pre-Sessional Math and Statistics

Page 1: Pre-Sessional Math and Statistics

Pre-Sessional Math and Statistics

Lecturer: Dr. Yu ZhengSchool of Economics and Finance

Lecture 1: Simple functions and the basics of present value

Page 2: Pre-Sessional Math and Statistics

Aim of the Pre-Sessional Math & Statistics Course

• Review key mathematical and statistical concepts and tools

• Show examples of how these tools are used in Economics and Finance

• Ensure a solid foundation for your study in the MSc program

Page 3: Pre-Sessional Math and Statistics

Structure of the Course

• Six lectures in the series• Each lecture lasts about 90 minutes, recorded in 9-10 segments• Online quiz offers opportunity for self-tests• There is no exam at the end• Lecturer: Dr. Yu Zheng• Email: [email protected].

Page 4: Pre-Sessional Math and Statistics

Reference BooksFor Mathematics

− Sydsaeter, K., Hammond, P., Strom, A. (2012). Essential Mathematics for Economic Analysis, Pearson, 3rd Edition

− Hoy, M., Livernois, J., McKenna, C., Rees, R., and Stengos, R. (2011). Mathematics for Economics, MIT Press, 3rd Edition.

− Francis, A. (2004). Business Mathematics and Statistics, Cengage, 6th Edition. For Statistics

− Newbold, P., Carlson, W., and Thorne, B. (2010). Statistics for Business and Economics, Pearson, 7th Edition.

− Anderson, D., Sweeney, D., Williams, T., Freeman, J., and Shoesmith, E. (2010). Statistics for Business and Economics, Cengage, 2nd Edition.

For Econometrics− Gujarati, D. (2003). Basic Econometrics, McGraw-Hill, 4th Edition. − Brooks, C. (2008). Introductory Econometrics for Finance, Cambridge University Press, 2nd Edition.

Most available as e-books in the Library

Page 5: Pre-Sessional Math and Statistics

Lecture 1: Simple Functions and the Basics of Present Value• Definition of functions• Commonly used functions and their applications in economics and finance:

• Linear and quadratic functions• Exponential and logarithmic functions

• Definition of sequences and series• Present value calculations

For more extensive reading, refer to Chapters 2 and 3 of Hoy, M., Livernois, J., McKenna, C., Rees, R., and Stengos, R. (2011). Mathematics for Economics, MIT Press, 3rd Edition

Page 6: Pre-Sessional Math and Statistics

Functions

Examples of functions: say X = # = ℝ ≡ {'ℎ) *)' +, -.. /)-. 0123)/*}.• Take any number in 5 and multiply it by 10

• Take any number in 5 and square it

• Take any number in 5 and add 1 to it

Definition. Given two sets 5 and #, a function from 5 to # is a rule that associates with each number of 5, one and only one number of #.

Page 7: Pre-Sessional Math and Statistics

FunctionsDefinition. Given two sets ! and ", a function from ! to " is a rule that associates with each number of !, one and only one number of ".

The set ! is called the domain of the function and the set of numbers in " associated with the numbers in ! is called the range of the function. Denote the rule of association by #, we can write the function as

#: ! ⟼ "or as

& = # ( , ( ∈ !.& is often referred to as the dependent variable and ( as the independent variable.We also say & is the value of the function # at (.

Page 8: Pre-Sessional Math and Statistics

Functions

Examples of functions again: X = # = ℝ ≡ {'ℎ) *)' +, -.. /)-. 0123)/*}

• Take any number in 5 and multiply it by 10: , 6 = 106, 6 ∈ ℝ

• Take any number in 5 and square it: ;(6) = 6>, 6 ∈ ℝ

• Take any number in 5 and add 1 to it: ℎ(6) = 6 + 1, 6 ∈ ℝ

Definition. Given two sets 5 and #, a function from 5 to # is a rule that associates with each number of 5, one and only one number of #.

Page 9: Pre-Sessional Math and Statistics

FunctionsExamples of functions again: X = # = ℝ ≡ {'ℎ) *)' +, -.. /)-. 0123)/*}.• Take any number in 5 and multiply it by 10: , 6 = 106, 6 ∈ ℝ.• Take any number in 5 and square it: <(6) = 6?, 6 ∈ ℝ.• Take any number in 5 and add 1 to it: ℎ(6) = 6 + 1, 6 ∈ ℝ.

What is the domain of , 6 ?What is the range of <(6)?What is the value of the function , at 2?

What is the value of the function < at -1?

What is the value of the function ℎ at 100?

Page 10: Pre-Sessional Math and Statistics

FunctionsWhat is the graph of a function? Example: How to draw ! " = 2" + 1, " ∈ ℝ?What really happens is that we want to draw a set of ordered pairs {}

", , |, = 2" +1 in the coordinate system x-y• Draw a few points, (-1,-1), (0,1), (2,5), in the x-y plane• Connect the points

Page 11: Pre-Sessional Math and Statistics

FunctionsWhat is the graph of a function? Example: How to draw ! " = 2" + 1, " ∈ ℝ?What really happens is that we want to draw a set of ordered pairs {}

", , |, = 2" +1 in the coordinate system x-y• Draw a few points, (-1,-1), (0,1), (2,5), in the x-y plane• Connect the points.

Refresh your memories of the coordinate system: http://www.mathplanet.com/education/pre-algebra/introducing-

algebra/coordinate-system-and-ordered-pairs

Page 12: Pre-Sessional Math and Statistics

Simple Functions: Linear Functions

A linear function takes the form! = #$ + &, $ ∈ ℝ.

The parameter # is called the slope and the parameter & is called the intercept term of the linear function.

Note the difference between a parameter and a variable.

Examples: ! = 2 + 3$ and ! = 2 − 3$. What are the slop and intercept of each of these functions?

Page 13: Pre-Sessional Math and Statistics

Simple Functions: Linear Functions

Example: ! = 2 + 3&

Page 14: Pre-Sessional Math and Statistics

Simple Functions: Linear FunctionsExample: ! = 2 − 3&

Page 15: Pre-Sessional Math and Statistics

Simple Functions: Linear Functions! = #$ + &, $ ∈ ℝ

• For # > 0, an upward sloping line• For # < 0, a downward sloping line• For # = 0, a horizontal line

• For & > 0, the line intercepts the y-axis above the origin• For & < 0, the line intercepts the y-axis below the origin• For & = 0, the line goes through the origin.

Page 16: Pre-Sessional Math and Statistics

Simple Functions: Quadratic FunctionsA quadratic function takes the form

! = #$% + '$ + (, $ ∈ ℝ, # ≠ 0.If the parameter # = 0, the function becomes a linear function with slope ' and intercept (If the parameter # > 0, the graph of the function is U-shapedIf the parameter # < 0, the graph of the function is inverted U-shaped

Examples: ! = $% + 4$ + 3 and ! = −$% + 6$ − 5. Which is U-shaped and which is inverted U-shaped?

Page 17: Pre-Sessional Math and Statistics

Simple Functions: Quadratic FunctionsExample: ! = #$ + 4# + 3

Page 18: Pre-Sessional Math and Statistics

Simple Functions: Quadratic Functions

Example:! = −$% + 6$ − 5

Page 19: Pre-Sessional Math and Statistics

Simple Functions: Quadratic Functions

! = #$% + '$ + (, $ ∈ ℝ, # ≠ 0

Where does the graph intercepts with the x-axis?

Equivalently, what are the roots of (or solutions to) the quadratic equation

#$% + '$ + ( = 0

Page 20: Pre-Sessional Math and Statistics

Simple Functions: Quadratic FunctionsA technique called “completing the square”:

! "# + %! " + & = ! "# + %! " +%2!

#− ! %

2!#+ &

= ! " + %2!

#− %

# − 4!&4! = 0

⇒ " + %2!

#= %# − 4!&

4!#⇒ " + %

2! = ± %# − 4!&2!

⇒ " = − %2! ±

%# − 4!&2! .

Page 21: Pre-Sessional Math and Statistics

Simple Functions: Exponential Functions An exponential function takes the form

! = # $%, ' ∈ ℝ.The parameter $ is called the base of the function. Suppose # > 0.If the parameter $ > 1, the function increases in '.If the parameter 0 < $ < 1, the function decreases in '.

Examples: ! = 5% and ! = 0.6%. Which is increasing and which is decreasing?

Page 22: Pre-Sessional Math and Statistics

Simple Functions: Exponential Functions

Example: ! = 5$

Page 23: Pre-Sessional Math and Statistics

Simple Functions: Exponential Functions

Example: ! = 0.6&

Page 24: Pre-Sessional Math and Statistics

Simple Functions: Exponential FunctionsExponential functions are commonly used to express exponential growth such as interest compounding and depreciation. More on this later.• You have just deposited £100 in your savings account this month. The monthly

interest rate is 0.1%. Assuming no withdrawal, express the month-end balance of your account as a function of month !:

# ! = 100×1.001), ! = 1,2,3, …• You have just bought a fax machine valued at £500. The value of the machine

depreciates at 20% per year. Express the year-end value of the machine as a function of year !:

. ! = 500×0.8), ! = 1,2,3, …

Page 25: Pre-Sessional Math and Statistics

Simple Functions: Logarithmic FunctionsA logarithmic function takes the form

! = log& ' , ' ∈ ℝ+ ≡ - ./0 12 -33 41.5056/ 789:/;. , : > 0, : ≠ 1.

If : = / ≈ 2.2718…, then we have the natural logarithm, write ! = ln '.If : = 10, then we have the common logarithm, write ! = log ' .

A log function is the inverse of the exponential function:! = :G ⇒ ' = log& ! .

If the base : > 1, the function increases in '.If the base 0 < : < 1, the function decreases in '.

Examples: ! = logJ ' and ! = logK.L '

Page 26: Pre-Sessional Math and Statistics

Simple Functions: Logarithmic Functions

Example: ! = log& '

Page 27: Pre-Sessional Math and Statistics

Simple Functions: Logarithmic Functions

Example: ! = log&.( ).

Page 28: Pre-Sessional Math and Statistics

Simple Functions: Logarithmic FunctionsLogarithmic Functions are commonly used to transform economic or financial variables thanks to the following properties:

log $% = ' log $log(('×+) = log( ' + log( +

• Take log of the Gross Domestic Product to spot changes in growth rates• Take log of asset returns

Page 29: Pre-Sessional Math and Statistics

Simple Functions: Logarithmic Functions

Example. Country A’s GDP growth rate averages at 2% per year from 1950 to 1980 and accelerates to 10% per year from 1981 to 2010

Figure A: GDP Level (Normalized to 1 in 1950) Figure B: log GDP (Normalized to 0 in 1950)

0

5

10

15

20

25

30

35

1950

1953

1956

1959

1962

1965

1968

1971

1974

1977

1980

1983

1986

1989

1992

1995

1998

2001

2004

2007

2010

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1950

1953

1956

1959

1962

1965

1968

1971

1974

1977

1980

1983

1986

1989

1992

1995

1998

2001

2004

2007

2010

Page 30: Pre-Sessional Math and Statistics

Simple Functions: Logarithmic Functions

Example. The stock price of company ABC varies over time as shown in the following table:

The log return from time 1 to 2: log(120/100) = 7.92%The log return from time 2 to 3: log(180/120) = 17.62%The log return from time 1 to 3: log(180/100) = 25.53%

Note: 7.92% + 17.62% = 25.53%! Time additiveSimple returns don’t have this property: 20% + 50% ≠ 80%.

Time 1 2 3Price 100 120 180

Page 31: Pre-Sessional Math and Statistics

Sequences, Series, and Present-Value Calculations

Examples.• ! " = 2", " = 1, 2, 3, 4… or 2, 4, 6, 8, 10, …• ! " = -

. , " = 1, 2, 3, 4 … or 1, -/ ,-0 ,

-1 , …

It is sometimes convenient to denote a sequence by 2. = !(")

An important application of sequences in finance is the determination of the present value of a sum of money to be received at some time in the future

Definition. A sequence is a function whose domain is the positive integers.

Page 32: Pre-Sessional Math and Statistics

Sequences, Series, and Present-Value Calculations

Suppose you invest ! pounds today at an annual rate of return ". Then at the end of the first year, your investment will generate

# = ! 1 + "Then we say the present value of amount # to be received in one year’s time is

'# = #1 + " = !

Example. Suppose you will receive £120 at the end of one year and the annual interest rate is 20%. What is the present value of that £120?

'# = £1201 + 20% = £100

Page 33: Pre-Sessional Math and Statistics

Sequences, Series, and Present-Value CalculationsMore generally, the present value !"# of amount " to be received $periods from now when the interest rate is % per period and compounding occurs at the end of each period is

!"# ="

1 + % # , $ = 1, 2, 3, …• This is a sequence• As $ increases, !"# decreases. The longer you have to wait, the more you

discount future benefit and the lower the PV of the benefit• We refer to -

-./ as the discount factor

Page 34: Pre-Sessional Math and Statistics

Sequences, Series, and Present-Value Calculations• What is a period? How frequently are interests compounded within a period?

Suppose a period is a year and the annual interest is 12%. You invest £1000 in the account for two years. Compute the value of your investment after two years in each of the following scenarios.

Scenario A: Annual compounding.! = £1000 1 + 12% ) = £1254.40

Scenario B: Semiannual compounding.! = £1000 1 + 6% . = £1262.48

Scenario C: Monthly compounding.! = £1000 1 + 1% ). = £1269.73

Page 35: Pre-Sessional Math and Statistics

Sequences, Series, and Present-Value CalculationsIf we compound interest ! times a year and the annual interest rate is ", then the value of £# invested for $ years is

% = # 1 + "!

)*

If we compound infinitely many times a year, or let ! → +∞, we have the case of continuous compounding, and the value of £# invested at interest rate " for $ periods is worth

% = #-.*at the end of $ periods.

Scenario D: Continuous compounding.% = £1000-12%×2 = £1271.25

Page 36: Pre-Sessional Math and Statistics

Sequences, Series, and Present-Value CalculationsThe present value of £! to be received " years from now is given by the following formulae:• If the interest rate is # per year and compounding $ times per year

%!& =!

1 + ⁄# $ +&

• If the interest rate is # per year under continuous compounding%!& = !,-.&.

Page 37: Pre-Sessional Math and Statistics

Sequences, Series, and Present-Value Calculations

A geometric series takes the form

!" =$%&'

"()%*' = ( + () + (), +⋯+ ()"*' = ( 1 − )"

1 − ) .

Moreover, for 0 < ) < 1, we havelim"→78 !" =

(1 − )

Definition. If (%, t = 1, 2, 3, … is a sequence, then !" = ∑%&'" (% , ? = 1, 2, 3, … , is called a series.

Page 38: Pre-Sessional Math and Statistics

Sequences, Series, and Present-Value CalculationsThe present value of a stream of payments of £! at the end of each year for "years, with the annual interest rate # and annual compounding, is

$!% =!

1 + # +!

1 + # ) +⋯+ !1 + # %

=+,-.

% !1 + # , =

!1 + # 1 + 1

1 + # +1

1 + #)+⋯+ 1

1 + #%/.

= !1 + #

1 − 11 1 + #%

1 − 11 1 + #

Page 39: Pre-Sessional Math and Statistics

Sequences, Series, and Present-Value Calculations

If we can receive the stream of payments until forever, or ! → +∞, the present value becomes

%&' = &) .

lim.→/'

&1 + )

1 − 21 1 + ).

1 − 21 1 + )= &1 + )

11 − 21 1 + )

= &)

Page 40: Pre-Sessional Math and Statistics

Sequences, Series, and Present-Value CalculationsExample (project evaluation). An investment project requires an immediate costs of £200,000. It generates net revenues of £15,000 per year starting at the end of the first year and continuing forever. The annual interest rate is 9%.

The present value of the benefits of the project is

!" = 15,0000.09 = 166,666.67

The net present value of the project is the present value of benefits minus the present value of costs:

,!" = 166,666.67 − 200,000 < 0

Page 41: Pre-Sessional Math and Statistics

Sequences, Series, and Present-Value Calculations

How do we decide whether a project is worth taking up or not?

• If the NPV of a project is negative, then the project is not worthwhile• If the NPV of a project is positive, then the project is worth investing

in

Page 42: Pre-Sessional Math and Statistics

Sequences, Series, and Present-Value Calculations

Example (project evaluation) cont’d. What if the interest is 7.5% instead?

The NPV of the project is then:

!"# = 15,0000.075 − 200,000 = 0.

Break even! The internal rate of return of this project is 7.5%

Page 43: Pre-Sessional Math and Statistics

Sequences, Series, and Present-Value Calculations

How do we decide whether a project is worth taking up or not?

• If the market interest rate is higher than the internal rate of return, then the project is not worthwhile• If the market interest rate is lower than the internal rate of return, then

the project is worth investing in

Definition. The internal rate of return of a project or investment is the rate of interest that equates the present value of benefits and costs.

Page 44: Pre-Sessional Math and Statistics

Sequences, Series, and Present-Value CalculationsExample (project evaluation) cont’d. An investment project requires an immediate costs of £200,000. It generates net revenues of £15,000 per year starting at the end of the first year and continuing forever. The annual market interest rate is 9%. What is the internal interest rate and is this project worth investing in?

The internal rate of return is15,000%&'()*'+, = 200,000 ⇒ %&'()*'+, = 7.5%.

Since it is lower than the market return of 9%, this project is not worthwhile.

Page 45: Pre-Sessional Math and Statistics