Basic Maths
Basic Maths
Basic Maths
R.L.JACOBS.
INTRODUCTION.
These notes summarise the basic Mathematics you should study before starting your degree course. The notes are designed to make you more familiar
with the core Mathematics covered at A-level, to improve your understanding and to show you where the gaps in your knowledge are. They are also
designed to introduce some new but simple topics. Please read the notes and
make sure you fill in the gaps but do not feel discouraged if there is material
you have not met. Treat the new material as a challenge and master it. The
notes are also intended to bring everyone in the class up to a common level
of Mathematical knowledge at the beginning of the course.
If you have met some or all of this material at A level do not feel insulted or
patronised and do not feel complacent. If you are doing a degree in a technical subject it is important to have this material at your fingertips so that
you can use it fluently and easily without having to refer to books or notes
or to rely on a calculator unnecessarily. If you have a fluent command of this
material it will help you enormously in the rest of your course where some of
the topics which come up later will be covered quickly and in less detail and
all of them will depend on the material in this basic course. Remember that
Mathematics works by accumulation so that you need to master each stage
before you can go on to the next one.
This introductory course will be assessed by a Mastery test which you will
be expected to pass before continuing with the rest of your Maths course. If
you do not pass the test you will have the opportunity to retake it several
times until you pass.
If you need extra help please ask the lecturer or the tutors in the classes
who are there to help you.
The simplest numbers are the positive integers 1, 2, 3, . . . which are used
for counting sets of objects. New kinds of numbers are used to serve other
purposes.
Rational numbers arise when you divide one integer by another i.e. they
are of the form a/b where a and b are integers. Irrational numbers are
introduced when problems of measurement arise. Rational and irrational
numbers are often conveniently expressed in decimal form. A rational
number can be expressed as a terminating or a recurring decimal:
1
= 0.25 and
4
1
= 0.333333 . . .
3
and
1
= 0.142857142857 . . .
7
a = b,
2. greater than:
a > b,
3. less than:
a < b,
ab
a b.
3
and
3
n
n
n
a = a so 4 = +2, or if n = 2/3 then a = a2 so (8)n = +4. You can
manipulate indices by using the following laws:
1. an am = an+m
2. an am = anm or alternatively an /am = anm
3. (an )m = anm
When manipulating expressions involving indices you should keep these laws
very clearly in mind and be aware at each stage of which law you are using.
It is quite difficult to divide by a long decimal. If an irrational square root
appears in the denominator of a fraction this is called a surd and it is quite
helpful to multiply the numerator and denominator by the conjugate of the
denominator and thus to rationalise the denominator. For example
2 3
2 3
1
=
=
=2 3
43
2+ 3
(2 + 3)(2 3)
and this last result is easy to evaluate.
Later in the year (but not in this basic course) you will meet complex numbers which are a further extension of the number system and enable you
to discuss oscillations and vibrations easily. There are also other extensions
used for different purposes. The numbers we have discussed above are sometimes called real numbers to distinguish them from complex numbers. The
relations quoted above (2.-5.) cannot be used for complex numbers.
4
ALGEBRA.
In the last example the index r in ar gives the power of x for which ar is
the coefficient where r = 0, 1, 2, . . . or n. Polynomials of order 2 are called
quadratics and polynomials of order 3 are called cubics.
An important algebraic process is factorisation. You should be able to factorise many simple quadratics by inspection eg. (a) x2 +2 x8 = (x2)(x+4)
and (b) 2 x2 + 5 x + 3 = (2 x + 3)(x + 1). The roots of the quadratics are
the values that make the quadratic equal to zero. In the two examples above
the roots are (a) x = 2 and 4 and (b) x = 3/2 and 1. If you know the
roots you know the factors and vice versa.
There is a simple formula which enables you to find the roots and hence
the factors ofa quadratic. If a x2 + b x + c = 0 then the roots are
r1 = (b + b2 4 ac)/2 a and r2 = (b b2 4 ac)/2 a . The corresponding factorisation is a x2 + b x + c = a(x r1 )(x r2 ). Note that this
gives real roots only if the discriminant b2 4 ac 0. The two roots
are the same if = 0. You must be familiar with this formula and its use.
The factorisation of higher order polynomials is much harder.
A rational expression is an expression of the form Pn (x)/Pm (x) where
Pn (x) and Pm (x) are polynomials of order n and m respectively. Later on
in Integral Calculus you will see that is necessary to be able to write a rational expression in terms of a sum of partial fractions i.e. simpler terms
each of which is easy to integrate. The basic process is simple but there are
lots of separate cases to consider so you have to be careful. There are several
steps.
1. If n < m go to step 3. If n m go to step 2.
2. Now divide Pm (x) into Pn (x) so that you get
Ps (x)
Pn (x)
= Q(x) +
Pm (x)
Pm (x)
where Q(x) is a polynomial of order n m and Ps (x) is a polynomial
of order s < m. ( N.B. You need to be able to divide polynomials.)
Then go to step 3 treating the last term as the rational expression.
3. Factorise the denominator Pm (x) into factors. If the factors are all
linear then the rest of the process is easy but if you have quadratic or
higher order factors it is a bit harder and will be discussed later. Just
for the present suppose we have m linear factors so that
Pm (x) = c (x + a1 )(x + a2 ) (x + am ).
6
1
Pl (a1 ) and x = a2
c(a2 a1 )
1
Pl (a2 ). If m > 2 the same process gives
c(a1 a2 )
A1 =
1
Pl (a1 )
c(a2 a1 ) (al a1 )
x2
and multiplication by the denominator is carried out in order to determine the constants A and B.
8. If the polynomial contains a factor x + a repeated p-times then instead
of one term in the partial fraction you have p terms of the form
B2
Bp
B1
+
+ +
.
2
x + a (x + a)
(x + a)p
Multiplication by the denominator is again carried out in order to determine the constants.
9. In steps 7. and 8. the simple substitution trick will not be enough to
determine the constants and it will be necessary to equate coefficients
of powers of x on both sides in order to determine the constants.
7
tm ti + ti+1 + ti+2 + + tj .
The index i gives the index on the first term, j gives the index on the last
term and the index increases by 1 each time as you go from term to term.
You also need to know about two kinds of series:
1. A geometric series containing n + 1 terms is of the form
n
X
m=0
a xm = a + a x + a x2 + a x3 + a xn .
The first term is a and the common ratio is x. The series has sum
1 xn+1
.
S=a
1x
e.g. the geometric series
2 + 6 + 18 + 54 + 486 = 2 + 2.3 + 2.32 + 2.33 + 2.35 .
The common ratio is 3, the first term is 2 and the last term has the
factor 35 so the number of terms is 6. The sum is
S=2
1 36
= 728.
13
(a + m d) = a + (a + d) + (a + 2 d) + (a + 3 d) + (a + n d).
m=0
The first term is a and the common difference is d. The series has sum
S=
(n + 1)
(a + a + n d).
2
2
3
4
5
1
1
3
6
10
1
4
10
1
5
etc. where each row is formed from the one above by adding the two integers
immediately above to the left and to the right. The combination n Cm is
9
found by looking for the (m + 1)-th number in the n-th row so 5 C2 is found
by looking for the third number in the fifth row i.e. 10.
The Binomial theorem provides a quick and easy way of expanding the
n-th power of a Binomial expression such as (a + b)n where n is a positive
integer. This is a string of n factors (a + b). Each term in the expansion
will have a factor consisting of a power of a multiplied by a power of b, the
powers adding up to to n e.g. one such term is ans bs with 0 s n. The
number of different ways of getting a contribution to this term is calculated
by counting the number of different ways of choosing exactly s factors of b
from the n factors which make up the original expression i.e. n Cs . The final
result is the binomial theorem which states:
(a + b)n =
n
X
Cs ans bs
s=0
An example follows:
(a + b)5 = a5 + 5 a4 b + 10 a3 b2 + 10 a2 b3 + 5 a b4 + b5 .
(If n is not a positive integer a form of the Binomial Theorem still holds
but we do not discuss it here.)
10
Range R
Domain D
x
11
Functions are sometimes defined only over a limited set of values of the
argument and this set is known as the domain e.g. if f (x) = (1 x2 )1/2 the
function is only defined over the domain 1 x 1 because if x is outside
this domain the square root has a negative argument and the function cannot
be evaluated in terms of real numbers. Note the positive sign in front of the
root in conformity with the sign convention on p4.
The set of values that the function can take is the range e.g. f (x) = x2
has range f 0 and the function f (x) = (1 x2 )1/2 has range 0 f 1.
Notice also that we can change the name of the independent variable while
leaving the function unchanged so that in case 1 above we can call the independent variable t and the function is then written f (t) = 3 t + 2. This
flexibility of names is one of the strengths of functional notation. So for
example if t = x2 then f (x2 ) = 3 x2 + 2.
This last idea leads us to the idea of a function of a function or a composite function:
If we have two functions f (x) and g(x) we can define a composite function h(x) f (g(x)). Thus if f (x) = x3 and g(x) = 2 x 1 we have
h(x) = (2 x 1)3 = 8 x3 12 x2 + 6 x 1.
On the other hand if we define the composite function k(x) g(f (x)) we
then have k(x) = 2 (x3 ) 1. Notice that h(x) and k(x) are different functions. In compounding functions such as h(x) = f (g(x)) you have to be a
bit careful and you must ensure that the range of g is in the domain of f .
Inverse functions can be defined as follows. If y = f (x) then the inverse
function f 1 takes y back to x so that x = f 1 (y). We sometimes wish to
emphasise that the argument is called x and the dependent variable is called
y so we write y = f 1 (x). The function is still the same but the names of
the variables have been changed. This has an easy graphical interpretation:
you reflect the function in a straight line of slope 1 through the origin O so
that the x and y axes are interchanged.
If we carry out this procedure for the graph above we get the graph shown
here. Note that the domain and the range are also interchanged.
12
f 1 (x)
R0
D0
x
1
1
1
1
= 1 + + + +
1! 2! 3!
m=0 m!
8
f (x) = ex
1
1
y
2
f (x) = ln x
1
x
1
1
Notice that the domain is 0 < x and the range is the whole y axis as
can be deduced from the properties of the exponential function.
The consequence is that you can never take the logarithm of
a negative number or 0. The basic properties follow from the basic
properties of the exponential function above:
ln (x y) = ln x + ln y
ln (x/y) = ln x ln y
n ln x = ln (xn )
You should be very familiar with the following points about graphs:
1. The linear function y = a x + b gives a straight line,
You should be able to see where the line intercepts the
x and y axes and be able to determine its slope.
2. The quadratic function y = a x2 + b x + c gives a
parabola. You should be able to determine the
orientation of the parabola, the intercepts with
the axes and the position of the maximum or minimum.
You should be able to state what changing the value
of a does to the parabola and what changing the value of c does.
3. You should be able to draw rough graphs of y = xn and y = xn for
any positive integral value of n.
4. If you have the graph of a function y = f (x) and two numbers a and
b (which can be positive, negative or zero) you should immediately be
able to say what the effect of each of the following transformations is:
y = f (x + a)
y = f (x) + a
y = f (b x)
y = b f (x)
15
x = f (y)
5. If you have a relation y = a xb and you take logarithms you get
ln y = b ln x + ln a. Now write Y = ln y, X = ln x and A = ln a so
that the equation becomes Y = b X + A and draw a graph of Y against
X which is a straight line. From the intercept with the Y axis you can
determine A and hence a and from the slope you can determine b. This
method is very useful in analysing experimental results. It is called a
log-log plot. If you have a straight line in a log-log plot it tells you that
you have a power law between y and x.
16
CARTESIAN GEOMETRY.
x2 + y 2
and slope = m =
y
.
x
(x1 x2 )2 + (y1 y2 )2
y2 y1
.
x2 x 1
Note that if the line slants up to the right the slope is positive and if the
line slants down to the right the slope is negative.
y
M (x2 , y2 )
y2 y1
L(x1 , y1 )
x2 x1
An important fact about a straight line is that the slope of the line is
the same everywhere. This can be used to derive the equation of the line.
17
If we have two fixed points on the line L and M with coordinates (x1 , y1 )
and (x2 , y2 ) and a variable point P with coordinates (x, y) we can calculate
the slope using L and M or using L and P and we get the same result so we
get the equation of the line:
y2 y1
y y1
=
.
x x1
x2 x1
There are various alternative ways of writing this such as:
y=
y2 y1
(x x1 ) + y1
x2 x1
or
y = mx + c
where the slope m is given as above and the intercept with the y-axis
c = m x1 + y1 .
We can also write down the equation of a circle. If we have a point
with coordinates (x, y) on the circle then the distance to a fixed point is
always the same. This distance is the radius r and the fixed point is the
centre. The equation of the circle with centre at O and radius r is then:
x2 + y 2 = r 2 .
If the centre is at (x1 , y1 ) then the equation is:
(x x1 )2 + (y y1 )2 = r2 .
We can also specify the position of a point P using polar coordinates (r, )
where r is the distance from P to O and us the angle between OP and the
the x axis. The relation between polar coordinates and Cartesian coordinates
can be expressed as
x = r cos and y = r sin
or alternatively as
r=
18
TRIGONOMETRY.
The first important thing to remember is that from now on angles should
always be measured in radians. The reason is that all the formulas of
calculus are much easier when angles are in radians. In order to convert an
angle in degrees to radians you have to multiply by /180. This gives the
following table of correspondences which you should remember:
DEGREES RADIAN S
0
0
30
/6
45
/4
60
/3
90
/2
180
270
3/2
360
2
If you have a circle of radius r and an arc of the circle subtends an angle
at the centre then
the length of the arc = r
1 2
r .
2
The basic trigonometric functions are defined with respect to the right-angled
triangle in the diagram:
sin =
BC
,
AC
cos =
AB
,
AC
tan =
BC
.
AB
sec = 1/ cos ,
19
cot = 1/ tan .
The trigonometric functions satisfy the following identities which are consequences of Pythagoras theorem:
sin2 + cos2 1,
sec2 1 + tan2 ,
cosec2 1 + cot2 .
cot( + ) = cot .
You should be familiar with the graphs of all these functions and you should
be able to state immediately the values of the functions at each of the special
values of quoted in the table below:
sin
cos
/6
1/2
/4
1/ 2
/3
3/2
3/2
tan
0
1/ 3
1/ 2
1/2
/2
3/2
You can use the trigonometric functions to derive the following formulas
Area of a parallelogram = a b sin ,
1
a b sin .
2
The following identities enable you to find the trigonometric functions of the
sum of two angles:
Area of a triangle =
tan + tan
.
1 tan tan
These can be used to derive the double angle formulas:
tan( + )
We can also define the inverse trigonometric functions sin1 x, cos1 x and
tan1 x using the ideas from section 4. (It is a bad mistake to think these
are the reciprocals of sin x, cos x and tan x.) The graphs are obtained by
interchanging the horizontal and vertical axes. These are shown in the diagrams. Note that the graphs are multiple-valued. In other words a single
value of x can give many different values of e.g. sin1 x. This ambiguity can
be removed by using a convention in which a value from a particular range is
always returned. This value is called the principal value of the function and
your calculator will always return the principal value.
y = sin1 (x)
/2
x
1
1
/2
21
y = cos1 (x)
x
1
/2
y = tan1 (x)
/2
The principal values for each function are shown by the heavy line in the
diagrams. The domains and ranges of each of the functions are given in the
following table:
F U N CT ION DOM AIN
RAN GE
sin1 x
[1, 1]
[/2, /2]
cos1 x
[1, 1]
[0, ]
tan1 x
(, )
(/2, /2)
Note the shape of the brackets in the above table. Square brackets are used
if the end points are included but round brackets are used if the end points
are not included.
22
DIFFERENTIAL CALCULUS.
rQ
secant
( tangent at P
(((
Pr(
(((
(
f (x)
x
f (x + x)
-x
x + x
We can put this more precisely and more usefully. Suppose the coordinates
of P are (x, y) and the coordinates of Q are (x + x, y + y) so that y = f (x)
and y + y = f (x + x). Then the slope of the secant is
f (x + x) f (x)
y
=
.
x
x
The slope of the tangent is
y
f (x + x) f (x)
= lim
.
x0 x
x0
x
lim
You should be able to calculate this limit in many simple cases. The limit is
also called the derivative or differential of y or f (x) with respect to x and
is written
dy
df
or
or f 0 (x).
dx
dx
These are just different notations for the same thing.
You should be able to differentiate the following functions from the method
above:
23
1. f (x) = x.
2. f (x) = x2 .
f 0 (x) = 0
f (x) = x
f 0 (x) = 1
f (x) = x2
f 0 (x) = 2 x
f (x) = xn
f 0 (x) = n xn1
f (x) = ex
f 0 (x) = ex
f (x) = ln x
f 0 (x) = 1/x
f (x) = sin x
f 0 (x) = cos x
24
4. CHAIN RULE:
f (x) = u(v) where v = v(x) f 0 (x) = u0 (v) v 0 (x).
du
du dv
Or alternatively
=
.
dx
dv dx
This enablesyou to differentiate a function of a function
e.g. f (x) = 1 + x2 where u(v) = v 1/2 and v(x) = 1 + x2 .
5. INVERSE FUNCTION RULE:
Suppose y = f 1 (x) then we first write x = f (y), then calculate
dx/dy = f 0 (y) and finally write dy/dx = (f 0 (y))1 .
!1
dy
dx
=
.
In summary
dx
dy
With the help of the rules above you should be able to differentiate any combination of simple functions no matter how complicated.
One of the points of differential calculus is to be able to tell when functions
have extremes or stationary points or turning points. In the graph the
function has a maximum at A and a minimum at B. At these points the
tangent is horizontal so the slope is zero. The slope is also zero at the point
C where the tangent crosses the curve. C is not a maximum or minimum but
it is a point of inflexion with horizontal tangent. The point D is also
a point of inflexion because the tangent crosses the curve but the tangent is
not horizontal.
rC
f (x)
6
ArA
A
DArA
r
A B
A
-x
25
df
dx
d2 f
= f 00 (x) = f (2) (x).
dx2
Third and higher derivatives are usually written f (n) (x) with n = 3 or more
to save counting dashes. You then have the following rules for a point P on
the curve with coordinates (x, y):
1. If f 0 (x) = 0 and f 00 (x) > 0 then there is a minimum at P type B.
2. If f 0 (x) = 0 and f 00 (x) < 0 then there is a maximum at P type A.
3. If f 0 (x) = 0 and f 00 (x) = 0 you need more information to determine
the nature of P .
4. If f 0 (x) = 0 and f 00 (x) = 0 but f (3) (x) 6= 0 then there is a point of
inflexion with horizontal tangent at P type C.
5. If f 0 (x) 6= 0 and f 00 (x) = 0 and f (3) (x) 6= 0 there is a point of inflexion
at P but the tangent is not horizontal type D.
(Other cases rarely arise and are more complicated. For the record:
If the first derivative which is not 0 is of even order then the function has a
maximum or minimum;
But if the first derivative which is not 0 is of odd order then you have a point
of inflexion with horizontal tangent;
Finally if f 0 (x) 6= 0 and all other derivatives up to but not including an odd
one are zero then you have a point of inflexion but the tangent is not horizontal.)
One of the important results of differential calculus is that if a function
f (x) can be differentiated indefinitely many times over at the point x = 0
then it can be expanded as a Maclaurin series which is an infinite series
of powers of x rather like a geometric series. (This is true provided the series converges. The topic of convergence will be discussed later in the year.
Just take it for granted at the moment.) In what follows f (n) (0) is the n-th
derivative of f (x) evaluated at x = 0. The Maclaurin series is:
f (x) = f (0) + f (1) (0) x + f (2) (0) x2 /2! + f (3) (0) x3 /3! +
It is sometimes useful to shift the point about which the expansion is made
to a value of x = x0 which is removed from the origin. In this case we get a
Taylor series which is:
f (x) = f (x0 )+f (1) (x0 ) (xx0 )+f (2) (x0 ) (xx0 )2 /2!+f (3) (x0 ) (xx0 )3 /3!+
26
INTEGRAL CALCULUS.
There are two ways of understanding the meaning of an integral. The link
between them is given by what is sometimes called the Fundamental Theorem of Calculus. The two ways are:
1. The integral of a function f (x) is defined to be the function F (x) which
when differentiated gives back f (x).
Z
dF (x)
= f (x) which is also written
f (x) dx = F (x) + c.
dx
The arbitrary constant c is added because on differentiating it gives
0. You must always put in the arbitrary constant explicitly when integrating. This form of integral is called the indefinite integral.
Thus
You should be able to integrate polynomials, exponentials, trigonometric functions, rational functions and logarithms. You should be
able to change the variable of integration and you should know about
integration by parts which is a technique that enables you to integrate
products of these functions and some other examples.
Some integrals can be evaluated by inspection. Ask yourself what
funcR
tion F (x) when differentiated returns f (x) e.g. try to evaluate x dx.
Some examples of simple integrals and techniques:
(a) LINEARITY
Z
[a f (x) + b g(x)] dx = a
27
f (x) dx + b
g(x) dx
(d)
(e)
(f)
(g)
(h)
(i)
Z
Z
Z
Z
Z
Z
Z
dv
du
dx = u(x) v(x) v(x)
dx
dx
dx
xn+1
xn dx =
+ c provided n 6= 1
n+1
1
dx = ln | x | +c
x
1
ekx dx = ekx + c
k
1
sin kx dx = cos kx + c
k
1
cos kx dx = sin kx + c
k
u(x)
1
x
1
dx = tan1 + c
2
+x
a
a
(k) AN EXAMPLE OF THE USE OF PARTIAL FRACTIONS
(j)
a2
Z
1
1
1
1
dx =
2
x 1
2 x1 x+1
1
dx = ln
2
x 1
+c
x+1
N.B. The use of modulus signs in (e), (i) and (k) is designed to ensure
that the argument of the ln function is positive.
2. The other form of integral is called the definite integral. It is given
in terms of the function F (x) above as follows:
Z b
a
28
y
6
y = f (x)
A
a
b
Rb
a
-x
f (x) dx = A
y
6
y = f (x)
A2
a
A1
Rb
a
-x
f (x) dx = A2 |A1 |
f (x) dx =
Z b
f (t) dt
29
dF (x)
= f (x).
dx
y
6
y = f (x)
x 4 x5 b
-x
-
xm
Area of shaded strip f (x4 ) xm
You can think of the definite integral as follows (see diagram above):
(a) Divide up the area to be evaluated into m thin strips of width
xm = (b a)/m called elements. Strip i is at position xi .
(b) Then evaluate the area of each element ignoring the fact that
the element has a sloping and curving top. Area of strip i is
Ai f (xi ) xm .
(d) Take the limit of the sum as the width of each element goes to 0.
(You must remember of course that the number of elements goes
up as the width goes down.)
A = lim
m
X
f (xi ) xm .
i=1
(e) This gives the exact area under the curve and is a rather cumbersome way of evaluating the definite integral
A=
Z b
f (x) dx.
30
P (x, y, z)
r
*
r Q(x0 , y 0 , z 0 )
a2
a3
a1
,
,
|A| |A| |A|
such
is called the unit vector in the direction of A. The components of A
as a1 / | A | etc. are called the direction cosines of A and give its direction.
Vectors are added by the triangle rule for addition
and in the diagram C = A + B.
31
-
dx dy dz
,
,
dt dt dt
32
d2 x d2 y d2 z
.
,
,
dt2 dt2 dt2
!
This tells you that vectors can be used to represent directed quantities other
than displacements such as velocities, accelerations, forces, electric fields etc.
We can use some of these ideas to discuss circular motion such as the
motion of a stone on a string or a planet around the sun. Suppose a point P
moves in a circle of radius r around the origin O with constant speed v then
the following relationships hold:
v = r
and a = v 2 /r
and a = r 2
34