Professional Documents
Culture Documents
Lecture notes
Second edition, 2005
About these notes
These are the lecture notes for MATH1040 (and for MATH7040, for
students enrolled in the Graduate Certicate of Education. Throughout
these notes, we will only refer to MATH1040, however any comments are
also relevant for MATH7040).
We will use these notes very heavily, so it is important that you get your
own copy. Details on how you can obtain a copy will be given in class
during the rst week of semester. Please note that there is no text book
for MATH1040, so these notes are your primary source of information. Do
not try to re-use a copy from previous years or from your friends: the
notes change from year to year, and in addition it is important for you to
write things in your own words.
In lectures, we will use overheard projectors and slides. These notes
contain copies of all the slides used in lectures. Thus you will have time to
listen and think in class, rather than spending your whole time writing.
However, there are many spaces in your notes for examples and solutions.
Well work through these in lectures, and you should write down all the
information given.
Each year, some people accidentally lose their notes, which causes big
problems for them. You might like to write your name and some contact
details on the bottom of this page just in case.
Other materials for MATH1040 include a studyguide (which contains
extra information, including previous exam papers and solutions), and
assignments.
These notes have been prepared very carefully, but there will inevitably be
some errors in them. We are continually trying to improve the notes. If
you have any suggestions on how to do so, please tell us.
These important notes belong to:
If you nd them, please return them to me!
I can be contacted via:
Page 2
Table of contents.
About these notes . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
. . .
1 Numbers, arithmetic and equations . . . . . . . . . . . . . . 7
1.1 Types of numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.2 Simple mathematical operations . . . . . . . . . . . . . . . . . . . 11
1.3 Order of operations . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.4 Prime numbers and factors . . . . . . . . . . . . . . . . . . . . . . 14
1.5 Fractions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.6 Introduction to exponentiation . . . . . . . . . . . . . . . . . . . . 19
1.7 Introduction to algebraic expressions . . . . . . . . . . . . . . . . 22
1.8 Formulae . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
1.9 Number lines and order . . . . . . . . . . . . . . . . . . . . . . . . 35
1.10 Absolute value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
1.11 Square roots; higher order roots; surds . . . . . . . . . . . . . . . 38
1.12 Exponents (powers, indices) . . . . . . . . . . . . . . . . . . . . . 43
1.13 Intervals on the real line . . . . . . . . . . . . . . . . . . . . . . . 48
1.14 Inequalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
. . .
2 Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
2.1 Introduction to sets . . . . . . . . . . . . . . . . . . . . . . . . . . 55
2.2 Operations on sets . . . . . . . . . . . . . . . . . . . . . . . . . . 57
2.3 Venn diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
. . .
3 Graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
3.1 Graphs in one dimension . . . . . . . . . . . . . . . . . . . . . . . 63
3.2 Graphs in two dimensions . . . . . . . . . . . . . . . . . . . . . . 64
3.3 Lines parallel to the axes . . . . . . . . . . . . . . . . . . . . . . . 70
3.4 Linear graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
3.5 Non-linear graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
3.6 Some special graphs . . . . . . . . . . . . . . . . . . . . . . . . . . 75
. . .
4 Functions;
Notation . . . . . . . . . . . . . . . . . . . . . . 77
4.1 Functions and function notation . . . . . . . . . . . . . . . . . . . 78
4.2 Domain and range . . . . . . . . . . . . . . . . . . . . . . . . . . 80
4.3 Sigma notation,
. . . . . . . . . . . . . . . . . . . . . . . . . . 82
. . .
5 Straight lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
5.1 Introduction to straight lines . . . . . . . . . . . . . . . . . . . . . 89
5.2 General form and special types of straight line . . . . . . . . . . . 92
5.3 Finding the equation of a straight line . . . . . . . . . . . . . . . . 93
5.4 Parallel and perpendicular lines . . . . . . . . . . . . . . . . . . . 99
5.5 Distance in two dimensions . . . . . . . . . . . . . . . . . . . . . . 100
. . .
6 Intersecting lines; simultaneous equations . . . . . . . . . . . 102
6.1 Intersection of lines . . . . . . . . . . . . . . . . . . . . . . . . . . 103
6.2 Graphical solution of simultaneous equations . . . . . . . . . . . . 104
6.3 Algebraic solution of simultaneous equations . . . . . . . . . . . . 106
. . .
7 Quadratic Equations and polynomials . . . . . . . . . . . . . 111
7.1 Introduction to polynomials . . . . . . . . . . . . . . . . . . . . . 112
7.2 Quadratics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
7.3 Shapes of some polynomial functions . . . . . . . . . . . . . . . . 116
7.4 Solving quadratics . . . . . . . . . . . . . . . . . . . . . . . . . . 121
7.5 Composition of functions . . . . . . . . . . . . . . . . . . . . . . . 127
7.6 Circles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
. . .
8 Probability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
8.1 Introduction to probability . . . . . . . . . . . . . . . . . . . . . . 133
8.2 Principle of inclusion/exclusion . . . . . . . . . . . . . . . . . . . 139
8.3 Conditional probability . . . . . . . . . . . . . . . . . . . . . . . . 141
8.4 Gold Lotto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
. . .
9 Trigonometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
9.1 Introduction to trigonometry . . . . . . . . . . . . . . . . . . . . . 155
9.2 Radians . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
9.3 Evaluating sin, cos and tan . . . . . . . . . . . . . . . . . . . . . 158
9.4 Angles bigger than /2 (90
) . . . . . . . . . . . . . . . . . . . . 161
9.5 Graphs of sin x, cos x, tan x . . . . . . . . . . . . . . . . . . . . . 164
. . .
10 Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
10.1 Introduction to limits . . . . . . . . . . . . . . . . . . . . . . . . . 170
10.2 A special limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
10.3 Limits and slopes . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
. . .
11 Derivatives and rates of change . . . . . . . . . . . . . . . . . 184
11.1 Dierentiation and derivatives . . . . . . . . . . . . . . . . . . . . 185
11.2 Rules for dierentiation . . . . . . . . . . . . . . . . . . . . . . . . 191
11.3 Product rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
11.4 Chain rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
11.5 Quotient rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
. . .
12 Applications of derivatives . . . . . . . . . . . . . . . . . . . . 205
12.1 Tangent Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
12.2 Physical interpretation of derivatives . . . . . . . . . . . . . . . . 207
12.3 Second derivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
12.4 Local maxima and minima . . . . . . . . . . . . . . . . . . . . . . 212
12.5 Some practical problems . . . . . . . . . . . . . . . . . . . . . . . 218
. . .
13 Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
13.1 Introduction to integration . . . . . . . . . . . . . . . . . . . . . . 228
13.2 Rules for integration . . . . . . . . . . . . . . . . . . . . . . . . . 231
13.3 Initial conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
13.4 Denite integrals and areas . . . . . . . . . . . . . . . . . . . . . . 235
13.5 Physical problems . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
. . .
14 Logarithms and exponentials . . . . . . . . . . . . . . . . . . . 244
14.1 Introduction to exponentials . . . . . . . . . . . . . . . . . . . . . 245
14.2 Exponential growth . . . . . . . . . . . . . . . . . . . . . . . . . . 246
14.3 Exponential decay . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
14.4 The exponential function, e
x
. . . . . . . . . . . . . . . . . . . . . 256
14.5 Logarithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
14.6 Derivative of e
x
and e
kx
. . . . . . . . . . . . . . . . . . . . . . . 264
14.7 Dierentiating logarithms . . . . . . . . . . . . . . . . . . . . . . 268
14.8 Summary of logs and exponentials . . . . . . . . . . . . . . . . . . 269
. . .
INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269-1
1 Numbers, arithmetic and
equations
Why are we doing this?
this material is fundamental to all the maths you will do in
MATH1040, in your degree (and most courses in that
degree) and even in real, everyday life!
Must be condent with numbers, fractions, variables,
expressions and solving equations.
if you cant do this stu, you wont be able to do the harder
and more interesting things.
Try to stay awake! Things get much harder fairly quickly.
Later in semester, many people will have problems with
these introductory concepts. Topics we cover are:
Types of numbers.
Simple mathematical operations:
Order of operations
Prime numbers and factors.
Fractions.
Introduction to exponentiation
Introduction to algebraic expressions
Formulae
Number lines and order.
Absolute value.
Square roots; higher order roots; surds
Exponents (powers, indices)
Intervals on the real line
Inequalities
MATH1040, 2005. Section 1.0. Page 7
1.1 Types of numbers
N natural numbers
counting numbers
1, 2, 3, 4, . . .
examples of uses:
counting pigs in a (non-empty) pen
counting how many birthdays youve had
Z integers
whole numbers
. . . , 3, 2, 1, 0, 1, 2, 3, . . .
examples of uses:
measuring a credit-card balance in cents
counting number of seconds before or after a rocket
takes o.
Q rational numbers
quotient of integers
those numbers which can be written exactly as a fraction
For example,
3,
1
4
= 0.25,
7
5
= 1.4, 0 =
0
1
4, 1000,
49
50
, 4
1
2
examples of uses:
measuring blood alcohol content
cutting a birthday cake into pieces, with sizes
proportional to ages
MATH1040, 2005. Section 1.1. Page 8
R real numbers
includes rationals and irrationals
Irrationals: numbers which are not rational;
e.g. = 3.14159 . . .
2 = 1.4142 . . .
also e,
5,
2
examples of uses:
nding the area of an oval
calculating length of the fence of a round yard.
Decimal expansion of real numbers:
Example 1.1.1
0.52 = (5
1
10
) + (2
1
100
)
tenths hundredths
=
5
10
+
2
100
=
52
100
(rational!)
Finite decimal STOPS after nite number of decimal
places.
Recurring decimal: one with a repeating pattern.
Example 1.1.2
0.333333 . . . = 0.
3 ( =
1
3
exactly!)
0.212121 . . . = 0.
1 ( =
7
33
exactly!)
MATH1040, 2005. Section 1.1. Page 9
Finite and recurring decimals can always be represented
exactly as fractions: hence they are rational.
recall: irrational numbers CANNOT be represented as
fractions.
Question 1.1.3 Write 0.
4 as an exact fraction.
Question 1.1.4 Write 0.
9 as an exact fraction.
MATH1040, 2005. Section 1.1. Page 10
1.2 Simple mathematical operations
You should be quite familiar with this. If not, seek help!
(i) + addition.
(ii) subtraction.
(iii) or multiplication.
(iv) / or division.
(v) brackets ( and ) [ and ].
Write a b as a b, or as ab
Distinguish between dot for and dot for decimal point!
1.3 Order of operations
Consider the expression 2 + 3 5
do we add 2 and 3, and then multiply by 5, giving 25?
do we multiply 3 by 5, and then add 2, giving 17?
Need rules for order of operations
Many people get it wrong.
The word BEDMAS (or BOMDAS, or BODMAS) can
help you remember the rules.
MATH1040, 2005. Section 1.3. Page 11
Each letter stands for a common mathematical operation;
the order of the letters matches the order of doing the
mathematical operations
B stands for brackets eg (3 + 4)
E stands for exponentiation eg 3
5
D stands for division eg 3/4
M stands for multiplication eg 3 4
A stands for addition eg 3 + 4
S stands for subtraction eg 3 4
The basic rule is: work from left to right, with exact order
decided by BEDMAS.
B: Look for any brackets in the expression, and evaluate
inside the brackets rst. If there are brackets inside
brackets, then the innermost parts get evaluated
before the outermost ones.
E: Next, any exponentiation must be evaluated.
D and M: Next, evaluate divisions and multiplications,
working from left to right. Note that even though D
comes before M in BEDMAS, they have the same
priority. The rule could also be called BEMDAS.
A and S: Finally, evaluate any additions or
subtractions, working left to right. Even though A
comes before S in BEDMAS, they have same priority.
For safety, you can always use brackets to make it clear
It is important to practice evaluating mathematical expressions.
It may all seem pretty easy now, but it will get harder!
MATH1040, 2005. Section 1.3. Page 12
Question 1.3.1 Evaluate each of the following expressions:
(1) 2 + 6 + 10 5
(2) 3 + 4 2
(3) (3 + 4) 2
(4) 3 4 + 2 3 12 3
(5) 2 (1 + 4 (6 3))
(6) 3 (4 (2 + 1))
(7) 12 2 3 4
(8) 12 (4 2) 3
MATH1040, 2005. Section 1.3. Page 13
1.4 Prime numbers and factors
Given a natural number x, with x = a b, then a and b are
called factors of x.
Example 1.4.1 14 = 2 7 = 1 14: 1,2,7,14 are factors of
14 (usually omit mention of 1 and 14)
A prime number is a natural number, greater than 1,
whose only factors are 1 and itself.
Example 1.4.2 12 is NOT prime because 12 = 3 4; thus 3
and 4 are factors of 12.
Examples of primes: 2, 3, 5, 7, 11, 13, 17, . . . (1 isnt prime,
and 2 is the only even prime)
Can write any natural number (bigger than 1) as a product
of primes (or 1).
Example 1.4.3 4 = 2 2, 5 = 1 5, 6 = 2 3, 7 = 1 7,
8 = 2 2 2, 9 = 3 3, 10 = 2 5
Question 1.4.4 Write each of the following as the product of
prime factors (if not already prime):
(1) 12
(2) 31
(3) 48
(4) 12 12 12
MATH1040, 2005. Section 1.4. Page 14
Common factors.
If two or more integers share the same factor, then this is
called a common factor of the integers.
e.g. 12 has factors 1,2,3,4,6,12 and 15 has factors 1,3,5,15.
Their common factors are 1 and 3.
The highest common factor (HCF) of two or more integers
is the largest of their common factors.
e.g. The HCF of 12 and 15 is 3.
Two integers are called relatively prime if their HCF is 1.
Question 1.4.5 Find the HCF of 12, 36 and 108
Question 1.4.6 Are 72 and 35 prime?
Question 1.4.7 Are 72 and 35 relatively prime?
Question 1.4.8 Are 33 and 22 relatively prime?
MATH1040, 2005. Section 1.4. Page 15
1.5 Fractions
The ratio of an integer divided by another integer:
numerator
denominator
Consider the fractions
1
2
,
3
6
,
4
8
,
49
98
each of these has exactly the same value: they are
equivalent fractions.
A fraction is written in simplest form or lowest terms if
numerator and denominator are relatively prime.
The process of converting fractions to simplest form is
called cancellation.
Method: Repeatedly nd common factors for numerator
and denominator, and divide both by the common factor,
until they are relatively prime.
Often called whatever you do to the top you must also do
to the bottom.
You nd the simplest form by cancelling common factors.
20
30
=
2 2 5
2 3 5
=
2
3
Given a fraction
a
b
, its inverse is
b
a
MATH1040, 2005. Section 1.5. Page 16
Arithmetic involving fractions
Following rules show how to operate on fractions.
In each case, usually write answer in simplest form.
To add (or subtract) fractions with the same denominator,
add (or subtract) numerators and place result over the
same denominator.
13
32
+
7
32
4
32
=
13 + 7 4
32
=
16
32
To add (or subtract) fractions with dierent
denominators, rst convert them to equivalent fractions
with the same denominator, then proceed as above.
1
4
1
6
+
1
3
=
3
12
2
12
+
4
12
=
3 2 + 4
12
=
5
12
To multiply two fractions, put the product of their
numerators as the numerator of the result, and the product
of their denominators as the denominator of the result.
3
4
2
3
=
3 2
4 3
=
6
12
=
1
2
To divide two fractions, multiply the rst fraction by the
inverse of the second fraction.
3
4
1
8
=
3
4
8
1
=
3 8
4 1
=
24
4
= 6
MATH1040, 2005. Section 1.5. Page 17
Question 1.5.1 Simplify each of the following:
(1)
1
2
1
4
+
1
8
(2)
1
5
1
4
2
40
(3) 3
4
9
5
6
5
8
(4)
5
3
+
1
3
(2 + 6 3)
MATH1040, 2005. Section 1.5. Page 18
1.6 Introduction to exponentiation
Consider 3 3 3 3 3 3 3 3 . . . 3
Shorthand notation, often called exponent or power form:
3 3 3
2
3 3 3 3
3
3 3 3 3 3
4
and so on.
Given any number n,
n
0
= 1 n
1
= n
n
2
= n n n
3
= n n n
n
2
is pronounced n to the power 2, or n squared
n
3
is pronounced n cubed
in general n
m
is pronounced n to the power m
n is called the base; m is called the index
We have already seen the following:
10
0
= 1 10
1
= 10
10
2
= 10 10 = 100 10
3
= 10 10 10 = 1000
Negative powers
Well see later that, in general, a
n
=
1
a
n
.
10
0
= 1
10
1
=
1
10
10
2
=
1
1010
=
1
100
10
3
=
1
101010
=
1
1000
MATH1040, 2005. Section 1.6. Page 19
Question 1.6.1 Write in power form the product of 2n by
itself, 4 times. Hence write the value for (2n)
4
Powers of negative numbers
Be careful when raising negative numbers to a power!
If power is even, the answer is positive.
If power is odd, the answer is negative.
Question 1.6.2 Evaluate each of:
(1) (2)
3
(2) (2)
4
(3) (6)
1
(4) (3)
0
(5) (2)
3
MATH1040, 2005. Section 1.6. Page 20
Question 1.6.3 Evaluate each of the following expressions:
(1) 4 2
2
(2) 2
2
+ 2
1
1
2
1
4
(3) 3
0
3
1
3
2
1
3
(4) (2)
3
+ 2
(1+
1
2
1
6
)
(5) (6
3
2x
3
x
)
(1+21)
3 8 4
(6) ((3)
1
+ (1)
15
+ 2
3
4)
3
MATH1040, 2005. Section 1.6. Page 21
1.7 Introduction to algebraic expressions
Until now, we have mostly dealt with numbers, but in some
cases, we used letters, such as n, or a.
Letters are commonly used throughout mathematics. They
can represent
a xed value. For example, is always used to represent
the number 3.141592 . . . .
an unknown value, such as let m be the number of
marks needed to pass MATH1040
several or many values: for example, plot the graph of
2x + 1 for x ranging between 0 and 4.
When used in this way, letters are called algebraic
quantities, or often just variables.
Sometimes, if there are many such letters, or they are
related, we use a subscript on them. For example, x
1
, x
97
and y
3
all represent dierent quantities.
An algebraic expression is a combination of numbers,
algebraic quantities, and arithmetical symbols. Commonly,
the name is shortened to expression.
Example 1.7.1 Here are some examples of expressions:
x
2
2x + 4
x
2
1
x
2
2
+ 2x
1
x
2
15xy
(x y)(x
2
+y
2
)
MATH1040, 2005. Section 1.7. Page 22
Observe from those examples that multiplication signs
between variables are often omitted.
To use the product of a number and a variable, such as 3xy
(meaning 3 x y). The number is always written before
the variable, and is called the coecient.
Note that powers of variables work in a similar way to
powers of numbers: for example, x
3
= x x x.
It is conventional to call pieces of an expression terms. For
example, in the expression 3xy + 4x + 2y, the terms are
3xy, 4x and 2y.
Terms are separated by mathematical operators
(eg + and ).
Terms are called like if they have the same variables, each
raised to the same powers (only coecients dier).
Usually, expressions are written with like terms grouped.
Question 1.7.2 Group like terms together in each of:
(1) x
2
+ 2x + 6 2x 3x
2
+ 4
(2) 3x
2
+ 2xy +y
2
xy x
2
+ 4xy
(3) x
1
+x
2
+ 3x
1
4x
2
+x
1
x
2
(4) 2 +a
2
b +ab
2
+ab 2a
2
b + 3ab
2
+ 4
MATH1040, 2005. Section 1.7. Page 23
Arithmetic on algebraic expressions
Frequently, you will need to simplify expressions.
Various terms in expressions can be added and subtracted,
in the obvious way.
Write the expression with like terms grouped together, then
add and subtract coecients of all like terms to simplify the
expression.
Note, as stated above, that terms are only like if they have
the same powers of all algebraic quantities in the term:
for example, you cannot add together x
2
and x
3
.
Example 1.7.3
3x
2
+ 2xy + y
2
xy x
2
+ 4xy
= 3x
2
x
2
+ 2xy xy + 4xy +y
2
= 2x
2
+ 5xy +y
2
Example 1.7.4
2x
2
1
x
2
x
2
+ 3x
2
1
x
2
+ 3x
2
1
4x
2
1
x
2
+x
2
3x
2
1
x
2
1
x
2
= 3x
2
1
3x
2
1
+ 2x
2
1
x
2
+ 3x
2
1
x
2
4x
2
1
x
2
x
2
1
x
2
x
2
+x
2
= 0x
2
1
+ 0x
2
1
x
2
+ 0x
2
= 0
MATH1040, 2005. Section 1.7. Page 24
Multiplication and division follow normal rules, such as
1. a b = ab = ba = b a
2. a (b) = (a) b = ab
3. (a) (b) = ab
4.
a
b
c
d
=
ac
bd
5. a b = a (
1
b
) =
a
b
6.
a
b
=
a
b
=
a
b
7.
a
b
=
a
b
Example 1.7.5
2 6xy
z
2 z
3y
=
12xy
z
2z
3y
=
12xy 2z
z 3y
=
24xyz
3yz
= 8x
Question 1.7.6 Expand and simplify the following expression:
8 ab
c
18 ab
c
'
2 x
(5)
1
x
2
= 4
MATH1040, 2005. Section 1.8. Page 33
Equations and solutions
Often, formulae which state that two quantities are equal
are called equations.
A solution to an equation is a set of values for each of the
variables in the equation, which, when substituted into the
equation, make the equation true.
Question 1.8.5 Show that x = 6 is a solution of the equation
2x
12
x
= 10.
Solving an equation involves nding values for each of the
variables, such that the values give a solution to the
equation.
A fundamental tool for solving equations is transposition.
Question 1.8.6 Solve the equation 24 2x =
x
2
+ 4.
For the moment, equations we encounter have a unique
solution: there is only one solution to the equation.
MATH1040, 2005. Section 1.8. Page 34
1.9 Number lines and order
3 2 1 0 1 2 3
This number line shows the order of numbers; given any
two numbers, the one on the right is larger.
E.g. 3 < 1 or 1 > 3
2 < 7 or 7 > 2
< >
less than greater than less than or greater than
equal to or equal to
3 same distance from 0 as 3, but in opposite
direction
(3) same distance from 0 as 3, but in opposite
direction, so (3) = 3 (or +3).
1.10 Absolute value
The absolute value of a number is its distance from zero;
(always positive or 0)
e.g. absolute distance above or below sea level.
Notation: Write [a[ for the absolute value of a.
MATH1040, 2005. Section 1.10. Page 35
Formally, we dene
[ x [ = x, for x 0
[ x [ = x, for x < 0
Example 1.10.1 [2[ = 2 [ 2[ = 2 [ 3
1
2
[ = 3
1
2
[0[ = 0 [
2[ =
2 (Note: 0 = 0)
Question 1.10.2 Evaluate each of the following:
(1) [ 5 [
(2) [ 4 [
(3) [ 7.82 [
(4) [ 1 [
(5) [ [ [ [
(6) [ x [ [ x [ x x
(7)
[ x [
x
MATH1040, 2005. Section 1.10. Page 36
More examples involving absolute values
From the denition, [ x [= a x = a
This is also true for mathematical expressions!
Question 1.10.3 Find all x such that [ x [= 4.
Question 1.10.4 Find all x such that [ 4x + 2 [= 2.
Question 1.10.5 Find all x such that [ 3x + 12 [= 1.
Question 1.10.6 Find all x such that [ 2x + 3 [ + 2 = 3.
MATH1040, 2005. Section 1.10. Page 37
1.11 Square roots; higher order roots;
surds
Recall n
2
= n n. We commonly write n =
n
2
, pronounced
the square root of n squared.
In general,
m is the number which, when multiplied by itself,
gives m. Thus
m
m = (
m)
2
= m
Properties of square roots
You must try and remember these!
(1)
a
b =
ab
(2)
a
b
=
b
(3)
a
2
= a
Note carefully the following non-properties: in general, the
following things are not equal.
(1)
a +
b ,=
a +b
(2)
a
b ,=
a b
Question 1.11.1 By letting a = 9 and b = 16, show that it is
not necessarily true that
a +
b =
a +b.
MATH1040, 2005. Section 1.11. Page 38
Higher order roots
Recall that
n is dened by:
n
n = n.
We can also dene higher order roots.
The cube root of n, written
3
n is dened by
3
n
3
n
3
n = n.
Note the changed notation: there is a small 3 in front of the
root sign.
We can similarly dened roots of higher orders again: for
example,
4
n,
5
n, and so on.
The higher order roots have similar properties to square
roots. For example,
3
a
3
b =
3
ab.
Later well encounter higher order roots in more detail.
Surds
Some square roots can be written exactly as fractions, eg
4 = 2 =
2
1
.
Many square roots cannot be written as a rational.
For example,
2,
5,
32
(2)
75
(3)
20
Multiplying surds
Surds can be involved in expressions. For example, 3 +
5
is an expression involving a surd.
Mathematical operations (such as addition, multiplication
and so on) can be performed on such expressions.
Be careful to remember the relevant properties.
Example 1.11.3
(
2 + 5) + (
2 6)
2 =
2 +
2 + 5 6
=
2 1
MATH1040, 2005. Section 1.11. Page 40
Question 1.11.4 Simplify each of the following:
(1) (3 + 2
5) (4
5)
(2) (
5 + 2)(
5 2)
Rationalising the denominator
Sometimes, surds appear as the denominator of fractions.
This is complicated, so it is common to remove the surd
from the denominator.
Can do this, by multiplying both the numerator and
denominator by an appropriate number: this converts it to
an equivalent fraction, but with a rational number as the
denominator.
This is called rationalising the denominator.
MATH1040, 2005. Section 1.11. Page 41
Question 1.11.5 Simplify
1
2
2
Question 1.11.6 Simplify
1
2
+
3
Question 1.11.7 Simplify
4
MATH1040, 2005. Section 1.11. Page 42
1.12 Exponents (powers, indices)
Think back to exponentiation.
Example 1.12.1 3
2
means 3 3 (or 9)
3
3
= 3
2
3
1
= 3 3 3 = 3
2+1
(= 27)
3
4
= 3
3
3
1
= 3 3 3 3 = 3
3+1
(= 81)
= 3
2
3
2
= 3
2+2
There are rules for manipulating powers: you should understand
and remember these:
Rule 1 a
m
a
n
= a
m+n
Example 1.12.2 2
2
2
3
= (2 2) (2 2 2) = 2
5
Question 1.12.3 Prove Rule 1:
Rule 2 a
0
= 1 (any a ,= 0)
Example 1.12.4 3
4
3
0
= 3
4+0
= 3
4
= 3
4
1
divide both sides by 3
4
and get 3
0
= 1
Question 1.12.5 Prove Rule 2:
MATH1040, 2005. Section 1.12. Page 43
Rule 3 a
m
=
1
a
m
(a ,= 0)
Example 1.12.6 7
2
7
2
= 7
(2+(2))
= 7
0
= 1
So (dividing both sides by 7
2
), 7
2
=
1
7
2
Question 1.12.7 Prove Rule 3:
Fractional powers
We know that a
m
a
n
= a
m+n
.
We also know that
a
a = a
1
= a.
It would be nice to be able to write
a as a to some power.
If we could write
a in such a way, it would look like
a = a
p
for some power p.
Extend Rule 1 (a
m
a
n
= a
m+n
) to m, n in Q.
Clearly we require p =
1
2
.
It can be shown that this works in general: that is, for any
a,
a = a
1/2
, or equivalently
a = a
0.5
.
Higher order roots are the same:
m
a = a
1/m
.
MATH1040, 2005. Section 1.12. Page 44
Rule 4 a
1
m
=
m
a
So if b = a
1/m
=
m
a, then b
m
= a.
Example 1.12.8
1. 2
1
2
2
1
2
= 2
1
2
+
1
2
= 2
1
= 2
So 2
1
2
=
2
2. 8
1
3
.8
1
3
.8
1
3
= 8
(
1
3
+
1
3
+
1
3
)
= 8
1
= 8
So 8
1
3
=
3
8 = 2
3. 2
1
2
=
1
2
1
2
=
1
2
.
Rule 5 (a
m
)
n
= a
mn
Example 1.12.9 (2
2
)
3
= 2
2
2
2
2
2
= 2
2+2+2
= 2
6
= 2
23
Question 1.12.10 Prove Rule 5:
Question 1.12.11 Evaluate each of:
(1) (2
1
2
)
2
(2) (2
3
)
2
(3) (xy)
4
(4) (x
2
y
2
)
3
MATH1040, 2005. Section 1.12. Page 45
Example 1.12.12
2
3
= 8
2
2
= 4
2
1
= 2 At each stage we drop
2
0
= 1 the power by 1,
2
1
=
1
2
and divide the value by 2
2
2
=
1
4
2
3
=
1
8
Example 1.12.13
x
4
(xy)
2
y
3
x = x
4
.xy.xy.y
3
.x
= x
(4+1+1+1)
y
(1+1+3)
= x
7
y
5
.
Question 1.12.14 Evaluate
2
3
4
1
2
36
1
2
81
1
4
(Hint: 81
1
4
= (81
1
2
)
1
2
.)
Question 1.12.15 Simplify
2
x
x
2
2
MATH1040, 2005. Section 1.12. Page 46
The ve rules are repeated here. They are important!
(1) a
m
a
n
= a
m+n
(2) a
0
= 1 (any a ,= 0)
(3) a
m
=
1
a
m
(a ,= 0)
(4) a
1
m
=
m
a
(5) (a
m
)
n
= a
mn
They can also be extended to the following (no need to prove
the rest; they are easily derived from the ve above). Rule (7) is
particularly useful.
'
(6) a
1
= a
(7) a
m
a
n
= a
mn
(8) (ab)
n
= a
n
b
n
Note: we cannot simplify x
a
y
b
(or even x
2
y
3
, say).
Here the bases, x and y, are dierent.
We have given a lot of rules for expanding and simplifying
expressions, using powers, rules such as BEDMAS and
fractions.
This can all be put together, to manipulate complicated
expressions.
MATH1040, 2005. Section 1.12. Page 47
1.13 Intervals on the real line
Any number can be marked as a single point on the real
line.
Intervals or regions can also be marked on the real line;
they include all real numbers x which lie between two
endpoints.
Such intervals can be described by inequalities
(< > ).
Question 1.13.1 Mark each of the following intervals on the
real line:
(1) x 2
(2) x 2
(3) 2 x 2
The intervals we have seen so far all involve or .
We can also mark intervals which involve < or >.
Question 1.13.2 Mark each of the following intervals on the
real line:
(1) x < 2
(2) x > 2
(3) 2 < x < 2
MATH1040, 2005. Section 1.13. Page 48
There is an easy way to write intervals:
[a, b] denotes the interval a x b
[a, b) denotes the interval a x < b
(a, b] denotes the interval a < x b
(a, b) denotes the interval a < x < b
a and b are called the endpoints of the interval.
Note the brackets: they indicate the type of interval.
Square bracket means corresponding endpoint falls
inside interval. Interval is closed at that end.
Round bracket means corresponding endpoint falls
outside interval. Interval is open at that end.
In set notation (we cover sets in Section 2):
[a, b] = x R [ a x b.
(a, b) = x R [ a < x < b.
[a, b) = x R [ a x < b.
(a, b] = x R [ a < x b.
Question 1.13.3 Mark each of the following intervals on the
real line:
(1) (, 0)
(2) [0, 5)
(3) (0, 5]
(4) (, )
MATH1040, 2005. Section 1.13. Page 49
1.14 Inequalities
Just as we can solve equations, can also solve inequalities.
There are standard rules which can be applied
Note rules 3 and 4: the inequality is reversed!
'
x = 4
(5) x = 4
(6) (5.9)x = 3(y + 1)
(7) x = 2y(2 +y)
(8) 2(2 +x) = 4y 1
(9) x x
2
= y
(10) y = 1
(11) x +y =
2
x + 1
(12) (x + 1)
2
= y +x
2
3.5 Non-linear graphs
Not all graphs are linear.
For example, equations could include x
2
, x
3
,
x etc.
Take care now! It is no longer enough to use two or three
data points to plot your graph!
MATH1040, 2005. Section 3.5. Page 72
Question 3.5.1 Spotty Bob runs a bakery. Each day, he bakes
y = 36 (6 t)
2
loaves per hour, where t is the time in hours
since the start of the shift. Draw a graph of the production of
loaves in each hour, for 0 t 10 (for one day).
Answer: rst, for convenience we could rearrange the formula
y = 36 (6 t)
2
= 36 (36 12t +t
2
)
= 12t t
2
= t(12 t)
Next, draw a table of values:
t 0 1 2 3 4 5 6 7 8 9 10
y 0 11 20 27 32 35 36 35 32 27 20
Note: without the restriction 0 t 10, y would become
negative for t negative or for t large and positive.
y
t
Question: Why might the graph look like it does?
MATH1040, 2005. Section 3.5. Page 73
Question 3.5.2 Plot xy = 1 (Or y =
1
x
)
x 3 2 1
1
2
1
3
1
3
1
2
1 2 3
y
1
3
1
2
1 2 3 3 2 1
1
2
1
3
y
x
Note: x, y have same sign. Also, as x gets very big, y ( =
1
x
)
gets very small.
Question 3.5.3 Plot y = x
3
x 3 2 1 0 1 2 3
y 27 8 1 0 1 8 27
y
x
MATH1040, 2005. Section 3.5. Page 74
3.6 Some special graphs
Have seen linear graphs which
increase (that is, go up to the right)
decrease (that is, go down to the right)
are vertical (eg x = 4) or are horizontal (eg y = ).
Have seen some non-linear graphs (eg y = x
2
, y =
x).
Another type of graph which well encounter is that of a
piecewise linear function.
Its graph is a series of straight line segments, perhaps with
a break or discontinuity between pieces of straight lines.
If the line segments are horizontal, these are sometimes
called step functions.
Graphs of piecewise linear functions look quite interesting!
Question 3.6.1 Plot graphs of each of the following:
(a) y =[ x [, (b) y =
[ x [
x
.
y
x
y
x
MATH1040, 2005. Section 3.6. Page 75
Floor and Ceiling
Dene the oor or integer part of x, written ]x, to be the
largest integer less than or equal to x.
Dene the ceiling of x, denoted ]x, to be the smallest
integer greater than or equal to x.
Question 3.6.2 Find ]1.6, ]7, ], and ]2.3.
Question 3.6.3 Find ]1.6, ]7, ], and ]2.3 .
Question 3.6.4 Plot graphs of y
1
= ]x, y
2
= ]x.
y
x
y
x
MATH1040, 2005. Section 3.6. Page 76
4 Functions;
Notation
Why are we doing this?
This section covers two separate topics: functions, and
sigma notation
most mathematics involves expressing concepts and
relationships as functions
the notation is not too hard, but many nd it a bit
confusing
you must be familiar with functions and their notation: we
will use it very heavily for much of the rest of semester
it will also be used heavily in any maths work you do in
business or economics, in much engineering and information
technology, genetics and biology.
Sigma notation is a short-hand way of writing long
expressions involving addition
Very important in probability and statistics.
Anyone doing any economics statistics will need to use
sigma notation a lot.
Topics in this section are:
Functions and function notation
Domain and range
Sigma notation,
x 2, h(x) = 4
and v(t) = 4 + 3t.
(a) Find g(3), g(1) and g(a).
(b) Find f(11), f(2), f(1) and f(a
2
+ 2).
(c) Find h(0), h(2) and h(100).
(d) Find v(0), v(10) and v(a).
Functions can be plotted as graphs, in the usual way. In this
case, x is the independent variable, and is shown on the
horizontal axis. f(x) is the dependent variable, and is shown on
the vertical axis. Sometimes, it is written as y = f(x).
MATH1040, 2005. Section 4.1. Page 79
4.2 Domain and range
Given a function f, think about what real numbers can
possibly be used as an input to f, and which values can
possibly occur as outputs of f?
Some functions can take any real number as allowable input
values, and it is possible to obtain any real number as an
output value. Of course, any individual input will give rise
to a unique output (that is the denition of a function!)
Other functions have restrictions on what values can be
input to function, and what output values can occur.
Consider f(x) = x
2
, which can take any number as its
input, but can never output a negative number.
Now consider f(x) =
x. It cannot have a negative input,
and cannot give negative output (note that
x is assumed
to always be positive: if we are interested in negative
values, then we explicitly include the negative sign,
x).
Can think of function as rule for translating numbers in a
particular set to numbers in another set. The function
f(x) = 2x translates all numbers on the real line to another
real line, with each number translating to twice original.
The collection of numbers to which the function is applied
is called the domain of the function. (In English, the set of
all possible input x values.)
The collection of numbers which can be obtained by
applying the function is called the range of the function.
(In English, the set of all possible output y values.)
MATH1040, 2005. Section 4.2. Page 80
Question 4.2.1 Find the domain and range of the following:
(for (10), (11) and (12) do the domain only.)
(1) f
1
(x) = x
(2) f
2
(x) = x + 1
(3) f
3
(x) = 3x + 3
(4) f
4
(x) = x
2
(5) f
5
(x) = x
2
(6) f
6
(x) = x
2
+ 3
(7) f
7
(x) =[ x [
(8) f
8
(x) =
x
(9) f
9
(x) =
x
(10) f
10
(x) =
1
x
(11) f
11
(x) =
1
x
2
1
(12) f
12
(x) =
1
x
(13) f
12
(x) =
x
[ x [
(14) f
13
(x) = 4
MATH1040, 2005. Section 4.2. Page 81
4.3 Sigma notation,
lower
expression
where
lower is an expression for the lower bound or starting
point of the sum,
upper is an expression for the upper bound or ending
point of the sum; and
expression is the expression being added together.
MATH1040, 2005. Section 4.3. Page 82
Lower is usually (but not always) of the form
variable=value.
Upper is usually (but not always) of the form value ( N).
Expression is usually (but not always) an expression
involving the variable given in lower.
Example 4.3.2 Here are two examples of signma notation:
5
i=1
i = 1 + 2 + 3 + 4 + 5
100
i=1
2
i
= 2
1
+ 2
2
+ 2
3
+. . . + 2
99
+ 2
100
The shorthand notation can be expanded into a sum via the
following process (sounds complicated but is easy):
take the variable given in the expression lower, and set
it to the value given in lower
form a term from expression, replacing each occurrence
of variable with its current value. Add term to sum
add 1 to value of variable, and check expression
upper. If value of variable is still less than or equal to
upper, go back to previous step and repeat
stop when the value of variable is larger than upper.
Note: always add 1 to variable
A few conventions apply here. It is common to use i or j as
the variable in lower. Also, upper can itself be a variable. In
this case, it is often n or m ( N).
MATH1040, 2005. Section 4.3. Page 83
Example 4.3.3
9
i=1
i
2
means The sum of i
2
, from i = 1 to
i = 9.
9
i=1
i
2
= 1
2
+ 2
2
+ 3
2
+ 4
2
+ 5
2
+ 6
2
+ 7
2
+ 8
2
+ 9
2
.
Example 4.3.4 In
9
i=1
i
2
, the symbol i is a dummy symbol;
9
j=1
j
2
= 1
2
+ 2
2
+ + 9
2
also.
9
k=1
k
2
= 1
2
+ 2
2
+ 3
2
+ + 9
2
.
Example 4.3.5
(a)
5
j=2
j
3
= 2
3
+ 3
3
+ 4
3
+ 5
3
( = 8 + 27 + 64 + 125 = 224)
(b)
4
r=2
r(r + 1) = 2(2 + 1) + 3(3 + 1) + 4(4 + 1)
= 2.3 + 3.4 + 4.5
= 6 + 12 + 20 = 38.
MATH1040, 2005. Section 4.3. Page 84
Example 4.3.6
An even number is of form 2k, k is any integer.
An odd number is of form 2k +1 (or 2k 1), k is any integer.
And (1)
even
is equal to +1, while (1)
odd
is equal to 1.
Thus (1)
2k
= 1 and (1)
2k+1
= 1.
Then (for example)
6
i=1
(1)
i
i = 1 + 2 3 + 4 5 + 6.
Question 4.3.7 Write each of the following in sigma notation:
(1) 1 + 2 + 3 + 4 + 5 + 6 + 7
(2) 2 + 4 + 6 + 8 +. . . + 98 + 100
(3) 2 + 4 + 6 + 8 +. . .
(4) 3 + 5 + 7 + 9 +. . . + 29 + 31
MATH1040, 2005. Section 4.3. Page 85
Question 4.3.8 Write as expanded sums:
(1)
8
i=4
x
i
y
i
(2)
2
j=0
x
i
y
j
(3)
n
i=1
nx
n
(4)
4
i=1
2
(5)
5
i=2
(2i +x
i
+j)
(6)
5
j=1
(1)
j
jx
j
MATH1040, 2005. Section 4.3. Page 86
Question 4.3.9 Write each of the following in sigma notation:
(1) x
1
+x
2
+x
3
+x
4
+x
5
+. . . +x
998
+x
999
+x
1000
(2) (2 + 3x) + (3 + 4x
2
) + (4 + 5x
3
) + (5 + 6x
4
)
(3)
1
2
+
1
2
2
+
1
2
3
+
1
2
4
+. . . +
1
2
n
(4) x
1
1 +x
2
2 +x
3
3 +x
4
4 +. . . +x
n
n
(5) x + 2x 3x + 4x 5x + 6x 7x + 8x
(6) 1 4 + 9 16 + 25 36
MATH1040, 2005. Section 4.3. Page 87
5 Straight lines
Why are we doing this?
This section covers two related topics: straight lines and
distance
linear relationships are very common in representing and
modelling real situations
We have seen how to graph linear relationships, now we
study their general form and see how to recognise a linear
relationship from its equation.
We consider the gradient and y-intercepts of lines, and see
how to nd their equations.
Used a lot in engineering, physics, commerce and business.
Make sure you are familiar with this, as we will return to
straight lines in the next section (on simultaneous
equations) and when we start on calculus.
We also study straight-line distance between two points and
Pythagoras theorem.
Fundamental in any distance calculations.
Topics in this section are:
Introduction to straight lines
General form and special types of straight line
Finding the equation of a straight line
Parallel and perpendicular lines
Distance in two dimensions
MATH1040, 2005. Section 5.0. Page 88
5.1 Introduction to straight lines
Equation of a straight line has, in general,
x term, y term, constant term (e.g. 5x + 2y + 3 = 0.)
(Simple exceptions: e.g. x = 4, y = 2 ).
If have y-term, usually write y = mx +c
Example 5.1.1 Writing straight line equation in standard form:
2(x 4) = 3y + 7
2x 8 = 3y + 7
3y = 2x 15
y =
2
3
x 5
Several important features of straight line graphs:
y-intercept is value of y when x = 0. On graph, it is value
of y when line crosses y-axis
x-intercept is value of x when y = 0. On graph, it is value
of x when line crosses x-axis
the gradient of the line is its slope.
xintercept
origin
yintercept
plot of y=x+1
y
x
MATH1040, 2005. Section 5.1. Page 89
The two triangles on that gure (in dashed lines) represent
the slope or gradient of the line.
Formally, the slope of a line is the change in its y value,
compared to the change in its x value.
Take a triangle, label points A and B (on line y = mx +c)
and another point D:
D
A 2
(x , y )
1
B
change in x
change in y
(x , y )
1 1
(x , y )
2 2
Because A is on the line y = mx +c, A is (x
1
, mx
1
+c)
Because B is also on the line y = mx +c, B is (x
2
, mx
2
+c)
D is the point where a vertical line through B(x
2
, y
2
)
intersects a horizontal line through A(x
1
, y
1
).
The change in y values is the length of the vertical line BD,
which is y
2
y
1
. Change in x is x
2
x
1
BD (length) is (mx
2
+c) (mx
1
+c)
= mx
2
+c mx
1
c
= mx
2
mx
1
= m(x
2
x
1
)
DA = x
2
x
1
. Hence
BD
DA
= m, slope
A and B were any points on the line.
Hence, on a straight line graph, the slope is the same over
the entire graph.
MATH1040, 2005. Section 5.1. Page 90
Thus the slope m of the line is given by:
m =
change in y
change in x
=
y
2
y
1
x
2
x
1
=
y
x
The last line is pronounced delta y over delta x. The
character is the Greek letter delta, and commonly is
used to mean the change in the value of. Thus x means
the change in the value of x.
Thus y = y
2
y
1
and x = x
2
x
1
The slope is positive if the line goes up to the right, and
the slope is negative if the line goes down to the right.
Larger values of [ m [ mean steeper lines.
Question 5.1.2 Assume that a straight line is drawn between
each of the following pairs of points. Find the gradient of each
line.
(0, 0), (3, 3) (0, 0), (3, 3) (1, 2), (2, 6)
(5, 7), (10, 7) (3, 2), (3, 6) (2, 6), (1, 2)
Note: it doesnt matter which point you choose as (x
1
, y
1
) and
which as (x
2
, y
2
). Youll get the same line either way.
MATH1040, 2005. Section 5.1. Page 91
5.2 General form and special types of
straight line
Having introduced gradients and intercepts, we can now
interpret the general form for the equation of a straight line.
a
2
+b
2
This is sometimes called the most important theorem in the
whole of mathematics.
It forms the entire basis of trigonometry and coordinate
geometry
used to measure distances in 2 and 3 dimensions.
Question 5.5.1 Wilfred starts walking at a point A.
He walks due east for 10
7 km,
ending up at point B. How far is B from A, in a straight line?
Distance between two points, (a, b) and (c, d).
Can restate Pythagoras Theorem to work on the (x, y)
coordinates of points.
MATH1040, 2005. Section 5.5. Page 100
Consider two points M = (a, b) and N = (c, d). Take point
L = (c, b). Measure horizontal and vertical distances.
M
(a,b)
N
(c,d)
(c,b)
L
LM = c a, or the dierence in the x values.
LN = d b, or the dierence in the y values.
So MN = distance between (a, b) and (c, d)
=
(c a)
2
+ (d b)
2
, by Pythagoras theorem.
often write coordinates of the two points as (x
1
, y
1
) and
(x
2
, y
2
), so distance d is
d =
(x
1
x
2
)
2
+ (y
1
y
2
)
2
=
(x
2
x
1
)
2
+ (y
2
y
1
)
2
(This formula just says that the distance from point A to
point B equals the distance from point B to point A.)
Dont get this formula mixed up with formula for gradient!
Question 5.5.2 Find the straight line distance between
(2, 1) and (4, 5).
MATH1040, 2005. Section 5.5. Page 101
6 Intersecting lines; simultaneous
equations
Why are we doing this?
This section builds on the theory of straight lines.
Now we are concerned with the possible intersection of a
pair of lines.
See two ways of nding the intersection: graphically and
algebraically
Very useful when a number of simultaneous constraints
apply
we only consider a pair of equations with two unknown
variables. More generally, can have many equations with
many unknown variables.
Computers were originally developed mostly for solving
very large systems of equations.
the techniques we learn can be applied to much larger
systems.
Well refer back to systems of equations when we study
matrices and vectors.
Topics in this section are:
Intersection of lines
Graphical solution of simultaneous equations
Algebraic solution of simultaneous equations
MATH1040, 2005. Section 6.0. Page 102
6.1 Intersection of lines
Consider two lines, y = m
1
x +c
1
and y = m
2
x +c
2
. Every
point on rst line satises rst equation, and every point on
second line satises second equation.
If both lines are drawn on same set of axes, then must have
one of: the lines must intersect at precisely one point, or
zero points, or at an innite number of points.
It is not possible for them to intersect in any other number
of points (eg 2 points, or 20 points).
If they intersect in precisely one point, say (x
i
, y
i
), then
(x
i
, y
i
) satises both equations at the same time. We call
(x
i
, y
i
) the simultaneous solution to the equations.
If the lines do not intersect at all, then they must be
parallel. Here, we say that there is no simultaneous
solution to the given equations.
If the lines intersect in an innite number of points, then
they must be the same line. We say that there is an
innite number of simultaneous solutions.
There are many examples of simultaneous equations which
need to be solved in everyday life. You need to be able to
solve some simple ones.
MATH1040, 2005. Section 6.1. Page 103
Two ways to solve simultaneous equations: graphically and
algebraically. Each has good and bad points.
6.2 Graphical solution of simultaneous
equations
Given the equations of two straight lines, the simultaneous
solution to these equations can be found graphically by:
rst, plot both lines on the same set of axes
nally, look for the intersection of the lines.
If there are no points of intersection (so the lines are
parallel), then the answer is: there is no simultaneous
solution to the given equations.
If there is exactly one point of intersection, then note that
point, say (x
i
, y
i
). The answer is: the simultaneous
solution to the given equations is the point (x
i
, y
i
).
If there is innite number of intersection points, then
lines are identical. Answer is: there is an innite number
of simultaneous solutions to the given equations.
Example 6.2.1 Find the solution to the simultaneous equa-
tions y + 2x = 5 and 2y 4x = 2
Solution: Plot both lines on a set of axes, and note the point
of intersection is (1, 3). This point is the simultaneous solution
to the given equations.
Finally, it is important to check your answer. This can be done
by substituting (x, y) = (1, 3) into the original equations.
continued...
MATH1040, 2005. Section 6.2. Page 104
Example 6.2.1 (continued)
x
2
4
6
8
y
1 2 3 4
y=2x+1
(1,3)
y=2x+5
Example 6.2.2 Find the solution to the simultaneous equa-
tions y = 2x + 2 and 2y = 4x
Solution: Plot lines, and observe there is no point of intersec-
tion (the lines are parallel) so there is no simultaneous solu-
tion.
x
2
4
6
8
y
2 4 6 8
y=2x y=2x+4
Example 6.2.3 Find the solution to the simultaneous equa-
tions y 2x = 4 and 2y 4x = 8
Solution: Observe that the lines are superimposed, so there is
an innite number of simultaneous solutions.
continued...
MATH1040, 2005. Section 6.2. Page 105
Example 6.2.3 (continued)
x
2
4
6
8
y
2 4 6 8
y=2x+4
Advantages of using graphical methods include
visually appealing and can see what is happening (eg if lines
are parallel)
easy to understand.
Disadvantages include
very low accuracy, as it may be hard or impossible to
accurately read coordinates of intersection point (eg solution
could be (x, y) = (3.2176, 1.2842))
the intersection point may be hard to nd. When drawing
axes, if intersection point is near origin, it will be easy to
nd. What if answer is (x, y) = (1782, 62174)?
6.3 Algebraic solution of simultaneous
equations
Alternatively, can use algebraic approaches: use
mathematics rather than a picture (graph).
There are two similar approaches, called substitution and
elimination. Both methods are closely related.
MATH1040, 2005. Section 6.3. Page 106
Method of substitution.
1) Given two equations, choose one equation, and isolate one
of the variables to left-hand side.
2) Substitute expression for variable into other equation, thus
eliminating variable from equation.
3) Solve the equation for the remaining variable.
4) Substitute value of variable into either original equation,
giving value for remaining variable.
Example 6.3.1
Solve 2x y = 4 (1)
x + 2y = 28 (2)
Rewrite (1) with y on the left-hand side, so
y = 2x + 4 (3)
Substitute for y in equation (2) gives
x + 2(2x + 4) = 28 (4)
Now (4) is equation with one unknown, so can solve for x:
x + 2(2x + 4) = 28
x + 4x + 8 = 28 5x = 20 x = 4 (5)
Now substitute x = 4 into (1) or (2). Lets choose (1):
2x y = 4 2 4 y = 4 y = 12
continued...
MATH1040, 2005. Section 6.3. Page 107
Example 6.3.1 (continued) Thus solution is x = 4 and y =
12; that is, (4, 12).
Finally, we can check that this, by substituting these values of
x and y into both of the original equations (1) and (2).
From (1), 2x y = 4. Let x = 4 and y = 12, so 2x y =
2(4) 12 = 4 as required. From (2), x +2y = 28. Let x = 4
and y = 12, so x + 2y = 4 + 24 = 28 as required.
Hence the solution is correct.
Question 6.3.2 Solve algebraically the simultaneous equa-
tions
3x 2y = 10
x + 3y = 7
Method of elimination.
1) Given two equations, add a multiple of one equation to a
multiple of the other, eliminating one of the variables.
2) Solve the equation for remaining variable.
3) Substitute value of variable into either original equation,
giving value for remaining variable.
MATH1040, 2005. Section 6.3. Page 108
Example 6.3.3
Solve x 3y = 1 (1)
3x + 2y = 8 (2)
Lets eliminate y: take 2 (1) and 3 (2):
2x 6y = 2 (3)
9x + 6y = 24 (4)
ADD: 11x = 22
Hence x = 2. Put this back in (1) or (2) to get y:
In (1):
x 3y = 1
2 3y = 1
2 = 3y 1
3 = 3y y = 1.
[Check: in (2), say: 3.2 + 2.1 = 6 + 2 = 8. YES!]
Question 6.3.4 Solve algebraically the simultaneous equa-
tions
3x + 4y = 14
2x 3y = 2
MATH1040, 2005. Section 6.3. Page 109
When solving graphically, always have either one solution;
or no solutions (parallel lines); or innite solutions (identical
lines). Same cases arise when solving algebraically.
Question 6.3.5 Solve the simultaneous equations
3x 2y = 4
9x + 6y = 12
Question 6.3.6 Solve the simultaneous equations
2x y = 3
4x + 2y = 5
In Qn (3), nal statement is always true, so there is an
innite number of solutions to the given equations. Any
point which satises the rst equation also satises the
second. Graphically, any point on the rst line is also on
the second, so the lines are identical.
In Qn (4), we arrived at a statement which is never true,
so there is no solution to the given equations. Graphically,
the two lines do not intersect: they are parallel.
MATH1040, 2005. Section 6.3. Page 110
7 Quadratic Equations and
polynomials
Why are we doing this?
We have seen linear equations, with a single solution. Now
we look at equations with higher powers of x, and
(possibly) multiple solutions.
Well see how to solve quadratics (using a formula or
factorisation), and the shape of the graphs of some
polynomials.
Polynomials are used extensively in real-world modelling,
particularly by engineers, biologists and economists.
Well use them for much of the rest of this course. Be
familiar with the notation, and in particular be able to
solve quadratic equations.
The calculus section of this course is directed at nding the
slope of an arbitrary polynomial at any point.
This section also briey covers composition of functions
(which allows more complicated functions to be constructed
from simpler ones), and circles.
Topics in this section are:
Introduction to polynomials
Quadratics
Shapes of some polynomial functions
Solving quadratics
Composition of functions
Circles
MATH1040, 2005. Section 7.0. Page 111
7.1 Introduction to polynomials
Weve seen equations of straight lines: y = mx + c
Using function notation, we can write f(x) = mx + c
The highest power of x is 1.
What if our function involves terms with x raised to
integer powers other than 1? For example,
P(x) = x
2
3x + 2.
Note that P(x) includes an x
2
term.
P(x) and f(x) are called polynomial functions.
The degree of a polynomial p(x) is the highest power
of x in p(x).
Example 7.1.1 Examples of polynomials:
2x 1 degree 1; linear
3x
2
2x 4
2x
2
+ 1
(x 1)(x + 2)
degree 2; quadratic
3x
3
9x
4.9x
3
+ x
2
1
(x 1)(x + 1)(x 3)
degree 3; cubic
MATH1040, 2005. Section 7.1. Page 112
In general, a polynomial is an expression of the form
p(x) = a
n
x
n
+ a
n1
x
n1
+ + a
2
x
2
+ a
1
x + a
0
(Note that a
1
x = a
1
x
1
, and a
0
= a
0
x
0
).
a
i
is the coecient of x
i
, i 1
a
0
is the constant term (i = 0 case).
We can write the polynomial in a short-hand way, using
sigma notation:
p(x) =
n
i=0
a
i
x
i
(To see this, just expand it out in the usual way.)
Example 7.1.2 In the polynomial 5x
3
4x
2
+ 3
the x
2
term is 4x
2
the coecient of x
3
is 5
the coecient of x is 0
and the constant term is 3
All polynomials are functions p(x) (remember: a
function takes each possible input value, and converts it
to a unique output value).
Well concentrate on three types of polynomial: linear,
quadratics and cubics (wont do much on these).
MATH1040, 2005. Section 7.1. Page 113
7.2 Quadratics
These have an x
2
term as the biggest power of x (if
they are a polynomial in x).
General form: f(x) = ax
2
+ bx + c
Another example: f(t) = ut +
1
2
at
2
(polynomial in t).
You need to be able to sketch graphs of quadratics.
Can do it in the familiar way: calculate some points,
mark them on axes, and join the dots Make sure you
have enough points!
Well learn a few tricks to make it easier.
Question 7.2.1 Sketch p(x) = x
2
3x + 2.
(Note: p(x) = (x 1)(x 2).
x -1 0 1 2 3 4
p(x) 6 2 0 0 2 6
MATH1040, 2005. Section 7.2. Page 114
Question 7.2.2 Sketch the graph of p(x) = x
2
+ 1
Note: this is never zero, for any real x.
x 3 2 1 0 1 2 3
p(x) 10 5 2 1 2 5 10
Compare the two graphs. Take particular note of where
they are positioned in relation to the x-axis.
The graph of a quadratic equation can cross the x-axis 0
times, once, or twice.
Graphs of other polynomials may also cross the x-axis a
number of times.
The places where the graph crosses the x-axis are
important: they are the values of x for which y is zero.
Often, such values of x are called the roots of the equation.
Roots of a quadratic
Given a quadratic equation y = ax
2
+bx +c, the formula for
the roots of the equation is
x =
b
b
2
4ac
2a
This mystical formula allows us to easily solve quadratic
equations.
you might like to commit it to memory!
It will be given to you on your exam.
MATH1040, 2005. Section 7.4. Page 121
We stated above that a quadratic equation has either 0, 1
or 2 roots.
How does this formula give 0, 1 or 2 roots?
if b
2
4ac > 0, then there are two dierent values in the
part of the formula
b
2
4ac. This results in two
distinct roots
if b
2
4ac = 0, then there is one value in the part of the
formula
b
2
4ac (the value is 0). This results in a
single root
if b
2
4ac < 0, then we are trying to take the square
root of a negative number. This is not possible, so there
are no roots.
Question 7.4.1 Find all values of x for which 2x
2
+7x4 = 0
Question 7.4.2 Find all values of x for which 2x
2
+ 7x = 4
MATH1040, 2005. Section 7.4. Page 122
Question 7.4.3 Solve each of the following quadratics:
(a) (x 1)(x 2) = x
2
3x + 2
Solve x
2
3x + 2 = 0
(b) (x 2)(x 2) = 0
Solve x
2
4x + 4 = 0
(c) Solve x
2
+ 3x + 3 = 0
MATH1040, 2005. Section 7.4. Page 123
We have seen how to solve a quadratic, using the quadratic
formula. Sometimes, it is possible to nd the solution(s),
using trial and error or factoring.
Example 7.4.4 Find all solutions to x
2
5x + 4 = 0
If you happen to notice x
2
5x + 4 = (x 1)(x 4), then
immediately know that solutions are x = 1 and x = 4
Why?
We are solving = 0 (where = (x1) and = (x4)).
It must be the case that if = 0 then either = 0 or
= 0 (or both).
So either x 1 = 0 or x 4 = 0, so x = 1 or x = 4
The following theorem allows us to do something useful
with this:
THEOREM
Let f(x) be a polynomial function.
(1) If (x a) is a factor of f(x) then f(a) = 0
(2) If f(a) = 0, then (x a) is a factor of f(x)
Can write (1) and (2) together as:
Let f(x) be a polynomial function.
Then f(x) = (xa).g(x), where g(x) is a polynomial function,
if and only if f(a) = 0
MATH1040, 2005. Section 7.4. Page 124
Example 7.4.5 Find all factors of f(x) = x
2
5x + 6
Try x = 2: f(2) = 2
2
5.2 + 6 = 4 10 + 6 = 0
So (x 2) is a factor of f(x).
Try x = 3: f(3) = 3
2
5.3 + 6 = 9 15 + 6 = 0
So (x 3) is a factor of f(x).
So f(x) = (x 2)(x 3)
(Could be times a constant, e.g. if f(x) were 2x
2
10x+12 =
2(x
2
5x + 6) = 2(x 2)(x 3))
Question 7.4.6 Roughly sketch the graph of y = x
2
+x 2
Use factoring to solve f(x) = 0. Then sketch:
Question 7.4.7 Roughly sketch the graph of y = x
2
+6x9
MATH1040, 2005. Section 7.4. Page 125
Solving real-world problems
Be careful: sometimes, when solving a real-world problem,
one of your answers may not be possible. For example,
lengths or areas probably cant be negative.
Example 7.4.8 Find all right-angle triangles which have
hypotenuse 2 units longer than one side and 1 unit longer
than the other side.
Let shortest side be x. Then hypotenuse is x + 2, and other
side is x + 1. From Pythagoras theorem:
(x + 2)
2
= x
2
+ (x + 1)
2
x
2
+ 4x + 4 = x
2
+ x
2
+ 2x + 1
x
2
2x 3 = 0
(x + 1)(x 3) = 0
So x = 1 or 3 (But x = 1 isnt possible for length!)
So x = 3, and x+1 = 4, x+2 = 5, and the triangle has sides
3, 4, 5. (Only one solution).
Question 7.4.9 Find the dimensions of a rectangle with
perimeter 14 metres and area 12 square metres.
MATH1040, 2005. Section 7.4. Page 126
7.5 Composition of functions
Think back to functions, such as f(x).
For example, let f(x) = 2x.
Thus f is a rule which takes any input, and doubles it.
Question 7.5.1 If f(x) = 2x, nd each of:
f(4)
f(10)
f(a)
f(3a)
f(3x)
f(x
2
)
f(x +h)
Pay attention to the last three examples, and compare with the
next three!
Question 7.5.2 Let f(x) = 2x, u(x) = 3x, v(x) = x
2
and
w(x) = x +h. Find each of
f(u(x))
f(v(x))
f(w(x))
These are examples of a special mathematical construct called
composition of functions.
MATH1040, 2005. Section 7.5. Page 127
Given two functions f(x) and g(x), we can talk about the
composition, f(g(x)).
As in the examples, we simply substitute g(x) into the
function f, and obtain a new function, called the
composition f(g(x)).
We can also form another composition, g(f(x)). Here, we
substitute f(x) into g.
In general, f(g(x)) is not the same as g(f(x)).
Example 7.5.3 For example, let f(x) = x
2
+ 1 and g(x) =
3x 2, so
f(g(x)) = (g(x))
2
+ 1 = (3x 2)
2
+ 1
= (3x 2)
2
+ 1 = 9x
2
12x + 5
Now try the composition the other way round:
g(f(x)) = 3(f(x)) 2
= 3(x
2
+ 1) 2
= 3x
2
+ 1
Note that f(g(x)) ,= g(f(x)).
Question 7.5.4 If f(x) = 3x
2
4 and g(x) = 2x 1,
nd f(g(x)) and g(f(x)).
MATH1040, 2005. Section 7.5. Page 128
7.6 Circles
Just as we can give the mathematical equation of a straight
line or a parabola, we can also give the mathematical
equations for circles.
Consider a circle, centre (0, 0) and radius r. Let (x, y) be a
point on the circle; it is a distance r from the circle centre.
(x,y)
r
x
y
(0,0)
Then Pythagoras theorem gives us: r
2
= x
2
+y
2
.
This equation holds for every point, so (x, y) is on the circle
if and only if it satises that equation.
20,
2) and (
3, 0) lie on a
circle centred at (0, 0)? If so, nd the equation of the circle.
MATH1040, 2005. Section 7.6. Page 129
Not all circles have their centre at (0, 0).
More generally, take the circle with centre (a, b) and radius
r:
(x,y)
r
(xa)
(yb)
(a,b)
(0,0)
we can nd the equation of this circle in a similar way. The
length of the horizontal side is (x a), the length of the
vertical side is (y b) and the radius is still r.
Important denitions:
The set of all possible outcomes is called the sample space.
A subset of the sample space is called an event.
Assuming that all outcomes are equally likely, the
probability p of a particular event is given by:
p =
number of ways in which that event can occur
total number of elements in sample space
( =
number of favourable outcomes
total number of possible outcomes
)
We assume that each experiment is fair (so each outcome
is equally likely: eg coins and dice are not biased)
Often use coins, dice or cards to illustrate probability
Say Prob(A) to mean the probability of event A
MATH1040, 2005. Section 8.1. Page 133
Example 8.1.1 Coin tossing:
Let H denote a tossed coin coming up as a head, and T denote
a tossed coin coming up as a tail. Assume the coin is fair (so
each outcome is equally likely).
1 toss Set of all possible outcomes = sample space =
H, T.
Clearly, Prob(1 head) = 1/2. Prob(1 tail) = 1/2.
2 tosses Set of all possible outcomes = sample space =
HH, HT, TH, TT
What is the probability of getting one H and one T (in either
order)?
The event of one H and one T occurs in each of the outcomes:
HT or TH.
Thus the identied event occurs in 2 possible outcomes.
So Prob(one H and one T) = 2/4 = 1/2.
3 tosses Set of all possible outcomes = sample space =
HHH, HHT, HTH, THH, HTT, THT, TTH, TTT.
Prob(at least 2 heads) = 4/8 = 1/2
Prob(precisely 2 heads) = 3/8
Prob(precisely 1 head) = 3/8
Prob(precisely 0 heads) = Prob(precisely 3 heads) = 1/8
MATH1040, 2005. Section 8.1. Page 134
Example 8.1.2 A pack of cards has 4 suits (clubs, spades,
diamonds and hearts) and 13 cards of each suit. If a card is
chosen at random:
Prob(heart) = 13/52 = 1/4, Prob(ace) = 4/52 = 1/13
Prob(ace of hearts) = 1/52
Question 8.1.3 Roll two fair dice. What is the probability
that:
(1) Both dice roll a 6?
(2) At least one die rolls a 6?
(3) Neither die rolls a 6?
(4) Both numbers are even?
(5) Both dice show the same number?
First, draw the sample space as a table:
MATH1040, 2005. Section 8.1. Page 135
Sometimes the sample space is more complicated, but you can
still list every element in the sample space and count.
Question 8.1.4 Roll two dice, one green (g) and one blue (b).
Let t be the total obtained by adding the scores. If t = 9, roll
again until t ,= 9 (so we know g +b ,= 9).
(1) What is the size of the sample space?
(2) What is the probability that t is even?
(3) What is the probability that t is odd?
(4) What is the probability that t 8?
(5) What is the probability that g = b 1?
(6) What is the probability that g ,= b 1?
MATH1040, 2005. Section 8.1. Page 136
Sometimes it may be hard to count all occurrences of some
event. The following easy fact might help:
'
If A
1
, A
2
, . . . A
n
are all mutually exclusive events (so at most
one of the events can occur), then
Prob(A
1
A
2
...A
n
) = Prob(A
1
)+Prob(A
2
)+. . .+Prob(A
n
)
Question 8.2.4 MATH1040 students have a 15% chance of
receiving a grade of 7, a 15% chance of a 6, 20% chance of 5,
35% of 4, and 5% for each of 3, 2 and 1. If 4 or more is a
pass, and a 3 is a conceded pass, nd the probability that a
randomly chosen student will:
(1) fail the course? (grade 3)
(2) obtain a grade of 6 or 7?
(3) pass the course, or gain a conceded pass?
(4) pass the course, or gain a grade of 7?
MATH1040, 2005. Section 8.2. Page 140
Question 8.2.5 What is wrong with this reasoning: in Ques-
tion 8.2.4, the probability of a student getting a grade of 5
is 0.2. Hence in any group of 5 students, the probability of
someone getting a grade of 5 is 0.2 + 0.2 + 0.2 + 0.2 + 0.2 =
5 0.2 = 1.0, so it is guaranteed to happen. In any group of
6 students, the probability is 6 0.2 = 1.2.
8.3 Conditional probability
Sometimes extra information eectively reduces the size of the
sample space.
Question 8.3.1 A die is rolled. Find the probability that the
number showing is 5. Find the probability that the number
showing is 5, given that the number is odd.
'
Independent events.
Two events A and B are independent if and only if
Prob(A[B) = Prob(A) and Prob(B[A) = Prob(B)
That is, the probability of A happening, given that B has
happened, is identical to the probability that A happens.
If two or more events are independent, then there is an easy rule
for calculating the probability that they all occur:
If A
1
, A
2
, . . . A
n
are all independent events, then
Prob(A
1
A
2
...A
n
) = Prob(A
1
)Prob(A
2
). . .Prob(A
n
)
MATH1040, 2005. Section 8.3. Page 144
It is usually easy to see if two events are independent; we
will concentrate on this type of event
examples of independent events include: tossing a coin
twice; rolling two dice; drawing one card out of each of 2
packs; tossing a coin and rolling a die.
examples of non-independent events include: drawing 2
cards from one pack without replacement; rolling a biased
die twice; studying for an exam and passing the exam.
Question 8.3.7 A coin is tossed and a die is rolled. Find the
probability of obtaining a 6 on the die and a head on the coin.
Check your answer by counting outcomes.
Question 8.3.8 A coin is tossed 6 times. Find probability of:
(1) 6 heads in a row.
(2) 5 heads followed by 1 tail.
(3) Exactly 5 heads in consecutive tosses.
(4) 6 heads in a row, given the rst 5 tosses are heads.
MATH1040, 2005. Section 8.3. Page 145
Question 8.3.9 Four people each secretly and randomly
choose a number between 1 and 10 inclusive. What is the
probability that they:
(1) All choose the number 5?
(2) All choose an even number?
(3) All choose the same number?
Question 8.3.10 Refer to Question 8.2.5. What is the prob-
ability that in a group of ve random students:
(1) at least one student has a grade of 5?
(2) every student has a grade of 5?
(3) every student passes?
MATH1040, 2005. Section 8.3. Page 146
Question 8.3.11 Three people each have a bag of marbles,
with 2 red, 1 yellow and 3 blue marbles per bag. Each person
chooses a marble at random from their bag. What is the
probability that:
(1) All marbles are red?
(2) No marbles are blue?
(3) All marbles are the same colour?
(4) Two marbles are red and one is blue?
MATH1040, 2005. Section 8.3. Page 147
Question 8.3.12 (same as Question 8.1.3.) Roll two dice.
Find the probability that: (dont list the sample space)
(1) Both dice roll a 6?
(2) At least one die rolls a 6?
(3) Neither die rolls a 6?
(4) Both numbers are even?
(5) Both dice show the same number?
Question 8.3.13 A famous problem in probability: the Monty
Hall problem. You have won a TV game show, and take home
whatever is behind one of three identical doors; behind one
there is $100,000, behind each of the others there is a goat.
You choose a door, and the host, who knows where the money
is, opens one of the other two doors, exposing a goat. The
host then gives you the option of changing your door choice if
you want to.
Should you change, or not, or doesnt it matter? (Note: as-
sume you want money more than you want the goat.)
working space on next page
MATH1040, 2005. Section 8.3. Page 148
Working space for Question 8.3.13:
MATH1040, 2005. Section 8.3. Page 149
8.4 Gold Lotto
Wouldnt it be nice....
Lets talk about gold lotto.
This is not examinable, but is probably interesting.
Its also a useful demonstration of probability.
Somewhere I saw a description of gold lotto as a weekly
tax on ignorance: lets see why.
The TV ads say Would a million dollars make a
dierence?, and wouldnt it be nice to win a million.
But they dont talk about your chances of winning, and
what you expect to get back even if you do win.
To win Division 1 in Gold Lotto, you need to correctly
choose six numbers out of a possible 45
It can be shown that there are 8,145,060 dierent
combinations of 6 numbers out of 45
Thus, each time you enter, there is exactly one combination
of numbers which will result in you winning Division 1.
we now know that if you play a single game, the probability
of that game winning is
1
8, 145, 060
= 0.000000122774
this is a very small number!
Most people seem to think that theyll win Division 1
sometime, its just a matter of waiting until they do.
Maybe not this year or next year, but sometime.
MATH1040, 2005. Section 8.4. Page 150
Lets put this chance of winning in perspective:
1. if you have 100 games every week, youd expect to win
Division 1 once every 1500 years
2. if you have 150,000 games every week, youd expect to
win once per year. Of course, your entry fees would be
$60,000 per week
3. each year, about 25 Queenslanders win Division 1. Each
year, about 300 Queenslanders die in road accidents.
Very roughly, you are about 10 times more likely to die
in a car crash than you are to win Division 1
4. if you have 75 games per week, then your chances of
winning Division 1 in a year are about 1 in 2000. If you
are a male aged between 15 and 24, then you have about
a 2 in 2000 chance of dying in a given year. If you are a
female in that age bracket, you have about a 1 in 2000
chance of dying in a given year.
If you try to beat the system and put in lots of entries,
then for every $1,000,000 you spend on entry fees, you
expect on average to win back about $500,000. That is,
your expected payouts are only about 50% of what you
spend. The government keeps about 50% in tax.
Every combination of six numbers is equally likely to occur.
If you select the numbers 1, 2, 3, 4, 5, 6 then you have exactly
the same chance of winning as does any other combination.
There is nothing you can do to increase your chances of
your number selection coming up.
Even if you happen to win Division 1, the expected prize is
about $250,000. Certainly much less than $1,000,000.
MATH1040, 2005. Section 8.4. Page 151
Powerball is much worse: you need to choose 5 numbers
correctly out of 45, plus correctly pick the powerball
Thus you need to choose 5 numbers correctly out of 45,
plus one number out of a dierent group of 45.
Using some probability, it can be shown that if you play a
single game, the probability of that game winning is
1
54, 979, 200
= 0.0000000181887
this is a very very small number!
We can put this into perspective:
1. if you have 100 games every week, youd expect to win
Division 1 once every 10,000 years
2. if you have about 1,000,000 games every week, youd
expect to win once per year.
3. Your odds of winning powerball are almost exactly equal
to this:
the organisers of an olympic marathon select a secret
point somewhere on the course
they then give you a pin, and tell you to go and stick
the pin somewhere on the course.
If the place you stick the pin exactly matches their
secret point, then you have won Division 1.
Have you noticed that in many weeks, there is a powerball
jackpot?
This means that (once again) no-one happened to win.
The TV ads sell this as a good thing!
MATH1040, 2005. Section 8.4. Page 152
So why do people play?
Because:
people dont know the true probability.
the advertisements are slick, sexy and appealing.
everyone wants to win a million dollars.
someone has to win; why not me?
the cost of entry is low, so why not try?
there is an entertainment value.
we all believe that somehow, we are inherently luckier than the next person.
we all believe that something bad wont happen to me, but that
something good will.
Is there nothing I can do to improve my chances?
All combinations of numbers are equally likely. You cannot
do anything to increase your chances of winning, besides
playing more games.
However, there is something you can do: try to ensure that
if your selection of numbers comes up, then you are the
only person who wins Division 1. This will ensure that you
dont share your payout with anyone else.
Thus you are just as likely (or unlikely) to win as anyone
else, but if you do happen to win, youll get a big payout.
The way to do this is to choose numbers which no-one else
will choose, or at least are unlikely to be chosen.
Lots of people choose birthdates: try numbers larger than
31. People think patterns are more unlikely to come up (we
know this is false). So choose a pattern of numbers, all
larger than 31.
If I ever was weak enough to enter Lotto, Id choose the
numbers 33, 34, 35, 36, 37, 38.
MATH1040, 2005. Section 8.4. Page 153
9 Trigonometry
Why are we doing this?
Angles, degrees, radians, and the trig functions sin, cos and
tan form the basis of geometry, architecture and civil
engineering, physics and surveying.
Trig functions are also used in creating models of
populations and economic cycles.
Fundamental to military applications, navigation and
methods of transport (including planes, boats and
spacecraft).
Well see two ways of measuring angles: degrees and
radians.
Well encounter trig functions and angles less than 90
, then
extend the concepts to angles greater than 90
. Well solve
some practical problems, to see some uses for trig functions.
Well also examine the graphs of the trig functions and
explain their appearance.
In the calculus sections, well return to trig functions.
Topics in this section are:
Introduction to trigonometry
Radians
Evaluating sin, cos and tan
Angles bigger than /2 (90
)
Graphs of the functions sin x, cos x and tan x
MATH1040, 2005. Section 9.0. Page 154
9.1 Introduction to trigonometry
You should be familiar with each of the following:
Angles are frequently measured in degrees, for example 90
is a right angle.
The angles in a triangle add up to 180
.
The hypotenuse in a right-angled triangle is the longest
side, opposite the 90
angle.
An acute angle is one less than 90
.
An isosceles triangle has two sides the same length, and the
two angles opposite these sides are equal angles.
a
b
c
In a right-angled triangle:
a = hypotenuse
sin =
opposite
hypotenuse
=
b
a
cos =
adjacent
hypotenuse
=
c
a
tan =
opposite
adjacent
=
sin
cos
=
b
c
Notation: For sin x sin x, write sin
2
x
[NOTE: sin
2
x and sin x
2
are quite dierent!! Safer to write
sin(x
2
) for the latter in fact].
Similarly, cos x cos x is written cos
2
x
MATH1040, 2005. Section 9.1. Page 155
Refer to previous example. Pythagoras Theorem gives us
a
2
= b
2
+c
2
Have sin
2
x + cos
2
x =
b
a
2
+
c
a
2
=
b
2
a
2
+
c
2
a
2
=
b
2
+c
2
a
2
=
a
2
a
2
= 1
Thus, for any angle x, sin
2
x + cos
2
x = 1
Useful when simplifying expressions involving sin, cos and tan.
9.2 Radians
Clearly, 4 lots of 90
and 1
in a circle, so
2 radians = 360
, so 1 radian =
360
2
degrees.
Example 9.2.1 Writing some angles as degrees and radians:
360
= 2 radians
180
= radians
90
= /2 radians
45
= /4 radians
60
= /3 radians
30
= /6 radians
1 radian =
360
2
= 57.3
approx.
The conversion rules are:
2
From diagram, can work out sin, cos and tan values for 45
sin 45
=
opposite
hypotenuse
=
1
2
cos 45
=
adjacent
hypotenuse
=
1
2
tan 45
=
opposite
adjacent
=
1
1
= 1
MATH1040, 2005. Section 9.3. Page 158
Example 9.3.2 Draw an equilateral triangle with all sides of
length 2 and so each angle 60
3
We can now nd sin, cos, tan values for 30
and 60
sin 30
=
opposite
hypotenuse
=
1
2
cos 30
=
adjacent
hypotenuse
=
3
2
tan 30
=
opposite
adjacent
=
1
3
sin 60
=
opposite
hypotenuse
=
3
2
cos 60
=
adjacent
hypotenuse
=
1
2
tan 60
=
opposite
adjacent
=
3
1
=
3
MATH1040, 2005. Section 9.3. Page 159
In this course, well tell you what you need to know, except
possibly for a very few special cases which you could
reasonably be expected to know.
Question 9.3.3 Lawrence the Lumberjack is standing near
the tallest tree in the world (a Californian redwood), and he
needs to measure the height of the tree. From a point on the
ground 70m from the base of the tree, the angle of elevation
of the top of the tree is 60
)
Thus far, we have mostly looked at angles between 0 and
90
, 180
, 240
,360
, 450
and 30
, we need to extend
trig functions to angles 90
).
Instead, draw a circle with radius 1 centred on the origin. (This
is the unit circle, dened in Section 131.)
MATH1040, 2005. Section 9.4. Page 161
Q=(x,y)
P=(x,y)
x
y
and
360
lim
xa
f(x) = means as x gets very close to a
(so x = a + little bit) or x = (a little bit))
then f(x) gets very close to .
Possibly f(a) does not exist!
MATH1040, 2005. Section 10.1. Page 173
Example 10.1.3 Find lim
x3
x
2
9
x + 3
Let f(x) =
x
2
9
x + 3
=
(x 3)(x + 3)
x + 3
Here, provided x + 3 ,= 0 (that is, provided x ,= 3), we can
cancel x + 3 top and bottom, and get this equal to x 3
So f(x) is dened for x = 2.999999999...99.. or for x =
3.0000000000000...0001
(Of course, f(x) is not dened at x = 3).
So lim
x3
f(x) = lim
x3
x
2
9
x + 3
= lim
x3
(x 3) = 6
Question 10.1.4 Find the following limits, if they exist.
(1) lim
x0
2x 1
(2) lim
x2
2x + 4
x + 2
(3) lim
x0
x
2
(4) lim
x3
x 3
x 3
(5) lim
x0
2a +x
a
MATH1040, 2005. Section 10.1. Page 174
10.2 A special limit
Think back to composition of functions: given f(x) and g(x), we
can nd f(g(x)) by substituting g(x) into f.
Question 10.2.1 If f(x) = x
2
, nd f(2), f(a) and f(x +h).
Now we can use f(x) and f(x +h) to nd the following limit:
Example 10.2.2 Find lim
h0
f(x +h) f(x)
h
when f(x) = x
2
Now f(x +h) f(x) = (x +h)
2
x
2
= (x
2
+ 2xh +h
2
) x
2
= 2xh +h
2
= h(2x +h)
Hence lim
h0
f(x +h) f(x)
h
= lim
h0
h(2x +h)
h
= lim
h0
(2x +h) = 2x
In the next section, well see that this limit has a special use.
MATH1040, 2005. Section 10.2. Page 175
10.3 Limits and slopes
Think back to equations of straight lines, y = mx +c; m is
the gradient or slope of the line.
Recall that we dened m to be the change in y values,
divided by the change in x values. In a straight line, the
gradient is constant over the entire length of the line.
Can also look at slope of other graphs. However, in graphs
other than straight lines, slope is not the same over entire
graph: it will vary from point to point.
We need to nd the instantaneous slope of the graph: that
is, what is the slope of the graph at any given point (rather
than nding the average over an interval).
With straight lines, we chose two points on the line (x
1
, y
1
)
and (x
2
, y
2
), and found the lines using:
slope =
change in y
change in x
=
y
x
=
y
2
y
1
x
2
x
1
,
2 2
(x , y )
1 1
(x , y )
change in y
change in x
We can use a similar approach for curves other than
straight lines. Again, we choose two points (x
1
, y
1
) and
(x
2
, y
2
) on the curve, and look at the slope of the straight
line joining those points.
MATH1040, 2005. Section 10.3. Page 176
This gives an approximation to the slope of the curve. As
yet, it does not give the exact slope.
(x , y )
1 1
(x , y )
2 2
Because we want the instantaneous slope of the function,
we want the points (x
1
, y
1
) and (x
2
, y
2
) to be close together.
Ideally, we want them to be very close together.
Really, we want them to be arbitrarily close together,
without actually being the same point.
Hang on: this sounds like a limit!
Lets combine these two concepts: we want to look at the
change in y divided by the change in x, and we want this
for two points which are arbitrarily close together.
Lets take a point (x, f(x)) on the graph. Call this point
(x
1
, y
1
).
Now take a point which is a little way away from this
point. Lets move on by a small distance h on the x-axis.
Then (x +h, f(x +h)) is a second point on the curve. Call
this point (x
2
, y
2
).
Now we can calculate the change in y and the change in x
between these two points.
The change in y is y
2
y
1
= f(x +h) f(x) and the
change in x is x
2
x
1
= (x +h) x = h
MATH1040, 2005. Section 10.3. Page 177
x x+h
h
f(x+h)f(x)
f(x+h)
f(x)
2
(x ,y )
1 1
(x ,y )
2
Thus the slope of line segment joining these two points is
slope =
change in y
change in x
=
y
x
=
f(x +h) f(x)
h
Now lets move the two points arbitrarily close together.
That is, we are letting h 0.
As this happens, the lines slope gets closer and closer to
the slope of the graph at the point x.
In the limit, this gives the exact slope of the graph at any
point on the graph.
More formally, if
lim
h0
f(x +h) f(x)
h
exists, then the slope of the graph at the point x is given by
the limit.
this formula is given on your exam paper.
MATH1040, 2005. Section 10.3. Page 178
Make sure you know what is meant by f(x) and f(x +h).
f(x) will always be given.
you can get f(x +h) from f(x) by replacing all
occurrences of x with (x +h) (in brackets!)
To nd f(x +h) f(x), remember to subtract all of f(x).
Question 10.3.1 In each case nd f(x+h) and f(x+h)f(x).
(1) f(x) = 3x
(2) f(x) = 3x + 4
(3) f(x) = 3x 4
(4) f(x) = x
2
(5) f(x) = 1/x
MATH1040, 2005. Section 10.3. Page 179
Now we can use the limit formula to nd the slope of a straight
line.
Example 10.3.2 Show, from rst principles, that the slope
of a straight line y = mx +c at any point is m.
Solution: We are given that y = mx + c so f(x) = mx + c.
Then:
lim
h0
f(x +h) f(x)
h
= lim
h0
(m(x +h) +c) (mx +c)
h
= lim
h0
mx +mh +c mx c
h
= lim
h0
mh
h
= m
Using similar techniques:
Question 10.3.3 Find the slope of the graph y = c, c con-
stant, at any point. Explain how this matches what we already
know.
MATH1040, 2005. Section 10.3. Page 180
Question 10.3.4 Show from rst principles that the slope of
the graph y = x
2
at any point is 2x. What is the slope at
x = 0, x = 1 and x = 1? Verify, from a rough sketch of the
graph, that these slopes are plausible.
MATH1040, 2005. Section 10.3. Page 181
Question 10.3.5 Show from rst principles that the slope of
the graph y = 3x
2
+ 2x + 4 at any point is 6x + 2.
Question 10.3.6 What is the slope of the graph y = 3x
2
+
2x +c at any point, where c is a constant.
MATH1040, 2005. Section 10.3. Page 182
Question 10.3.7 Show from rst principles that the slope of
the graph y = 1/x at any point (x ,= 0) is 1/(x
2
). Find the
slope at the points x = 5, x = 1, x = 1 and x = 5. Find
out where the graph is increasing, and where it is decreasing.
Draw a rough sketch to verify.
MATH1040, 2005. Section 10.3. Page 183
11 Derivatives and rates of change
Why are we doing this?
Derivatives provide the ability to nd the slope of an
arbitrary function at any point.
nding slopes of functions is surprisingly important, with
important applications in economics, engineering, physics
and so on. Well discuss some major uses in Section 13.
Weve already seen how limits can be used to nd the slope
of a function. Now we extend this to dene derivatives and
see how to nd them
will solve a number of simple dierentiation problems, then
encounter some rules which allow more complex functions
to be dierentiated
Pay careful attention to all of this material. Most of what
we do from now on hinges critically on this. If you get lost,
youll be in trouble for the rest of semester!
It looks dierent to what we have seen before, and might be
a bit confusing at rst, but its really not at all hard.
Topics in this section are:
Dierentiation and derivatives
Rules for dierentiation
Product rule
Chain rule
Quotient rule
MATH1040, 2005. Section 11.0. Page 184
11.1 Dierentiation and derivatives
Finding slopes of functions is a very common task!
Because it is done so often, there are special terms and
notations for describing it. Be familiar with these terms!
Dierentiation
Given a function f(x), the derivative of f(x) at a point x = a
is found by considering
lim
h0
f(a +h) f(a)
h
.
If this limit exists, then we say that f(x) is dierentiable at
x = a. The derived function, or derivative, written f
(a),
is dened by the limit given above. The process of nding the
derivative is called dierentiation.
Sometimes, derivatives do not exist at certain points. For
example, what is the slope of the graph y =
1
x
at x = 0?
For the purposes of this subject, we will assume that the
derivatives do exist whenever we talk about them.
Note that the derivative of f(x) is written f
(x),
pronounced f dashed x, or even the derivative of f.
There is another way of denoting derivatives, based on
approximating slope with a straight line between two
points:
slope =
change in y
change in x
=
y
2
y
1
x
2
x
1
=
y
x
MATH1040, 2005. Section 11.1. Page 185
In the limit, as h 0, this approximation becomes closer
and closer to the slope.
is the capital Greek letter delta, which conventionally is
used to mean change in.
For small changes, people tend to use a lower-case delta
instead, namely
Thus the slope is given by
y
x
In the limit, as h 0, we write
dy
dx
instead of
y
x
. This is
to remind us that we are working in the limit.
Then, given a function y = f(x), we can write the
derivative of this either as f
(x) or as
dy
dx
. They both mean
the same thing.
Be careful with the notation
dy
dx
: this is not a fraction.
Instead, it is a single entity. The ds do not cancel, and it is
not dy divided by dx. It is pronounced dy dx, and means
the derivative.
The y means that y is the function being dierentiated, and
the x means that dierentiation is with respect to x.
A similar notation is: if y = 3x
2
+ 2x + 1, we can write
dy
dx
,
or
d
dx
(3x
2
+ 2x + 1)
MATH1040, 2005. Section 11.1. Page 186
In summary: the derivative of a function gives the slope of
the function at any point. It can be calculated using limits,
as above.
The derivative is itself a function, so we can calculate slope
at a particular point x
into
the derivative function.
Thus there is a subtle dierence between the derivative of a
function, and the value of the derivative of the function at
a given point: the rst is itself a function, whereas the
second is a value.
Question 11.1.1 Soon we will see that if f(x) = x
2
, then
f
(0),
f
(1), f
(1), f
(2) and f
when:
(1) f
is 0.
(2) f
is positive.
(3) f
is negative.
(4) f
(x) = 3x
2
+2. Identify
which is which. Then explain:
(1) What happens because f
is never 0.
(2) What happens to f when f
is positive.
(3) Why f
when:
(1) f
is 0.
(2) f
is positive.
(3) f
is negative.
(4) f
(x) = cos(x)).
f(x) f
(x)
mx +c m
k (constant) 0
x
2
2x
x
3
3x
2
x
n
(n ,= 0) nx
n1
sin x cos x
cos x sin x
That table is very important! Youll use those rules a lot!
MATH1040, 2005. Section 11.2. Page 191
Now we are going to see how to nd derivatives easily.
The following rule is extremely important:
If y = x
n
then
dy
dx
= nx
n1
, any real number n ,= 0
Example 11.2.1 Examples of using this rule include:
If y = x
2
then n = 2, so
dy
dx
= 2 x
21
= 2x
1
= 2x.
If y = x
3
then n = 3, so
dy
dx
= 3 x
31
= 3x
2
.
If y = x then n = 1, so
dy
dx
= 1 x
11
= 1x
0
= 1.
If y = x
4
then
dy
dx
= 4x
3
.
If y = x
9
then
dy
dx
= 9x
8
.
If y =
1
x
then y = x
1
so n = 1.
Hence
dy
dx
= 1 x
11
= x
2
=
1
x
2
.
If y = x
2
then
dy
dx
= 2x
3
=
2
x
3
.
If y =
x then y = x
1/2
so n = 1/2.
Hence
dy
dx
=
1
2
x
1/21
=
1
2
x
1/2
=
1
2
x
.
MATH1040, 2005. Section 11.2. Page 192
The next rule involves a constant multiplied by a function:
the derivative equals the constant times the derivative of the
function.
d
dx
(y) =
dy
dx
where is any constant
Example 11.2.2 Examples of using this rule include:
If y = 4x
2
then
dy
dx
= 4 2 x
21
= 8x
1
= 8x.
If y = 5x
3
then
dy
dx
= 5 3 x
31
= 15x
2
.
If y = 7x then
dy
dx
= 7 1 x
11
= 7x
0
= 7.
If y = 6x
4
then
dy
dx
= 24x
3
.
If y =
x
9
9
then
dy
dx
= x
8
.
If y =
4
x
then
dy
dx
= 4 x
11
= 4x
2
=
4
x
2
.
The next rule involves the sum of two functions: to nd the
derivative of the sum of two functions, add the derivatives of
each function. The rule can be extended to the sum of any
number of functions.
d
dx
(y +z) =
dy
dx
+
dz
dx
where y, z are functions
MATH1040, 2005. Section 11.2. Page 193
Example 11.2.3 Examples of using this rule include:
If y = x
2
+ 3x then
dy
dx
= 2x + 3.
If y = 3x
3
+ 2x
2
+ 4x + 1 then
dy
dx
= 9x
2
+ 4x + 4.
If y = 6x + 6x
2
then
dy
dx
= 6 +
12
x
3
.
If y = sin x + 4 then
dy
dx
= cos x.
If y = cos x + 3x
4
then
dy
dx
= sin x + 12x
3
.
The same rule also applies for the dierence of two
functions: to nd the derivative of the dierence of two
functions, subtract the derivatives.
d
dx
(y z) =
dy
dx
dz
dx
where y, z are functions
Example 11.2.4 Examples of using this rule include:
If y = x
2
3x then
dy
dx
= 2x 3.
If y = x
3
3x
2
then
dy
dx
= 3x
2
6x.
If y = 2x 4
1
x
then
dy
dx
= 2 +
1
x
2
.
MATH1040, 2005. Section 11.2. Page 194
You need to be able to nd derivatives very rapidly.
Question 11.2.5 Find
dy
dx
when
(a) y = x
3
(b) y = x
2
+ 1
(c) y = x
2
+ 4x + 3
(d) y = 2x
3
+ 4x
2
+ 3x 5
(e) y = x
2
x +
x
(f) y = 1/x
(g) y = sin x + cos x
(h) y = 4 sin x +x
4
(i) y =
1
x
MATH1040, 2005. Section 11.2. Page 195
11.3 Product rule
There are several additional important rules for nding
derivatives.
The rst rule relates to nding the derivative of the
product of two functions.
The answer is NOT just the product of the derivatives!
Product rule
If y = uv, where u and v are themselves functions involving
x, then we dierentiate y as follows:
d
dx
(uv) =
du
dx
.v +u.
dv
dx
.
Another way of writing this is: given functions u and v,
(u.v)
= u
.v +u.v
(x) in two
ways. First, use the product rule. Second, expand f(x) fully,
then dierentiate. Verify that both methods produce the same
answer.
Example 11.3.4 Let f(x) = x
2
. sin x. Find f
(x).
Let f(x) = u.v, where u = x
2
and v = sin x. So
f
(x) = u
v +uv
=
d
dx
(u).v +u.
d
dx
(v)
= 2x. sin x +x
2
. cos x
MATH1040, 2005. Section 11.3. Page 198
Rules for dierentiation we have seen so far include:
1.
d
dx
(x
n
) = nx
n1
2. (f +g)
= f
+g
3. (kf)
= kf
(if k is a constant)
4. (uv)
= u
.v +u.v
(x) = 2u = 2(x
3
+ 1)? NO!
MATH1040, 2005. Section 11.4. Page 199
To dierentiate functions similar to the previous one, we
need a new rule, called the chain rule:
Chain rule
Given y as a function of x, if we write y as a function of u(x),
then
dy
dx
=
dy
du
.
du
dx
This is sometimes called the composite function rule.
Dont be scared of the chain rule: it can be described as
working from the outside, going inwards
Youre given the formula for the chain rule on your exam.
Well only see a few special functions which require the
chain rule. These are functions like:
sin(. . . ), cos(. . . )
(. . . )
power
where . . . means something involving x.
Example 11.4.2
Here are some functions which require the chain rule:
(2x
2
+ 3x + 1)
4
sin(x
3
)
cos(x + 1)
cos(2x + 1)
sin 2x
cos 2x
(also quotient rule; well see it soon).
MATH1040, 2005. Section 11.4. Page 200
Example 11.4.3 Find the derivative of y = (x
3
+ 1)
2
.
Solution: Let u = x
3
+ 1.
Thus y = u
2
and
du
dx
= 3x
2
. From the chain rule,
dy
dx
=
dy
du
.
du
dx
= 2u.
du
dx
= 2u.3x
2
= 2(x
3
+ 1).3x
2
= 6x
2
(x
3
+ 1)
We can check this directly:
y = (x
3
+ 1)
2
= (x
3
+ 1)(x
3
+ 1) = x
6
+ 2x
3
+ 1,
so
dy
dx
= 6x
5
+ 6x
2
, which matches above.
Question 11.4.4 Repeat previous example, working directly
from the outside, going inwards.
MATH1040, 2005. Section 11.4. Page 201
Example 11.4.5
y = sin(x
3
). Find
dy
dx
.
Put: y = sin u, where u = x
3
. (Can nd
dy
du
.)
So y = y(u(x)) where y(u) = sin u, and u(x) = x
3
.
dy
dx
=
dy
du
.
du
dx
Here,
dy
du
= cos u and
du
dx
= 3x
2
.
So
dy
dx
=
dy
du
du
dx
= (cos u).(3x
2
)
= 3x
2
. cos u
= 3x
2
cos(x
3
).
Question 11.4.6 Find the derivative of cos(3x
2
+ 4)
MATH1040, 2005. Section 11.4. Page 202
Question 11.4.7 Find the derivative of (1 + 2x)
28
11.5 Quotient rule
The last dierentiation rule well cover is called the quotient
rule: it allows us to dierentiate functions of the form
f(x) =
u
v
Quotient rule
If u and v are functions of x, then
d
dx
u
v
=
du
dx
.v u.
dv
dx
v
2
(Dierentiate the top, times the bottom, minus the top times
the bottom dierentiated, all over the bottom squared!).
MATH1040, 2005. Section 11.5. Page 203
Question 11.5.1 Let f(x) =
(x + 1)
x
. Dierentiate this in
two ways. First, simplify f and dierentiate directly. Second,
use the quotient rule. Verify that you get the same answer
each time.
Question 11.5.2 Let f(x) =
x
2
x + 1
; nd f
(x)
MATH1040, 2005. Section 11.5. Page 204
12 Applications of derivatives
Why are we doing this?
Knowing the slope (derivative) of a function gives a lot of
useful information about the function, including:
where the function is increasing or decreasing
where the function has peaks or troughs
this information can be used in a number of important
practical ways:
nding peaks and troughs allows the function value to
be maximised or minimised, leading to optimal values
useful in many production and economic (prot and
cost) problems
physical problems involving velocity, displacement and
acceleration
We will study a number of applications. All arise directly
from properties of the slope of a function.
Make sure you are quite familiar with dierentiation, as we
will continually apply the skills and rules developed in
Section 12.
Topics in this section are:
Tangent Lines
Physical interpretation of derivatives
Second derivatives
Local maxima and minima
Some practical problems
MATH1040, 2005. Section 12.0. Page 205
12.1 Tangent Lines
Given a curve, we can nd a tangent line to the curve at a
given point.
A tangent line has the same slope as the curve at the
given point, and touches the curve at that point.
From a diagram can see that the tangent line touches the
curve at exactly one point near to that point:
curve
tangent line
We can nd the tangent to a curve at a given point by the
following procedure:
Second derivatives
Given a function y = f(x), its derivative is
f
(x), or
dy
dx
We can nd the derivative of the derivative, called the second
derivative. It is written
f
(x), or
d
2
y
dx
2
Question 12.3.1 If f(x) = 16x + 2, nd f
(x) and f
(x).
Question 12.3.2 If f(x) = x
3
6x
2
+ 3x 4 sin x, nd f
(x)
and f
(x).
Question 12.3.3 If f(x) = 4
2
, nd f
(x) and f
(x).
MATH1040, 2005. Section 12.3. Page 210
Example 12.3.4
Big Jim throws a cricket ball vertically upwards into the air
from the ground. It is found that s(t) = 25t 5t
2
, where s
is the distance of the ball above the ground in metres, and t
is the time in seconds.
1. What is the velocity of the ball at any time t?
2. What is the acceleration of the ball at any time t?
3. What is the highest point the ball reaches, and what is
its velocity at that point?
4. When does the ball reach the ground again?
Answer to 1:
The value of
ds
dt
gives the velocity of the ball (that is, the rate
of change of distance of the ball).
So
ds
dt
= 25 10t (metres per second).
Answer to 2:
The value of
d
2
s
dt
2
gives the rate of change of the velocity, or
the acceleration of the ball.
So
d
2
s
dt
2
= 10 (metres per sec per sec).
The negative value for acceleration here means that the ac-
celeration is not in the direction in which s is measured (up-
wards) but in the opposite direction, back to the ground. (Due
to gravity!).
continued...
MATH1040, 2005. Section 12.3. Page 211
Example 12.3.4 (continued)
Answer to 3:
At the highest point the ball reaches, its velocity must be 0
(that is, it has just nished moving up, and is just about to
start moving back down).
So
ds
dt
= 25 10t = 0, which happens when t = 2.5 secs.
At that time, s = 125/4 = 31.25 metres.
In other words, 2
1
2
seconds after the ball is thrown, it has zero
velocity, and reaches its highest point above the ground, of
31.25 metres.
Answer to 4:
When it reaches the ground again, we must have s = 0. Using
the quadratic formula, we can solve 25t 5t
2
= 0, giving t = 0
or t = 5.
And since s = 0 when t = 0 or t = 5, the ball is at ground
level at time t = 0 (when it is initially thrown) and again 5
seconds later, when it returns to ground level.
12.4 Local maxima and minima
At any point, the derivative gives the slope of the function.
If the slope is positive, then the function is getting larger,
or increasing
If the slope is negative, then the function is getting smaller,
or decreasing.
Think about the special case where the derivative is 0.
What does this mean?
MATH1040, 2005. Section 12.4. Page 212
Clearly, the slope of the function is 0. Thus, at that point,
the function is neither increasing nor decreasing.
Such points are called stationary or critical points.
Hence we have:
positive derivative: function is increasing at that
point
negative derivative: function is decreasing at that
point
zero derivative: that point is a critical or stationary
point.
Question 12.4.1 On the following diagram, identify all re-
gions in which the function is increasing and those in which it
is decreasing. Show all critical points. Also mark all roots of
the function.
Thus we have a rule for nding all critical points of a
function: rst nd the derivative of the function, and then
nd all points at which the derivative is zero.
At these points, the slope is 0 (so it is horizontal). Hence
they are critical points of the function.
MATH1040, 2005. Section 12.4. Page 213
Question 12.4.2 Find all critical points of y = 2x
3
+ 3x
2
12x + 4
Rather than just nding the critical points, it is possible to
classify them. This involves identifying them as peaks or
troughs, (some people call them hills or valleys).
in the following diagram, we have a peak, then a trough
At the rst critical point, the function value is larger at
the critical point than at the points nearby.
At the second critical point, the function value is smaller
at the critical point than at the points nearby.
Hence we call the rst critical point a local maximum,
and the second critical point a local minimum.
MATH1040, 2005. Section 12.4. Page 214
Be familiar with those terms. A local maximum is a peak,
and a local minimum is a trough. Plural of maximum is
maxima; plural of minimum is minima.
Your task is: given a function, nd local maxima and
minima. This means: nd all critical points, and classify
each one as a local maximum or a local minimum.
Well look at two rules for deciding whether a critical point
is a maximum or minimum.
The rst rule involves the rst derivative, and thinking a
bit about what a maximum or minimum looks like. The
second rule involves using the second derivative.
you can use whichever rule you like. The second may seem
harder, but it involves much less scope for error.
(a) = 0
f
goes +, 0, ).
If f
(a) = 0
f
goes , 0, +).
MATH1040, 2005. Section 12.4. Page 215
Remember, the second derivative is the derivative of the
derivative. Then we have the following general rule:
(x).
2) nd all values of x for which derivative is 0
3) nd the second derivative f
(x).
4) for each value of x at which f
= 0, evaluate f
at that
point.
If the second derivative value is positive, function has a local
minimum at that point.
If the second derivative value is negative, function has a local
maximum at that point.
If the second derivative value is 0, we can conclude NOTHING
(the test fails!).
Question 12.4.3 Classify the critical points of y = 2x
3
+3x
2
12x + 4
MATH1040, 2005. Section 12.4. Page 216
Question 12.4.4 Find and classify all critical points of y =
x
2
2x + 4 Roughly sketch the graph of y = x
2
2x + 4
Question 12.4.5 Find and classify all critical points of y =
x
3
12x, and roughly sketch its graph.
MATH1040, 2005. Section 12.4. Page 217
12.5 Some practical problems
Derivatives are useful in problems from construction,
economics, business operations and product design.
Consider the following examples.
Example 12.5.1 A farmer wants to build a rectangular pen
for his sheep. One side is a straight river. For the other three
sides he has 200m of fencing to use. What is the maximum
area of pen he can make?
y
x x
river
Let sides of pen made from fencing be x, y and x. Then
using all 200m of fencing, 2x + y = 200 and so we can take
y = 200 2x. Note that constraints for x (because of the real
situation) are 0 x 100.
Thus area = A = x(200 2x) = 200x 2x
2
So
dA
dx
= 200 4x, and this is 0 when x = 50.
Thus have a local maximum or minimum when x = 50. Need
to check that it is a maximum!
Now
d
2
A
dx
2
= 4, which is negative, so is a local maximum.
Hence at x = 50 the area A is a maximum, equal to 50(200
100) = 5000 sq.m., and the dimensions of pen are 50m 100m.
MATH1040, 2005. Section 12.5. Page 218
Question 12.5.2 According to post oce regulations, the sum
of the dimensions (length, width and height) of a rectangular-
prism parcel must not exceed 2m. What is the maximum
allowed volume of a parcel with a square base?
MATH1040, 2005. Section 12.5. Page 219
Question 12.5.3 The cost of publishing a book is $12,000 plus
$6.50 per copy. The demand function is p(x) = 25 0.001x,
which gives the price $p which should be charged in order to
sell x copies of the book. If prots are to be maximised, how
many should be produced, and what should the selling price
be? (Graph is on Page 222.)
MATH1040, 2005. Section 12.5. Page 220
Question 12.5.4 Find the smallest possible value of the sum
of a positive real number and its inverse. (Graph is on Page
222.)
MATH1040, 2005. Section 12.5. Page 221
Graph of (25 0.001x)x 12000 6.5x (Question 12.5.3).
0
20000
40000
60000
2000 4000 6000 8000 10000 12000 14000
x
Graph of x + 1/x (Question 12.5.4).
2
2.2
2.4
2.6
2.8
3
3.2
0.5 1 1.5 2 2.5 3
x
MATH1040, 2005. Section 12.5. Page 222
Question 12.5.5 The prot per hectare of a certain crop is
$600. Each tonne of fertiliser costs $200, and the additional
benet of applying x tonnes of fertiliser per hectare is 800
x.
What amount of fertiliser per hectare will maximise prot?
600
800
1000
1200
1400
0 2 4 6 8 10 12 14
x
MATH1040, 2005. Section 12.5. Page 223
Question 12.5.6 A company sells tour tickets for $100 each.
In a group booking, once the groupsize exceeds 20, the price
for every person reduces by $2 for each person more than 20.
What groupsize maximises tour income?
Question 12.5.7 (All money is in thousands of dollars.) Each
week a machine operates gives 50 prot. After x weeks of op-
eration (x 3), maintenance takes 1 week downtime and a
cost of (x
2
x 3). There are 42 weeks available; produc-
tion and maintenance must each take an integer number of
weeks. Find the optimal number of weeks x of production
before maintenance? (Hint: nd how many productive weeks
there are all up, how many maintenance weeks, and derive a
formula for prot. You may assume your critical point is a
local maximum. Working space is on the next page. For in-
terest, a computer solution using the mathematical package
maple is on Page 226.)
MATH1040, 2005. Section 12.5. Page 224
Working space for Question 12.5.7:
MATH1040, 2005. Section 12.5. Page 225
Here is a solution to Question 12.5.7 using the mathematical
package maple, which youll see again if you study more maths.
>
P:=x->2100*x/(x+1)-42*(x^2-x-3)/(x+1);
P := x 2100
x
x + 1
42 (x
2
x 3)
x + 1
>
plot(P(x),x=0..42,colour=black);
200
400
600
800
1000
1200
1400
1600
0 10 20 30 40
x
>
firstderiv:=simplify(diff(P(x),x));
rstderiv := 42
2 x 48 + x
2
(x + 1)
2
>
solve(firstderiv=0,x);
8, 6
>
P(6);
1638
>
secondderiv:=simplify(diff(firstderiv,x));
secondderiv := 4116
1
(x + 1)
3
MATH1040, 2005. Section 12.5. Page 226
13 Integration
Why are we doing this?
We have seen that dierentiation allows us to nd the
derivative or slope of the function; this has many uses.
sometimes, the reverse step is useful: given the derivative of
a function, how can we nd the original function?
the reverse process is called integration.
Just as the derivative of a function gives the slope of the
function, there is also a useful geometric interpretation of
the integration: the integral of a function gives the area
between the function and the x-axis.
We dont cover integration in much detail: if you do more
calculus, youll study it in much more detail.
well see a few rules which make the task easier, but mostly
well use smart trial and error.
Topics in this section are:
Introduction to integration
Rules for integration
Initial conditions
Denite integrals and areas
Physical problems
MATH1040, 2005. Section 13.0. Page 227
13.1 Introduction to integration
Given a function, we (usually) know how to nd its
derivative. Of course, the derivative if the function is the
slope of that function.
We have a number of rules for nding derivatives.
What about the reverse step? That is, if we are given the
derivative or slope of a function, can we nd the original
function?
It is not hard to see that the answer will sometimes or often
be yes.
Question 13.1.1 If F(x) is an unknown function whose
derivative is 3x
2
, what is F(x)?
If G(x) is an unknown function whose derivative is 4x + 3,
what is G(x)?
If H(x) is an unknown function whose derivative is 4x
3
+3x
2
+
2x + 1, what is H(x)?
MATH1040, 2005. Section 13.1. Page 228
This reverse process (that is, given a derivative, nd the
original function) is called integration.
Just as we have special notation for dierentiation, we also
have special notation for integration.
Integration
(3x
2
+ 2x + 4)dx
The following example illustrates an important feature of
integration:
Example 13.1.3 Let f(x) = x
2
+ 4, g(x) = x
2
and
h(x) = x
2
+ 1000000.
Clearly, f
(x) = 2x, g
(x) = 2x and h
(x) = 2x.
Then what does
2xdx = x
2
+C, where C is the constant of
integration, and we dont know an exact value for C.
MATH1040, 2005. Section 13.1. Page 230
13.2 Rules for integration
We said before that the main technique we shall use is
guess the answer and check it. In fact, we can do a few
things which help us to improve our guesses.
Look at the following rules: each comes from a rule for
dierentiation.
Rule 1
x
n
dx =
1
n + 1
x
n+1
+C
Rule 2
Kf(x)dx = K
f(x)dx
Rule 3
(f(x) +g(x)) dx =
f(x)dx +
g(x)dx
MATH1040, 2005. Section 13.2. Page 231
Rule 4
d
dx
(F(x)) dx = F(x) +C
(That is, if the thing you are integrating is the derivative of a
function, then the integral is the original function).
Any problem you encounter will be solved by using the four
rules in conjunction with guess and check.
Question 13.2.1 Find
(x
3
+ 3x
2
+ x 7)dx. Check your
answer.
Question 13.2.2 Find
(4x 6x
2
)dx. Check your answer.
MATH1040, 2005. Section 13.2. Page 232
Question 13.2.3 Find
3x
2
dx = x
3
+C
In some cases, if we have extra information, we can nd an
exact value for the constant of integration.
The extra information will give a value for the integral at a
particular value of x.
Question 13.3.1 If F(x) =
x
2
dx:
2 1 3 3 0
x
y
2 1 0
x
y
Clearly, the area under the curve will depend on how far
we go. In the previous example, the area under the curve
from x = 1 to x = 2 is smaller than the area under the
curve from x = 1 to x = 3:
A vital theorem, called the Fundamental theorem of
calculus, shows us how to use the antiderivative to nd this
area under the curve.
MATH1040, 2005. Section 13.4. Page 235
So the area under the curve depends on what values we
allow for x.
This introduces a new avour of integral, called the
denite integral.
The denite integral looks very similar to the indenite
integral which we have already covered. The main
dierence is that we now include two limits of
integration, and we do something a bit dierent after we
have found the antiderivative.
As an example: to nd the area under the curve y = x
2
between x = 1 and x = 2, we evaluate the denite integral
2
1
x
2
dx
(This corresponds to the area shown on the left-hand
diagram on the previous page.)
Be familiar with what that notation means!
Then the fundamental theorem of calculus tells us
If
f(x)dx = F(x) +c
then
b
a
f(x)dx = F(b) F(a)
MATH1040, 2005. Section 13.4. Page 236
This all sounds (and looks) complicated!
However, in practice its not too bad. You need to
remember how to nd indenite integrals, just as before.
The only dierence will occur if you see limits of
integration, with one at the bottom of the integral sign (say
a), and another at the top (say b).
In any problems like that, you need to solve them as a
denite integral. To do that, you rst nd an antiderivative
as before. Rather than stopping, you now evaluate the
integral at the upper limit b, then again at the lower limit
a, and subtract the second from the rst. The result is your
answer.
Question 13.4.1 Find
1
0
2xdx
Look at what happens to the constant of integration!
Be quite clear on what you have done here, and how it
diers from an indenite integral
MATH1040, 2005. Section 13.4. Page 237
Question 13.4.2 Find
2
0
2xdx. Compare with Question
13.4.1.
Question 13.4.3 Find
2
1
(3x
2
+ 2x + 1)dx
Question 13.4.4 Find
1
1
2xdx. Why might your answer be
this?
MATH1040, 2005. Section 13.4. Page 238
Example 13.4.5 Find the area under the curve y = x
2
from
x = 1 to x = 2
Area is
2
1
x
2
dx =
1
3
x
3
2
1
=
8
3
1
3
=
7
3
Example 13.4.6 Find the area under the curve y = cos x
from x = 0 to x =
2
Area is
2
0
cos xdx =
sin x
2
0
= sin
2
sin 0 = 1 0 = 1
MATH1040, 2005. Section 13.4. Page 240
Example 13.4.7
0
cos xdx =
sin x
0
= sin sin 0 =
0 0 = 0. Why is this? Lets draw a picture!
2
0
=
sin x
2
0
= sin
2
sin 0 = 1 0 = 1
2
=
sin x
2
= sin sin
2
= 0 1 = 1
Integral above the x-axis is positive; integral below the
x-axis is negative. But an area is always positive.
So the area under the curve y = cos x from 0 to =
the area under the curve above the x-axis + the absolute
value of the area under the curve below the x-axis.
Area =
sin x
2
0
+
sin x
= (sin
2
sin 0) +
(sin sin
2
)
= (1 0) +
(0 1)
= 1 +[ 1[ = 2
Note the dierence between the denite integral and
the area under the curve. Always draw a picture.
MATH1040, 2005. Section 13.4. Page 241
13.5 Physical problems
Recall that the derivative of displacement is velocity, and
the derivative of velocity is acceleration.
The reverse step of dierentiation is integration. Thus we
know velocity is the integral of acceleration, and
displacement is the integral of velocity.
Thus, given an expression for an objects velocity, we can
work out its displacement at any time
(Note: usually in these problems, we use t instead of x to
represent the independent variable: thus we will integrate
with respect to t).
First, integrate velocity, giving expression for displacement
Often have an initial condition (such as displacement at
time t = 0 is 0). We can use this initial condition to obtain
an exact value for the constant of integration.
Question 13.5.1 A rocket takes o vertically at time t =
0, with velocity v(t) = 2t + 1 metres per second. Find an
expression for the displacement of the rocket at any time t
(assuming the ground represents a displacement of 0).
MATH1040, 2005. Section 13.5. Page 242
Question 13.5.2 Using the information from the previous
question, nd how far the rocket travels between time t = 3
and t = 8. Find this answer in 2 ways: (i) by substituting
values for t into the expression found in question 1, and (ii)
by solving the problem as a denite integral.
MATH1040, 2005. Section 13.5. Page 243
14 Logarithms and exponentials
Why are we doing this?
In this (the last) section of the course, we move away from
integration and dierentiation (although well still talk
about them a fair bit).
Weve seen polynomial functions (eg linear equations and
quadratics).
Now, we encounter a dierent type of function:
exponentials, which involve the variable x in the power
exponential functions are used for:
modelling population increases and decreases
economic growth and interest return on money
radioactive decay
we discuss exponential functions for growth and decay,
introduce the exponential function e
x
and then nd the
derivatives and integrals of some exponential functions
Topics in this section are:
Introduction to exponentials
Exponential growth
Exponential decay
The exponential function, e
x
Logarithms
Derivatives and integrals of exponentials
Dierentiating ln
Summary
MATH1040, 2005. Section 14.0. Page 244
14.1 Introduction to exponentials
Recall, from much earlier on, the power (or index) laws:
RULE EXAMPLE
a
m
a
n
= a
m+n
2
3
2
2
= 2
5
(a
m
)
n
= a
mn
(2
3
)
2
= 2
6
a
m
a
n
= a
mn
2
3
2
2
= 2
32
= 2
1
= 2
a
m
=
1
a
m
2
3
=
1
2
3
=
1
8
a
0
= 1 2
0
= 1
a
1
m
=
m
a 2
1
3
=
3
2
If y = x
n
, then x is called the base, and n is called the
power or exponent.
We have worked a lot with powers. In every case, the
power has been a constant, and the base has been the
variable: for example, x
2
, x
7
and x
1
Now we introduce a new type of function, called an
exponential function.
Such functions involve a variable in the exponent, such as
f(x) = 2
x
, g(x) = 10
x
, h(x) = e
x
2
Compare with polynomial functions, which have x in the
base and constants in the power (eg x
2
+ 2x + 1), whereas
exponentials have x in the power and a constant base.
MATH1040, 2005. Section 14.1. Page 245
Exponential functions have many practical uses, such as
radiocarbon dating of fossils
decay of nuclear waste and contamination
growth of money in a bank account
population growth and decay
modelling temperature change of an object
14.2 Exponential growth
Consider an exponential function y = a
x
.
We can use almost any (positive) number a as our base. For
the moment, we restrict ourselves to a > 1.
Question 14.2.1 Let f(x) = 2
x
and g(x) = 10
x
. Create a
table of values for f and g for x 0, 1, 2, 3, 4.
Question 14.2.2 At time t = 0 there is 1 bacterium. The
population size P doubles each hour. Find P(1), P(3) and
P(10). Explain why P(t) (t > 0) is (approx.) P(t) = 2
t
.
MATH1040, 2005. Section 14.2. Page 246
In the previous examples x was always positive, but this does
not need to be the case.
Question 14.2.3 Let f(x) = 2
x
and g(x) = 10
x
. Create a
table of values for f and g for x 4, 3, 2, 1.
Question 14.2.4 Let f(x) = 2
x
. Use Questions 14.2.1 and
14.2.3 to sketch a graph of f(x).
x
y
that graph shows many features common to exponential
functions
on the next page, we plot the three exponential functions
2
x
, 3
x
and 4
x
on each of four sets of axes, for dierent x
values. Take time to understand the graphs!
MATH1040, 2005. Section 14.2. Page 247
Example 14.2.5 Plots for x [0, 3] (top left), x [0, 5] (top
right), x [3, 3] (bottom left) and x [3, 2].
0
5
10
15
20
25
30
35
y
0.5 1 1.5 2 2.5 3
x
0
100
200
300
400
500
600
700
800
y
1 2 3 4 5
x
0
10
20
30
40
50
y
3 2 1 1 2 3
x
0
1
2
3
4
y
3 2 1 1 2
x
4
x
3
x
4
x
2
x
3
x
2
x
4
x
3
x
2
x
2
x
2
x
when x is large and negative, y gets very close to 0 but
never equals 0. That is, lim
x
a
x
= 0, a > 1.
when x gets large and positive, the graphs get very large
and positive. That is, lim
x
a
x
= , a > 1.
the graphs grow very quickly.
the graphs all pass through (0, 1).
MATH1040, 2005. Section 14.2. Page 248
Exponential growth
Any function which includes an exponential term and which
increases as x increases is said to display exponential growth.
If a > 1 then any function of the form y = a
x
will display
exponential growth.
The functions in Example 14.2.5 represent exponential
growth: they all include an exponential term, and y
increases as x does
Many quantities in business and nature grow exponentially.
To accurately model such quantities, we need a more
general form of the equation for exponential growth.
Compound interest
If P dollars are invested at an interest rate of r per time period
for a total of x time periods, then the nal value F(x) of the
investment is given by
F(x) = P(1 +r)
x
.
MATH1040, 2005. Section 14.2. Page 250
To use this formula you may need to convert r from a
percentage to a decimal number
Be careful with time units: if r is a rate per annum but the
time units are dierent, then you will need to carefully and
consistently calculate both r and x
Example 14.2.8 An account earns interest at 18% per annum
compounded monthly for 2 years. Then x = 24 (months in 2
years) and r = 0.18/12 = 0.015 (percent interest per month).
Question 14.2.9 $100 is invested in a bank term deposit,
earning 6% interest per year, compounding monthly.
(a) Write an expression for the amount of money after x years.
(b) What is the balance after 3 years? (use (1.005)
36
= 1.197)
(c) Compare your answer to Part (b) with that to Question
14.2.7 and explain any dierences.
(d) If the time for compounding keeps getting shorter, what
will happen to the amount of interest earned?
MATH1040, 2005. Section 14.2. Page 251
14.3 Exponential decay
Until now we have only considered exponential functions of
the form y = Ca
x
, where a > 1.
All such functions represented exponential growth.
We can also have 0 < a < 1.
Question 14.3.1 Let f(x) =
1
2
x
.
(a) Create a table of values for f for x 0, 1, 2, 3, 4.
(b) Create a table of values for f for x 4, 3, 2, 1.
(c) Sketch a graph of f(x).
x
y
MATH1040, 2005. Section 14.3. Page 252
From the power laws we know
1
a
m
=
1
a
m
= a
m
. Hence:
The function y = b
x
, with 0 < b < 1, can be rewritten as
y = a
x
, where a = 1/b, so a > 1.
Question 14.3.2 A disease kills half the remaining rabbit pop-
ulation each month. There are 10000 rabbits at time x = 0.
(a) Write an expression for the rabbit population R(x) at any
time x (in months), in the form R(x) = Cb
x
, 0 < b < 1.
(b) Rewrite this in the form R(x) = Ca
x
, a > 1.
(c) Approximately how many rabbits are left after 3 months?
The previous examples all include exponentials, but y
decreases as x increases.
These are all examples of exponential decay.
1 +
1
n
n
2.71828 . . . .
MATH1040, 2005. Section 14.4. Page 256
e is irrational (like ), so it cannot be written exactly as a
decimal or a fraction
e is the most frequently used base for exponential functions
There will probably be a key on your calculator labelled e
x
(or possibly exp(x)).
It may seem strange (and it certainly is complicated) to use
an irrational number as the base: it is easy to calculate
2
2
, 2
3
, 2
4
and so on, but much harder to calculate e
2
, e
3
, e
4
.
However, e occurs in many vital places, with interesting and
useful properties, so is worth the extra eort
e is so important that we call e
x
the exponential function.
We can draw a plot of f(x) = e
x
. Of course:
as e > 1, this graph will display exponential growth.
as e > 2 and e < 3, the graph will lie between 2
x
and 3
x
.
the graph will pass through (0, 1).
0
5
10
15
20
25
3 2 1 1 2 3
x
3
x
e
x
2
x
MATH1040, 2005. Section 14.4. Page 257
Similarly, we know that e
x
must represent exponential decay:
0
5
10
15
20
3 2 1 1 2 3
x
e
x
Because e
x
is so important, from now on we will almost
exclusively use e as the base.
We can write any exponential function using e.
Example 14.4.2 Rewrite y = 2
x
with e as the base.
Answer: Let a be the number such that 2 = e
a
. (In fact,
a 0.693147.) Then y = 2
x
= (e
a
)
x
= e
ax
.
(soon we will see that if 2 = e
a
, then we nd the value of a
using a special function called a logarithm.)
Logarithms
For a > 0, a ,= 1, we say x = log
a
y (pronounced x is the log
to base a of y) if y = a
x
.
MATH1040, 2005. Section 14.5. Page 260
Question 14.5.3 Rewrite your answers to Question 14.5.2 in
logarithm form.
can take logarithms to any base a > 0, a ,= 1. The most
common bases are 10 and e, giving log
10
and log
e
.
your calculators probably have keys for both of these.
Natural logarithms
Logarithms to base e are called natural logarithms, and the
natural logarithm of x is written as ln x.
Question 14.5.4 Show how natural logarithms can be used
to rewrite y = 10
x
using the base e.
Question 14.5.5 If ination is 4% per annum, compounding
continuously, how long does it take for an item costing $100
at time x = 0 to cost $200? (Use ln2 = 0.693147.)
MATH1040, 2005. Section 14.5. Page 261
Question 14.5.6 The intensity of earthquakes is measured
using the Richter scale, which is a log
10
scale. If an earthquake
has intensity I, then its magnitude on the Richter scale is given
by R = log
10
I
I
0
, where I
0
is a minimum intensity used for
comparison (representing a very mild tremor).
(a) Rewrite the formula, making I the subject.
(b) The 2004 tsunami came from a quake measuring 8.9. How
many times larger than I
0
is this? (Use 10
0.9
= 7.943.)
(c) In 1996, there was a magnitude 2.9 quake in Brisbane.
How many times larger than this was the 2004 quake?
(d) The largest quake ever recorded (Chile, 1960) measured
9.5; how many times larger than the 2004 quake was this?
(use 10
0.6
4.)
(e) An increase of 1 in the Richter magnitude results in 30
times more energy released. If magnitude 1 equals 10kg
of TNT exploding, what does a magnitude 8.9 represent?
MATH1040, 2005. Section 14.5. Page 262
Note that logarithms are functions (like square root or sin),
so ln x is a function which acts on the value of x.
Sometimes it is written with brackets to make it clear what
is happening: for example, ln(x + 2) represents the natural
logarithm of (x + 2).
We have said that ln is the inverse function of e
x
: if y = e
x
,
then x = ln y.
Because ln is a function, we can nd its domain and range
Look at the range of e
x
: it is always greater than 0.
Because ln x is the inverse function of e
x
, the domain of
ln x must be the same as the range of e
x
.
Thus the domain of ln x is (0, ).
Similarly, the domain of e
x
is (, ), so the range of
ln x must also be (0, ).
15
10
5
0
5
10
15
y
1 1 2 3 4 5
x
e
x
ln x
Logarithms are a major source of study in their own right. For
example, for hundreds of years mathematicians used logarithm
tables to greatly simplify mathematical operations (before
calculators were invented). We wont spend much time on logs.
MATH1040, 2005. Section 14.5. Page 263
14.6 Derivative of e
x
and e
kx
A fundamental feature of e
x
is its derivative.
At any point on the graph of y = e
x
, the slope of the graph
equals the value of the graph
Derivative of e
x
If y = e
x
then
dy
dx
= e
x
.
Think about what this means! When the function value is
1, its slope must also be 1. When function value is 2, the
slope must be 2, and so on.
Understand this on the following graph.
0
2
4
6
8
10
12
14
16
y
1 1 2 3
e
x
is the unique (non-zero) function for which this is true
(that is, no other non-zero function satises this property).
thus, dierentiating e
x
is easy: it stays unchanged
we can also dierentiate exponentials in which the power is
more complicated than just x
MATH1040, 2005. Section 14.6. Page 264
Derivative of e
u(x)
If y = e
u(x)
, where u(x) is a dierentiable function of x, then
the chain rule tells us that
dy
dx
=
dy
du
du
dx
= e
u
du
dx
'
As a special case, if y = e
kx
where k is a constant, then
dy
dx
= ke
kx
Question 14.6.1 Find y
and y
)
MATH1040, 2005. Section 14.6. Page 265
Question 14.6.2 If f(x) = xe
x
:
(a) Find f
(x).
(b) Solve f
(x) = 0.
(c) Find f
(x).
(d) Classify all local maxima and minima of f(x).
0.8
0.6
0.4
0.2
0
0.2
1 2 3 4 5
x
f(x) = xe
x
MATH1040, 2005. Section 14.6. Page 266
Recall that if k is a constant and y = e
kx
, then y
= ke
kx
.
We can also easily integrate some exponential functions.
Integral of e
kx
If y = e
kx
, where k is a constant, then
y dx =
e
kx
dx =
1
k
e
kx
+C
Question 14.6.3 Find
1
0
(2x +e
x
) dx.
Question 14.6.5 Find
1
1
(e
x
+ 2) dx.
MATH1040, 2005. Section 14.6. Page 267
14.7 Dierentiating logarithms
We have seen how to dierentiate e
x
.
Now we see how to dierentiate ln x; the answer might
surprise you
Recall the integration rule:
x
n
dx =
1
n + 1
x
n+1
+C
This rule does not work when n = 1 (as we would have a
division by zero!).
That is,
x
1
dx =
1
x
dx =???
The following rule allows us to do this.
1
x
dx = ln x +C.
Conversely, if y = ln x then
dy
dx
=
1
x
.
Question 14.7.1 Find
(e
x
+x
1
+x
2
) dx (x positive)
Question 14.7.2 Find
e
1
(x
1
+ 2x) dx
MATH1040, 2005. Section 14.7. Page 268
14.8 Summary of logs and exponentials
There is a lot more to logs and exponentials than we have
done. If you are lost or confused, then here is a summary of
what you need to know:
e
kx
gives exponential growth if k > 0 and exponential
decay if k < 0
e
kx
is always greater than zero (never equal 0).
if y = e
x
then x = ln y.
any exponential y = a
x
, a > 0, a ,= 1 can be rewritten
using e
Be able to solve certain practical problems like those in
the lecture notes
d
dx
(e
x
) = e
x
e
x
dx = e
x
+C
d
dx
(e
kx
) = ke
kx
e
kx
dx =
1
k
e
kx
+c
d
dx
(e
u
) =
d
dx
(u) e
u
(u is a dierentiable
function of x)
d
dx
(ln x) =
1
x
1
x
dx =
x
1
dx = ln x +C
(x positive here)
And a small sob of sorrow passes round the room. Thats
the lot! Farewell to MATH1040!
See you next semester?
MATH1040, 2005. Section 14.8. Page 269
Index
(. . . , . . . ), 48
<, , 50
>, , 50
[. . . , . . . ], 48
, 57
, 57
, 55
. . . , 76
. . . , 76
ln x, 261
| |, 35
\, 57
, 56
, 82
{}, 55
e
x
, 256
x-intercept, 70, 89
y-intercept, 70, 89
N, 8
Q, 8
R, 9
Z, 8
absolute value, 35
acceleration, 208
acute angle, 155
amplitude, 167
angle, 155
antiderivative, 229
area under curve, 235
axis, 64
base, 19, 245
BEDMAS, 11
ceiling, 76
chain rule, 199
circles, 129
classify critical points, 216
coefficient, 23
coin, 134
common factor, 15
composition of functions, 127
compound interest, 250
conditional probability, 141
constant of integration, 230
coordinates, 64
cos, 155
cos, graph, 164
critical point, 213
cubic, 112, 120
decimal expansion, 9
decreasing, 212
definite integral, 235
degrees, 155
denominator, 16
dependent variable, 67
derivative, 185
derivative of e
x
, 264
dice, 135
Differentiating ln x, 268
differentiation, 185
differentiation rules, 191
displacement, 208
distance, 100
domain, 80
earthquake, 262
element, 55
elimination, 108
empty set, 55
equation, 34
equation of line, 93
equilateral triangle, 155
equivalent fraction, 16
expand, 26
exponent, 245
exponential decay, 252
exponential function, 245
exponential growth, 246
exponents, 43
expression, 22
factor, 14
factor theorem, 124
factorise, 28
first derivative test, 215
floor, 76
formula, 30
fraction, 16
fractional power, 44
frequency, 167
function, 78
Fundamental theorem of
calculus, 235
269-1
Gold Lotto, 150
gradient, 89
graph, 64
graph in one dimension, 63
graph in two dimensions, 64
HCF, 15
higher order root, 39
Highest Common Factor, 15
hypotenuse, 155
inclusion/exclusion, 139
increasing, 212
indefinite integral, 229
independent events, 144
independent variable, 67
index, 19, 43
inequalities, 50
initial conditions, 234
integers, 8
integration, 228
integration rules, 231
intersecting lines, 103
intersection, 57
intervals, 48
inverse, 16
isosceles triangle, 155
like terms, 23
limits, 170
limits and slopes, 176
linear, 71, 92, 116
local maximum, 214
local minimum, 214
logarithm, 260
mutually exclusive, 140
natural logarithm, 261
natural numbers, 8
negative powers, 19
number line, 35
numerator, 16
obtuse angle, 155
origin, 64
parallel, 99
perpendicular, 99
piecewise linear, 75
polynomial, 112
power, 43, 245
prime number, 14
probability, 133
product of primes, 14
product rule, 196
product rule for probability,
142
Pythagoras theorem, 100
quadrants, 66
quadratic, 112, 114, 117
quadratic formula, 121
quadratic, solving, 121
quotient rule, 203
radians, 156
radioactive decay, 255
range, 80
rational numbers, 8
rationalising the denominator,
41
real numbers, 9
recurring decimal, 9
relatively prime, 15
Richter scale, 262
right angle, 155
roots of a polynomial, 115
second derivative, 210
second derivative test, 216
set, 55
set-theoretic difference, 57
sigma notation, 82
simplest form, 16
simplify, 24
simultaneous equations, 103
sin, 155
sin, graph, 164
slope, 89
solving an equation, 34
solving quadratics, 121
solving simultaneous
equations
graphically, 104
solving simultaneous
equations using
elimination, 108
solving simultaneous
equations using
substitution, 107
square root, 38
stationary point, 213
step function, 75
straight line, 92
subject, 30
substituting into formulae, 31
substitution, 107
surd, 39
tan, 155
tan, graph, 164
tangent line, 206
transposing formulae, 32
triangle, 155
trigonometry, 154
union, 57
unit circle, 131
variable, 22
velocity, 208
Venn diagram, 58