Finance Math Review
Finance Math Review
xn
x 2 x3
exp( x) 1 x ...
2! 3!
n 0 n !
x
exp( x) lim 1
x 0
n
-5
-4
-3
-2
-1
With numbers:
= 10 + .5(.10)10 + .5(.10)(10) + .5(.10).5(.10)10
= 10 + 2(.5*.10*10) + (.5*.10)2*10
= 10(1+(.10/2))2 = 11.025
.1
2
$10 1
11.025
11.0337
11.05156
$10
$10
11.025
.02
$20,000
ln $20,000
ln 1.02
1.02
616.386
11
13
15
Example: If we have a line that crosses the yaxis at y=5 and has a slope of 3, the formula
for that line is Y = 5+3X. We could graph this
line:
Y
Slope=Rise/Run=3
Intercept = 5
16
QUADRATIC FUNCTIONS
The previous formula (y = a + bx) works for
straight lines. That is, for relationships between
x and y where the rate at which y changes as x
changes remains constant. (Prices have constant
rates of change. If gas is $2/gallon, then you
have to pay $2 dollars for each extra gallon of
gas you wish to purchase, no matter how many
gallons you buy.) The problem is that sometimes
we work with non-linear relationships, and we
need an equation to handle that.
Think of the height of a baseball as it travels in
time. First the ball goes up (it has a positive
slope), then it comes down (it changes and has a
negative slope). Because the slope of the ball
changes, a linear equation - which has only one
slope could never describe the relationship
between the height of the ball and time. In fact,
not only does the path ball have both a positive
and negative slope, it also has a curved shape to
it. Linear equations can only describe straight
lines, not curved ones. In math, we say that
curved lines have non-linear slopes. The most
basic curved line is a bell (upside down or
18
19
-5
-4
-3
-2
-1
y dy
Slope
x dx
In general, if you have a quadratic equation, the
slope is the first derivative of y with respect to x
(how fast y changes when x changes). The
formula looks like this:
dy/dx = b+2cx
Where does this come from? For a quadratic
equation, we take a first derivative as follows:
21
23
-5
-4
-3
-2
-1
16
18
18
16
25
1 6
28
.5 3.5
7.5
7.5
3.5
21
.05
.5 3.5
7.5
7.5
3.5
21
1
3
.05
b. y = -x2
5. a. y=x or
b. y = -x2 +5
6. a. y=x+20 or
b. y = -x2 +5
27
3. Some Statistics
Expectations and Other Properties of Linear
Combinations of Random Variables
(Portfolio Math)
Lets start out assuming that A and B are sets of
random variables (a1, a2, an) and (b1, b2,
bn). Because A and B are sets of random
variables, they have a distribution with a mean.
The mean for A (or B) is:
29
1 n
1 n
Z 0.2 Ai 0.8 Bi 0.2 A 0.8 B
n i 1
n i 1
That was easy, what about the variance? Recall,
the variance of a random variable tells us how
wide the variation (wiggle) is in the possible
outcomes of a variable. Random variables with a
very small variation are like senior citizen
square dancers, they dont move around much.
(If the variance is 0, they dont move at all!
Constants have a variance of 0.) Random
variables with a large variation are like spring
breakers at an electronic show theyre all over
the place.
As for the formula for the variance of a single
random variable X, we know from Sharad that:
1 n
Var ( A B ) Ai Bi A B
n i 1
2
1 n
Ai A Bi B
n i 1
2
2
1 n
Ai A Bi B 2( Ai A)( Bi B )
n i 1
Var ( A) Var ( B ) 2 Ai A Bi B
n
i 1
31
33
2 ln 4
2 ln 4
3
7
3 ln 7
3
1 ln 7
3
7
ln 7
2 ln 4
ln 7
2 ln 4
ln 7
2. log3(x + 2) = 1 + log3(x 2)
2
1
2
2
2
2
35
Linear Equations
1. (1,6) and (3, 10)
a. To find the equation of the line we need to first get the
slope:
(106)/(31) = 4/2 = 2 = b
Next we need the yintercept, use the first coordinate:
6 = a + 2*1
6 = a + 2
4 = a
Our equation is:
Y = 4 + 2x
b. The xintercept is:
0 = 4 + 2x
4 = 2x
2 = x, 2 is the xintercept!
c. Our slope is 2, our yintercept is 4
36
37
10 = 7x
10/7 = x, 10/7 is the xintercept!
c. Our slope is 7, our yintercept is 10
d. Because the slope is positive, the line slopes UPWARDS
4. (4, 3) and (8, 5)
a. To find the equation of the line we need to first get the
slope:
(5(3))/(84) = 2/4 = .5 = b
Next we need the yintercept, use the second coordinate:
3 = a + .5*4
3 = a 2
1 = a
Our equation is:
y = 1 .5x
b. The xintercept is:
0 = .5x 1
1 = .5x
1/.5= x, 2 is the xintercept!
c. Our slope is .5, our yintercept is 1
d. Because the slope is negative, the line slopes
DOWNWARDS
5. Moe hires a broker to invest in $10/share shares of Dannon.
He pays the broker $100 for his services. A month later
Dannon has a PR nightmare on their hands with an EColi
outbreak. The price of shares drops to $5 each.
a. Write an equation to express how much Moe lost as a
function of the number of shares he purchased.
The price was 10 and it is now 5, so he lost $5 per share. The
slope of this line is 5. Because Moe paid $100, even if he
38
39
STATISTICS
1. Calculate the mean value of the sum of two dice throws.
The mean of the sum is the sum of the means. For a single dice
throw, the average value is:
1
6
21
6
3.5
1
6
1
6
1
2
6
2 3.5
2. Calculate the variance of the sum of two dice throws.
The variance of a single dice throw is:
1
6
3.5
2.5
3.5
1.5
3.5
3
3.5
4
6
.5
.5
6
40
3.5
1.5
5
2.5
3.5
3.5
17.5
35
6
12
The variance of the sum of the two dice throws is:
Var(d1) + Var(d2) + 2Cov(d1,d2)
Because each throw is independent, the covariance is 0, so this
reduces:
2*Var(d1) = 70/12 = 5.8
3. If I have a portfolio that is 1/3 A and 2/3 B and A has a mean
of 9 and a variance of 3, and B has a mean of 6 and a variance
of 1, and the two have a covariance of 1, find the expected
return of this portfolio, and the variance of the portfolio.
First, the return:
1
2
9 6 3 4
3
3
Second, the variance:
3
3
9
1 1
4 2
9 9
4. Set up and solve a formula that you could use to answer the
following question: For the same stocks A and B, if I have 10
shares of B, how many shares of A would I need to have an
expected portfolio return of 8?
We want na such that:
10
8
9
6
10
10
SO
9
60
8
10
So
8
80 9
60
So
41
42