Math For Quantitative Methods
Math For Quantitative Methods
PART 1: MATHEMATICS 1
LINEAR ALGEBRA, EQUATION SOLVING AND
MATHEMATICAL FUNCTIONS
1.1.2 Addition
a+b = b+a
1.1.2 Multiplication
ab = ba
When expanding brackets, always perform the operation inside the brackets first. If there are
brackets within brackets, start from the inside and work outwards.
The formal definition of a negative number is as follows. For any number, there exists a
corresponding ‘additive inverse’ number, such that the sum of the number and its additive
inverse number is zero.
1
In general, the additive inverse of any positive number is the corresponding negative number.
Subtraction of a number is the same as addition of that number’s additive inverse.
Rules
The formal definition of a reciprocal is as follows.: For any number except zero, there exists a
corresponding ‘multiplicative inverse’ number, or ‘reciprocal’ number, such that the product of
the number and its reciprocal is 1.
2 1/2 = 1, or 2 (2–1) = 1
The number 0 can be used in the numerator of a fraction, but not in the denominator.
0/a = 0
a/0 is undefined
0/0 is undefined
Rules
a
a c ac a c b ad
Multiplication and division: ;
b d bd b d c bc
d
ab b
Cancellation of common factors:
ac c
2
Addition and subtraction: To add/subtract two fractions, put them over a ‘common
denominator’; then add or subtract the numerators; then (if
possible) simplify by cancelling common factors.
a c ad bc ad bc
b d bd bd bd
a c ad bc ad bc
b d bd bd bd
Let b be any number, and let n be any positive integer (whole number). The expression bn
(‘b raised to the power n’ where b is the base and n is the exponent) is defined as follows:
b1 = b
b2 = b b
b3 = b b b
:
bn = b b .... b
[n times]
Similar expressions can be defined for values of n that are not positive integers:
b0 = b/b = 1
b–1 = b/(b b) = 1/b
b–2 = b/(b b b) = 1/b2
:
b–n = b/(b b ... b) = 1/bn
[n+1 times]
Expressions can also be defined for values of n which are fractional or decimal, provided b
is not negative:
3
The following rules and examples may be useful when manipulating expressions containing
powers.
If a + b = c then a = c – b
If a – b = c then a = c + b
cd
If ab = cd then a
b
a c bc
If then a or ad = bc
b d d
4
1.2 Equation solving
Often we need to use the rules of algebra to solve an equation which contains one unknown
variable. A linear equation is one which has terms in the unknown variable itself, e.g. x, but no
terms in x2, x3, x1/2 etc.
Method
1. If there are fractions, eliminate them by putting everything over a common denominator,
and then multiplying through by the denominator.
3. Collect all the terms in x on one side of the equation, and all the numerical terms on the
other side.
4. Divide both sides through by the coefficient on x, to obtain the numerical solution for x.
5. Substitute the solution back into the original equation and evaluate both sides, to check
whether the solution is correct.
Examples
(i) 3x + 4 = 10
(ii) 3(x – 3) = 2(x – 5) + 7
1 3 10
(iii)
6 x 2x
Solutions
(i) 3x + 4 = 10 3x = 10 – 4
3x = 6
x = 6/3
x=2 [Check : 3(2) – 4 = 10 OK]
5
1 3 10 x 18 30
(iii) [putting everything over 6x]
6 x 2x 6x 6x 6x
A slightly more complicated situation arises when we have more than one equation, and there is
more than one unknown variable to solve for. In general, we can always solve provided there are
as many equations as there are unknown variables; i.e. 2 equations in 2 unknown variables
(x and y); 3 equations in 3 unknown variables (x, y and z); and so on.
Algebraic method
1. Eliminate any fractions or brackets (as in section 1.2.1). Then rearrange both equations so
that the terms in x and y are on the left hand side, and the numerical terms are on the
right.
2. Multiply each side of one (or both) of the equations through by a number (or numbers) so
that the coefficient on one of the variables (x or y) has the same numerical value in both
equations. The signs of the equalised coefficients can be the same or different.
3. Eliminate the chosen variable by subtracting one equation from the other (if the signs of
the equalised coefficients are the same) or adding the two equations (if the signs are
different).
5. Substitute the solution back into one of the original equations, and solve for the other
variable.
6. Check your solution by substituting both values back into the other original equation.
Examples
(i) x + 2y = 5
x –y =2
6
(ii) 2y + 14 = 6x
5x – 3y = 1
(iii) 4x + 2y = 14
2x – y = 1
Solutions
(i) x + 2y = 5 [1]
x–y =2 [2]
[1] – [2] 3y = 3
y=1
(iii) 4x + 2y = 14 [1]
2x – y = 1 [2]
[2] 2 4x – 2y = 2 [3]
[1] + [3] 8x = 16
7
x = 16/8
x=2
Graphical method
1. Rearrange both equations so that y appears by itself on the left hand side of both (i.e. get
both equations in the form y = c+mx, where c and m are numbers).
2. For the first equation, find the numerical value of y when x = 0, and plot the point on the
graph. Next find the numerical value of y for a second, arbitrarily chosen, value of x, and
plot on the graph. Join the two points with a straight line.
4. Locate the solution at the point of intersection of the two lines. If the point of intersection
is off the graph, try again with different scales on the axes.
c is the intercept, i.e. the value of y at which the line cuts the y-axis
m is the slope, where m>0 the line is upward sloping
m=0 the line is flat
m<0 the line is downward sloping.
The ‘coordinates’ of any point on a graph can be represented in the form (x-value, y-value).
Examples
Solve graphically the following pairs of simultaneous equations (taken from the previous
example):
(i) x + 2y = 5 (iii) 4x + 2y = 14
x– y=2 2x – y = 1
8
Solutions (to locate two points on each line)
5 x
(i) x + 2y = 5 2y = 5 – x y [1]
2 2
[2] when x = 0, y = –2
when x = 5, y = 5 – 2 = 3
y y=x 2
3 X
X
2.5
(3,1)
1
X x
3 5
5 x
y
2 2
2
X
(iii) 2y + 4x = 14 2y = 14 – 4x y = 7 – 2x [1]
2x – y = 1 –y = 1 – 2x y = 2x – 1 [2]
[1] when x = 0, y = 7
when x = 3, y = 7–6 = 1
9
[2] when x = 0, y = –1
when x = 3, y = 6–1 = 5
y
X
7
y=2x 1
5 X
(2,3)
3
1 X y=7 2x
x
2 3
1X
1.2.3 Economics application: supply and demand under conditions of perfect competition
Example
The quantity demanded of a certain product (qd, measured in kilos per week) depends on the
market price (p per kilo, in £’s), while the quantity supplied (qs, measured in kilos per week)
depends on the price producers receive (p* per kilo, in £’s), as follows:-
qd = 40–4p qs = 2p*–8
The market price is the price which producers receive, plus any tax, minus any government
subsidy, so:
p = p*+t, where t>0 tax
t<0 subsidy
10
Using algebraic methods, find the equilibrium values of p, p* and qd (=qs)
Solution
If p = p*+t p* = p – t qs = 2(p–t) – 8
40 – 4p = 2p – 8
48 = 6p
p = 48/6
p=8
q = 40 – 32
q=8
40 – 4p = 2p – 14
54 = 6p
p = 54/6
p=9
11
From demand equation, q = 40 – 4 9
q = 40 – 36
q=4
40 – 4p = 2p – 5
45 = 6p
p = 45/6
p = 7.5
q = 40 – 30
q = 10
In order to show the graphical solution, note that economists’ graphs of demand and supply
curves are constructed differently to the normal mathematician’s graphs of the relationship
between two variables, y and x.
12
y read p read
anti-clockwise clockwise
x=1 x q=16 q
qs =2p 8
8 (8,8)
qd=40 4p
8 q
p qs =2p 14
Effect of tax
qs =2p 8 of £3 per unit
9
8 (8,8)
qd=40 4p
4 8 q
p
qd=40 4p
8 10 q
Quadratic equations are equations in one variable (x), which take the form:
Normally there are two solutions for x (but in some cases there can be one solution or no
solutions).
(a) Factorisation. This is easy if you can spot how to do it, but sometimes you can’t! Also,
the method of factorisation will not help identify a case for which there is
no solution.
(b) Formula method. This takes longer and can be tedious, but it is guaranteed to work if you do
it right, and it will always identify cases for which there is no solution.
14
Then, if ax2+bx+c = 0, either mx+p = 0 x = –p/m
or nx+q = 0 x = –q/n
These expressions give the two solutions. The two factors (i.e. the numerical values of m, n
and p) have to be determined by trial and error.
If it helps, the original equation can be ‘multiplied or divided through’ by any number to simplify
the factorisation.
Examples
Solutions
(ix) x2+8x+4 = 0 There is no obvious factorisation which will solve this. In fact, there is a
solution, but the formula method is needed to find it (see below).
(x) x2–2x+7 = 0 Again, there is no obvious factorisation. In this case, application of the
formula method will show that there is no solution (see below).
15
(b) Formula method
ax2+bx+c = 0
the solution can be obtained by substituting the numerical values of the coefficients a, b and c
into the following formula:
b b2 4ac
x
2a
A solution exists only if b2–4ac 0, because the square root of a negative number is undefined.
Examples
(i) x2+4x+3 = 0
(ii) x2–5x+4 = 0
(v) x2–9 = 0
(ix) x2+8x+4 = 0
(x) x2–2x+7 = 0
Solutions
(i) x2+4x+3 = 0 a = 1, b = 4, c = 3
4 42 4 1 3 4 16 12 4 4 4 2
x = = =
2 1 2 2 2
x = –6/2 or x = –2/2
x = –3 or x = –1
5 52 4 1 4 5 25 16 5 9 5 3
x = = =
2 1 2 2 2
x = 8/2 or x = 2/2
x = 4 or x = 1
16
(v) x2–9 = 0 a = 1, b = 0, c = –9
0 02 4 1 0 36 0 6
x
2 1 2 2
x = 3 or x = –3
(ix) x2+8x+4 = 0 a = 1, b = 8, c = 4
8 82 4 1 4 8 64 16 8 48 8 6.9282
x
2 1 2 2 2
x = –7.4641 or x = –0.5359
2 22 4 1 7 2 4 28 2 24
x
2 1 2 2
There is no solution because the square root of a negative number [ –24] is undefined.
Although not recommended as a method for solving quadratic equations, it is sometimes useful
to draw a sketch-diagram to get a visual representation of the solution. For the equation
ax2+bx+c = 0, we write:
y = ax2+bx+c
2. Find the values of x at which y = 0 [by solving the original quadratic equation] and plot
the points.
17
Example
(ii) x2–5x+4 = 0
Solution
Let y = x2–5x+4
When x=0, y = 02 – 5 0 + 4 = 4
When y=0, x=4 or x=1 (solutions obtained above, by factorisation or by the formula method).
X (0,1) y=x2 5x 4
X X
(1,0) (4,0) x
1.2.5 Economics application: Demand, revenue, cost and profit equations for a monopolist
Consider a monopolist with a linear demand equation, q = 16–p, where q = quantity demanded
and p = price.
To obtain an expression for the monopolist’s total revenue, TR, in terms of the quantity of output
which it produces and sells, start by rearranging the demand equation:
q = 16 – p p = 16 – q
18
By definition, total revenue = price quantity
TR = pq = (16–q) q = 16q–q2
To obtain an expression for average revenue (per unit sold), AR, we simply divide total revenue,
TR, by the number of units sold, q.
TR pq
AR p
q p
16 q q 2
Therefore in this case, AR = = 16 – q
q
Suppose now the firm’s total cost, TC, in terms of the quantity of output which it produces is the
following:
TC = 4q+20
By definition profit, , is the difference between total revenue, TR, and total cost, TC.
Therefore we can write:
= TR – TC
= (16q – q2) – (4q + 20)
= –q2 + 12q – 20
To find the firm’s break-even levels of production, i.e. the values of q at which = 0, we
should solve the following quadratic equation for q:
–q2 + 12q – 20 = 0
q2 – 12q + 20 = 0
19
12 12 2 4 1 20 12 144 80 12 64 12 8
q
2 1 2 2 2
q = 2 or q = 10 as above.
TR, TC,
TC=4q+20
TR=16q q2
2 10 q
= q2+12q 20
Example
A monopolist is faced with the demand equation, q = 100 – p, where q = quantity demanded
and p = price.
The total cost equation is: TC = q2 + 36q +120, where q = quantity supplied.
(i) By manipulating the demand equation, show that the total revenue equation is:
TR = 100q – q2
(ii) Write down an expression for the firm’s profit ( = TR–TC) in terms of q, and find the
firm’s two break-even levels of production, i.e. the values of q at which = 0.
Solution
p = 100 – q
TR = pq = (100 – q) q
TR = 100q – q2
(ii) By definition, = TR – TC
(q – 2)(q – 30) = 0
21
TR, TC, TC=q 2+36q+120
TR=100q q2
2 30 q
= 2q2+64q 120
1.3.1 Definitions
It is very common in mathematics to write down an expression for one variable (y) in terms of
of another variable (x). y is the dependent variable, and x is the independent variable.
y = f(x) = 7–2x
x y
22
In any particular case, f(x) can be defined as the specific rule we are applying.
1. We don’t have to use f(x) to denote a function: any letter will do.
e.g. y = g(x); y = h(x); y = (x)
3. It is possible to add, subtract, multiply or divide two functions, f(x) and g(x)
f (x) 7 2x
f(x) – g(x) = 6 – 5x
g(x) 1 3x
4. It is possible to define ‘functions of functions’. f{g(x)} means ‘do ‘g’ to x, then do‘f ’ to
the result’.
f{g(x)} = 7 – 2(1+3x)
f{g(x)} = 5 – 6x
23
6. For some (but not all) functions y = f(x), it is possible to define the inverse function:
x = f –1(y)
The inverse function describes what to do if, having started with x and used f(x) to get y,
we now want to reverse the process, and get back from y to x.
y = f(x)
x y
x = f–1(y)
2x = 7 – y
7 y
x
2 2
7 y
The inverse function of y = f(x) = 7 – 2x is x ( y)
2 2
y = f(x) = 7–2x
x y
7 y
x = f–1(y) =
2 2
24
1.3.3 The exponential function
One important type of mathematical function defines y in terms of x by raising some fixed
number to the power of x.
In mathematics there is one special number which has all sorts of powerful and surprising
‘magic’ properties. The number is:
e = 2.718281828459......
e is used to define a mathematical function of the type described above, which is known as the
exponential function.
The function exp(x) means ‘raise 2.71828... to the power of x in order to get y’.
y = exp(x) = ex = 2.71828x
x y
Some illustrative figures for the evaluation of the function y = exp(x) = ex are shown below,
along with the other functions y = f(x) = 2x and y = g(x) = 3x.
25
y=exp(x)=e x=2.71828x
y
20.08554
7.38906
2.71828
1
0.36788
0.13534
2 1 0 1 2 3 x
which looks quite
x2 x3 x4 x5
ex 1 x ..
2! 3! 4! 5!
and by definition 1! = 1
and 0! = 1 [note 0! 0 as you might have expected]
0 02 03
e 1 0 .. 1 OK
2! 3!
12 13 14 15 1 1 1 1
e1 1 1 .. 1 1 .. =2.71828 OK
2! 3! 4! 5! 2 6 24 120
2 22 23 24 25 4 8 16 32
e 1 2 .. 1 2 .. 7.38906 OK
2! 3! 4! 5! 2 6 24 120
26
Rules for manipulating the exponential function
Rules for manipulating the exponential function are just the same as the rules used for any
other ‘power’ expressions (see section 1.1.6).
1
1. e–x =
ex
2. ex ey = ex + y
3. ex ey = ex – y
4. (ex)y = ex y
The exponential function is used in economics and finance for specifying the time path of
variables that tend to grow continuously over time. For example ...
2. Specifying equations for the cumulative value of a sum of money placed on deposit,
which earns interest credited continuously over time.
The exponential function takes values of x and converts them into y, using the formula
y = 2.71828x (or y = ex). The obvious next question is how to define the inverse of this
function, i.e. how do we go from ‘y’ back to ‘x’ again?
loge(y) or ln(y) is the natural logarithm of y, also referred to as the ‘logarithm to base e of y’.
y = exp(x) = ex = 2.71828x
x y
x = loge(y) = ln(y)
27
The following table illustrates the relationship between y=ex and x=loge(y).
x y = ex x = loge(y)
–2 0.13534 loge(0.13534) = –2
–1 0.36788 loge(0.36788) = –1
0 1 loge(1) = 1
1 2.71828 loge(2.71828) = 1
2 7.38906 loge(7.38906) = 2
3 20.08554 loge(20.08554) = 3
4 54.59815 loge(54.59815) = 4
x
x=loge(y)= ln(y)
3
2
1
0 1
2.71828 7.38906 20.08554 y
1
2
In practice, the natural logarithm function can be written in the usual format of y = loge(x) = ln(x)
with y as the dependent variable and x as the independent variable.
28
1.3.5 Other logarithmic functions
However, we could also define an inverse function of this kind for any function of the form
y = bx .
3. logb(xm) = m logb(x)
5. logb(1) = 0
6. logb(b) = 1
7. logb(bx) = x
8. blogb(y) = y
29