Algebra Manual 2019
Algebra Manual 2019
Algebra Manual 2019
@2019
CONTENTS
L0--Course outline
L1--Quadratic functions and equations
L2--Surds, Indices & Logarithms
L3--Series: finite & infinite, arithmetic & geometric
L4--The Remainder Theorem
L5--Permutations and Combinations
L6--The Principle of Mathematical Induction
L7--Complex numbers, polar coordinates
SMA 1108 ALGEBRA [45 Hours]
Prerequisites: None
Course Purpose
This course is intended to provide students with good grounding in the fundamentals of algebra.
Course Objectives
At the end of the course, students should be able to:
1. Solve quadratic functions, polynomial equations and inequalities.
2. Solve permutations and combinations.
3. Demonstrate the use of series and complex numbers Geospatial engineering.
Course Description
Surds, logarithms and indices.
Remainder theorem and its application to solution of factorisable polynomial equations and inequalities.
Series: Finite, Infinite, arithmetic, geometric and binomial, and their applications such as compound interest,
approximations, growth and decay.
The principle of induction and examples such as formulae for summation of series and properties of divisibility.
Complex numbers: Argand diagrams, arithmetic operations and their geometric representation; Modulus and argument.
De Moivre's and its applications to trigonometric identities and roots of complex numbers.
Teaching Methodologies
The method of instruction will be lectures, interactive tutorials, practical classes, and any other presentations /
demonstrations the lecturer will deem fit towards enhancing understanding of the concepts taught in class. Lectures:
2 Hours per week; Tutorials: 3 hours per week.
Instruction Materials/Equipment
1. Whiteboard
2. LCD/Overhead Projector
3. Handouts
4. Smart board
Course assessment
During the period of study, assessment will be conducted by CATs (Continuous Assessment Tests), regular
assignments and a final Examination at end of the unit. The composition for continuous assessment shall be as
follows: 10% Assignments, 20% Tests, and regular examination at end of semester 70%.
1. Aufmann, N, (2010). Algebra: Introductory and Intermediate: An Applied Approach. 5th edition. London:
Brooks Cole
2. Blitzer, R. F, (2008). Introductory & Intermediate Algebra for College Students. 3 rd edition. New Jersey:
Prentice Hall
3. Roman, S., (2005). Advanced Linear Algebra. 2nd Edition. New York: Springer.
4. Sullivan, M., (2004). College Algebra. 7th Edition. New Jersey: Prentice Hall
5. Sullivan, M., (2007). Student Solutions Manual for College Algebra. 8th Edition. California: Addison Wesley.
Course Journals
1. Journal of Algebra
2. Journal of Mathematics and Mathematical Sciences
Reference Journals
1. International Journal of Algebra
2. Journal of Mathematical sciences
10.1: Graphing Quadratic Functions [Algebra 1 (X)]
HCPS Ill:
• Standard 10: Patterns, Functions, and Algebra: SYMBOLIC REPRESENTATION:
Use symbolic forms to represent, model, and analyze mathematical
situations.
• Benchmark MA.Al.10.7: Solve quadratic equations in one variable
algebraically, graphically, or by using graphing technology.
Goals:
• Graph quadratic functions.
• F i,nd the equation of the axis of symmetry and the coordinates of the vertex
of a parabola.
Example:
y = x2 - 2x +1
The minimum or maximum The axis of symmetry
point on a parabola is the vertex. divides the parabola into
mirror images and passes
The vertex of this graph is (1, 0)
through the vertex.
The axis of symmetry in
=
this graph is x 1
I
I
I
l
&.
Example 1: Graph a Quadratic Function Using a Table of Values
Use-a table of values to graph the quadratic function.
a.) y = x 2 -x - 2
z
?\ y =-;<, -?( .:.. 2 y
2
-~ (-:;,) -(-3)-2 '- q + 3-2 " \ 0 \0
""2 (-2)1--(-2)-2:: L\ -1-2-L.::c '1 L\
-I 2
(-\) -(-\)-2 " \ -1- \ -2 .,_ 0 0
0 2
(0) -(0)-2 "' O -2 =- -2 -2
l (1)7.-(1)-2 0 1-\-2: -2 -2
2 (i) '- -(2-J-2 "- L\ -2-2 -= 0 0
~ (3')~ -{:,)-) ~ q-3-2:: y 4
b.) y = -2x 2 + 2x + 4
?( ¥ ... -Z.-x 2- + 27( -t- 4 y
-3 - 2(-:i) 2 ~2(-~ +L\ ;. -\ '6 -(o t L\ .,_ -'-'2-0 -20
a.) y = -2x 2 - 8x - 2
?( :: ~ -- - (-<is) ... 3- .. - 1-
2 ~ z. (.-2) - L\
@ \J <-r\- c. x 1(\ 1 \) \
"' ~
c.) y = 2x + 4x + 1 2
(;) vt-~C- )( ~ ( -\ ) - \ ) \
y-.c 2'X2.+l\;x+\
:. 2 (-\) i ..\- l\ ( -\) T \
~ 2-L\ \-\
'f -:. -\
HCPS Ill: ,
• Standard 9: Patterns, Functions, and Algebra: PATTERNS AND FUNCTIONAL RELATIONSHIPS:
Und erstand various types of patterns and functional relationships.
• Benchmark MA.Al.9.3: Determine the zeros of a linear or quadratic function algebraically and
graphically.
• Standard 10: Patterns, Functions, and Algebra: SYMBOLIC REPRESENTATION: Use symbolic forms to
represent, model, and analyze mathematical situations.
• Benchmark MA.Al.10.7: Solve quadratic equations in one variable algebraically, graphically, or by using
graphing technology.
Goals:
• Solve quadratic equations by graphing.
• Estimate solutions of quadratic equations by graphing.
(f) \J er b
'( ';. (-2) 7. + I.\ (-2) +- ~
"- t..\-'0~'"3.
"' -\ I
@ T o-\olt. o{ '\f ""k.1t..fa t
?( '{ I
- I C> (-1)-z .. \. l-i) •s; \-'-'\4"3 · o I
J
O 5 (o)'!.+l\lo)+s:3. l
Axis of Symmetry: ~ =- -'2-.
3 (\ l..\ l\\ ).1.~ .. \..-4-1-;., 6
Vertex: <.- 2. , - \)
Maximumo~
Solution(s): - ~ - \
b.) c 2 + 6c = -8
0Axr.,, of Sy ..... _,,_fv
?( ~ -=.k!.._ ~ - (Co' • -(,, ~ - 3,
"2-<A.. 2.(. l) 2-
(i) \J cvr.\c..)(
'( " l- ~) 2. ~ (Q (.-3) +<iS
~ '\ -l <'6 +-~
:. -\
2
-2 0 (_- :i.) + (c;(-2) ... 1.: -:. q -12 .. g "- 0 r
-\ 3 (-1)~..i(qf-l)•l"t ~1-fc+'t ~ 3 Axis of Symmetry: I\ =- ... t>
o· <& (o 2. .i. Co ( o) +-t 0
/.,.
Vertex: (- ~ ' - \)
Maximum o Minimu
Solution(s): -L\ , -2
c.) x 2 + 7x + 9 = 0 c--=\ 1a.,..7 c..--C\
<S>A~r-s ~ 'J'fw-~~(
'X;: ~ ~
2o..
-J- ~)
2(\)
~ -i"2. .c-- -~.s
@\J~.\<..>C
1 "'" (- ?> .s-Y2. + "f (:-~. s) +q
~-s.2s-
d.) x 2 - 4 = 2x I<
2.
-2.-x -L\-:.. 0
-
<1>..\J e, r-k.,x
'("" (I)'- -2...(\) - L\
-:. \ -2 -4
~ -5
?( "'{
b -'-\ (<>) z. -2 Co} -L\ ~ _ '-\
Axis of Symmetry: _"?(_ =- _ _
-\ -\ (-1) i_ 2 ( -1) - I.\ ... \ 4 '2 - '-' ~ -I
Vertex: ( \ I - s)
-2- . L-\ t-11"-t.l-z)-y--I.\ ti.\-"\ -=-Y
Maxim um o(}\ifinim uillb
Solution(s): B<Z..-..\-w£1W"1 - 2 o..V\ J -\
3 o-~o L\
Example 2: Double Root
Solve the quadratic equation by graphing.
a.} x 2 - 6x +9 =0 °'.,.. \ b,. -eo c. '°" ?
@ \kr-k,25
12.~'\SC..'t~
t
~ = (~)z.- ~(3') -t-C\
-:. C\ - \ C6 +q
J
I
-=-o I
t
© T c..b\t.. o+ V ~ \vys.,
I
-I .
'A '{ I
© Ai<:t~ o{ Sy """~t....
?( ::. ~ "' - (-2.\ ~ 2:... .: . \
'2.o.. l..C.1) -i-
a> \/e-..--kx
'f ~ (\)'L-2(1') +-\
I ~ 3 I\ S '- ·7 ~
:. \ -2 +\ I
-=- 0 I
b \ ( o) i. -2.C o J + \ -.. \
Maximum on
-----
Solution(s):_...;...
\ _ _ __
Example 3: No Real Roots
Solve the quadratic equation by graphing.
a.) x 2 - 4x +5 =0 "" . \ "'~ -'1 c ... s-
(b I\.}(\<;, o* St"""~~Y-
'X ~ -b -(-CU , 3... ~ L-
~ -:: 2.(\) "2.-
{J> \J~r.\<..x:
~1..~'"\.S,'.f'i' ,
'j -=-- (z..) 2 - l\ (i) +S 1
~ L\ -~-\--S .. I
-:. \
-I
i
I
2 (\)L-'-\(\ ).\-S-:: l--'-1-<-S '- 2..
Axis of Symmetry: t< =L
0 s l0) L - L\ ( c)+- ":) -:; ')
Vertex: ( 2' \)
-\ lO C-1)i.-L\( - 1)\-S~ \+Yr'; =-10
Maximum or ~
Solution(s): ~o s~\t.\,..\"lOV\
b.) x 2
- 4x = -6 7'\l-L\)( +G:, ';;-o
©~rs "+ sy~
X=-;:J2.:: -~ ,,~ .._2
2-u,._ 2 (. \) 2-
(i) \J ¢.rk.;><
y .. ( 2.) l.. - 4. l 1.-J +-~
-:. 4, -8" +-Co
~ 2-
- .:ts:.
7( -= s ±ff ?\ '.:. 25:J5
-.K c.~L"""l ~w 2-E 2+rs
l-\.n
?( ,; 7(-::-
Ix ~ 2.11 G_ ~ :r~
Completing the Square
(x + 6) 2 = (x + 6)(x + 6)
= x2 + 6x + 6x + 36
= x 2 + 12x + 36
J, 1'
~ (Co)'2.
2~Co
0 1- -r-C,-x 1- ~
7\ -:: - 3 1;.. L\
Example 4: Solve an Equation by Completing the Square where a *1
Solve the quadratic equation by completing the square. Round to
the nearest tenth if necessary.
a.) Sx 2 + 10x - 7 =0
(1) (,o ""'p\b- +~ s, ~ © h""-d tk sC\~ ~o4
\ 2.
2
SI\ +- \0 x - o/ =-0 /\1. +-27' +\-=- s=-
.tfr -t-:f. (-x + \\2- ~ %
2
Sx +lox =--1. .j (-x +\) I ~ff
s s
2
+2x ~ 9-
x ~ ~±. \.5
/\
4-\ -;- +\
- -* - --\
?( ~ - \ ±. \., s
?( ~ - 2. s )0 .. s\
b.) O.Sg 2 + 89 = -7
(b lo ~p\.. .\--M. S.'\ ~C>J'(.. @ FMd +w._ S>qu.a~ ~b +
2. (o ,S ~1.. + <0~) =-(:- ':f) 2 ~i.+\(oj+Col\ "'S-0
+Co<..\ *
-
+Col\
Jc 3 +~1 l =-:r.fso
~ ±. !:/--. \
-
-~
~ ~ -i x_ 1. \
-b + -Vb 2 - 4ac
x
2a
Steps for Using the Quadratic Formula
a.) x 2 - 2x = 24 b.) x 2 + 2x = 3
CD ?<"2.t-27<-'6-=-0
·-x 2
- L?( ~ 2 )( <iJ °'=-\ \o"'°-'2- c·=- - 3
~ ~
l("l-2.-x - 2.L\ ~ 0 @ ·7( ::. - l2.) ±.j (l)L-L\ (J) l-?:>J
@ l ~.\-\+y 0.. 1 \:) I (...
2. L\)
CA=-\ b=- - 2 c:.-2'-\ (g) ?<= -2..·t.~q+\1.
?( = - L\
c.) 24x 2 - 14x =6 d.) x 2 - 6x - 2 =0
© 2L\" 'l - IL\ /< -l;; ~ 0 (b) o,.=-\ \Q=--(o L"--'2-
@ CA"'1L\ lt)::.-\l-\ (.."'"-~
@ I( = - {-<o) .:t _J (-Co) Z.~ t.\ (\)l-2-)
@ ?( ~ - l-\"{) ±~ l-ll\) 2--~\ ('2."'\)l-~) 2-. (,\)
2... t2"\) =- ~ ~~ ~(o +'3
2
~ \L\ ±:.~\'\(o+5"9-Co
1-\<6 ~ (o±.]4'-\
]...
~ \ L\ 1:: J"fii
<-\en
~ -\3\g ~ 4\.lf
'-\.'3' 41$'
~ - C>. '2 'O 1-S ~o .i :.rog
The Discriminant
-b+..Jb 2 -4ac
In the Quadratic Formula, x = - , the expression under the
2a
radical sign, b 2 - 4ac, is called the discriminant. The discriminant can be
used to determine the number of real roots (solutions) for a quadratic
equation.
D = b ·4ac
2
# of Solutions # of x-lnterceps
Graph of Related
Function
L_ i i 0 !
~
· )
xi
The graph does not cross The graph touches the The graph crosses the
the x-axis. x-axis in one place. x-axis twice.
\_o 0
2I1 } 2 ac..1 roof~
b.) 4t 2 - 20t + 25 = 0
D = bi- L\lA.c...
~ (-zo) 2- L\ ("\)(is)
= 400 - ~ 00
c.) 2x 2 + 3x = -4
~-
D~ b 2. - L\. °'-<-
-=- (3) 2- ~ y ( 2-) ( 4')
::. q - 3'2
-; -23>
,_ 100- <38'
:: I 2
SMA1108: Algebra
Lecture Notes 3
Indices/Powers
In an expression an , a is called the base and n is called the index (or power or exponent).
Multiplication/Division of Powers
a3 × a4 = (a × a × a) × (a × a × a × a) = a7
This illustrates:
Rule 1: ap × aq = ap+q
a×a×a×a×a
Also: a5 ÷ a4 = =a
a×a×a×a
Rule 2: ap ÷ aq = ap−q
Consequences of Rule 2:
a a1 a
= 1 = a1−1 = a0 . But also = 1
a a a
so a0 = 1
a0
Also 1
ap = ap = a0−p = a−p
1
so = a−p
ap
Powers of powers
Examples:
(a3 )2 = a3 × a3 = a6
(a2 )5 = a2 × a2 × a2 × a2 × a2 = a10
q q
Note: The brackets are important here! ap is a(p ) but not (ap )q (therefore, to reduce
q
the chance of confusion, never use ap . Always use the variant with brackets!). E.g.,
2 2
103 = 10(3 ) = 109 (a billion), but (103 )2 = 103×2 = 106 (a million).
The numbers p, q in Rule 3 do not have to be integers, so
1 n
an = a1 = a.
This shows:
√ 1
Rule 4: n
a = an
Examples
2
(i) Evaluate 4 3 .
2 Rule 3 1 1
43 = 42 3 = 16 3
Rule 4 √
3
√ √
3
= 16 = 3 8 × 2 = 2 2.
3
(ii) Evaluate 4 2 .
1 3
3
Rule 3
42 = 42
√ 3
Rule 4
= 4 = 23 = 8.
1
(iii) Evaluate (43 ) 2 .
1 Rule 3 3 see (ii)
43 2
= 42 = 8.
2 × 23
(iv) Simplify .
42
2 × 23 Rule 1 24 4=22 24 Rule 3 24 Rule 2
= = = = 24−4 = 20 = 1
42 42 (22 )2 24
Logarithms
Examples: (a) What is the power that 10 must be raised to, to give answer 100?
Answer: Since 102 = 100, answer is 2.
(b) What power must 2 be raised to, to give 16?
Answer: 4
Manipulating logarithms
How can we simplify expressions like loga (bc)? The rule is:
Similarly, one can show (using Rule 2 for indices, i.e., ap /aq = ap−q ):
b
Rule 2: loga = loga b − loga c
c
Note: Since log is the inverse operation to taking powers, the rules for manipulating
logarithms can be deduced from the rules for manipulating indices here.
p
Example: Express loga √ in terms of loga p and loga q.
q
p Rule 1
1
Rule 3 1
loga √ = loga p − loga q 2 = loga p − loga q.
q 2
END: PART1 OF LECTURE 3
In this chapter we have looked at expressions of the type ap = b. Note that the following
cases may emerge:
√
• You know p and b. Then a is given by a = p b.
We summarise the rules for manipulating surds, indices and logarithms here:
• Surds:
√ √ √
◦ n ab = n a × n b
√ √
◦ n ab = n a ÷ n b
p
• Indices:
◦ Rule 1: ap × aq = ap+q
◦ Rule 2: ap ÷ aq = ap−q
◦ Rule 3: (ap )q = apq
1 √
◦ Rule 4: a n = n a
◦ a0 = 1 and a−p = 1
ap .
• Logarithms:
1 Rule 2 1
(b) Also loga = loga 1 − loga c, so loga = − loga c
c c
Example
Write − loga p + 3 loga q as a single logarithm.
q3
Rule 3 1 Rule 1
+ loga q 3
− loga p + 3 loga q = loga = loga
p p
Natural logarithm
There is a special irrational number that plays an important role as base in calculations
involving logarithms and powers (especially, for integration and differentiation of func-
tions, something we will about later in this course): Euler’s number e = 2.71828 . . ..
Powers to this base e are written as ex = y, while logarithms – which should read
loge y = x – are written ln y = x (ln is the abbreviation of the Latin “logarithmus
naturalis”).
The natural logarithm ln and the logarithm to base 10, which is abbreviated log (written
without any base!), can be found on a (scientific) calculator. This notation for logarithms
is also used in applied sciences.
Warning: In (pure) mathematics, however, log usually denotes the natural logarithm
(log10 plays no special role there!).
In this course, log = log10 always!
Calculating logarithms
Look at the following table:
x 1 2 5 10
log x 0 0.301 (3 d.p.) 0.699 (3 d.p.) 1
On the calculator, only ln and log can be found. How can we calculate log2 5, log3 7 etc.?
~
Again, p = loga c means c = ap = bp logb a , hence logb c = p logb a. So, we have two
equations for p, namely p = loga c and p = logb c/ logb a, and therefore obtain
logb c
loga c =
logb a
This is the formula if we want to change the base in logarithms (the “old” base a appears
in the logarithm in the denominator on the right-hand side!)
log 5
Example: log2 5 = log 2 = 2.322 (3 d.p.)
7
With log 2 ≈ 0.3 and log 5 ≈ 0.7, we estimate log 5 ÷ log 2 ≈ 0.7/0.3 = 3
= 3.3.
logb c c
Warning: logb a 6= logb a (e.g., log 10/ log 2 = 1/ log 2 = 3.322 (3 d.p.), while
10
log 2 = log 5 = 0.699 (3 d.p.))
Expression where two logarithms are multiplied or divided cannot be sim-
plified, at least not in an “easy way”!
For the “not-so-easy” way, study the following example:
Rule 3 for log
(log2 100) × (log 2) = log 2log2 100 = log 100 = 2.
Square roots √ √
√ b = a × a, then we say that a is the square root of b, written a = b, e.g., 2 = 4.
If
b always means
√ the postive square√root of b.
Example 49 = 7 and −7 = − 49
General roots
Examples:
√
4
16 = 2 × 2 × 2 × 2 so 2 = 16 (“the fourth root”)
√
5
√
10
1024 = 4 × 4 × 4 × 4 × 4 so 4 = 1024 Also 2 = 1024 .
√
n
| ×a×
If b = a {z· · · × a}, then a = b.
n times
Surds √
Some roots are irrational, e.g., 2. Such numbers are called surds and are manipulated
as symbols.
√
Irrationality of 2 (not given in lecture, not examinable)
(b) The square of an even number is even, the square of an odd number is odd.
√ √ n
Now assume that 2 is rational, i.e., there are integers n and m such that 2 = m .
n
Let m be in lowest terms (so, according to (a) above, at least one of the two numbers is
√ n n2 2 2
odd). Taking the square of 2 = m on both sides yields 2 = m2 and hence 2m = n .
2
But this shows, that n contains a factor of 2 and is therefore even. Using (b) above, we
therefore conclude that n itself is even;
√ consequently, m is odd.
n
So far, we have: If we assume that 2 = m is rational, then the numerator n is even
and the denominator m is odd.
However, since n is even, there is another integer k such that n = 2k (k is half of n and
√ n 4k2
an integer since n is even). Then 2 = m = 2k
m and squaring this yields 2 = m2 and
hence m2 = 2k 2 . But then, m2 (being twice some integer) is even and therefore (using
(b)) also m!
√ √ n
Result: From the assumption that 2 is rational, 2 = m , we have concluded that the
denominator m is both even and odd. This is absurd, √ since an integer is either even or
odd, therefore the assumption has to be wrong. So, 2 is not rational.
Addition/Subtraction
√ √ √
Example: 2 + 3 2 = 4 2.
√ √
We cannot simplify 2 − 5 3.
Multiplication
√ √ √
The rule is: n ab = n a × n b
Examples:
√ √ √ √ √
8= 4×2= 4× 2=2 2
√
3
√ √3
√3
√
3
24 = 3 8 × 3 = 8 × 3 = 2 3
Division r √
n
a a
The rule is : n
= √
n
b b
q √
9 √9 3
Example: 25 = 25
= 5
Examples
√ √ √
(a) Simplify 12 − 3 + 5.
Reducing to smallest possible surds, answer is
√ √ √ √ √ √ √ √
12 − 3+ 5 = 2 3 − 3 + 5 = 3 + 5.
√ √
(b) Simplify: (2 + 3)(3 + 5).
√ √ √ √ √ √
(2 + 3)(3 + 5) = 2 × 3 + 2 5 + 3 3 + 3 × 5
√ √ √
= 6 + 2 5 + 3 3 + 15.
√ √
(c) Simplify: 7(4 − 7).
√ √ √ √ √ √
7(4 − 7) = 4 7 − 7 7 = 4 7 − 7.
When simplifying fractions we are required to make sure that the denominator is rational.
Example: √ √
3 3 5 3 5
√ = √ √ =
5 5 5 5
↑ ↑
irrational denom. rational denom.
2 √
For fractions such as √ , multiplying numerator and denominator by 4 + 3 will
4− 3
rationalise the denominator (remember the formula for the difference of two squares:
(a − b)(a + b) = a2 − b2 ):
√ √ √
2 2(4 + 3) 8+2 3 8+2 3
√ = √ √ = = .
4− 3 (4 − 3)(4 + 3) 16 − 3 13
Examples:
√
(a) Simplify √ 5 .
3 7−2
√ √ √ √ √ √ √ √ √ √
5 5(3 7 + 2) 3 5 7+2 5 3 35 + 2 5 3 35 + 2 5
√ = √ √ = √ = =
3 7−2 (3 7 − 2)(3 7 + 2) 9( 7)2 − 4 63 − 4 59
√
(b) Simplify √ 5 .
5−1
√ √ √ √ √ √ √
5 5( 5 + 1) ( 5)2 + 5 5+ 5 5+ 5
√ = √ √ = √ = =
5−1 ( 5 − 1)( 5 + 1) ( 5)2 − 1 5−1 4
END OF LECTURE 3
L4 – SERIES: Finite & Infinite
An introduction…………
1, 4, 7, 10, 13 35 2, 4, 8, 16, 32 62
9, 1, 7, 15 12 9, 3, 1, 1/ 3 20 / 3
6.2, 6.6, 7, 7.4 27.2 1, 1/ 4, 1/16, 1/ 64 85 / 64
, 3, 6 3 9 , 2.5, 6.25 9.75
Arithmetic Sequences Geometric Sequences
ADD MULTIPLY
To get next term To get next term
Arithmetic Sequence, d = 7
21, 28, 35, 42
X = 80
Find S63 of 19, 13, 7,...
n
an a1 n 1 d Sn a1 an
2
?? 19 63 1 6 63
S63 19 353
?? 353 2
S63 10521
Try this one: Find a16 if a1 1.5 and d 0.5
1.5 a1 First term
x an nth term
16 n number of terms
NA Sn sum of n terms
0.5 d common difference
an a1 n 1 d
a16 1.5 16 1 0.5
a16 9
Find n if an 633, a1 9, and d 24
9 a1 First term
633 an nth term
x n number of terms
NA Sn sum of n terms
24 d common difference
an a1 n 1 d
633 9 x 1 24
633 9 24x 24
X = 27
Find d if a1 6 and a29 20
-6 a1 First term
20 an nth term
29 n number of terms
NA Sn sum of n terms
x d common difference
an a1 n 1 d
20 6 29 1 x
26 28x
13
x
14
Find two arithmetic means between –4 and 5
a1 5 d 11 c 5 11 6
150
S150 5 1644 75 1649 123,675
2
Example 7. An auditorium has 20 rows of seats. There are 20 seats in
the first row, 21 seats in the second row, 22 seats in the third row, and
so on. How many seats are there in all 20 rows?
d 1 c 20 1 19
an a1 n 1 d a20 20 19 1 39
20
S20 20 39 10 59 590
2
Example 8. A small business sells $10,000 worth of sports memorabilia
during its first year. The owner of the business has set a goal of
increasing annual sales by $7500 each year for 19 years. Assuming that
the goal is met, find the total sales during the first 20 years this business
is in operation.
20
S20 10,000 152,500 10 162,500 1,625,000
2
So the total sales for the first 2o years is $1,625,000
Geometric Sequences and Series
1, 4, 7, 10, 13 35 2, 4, 8, 16, 32 62
9, 1, 7, 15 12 9, 3, 1, 1/ 3 20 / 3
6.2, 6.6, 7, 7.4 27.2 1, 1/ 4, 1/16, 1/ 64 85 / 64
, 3, 6 3 9 , 2.5, 6.25 9.75
Arithmetic Sequences Geometric Sequences
ADD MULTIPLY
To get next term To get next term
9 9 3 9 3 3 9 3 3 3
2, 3, , , ,
2 2 2 2 2 2 2 2 2 2
9 27 81 243
2, 3, , , ,
2 4 8 16
1 2
If a1 , r , find a9 .
2 3
a1 First term 1/2
an nth term x
n number of terms 9
Sn sum of n terms NA
r common ratio 2/3
an a1r n1
91
1 2
x
2 3
28 27 128
x 8 8
23 3 6561
Find two geometric means between –2 and 54
The two geometric means are 6 and -18, since –2, 6, -18, 54
forms an geometric sequence
2
Find a2 a 4 if a1 3 and r
3
2
Since r ...
3
4 8
3, 2, ,
3 9
8 10
a2 a 4 2
9 9
Find a9 of 2, 2, 2 2,...
a1 First term 2
an nth term x
n number of terms 9
Sn sum of n terms NA
r common ratio 2 2 2
r 2
2 2
an a1r n1
2
91
x 2
2 2
8
x
x 16 2
If a5 32 2 and r 2, find a2
____, ____, ____,____,32 2
a1 First term x
an nth term 32 2
n number of terms 5
Sn sum of n terms NA
r common ratio 2
an a1r n1
51
32 2 x 2
2 x 2
4
32
32 2 4x
8 2x
*** Insert one geometric mean between ¼ and 4***
*** denotes trick question
1
,____,4
4
a1 First term 1/4
an nth term 4
n number of terms 3
Sn sum of n terms NA
r common ratio x
an a1r n1 1
, 1, 4
4
1 31 1 2
4 r 4 r 16 r 2 4 r
4 4 1
, 1, 4
4
1 1 1
Find S7 of ...
2 4 8
a1 First term 1/2
an nth term NA
n number of terms 7
Sn sum of n terms x 1 1
1
r common ratio r 4 8
1 1 2
Sn
a1 r n 1
2 4
r 1
1 1 7 1 1 7
1 1
2 2 2 2 63
x
1 1 64
1
2 2
Applications of Sequences
Solution
(a)
n 1 2 3 4 5 6
an 1 2.66 6.24 10.4 9.11 10.2
n 7 8 9 10
an 9.31 10.1 9.43 9.98
(b)
Note the population
stabilizes near a value
of 9.7 thousand insects
per acre.
Infinite Series
1, 4, 7, 10, 13, …. Infinite Arithmetic No Sum
n
3, 7, 11, …, 51 Finite Arithmetic Sn a1 an
2
a1 r n 1
1, 2, 4, …, 64 Finite Geometric Sn
r 1
1 1 1 Infinite Geometric a1
3,1, , , ... S
3 9 27 -1 < r < 1 1 r
1 1 1
Find the sum, if possible: 1 ...
2 4 8
1 1
2 4 1
r 1 r 1 Yes
1 1 2
2
a1 1
S 2
1 r 1
1
2
Find the sum, if possible: 2 2 8 16 2 ...
8 16 2
r 2 2 1 r 1 No
2 2 8
NO SUM
2 1 1 1
Find the sum, if possible: ...
3 3 6 12
1 1
3 6 1
r 1 r 1 Yes
2 1 2
3 3
2
a1 3 4
S
1 r 1 3
1
2
2 4 8
Find the sum, if possible: ...
7 7 7
4 8
r 7 7 2 1 r 1 No
2 4
7 7
NO SUM
5
Find the sum, if possible: 10 5 ...
2
5
5 2 1
r 1 r 1 Yes
10 5 2
a1 10
S 20
1 r 1
1
2
The Bouncing Ball Problem – Version A
40 40
32 32
32/5 32/5
50 40
S 450
4 4
1 1
5 5
The Bouncing Ball Problem – Version B
100 100
75 75
225/4 225/4
100 100
S 800
3 3
1 1
4 4
Sigma Notation
UPPER BOUND
(NUMBER)
B
SIGMA
(SUM OF TERMS) a
n A
n NTH TERM
(SEQUENCE)
LOWER BOUND
(NUMBER)
4
j 2 1 2 2 2 3 2 4 2 18
j1
2a 2 4 2 5 2 6 2 7 44
a4
0
0.5 2 0.5 2 0.5 2
n
0.5 212
0.5 23
0.5 2 4
n 0
33.5
n 0 1 2
3 3 3 3
6 5 6 5 6 6 5 ...
b 0 5
a1 6
S 15
1 r 3
1
5
23
2x 1 2 7 1 2 8 1 2 9 1 ... 2 23 1
x 7
n 23 7 1
Sn a1 an 15 47 527
2 2
19
4b 3 4 4 3 4 5 3 4 6 3 ... 4 19 3
b 4
n 19 4 1
Sn 1 n
a a 19 79 784
2 2
Rewrite using sigma notation: 3 + 6 + 9 + 12
Arithmetic, d= 3
an a1 n 1 d
an 3 n 1 3
an 3n
4
3n
n1
Rewrite using sigma notation: 16 + 8 + 4 + 2 + 1
Geometric, r = ½
an a1r n1
n1
1
an 16
2
n1
5
1
n1
16
2
Rewrite using sigma notation: 19 + 18 + 16 + 12 + 4
Not Arithmetic, Not Geometric
19 + 18 + 16 + 12 + 4
-1 -2 -4 -8
an 20 2n1
5
20
n1
2n1
3 9 27
Rewrite the following using sigma notation: ...
5 10 15
Numerator is geometric, r = 3
Denominator is arithmetic d= 5
NUMERATOR: 3 9 27 ... an 3 3
n1
DENOMINATOR: 5 10 15 ... an 5 n 1 5 an 5n
3 3
n1
SIGMA NOTATION:
n1 5n
INTRODUCTION
PROOF:
f(x) = (x-c)q(x)+r.
(c-c)q(c)+r = r.
A is constant
X is variable
n is the number of exponent
Then,
Recall this,
b/a → b = aq + r,
b → dividend
a → divisor
q → quotient
r → remainder
in divisibility form.
Then
f(x) → dividend
x-c → divisor
q(x) → quotient
r → remainder
Then the form goes like this;
f(x) = (x-c)q(x) + r
then we substitute c in x.
f(c) = r
Then:
If f(c) = 0, then it is divisible
If f(c) ≠ 0, then it is not divisible. QED
If you still don’t understand it, we have the last one
different way of proving The Remainder Theorem. And
we’re hoping that you will finally understand the
Remainder Theorem, and ready to proceed in the
examples below.
Remainder Theorem
Note:
x + a = 0 ; x = -a
f(x) = (x+a); then substitute –a in x.
By The Remainder Theorem we know that (x+a) |f(x) if and
only if
f(-a) = (-a)n + an = 0
Hence,
f(-a) = (-a)2m+1 + an
= -a (-a)2m + an
= -a2m+1 + an
= -an + an
=0
Show that f(x) = x3 + x2 – 5x + 3 is divisible
by x + 3.
SOLUTION:
So, f(-3) = (-3)3 + (-3)2 – 5 (-3) + 3 = 0
= -27 + 9 + 15 + 3
= -27 +27
=0
Then it is divisible by x+3.
Under what conditions is xn+cn
divisible by x+c?
SOLUTION:
f(x) = Xn+cn
For n; odd
- Divisible by x + c.
For n; even
- Remainder is 2cn
Using Remainder Theorem show that
x4+3x3+3x2+3x+2 is divisible by x+2.
SOLUTION:
f(-2) = (-2)4+3(-2)3+3(-2)2+3(-2)+2
= 16-24+12-6+2
= 16+12+2-30
= 30-30
= 0. Then it is divisible by x+2.
Without actual division, show that x5-3x4+x2-
2x-3 is divisible by x-3.
SOLUTION:
f(3) = (3)5-3(3)4+(3)2-2(3)-3
= 243-243+9-6-3
=0. Then it is divisible by x-3.
Are the lessons clear?
If yes then you may
proceed to the practice
exercises.
If you think you cannot still
manage, please go over
the examples once more.
1. Show x3–6x2+11x-6 that is divisible by x-1
X=1
= (1)3-6(1)2+11(1)-6
= 1-6+11-6
= -5+5
=0.
Solution:
Solution:
= (-3)4+7(-3)3+3(-3)2-63(-3)-108
= 81-189+27+189-108
= -108+216-108
= 108-108
= 0.
4. X3+4x2-9x-36; x=3
Solution:
= (3)3+4(3)2-9(3)-36
= 27+36-27-36
= 63-63
= 0.
5. X3+4x2-9x-36; x=1
Solution:
= (1)3+4(1)2-9(1)-36
= 1+4-9-36
= 5-45
= 40. X-1 does not divide X3+4x2-9x-36.
1. Find the remainder when 4x3 – 5x + 1 is
divided by:
a) x – 2
b) x + 3
c) 2x – 1
How many lunch specials can you choose from if you can choose chicken, pasta, or fish
as a· main dish and soup or salad as a side dish? One way to answer this question is to
use a tree diagram, as shown below. '
Main Dish Side Dish Lunch Choice
Chicken I
I
Pasta I Pasta
I Pasta 1 / Salad / ~
Fish l Fish
Fish
I 1 1. Salad . 1 <o
For each of the 3 main dishes, there are 2 possible side dishes, for a total of 3 * 2 =6
different lunch specials.
Two Events Three Events
If one eventcan occur in m ways and If one event can occur in m ways, a
another even can occur in n ways, then second event in n ways, and a third
the number of ways that both events event in p ways, then the number of
.
can occur 1s ways that both events can occur is
\:.\. '31"("1.
&"<NI.\- E J.. E "''"" +
m• n m• n • p
* The counting principle also extends to four or more events.
L \~b~\ \o\ood \
b.) You are ordering a case for your MPS player. You can choose any of 30 colors for
the main shell, any of 32 colors for the protective band, and any of 200 decals for the
cover screen. How many different cases are possible?
• •
-
Example 2: Use the Fundamental Counting Principle
a.) Suppose a bicycle license plate is 2 letters followed by 4 digits (e.g., AB 1234)
* l.c...\-.\-(.rs, ~~ 2 (o c...ho\~~ (A--"2:) .. ' " ·, '"'
How many license plates are possible if letters and digits can be repeated?
\~ \. 'l"' ~ '
\..&.~" LtA+u- Ot~ '- 'Ot'\""" th'\;. \ .
:2. (o 0
2. ~ l Cl • lC 0
C. • ( =- (o, 'flc01 000 \ ie.tMS£- p\o..+e.-s
Q
.,
How many license plates are possible if letters and digits cannot be repeated?
\a.\- ln ! \
~..\-.k.- Le.-\-.\.er ~~'~ t'tl~<~ C~t.\- ~'+-
r
2-~ • 2.5 • \0 • ~ .. i · . 1- :. 3, 21-&> 1000 \itiflh'\~ x:>\o....k-_S>
b.) You are choosing a password that has 4 letters followed by 2 digits (e.g., NCWJ 37)
* 0~ \c..\-_\.....- ho..~
( Pr-i:)
2(.;. pt>!>~\* C..~OiCA!..S 1 •
'
~"
,.
.:.L. s.
(o-9.)
How many passwords are possible if letters and digits can be repeated?
\~\. '2"' ! 'l~~ '\'""
\..c...\-~ Lc,..\o\.r .~ l,..c,..\-+~ P,~t+
How many passwords are possible if letters and digits cannot be repeated?
Permutations
An ordering of a set of objects is a permutation of objects. By the
fundamental principle, there are 3 * 2 * 1 =6 permutations of 3 objects. For
example, there are 6 permutaions of the letters, A, B, and C.
n! = n • ( n - I) • ( n - 2) • ...... • 3 • 2 • 1
If only 3 of the stories will be presented, how many possible ways can a lead story,
a second story, and a closing story be presented?
'D • T · (o -=- ?, ~ (p ~~ + -wo..y 5 ~ ~-h.r \C.-5 C..<A-V'I \:>e.. or de--re.d.
~
3 s.-h,ctc,~
How many different orders can the skiers finish the competition?
8 • 7 • 6 • 5 • 4 • 3 • 2 • 1 8! 8!
p =8•7•6= =-=---
18 \ 5• 4 • 3• 2• 1 5! (8 - 5) !
4 cbj<t...\-<:;, 1\- -:,\ot~ ~
-I\\\
P = n!
n r (n-r)!
• Benchmark MA.All.14.1: Use the fundamental counting principles for combinations and
permutations to determine probability.
n!
(n - r )! · r !
°* f>6~\-koV\S
-n-, .f.·.\\
b.) Charlie, Denis, Frank, and Mac have volunteered to help a nonprofit
organization remodel houses. Three of the 4 will be assigned to work as
painters. How many choices are there for the 3 painters?
IL -c 'i &v.'f ~ LJ C ., :. __'i_ l_"' IL\~ . ~,\ :. L\3·\3~ :. L\ J,-f+e-~+
( "\ - ~ )~· 3 ! \.~\ 3, •
I
, '3
r ~ 3. ::,\ob. ~
G~oic.e...$ .
PCM"V\krs
Example 2: Distinguish Permutations and Combinations
'
Tell whether the question can be answered using a permutation or a combination.
Then find the answer. Pe:(""""".\-o..\-\oV\ ~ ol"~e...<' '""°' \ \<.f'C:.
• t y- \ 1""T ~
[
. t'\
P.
'('
-=-
(
n
V\ -
~
Y') \
l
C.o'V't\O"M o...·ho"' : or de...< d. o c.. !>
hot ~o..\- .\-.t..r
a.) For a 9-person baseball team about to play, how many ways can you list the
first 6 players in the batting order?
I f ~(" )'\'\ v...~a. -tt ov-. I p =- 'f '. C\~ ~ll·'t>·1 · Cs, · S·L.\·~~
- OCdl!..(" \IV\0..-\4-e_v-~ '1 (o ( 't - <o)\ -- '5\ - 3~
~ '•(oO,L\</SO wo.y~
b.} For a 10-person basketball team, how many-ways can you select 4 players to
take part in a pre-game coin toss?
~ Lo'Mb\y\..o,·h OV'I
- O(' 0.e.'(" doe,.S ·
\"\(> \- vvw. +0
c.) For summer reading, you are asked to read 2 books from a list of 6 books.
How many different books can you choose to read?
~~ (g-S · 'i~ J \S po:,r~
~ c 2.. : (b - 2 )~· 2.~
[ Co\M'o i. V\ o...\-\"oV\
- o< C.e...r d.oc..5> V"I ot '"\ '· . 2 ~ o~ \?oolL-~
l.N\O.. +.\-.e..'("
d.} Twelve students enter a talent show. Awards are given for first place through
fifth place. In how many ways can the students finish first through fifth?
p ::.
\J. ~ ;:.
\2~ =- \'2 ·\\ · \O · q ·<g . f.~
11. 5' ( \'2. - 5 ) \_ 7- ~ ':f 1.
Multiple Events
Recall that combination is used to determine the number of possible
ways you can choose a specific amount from a number of objects-where
order does not matter.
a.) If the order in which they read the books is not important, how many
different sets of 4 books can they choose?
:. 2 \0 se.+s
b.) In how many groups of 4 books are all the books either nonfiction or fiction?
\ ~.\- G'1~ + °Z"'d £~ .\.-
( -
-
2~
(2-\) \. \ ~ ~
21
If -:. 2- :. ____ - __
5\ S\ ..
(S-L\)~·L\\.- l\\
S-L\~
'-\\
~s
2
c \ . s( I.\
~ 2 .. s ~
;
\D
Pascal's Triangle
The first and last numbers in each row of Pascal's triangle are 1. Every other
nun1ber is the sum of the two closest numbers in the row just above it.
If it starts... going...
and
0=0
0+1=1
0+1+2=3
0+1+2+3=6
0 + 1 + 2 + 3 + 4 = 10
0 + 1 + 2 + 3 + 4 + 5 = 15
1 + 2 + … + (n – 1) + n = n(n+1) / 2
n+1
Some Sums
0=0
0+1=1
0+1+2=3
0+1+2+3=6
0 + 1 + 2 + 3 + 4 = 10
0 + 1 + 2 + 3 + 4 + 5 = 15
Some Sums
0 = 0 = 0(0 + 1) / 2
0 + 1 = 1 = 1(1 + 1) / 2
0 + 1 + 2 = 3 = 2(2 + 1) / 2
0 + 1 + 2 + 3 = 6 = 3(3 + 1) / 2
0 + 1 + 2 + 3 + 4 = 10 = 4(4 + 1) / 2
0 + 1 + 2 + 3 + 4 + 5 = 15 = 5(5 + 1) / 2
Our First Proof By Induction
Theorem: The sum of the first n positive natural numbers is n(n + 1)/2.
Proof: By induction. Let P(n) be “the sum of the first n positive natural
numbers is n(n + 1) / 2.” We show that P(n) is true for all natural
numbers n.
For our base case, we need to show P(0) is true, meaning that the sum
of the first zero positive natural numbers is 0(0 + 1)/2. Since the sum of
theAlways
first zeromention
positive that
natural numbers is 0 = 0(0 + 1)/2, P(0) is true.
you're
Forplanning
the inductive step, assume
on doing that for some n, P(n) holds, so
the proof
1 + 2by+ … + n = n(n + 1) / 2. We need to show that P(n + 1) holds,
induction, just as you
meaning that the sum of the first n + 1 natural numbers is
(n +would by contradiction
1)(n + 2)/2. or of the first n + 1 positive natural
Consider the sum
numbers. contrapositive.
This is the sum of the first n positive natural numbers, plus
n + 1. By the inductive hypothesis, this is given by
Thus P(n + 1) holds when P(n) is true, so P(n) is true for all natural
numbers n. ■
Our First Proof By Induction
Theorem: The sum of the first n positive natural numbers is n(n + 1)/2.
Proof: By induction. Let P(n) be “the sum of the first n positive natural
numbers is n(n + 1) / 2.” We show that P(n) is true for all natural
numbers n.
For our base case, we need to show P(0) is true, meaning that the sum
of the first zero positive natural numbers is 0(0 + 1)/2. Since the sum of
the first zero positive natural numbers is 0 = 0(0 + 1)/2, P(0) is true.
For the inductive step, assume that for some n, P(n) holds, so
1 + 2 + … + n = n(n + 1) / 2. We need to show that P(n + 1) holds,
Explicitly
meaning that the state
sum of the first n +what property
1 natural numbers is
you're
(n + 1)(n + 2)/2. trying
Consider the sumto show
of the first for all
n + 1 positive natural
numbers. This is the sum of the first n positive natural numbers, plus
thehypothesis,
n + 1. By the inductive natural this numbers.
is given by
Thus P(n + 1) holds when P(n) is true, so P(n) is true for all natural
numbers n. ■
Our First Proof By Induction
Theorem: The sum of the first n positive natural numbers is n(n + 1)/2.
Proof: By induction. Let P(n) be “the sum of the first n positive natural
numbers is n(n + 1) / 2.” We show that P(n) is true for all natural
numbers n.
For our base case, we need to show P(0) is true, meaning that the sum
of the first zero positive natural numbers is 0(0 + 1)/2. Since the sum of
the first zero positive natural numbers is 0 = 0(0 + 1)/2, P(0) is true.
For the inductive step, assume that for some n, P(n) holds, so
1 + 2 + … + n = n(n + 1) / 2. We need to show that P(n + 1) holds,
meaning that the sum of the first n + 1 natural numbers is
(n + 1)(n + 2)/2. Consider the sum of the first n + 1 positive natural
numbers. This is the sum of the first n positive natural numbers, plus
n + 1. By theState what
inductive you're this
hypothesis, trying to by
is given prove for P(0),
then go and prove it. You can use any
proof technique you'd like.
Thus P(n + 1) holds when P(n) is true, so P(n) is true for all natural
numbers n. ■
Our First Proof By Induction
Theorem: The sum of the first n positive natural numbers is n(n + 1)/2.
Proof: By induction. Let P(n) be “the sum of the first n positive natural
numbers is n(n + 1) / 2.” We show that P(n) is true for all natural
numbers n.
For our base case, we need to show P(0) is true, meaning that the sum
of the first zero positive natural numbers is 0(0 + 1)/2. Since the sum of
the first zero positive natural numbers is 0 = 0(0 + 1)/2, P(0) is true.
For the inductive step, assume that for some n, P(n) holds, so
1 + 2 + … + n = n(n + 1) / 2. We need to show that P(n + 1) holds,
meaning that the sum of the first n + 1 natural numbers is
(n + 1)(n + 2)/2. Consider the sum of the first n + 1 positive natural
numbers. This is the sum of the first n positive natural numbers, plus
n + 1. By the In this step,
inductive we this
hypothesis, need to prove
is given by
“For any natural number n, P(n) → P(n + 1)”
To prove this, we choose an arbitrary n, then
Thus P(n + 1) holds whenassume P(n).
P(n) is true, so P(n) is true for all natural
numbers n. ■
Our First Proof By Induction
Theorem: The sum of the first n positive natural numbers is n(n + 1)/2.
Proof: By induction. Let P(n) be “the sum of the first n positive natural
numbers is n(n + 1) / 2.” We show that P(n) is true for all natural
numbers n.
For our base case, we need to show P(0) is true, meaning that the sum
of the first zero positive natural numbers is 0(0 + 1)/2. Since the sum of
the first zero positive natural numbers is 0 = 0(0 + 1)/2, P(0) is true.
For the inductive step, assume that for some n, P(n) holds, so
1 + 2 + … + n = n(n + 1) / 2. We need to show that P(n + 1) holds,
meaning that the sum of the first n + 1 natural numbers is
(n + 1)(n + 2)/2. Consider the sum of the first n + 1 positive natural
numbers. This is the sum of the first n positive natural numbers, plus
n + 1. By the inductive hypothesis, this is given by
∑i
i=0
Notation: Summations
● Instead of writing 1 + 2 + 3 + … + n, we write
Sum from i = 0 to n
n
∑i of i
i=0
Summation Examples
5
∑ i=1+2+3+4+5=15
i=1
3
∑ i =1 +2 +3 =1+4+9=14
2 2 2 2
i=1
i=0
The Empty Sum
● A sum of no numbers is defined to be zero.
● Examples:
0 42 −1
∑ 2 =0i
∑ i =0 i
∑ i=0
i=1 i=137 i=0
n
n(n+1)
Theorem: For any natural number n, ∑ i=
i=1 2
Proof: By induction. Let P(n) be
n
n(n+1)
P(n) ≡ ∑ i=
i=1 2
For our base case, we need to show P(0) is true, meaning that
0
0(0+1)
∑ i= 2
i=1
This is trivial, since the empty sum is defined to be zero.
For the inductive step, assume that for some n, P(n) holds, so
n
n(n+1)
∑ i= 2
i=1
We need to show that P(n + 1) holds, meaning that
n+1
(n+1)(n+2)
∑ i= 2
i=1
To see this, note that Pro tip – When proving
n+1 n
n(n+1) n(n+1)+2(n+1)
properties of (n+1)(n+2)
sums with
∑ i=∑ i+( n+1)= 2 +n+1= =
i=1 i=1 induction,2 it often helps 2to “peel
Thus P(n + 1) holds when P(n) is true, so P(n) off”
is truethe
for all
lastnatural
few numbers
terms. n. ■
n
n(n+1)
Theorem: For any natural number n, ∑ i=
i=1 2
Proof: By induction. Let P(n) be
n
n(n+1)
P(n) ≡ ∑ i=
i=1 2
For our base case, we need to show P(0) is true, meaning that
0
0(0+1)
∑ i= 2
i=1
This is trivial, since the empty sum is defined to be zero.
For the inductive step, assume that for some n, P(n) holds, so
n
n(n+1)
∑ i= 2
i=1
We need to show that P(n + 1) holds, meaning that
n+1
(n+1)(n+2)
∑ i= 2
i=1
To see this, note that
n+1 n
n(n+1) n(n+1)+2(n+1) (n+1)(n+2)
∑ i=∑ i+( n+1)= 2 +n+1= 2
=
2
i=1 i=1
Thus P(n + 1) holds when P(n) is true, so P(n) is true for all natural numbers n. ■
An Incorrect Proof
n 2
1 1
Theorem: For any natural number n, ∑ i= ( n+ )
i=1 2 2
n 2
1 1
Proof: Let P(n) be P(n) ≡ ∑ i= ( n+ )
i=1 2 2
Now, assume that for some n, P(n) holds, so
n 2
1 1
∑ 2 2)
i= ( n+
i=1
We want to show that P(n + 1) is true, which means that we want to show
n+1 2 2
∑ i= 12 ( n+1+ 12 ) = 12 (n+ 32 )
i=1
To see this, note that
1 2 1 2
n+1 n 2 (n+ ) ( n+ ) +2( n+1)
1 1 2 2(n+1) 2
∑ ∑ i= i+n+1=
2
(n+
2
) +n+1=
2
+
2
=
2
i=1 i=1
2 1 2 9 3 2
n +n+ +2n+2 n +3n+ (n+ )
4 4 2
= = =
2 2 2
∑ i= 12 ( n+1+ 12 ) = 12 (n+ 32 )
i=1
To see this, note that
1 2 1 2
n+1 n 2 (n+ ) ( n+ ) +2( n+1)
1 1 2 2(n+1) 2
∑ ∑ i= i+n+1=
2
(n+
2
) +n+1=
2
+
2
=
2
i=1 i=1
2 1 2 9 3 2
n +n+ +2n+2 n +3n+ (n+ )
4 4 2
= = =
2 2 2
∑ i= 12 ( n+1+ 12 ) = 12 (n+ 32 )
i=1
To see this, note that
1 2 1 2
n+1 n 2 (n+ ) ( n+ ) +2( n+1)
1 1 2 2(n+1) 2
∑ ∑ i= i+n+1=
2
(n+
2
) +n+1=
2
+
2
=
2
i=1 i=1
2 1 2 9
n +n+ +2n+2 n +3n+ 2
4 4 (n+3/ 2)
= = =
2 2 2
“Once he gets
a momentum,
nothing can stop
him”
- X Men 3
P(n) → P(n + 1)
is not enough!
Sums of Powers of Two
20 = 1 = 1
20 + 2 1 = 1 + 2 = 3
2 0 + 2 1 + 22 = 1 + 2 + 4 = 7
20 + 21 + 22 + 23 = 1 + 2 + 4 + 8 = 15
Sums of Powers of Two
20 = 1 = 1 = 2 1 – 1
20 + 2 1 = 1 + 2 = 3 = 22 – 1
2 0 + 2 1 + 22 = 1 + 2 + 4 = 7 = 2 3 – 1
20 + 21 + 22 + 23 = 1 + 2 + 4 + 8 = 15 = 24 – 1
Sums of Powers of Two
20 = 1 = 1 = 2 1 – 1
20 + 2 1 = 1 + 2 = 3 = 22 – 1
2 0 + 2 1 + 22 = 1 + 2 + 4 = 7 = 2 3 – 1
20 + 21 + 22 + 23 = 1 + 2 + 4 + 8 = 15 = 24 – 1
n
∑ 2 =2 i n+1
−1
i=0
n
P(n) ≡ ∑ 2i =2n+1−1
i=0
For our base case, we need to show P(0) is true, meaning that
0
∑ 2i =21−1
i=0
Since 20 = 1 = 21 – 1, this is true.
For the inductive step, assume that for some n, P(n) holds, so
n
∑ 2 =2i n+1
−1
i=0
We need to show that P(n + 1) holds, meaning that
n+1
∑ 2i =2n+2−1
i=0
To see this, note that
n+1 n
P(n) ≡ ∑ 2i =2n+1−1
i=0
For our base case, we need to show P(0) is true, meaning that
0
∑ 2i =21−1
i=0
Since 20 = 1 = 21 – 1, this is true.
For the inductive step, assume that for some n, P(n) holds, so
n
∑ 2 =2i n+1
−1
i=0
We need to show that P(n + 1) holds, meaning that
n+1
∑ 2i =2n+2−1
i=0
To see this, note that
n+1 n
3
Finding the Counterfeit Coin
1 2
3
Finding the Counterfeit Coin
3
Finding the Counterfeit Coin
3
Finding the Counterfeit Coin
3
Finding the Counterfeit Coin
3
Finding the Counterfeit Coin
1 2
3
Finding the Counterfeit Coin
1 2
3
A Harder Problem
● You are given a set of nine seemingly identical
coins, eight of which are real and one of which
is counterfeit.
● The counterfeit coin weighs more than the rest
of the coins.
● You are given a balance. Using only two
weighings on the balance, find the counterfeit
coin.
Finding the Counterfeit Coin
1 2 3
4 5 6
7 8 9
Finding the Counterfeit Coin
1 2 3 4 5 6
7 8 9
Finding the Counterfeit Coin
6
5
4
3
2
1
7 8 9
Finding the Counterfeit Coin
6
5
4
3
2
1
7 8 9
Finding the Counterfeit Coin
6
5
4
3
2
1
7 8 9
1
2
3
4
5
7 8 9 6
Finding the Counterfeit Coin
1
2
3
4
5
7 8 9 6
Finding the Counterfeit Coin
1
2
3
4
5
7 8 9 6
1 2 3 4 5 6
7 8 9
Finding the Counterfeit Coin
1 2 3 4 5 6
7 8 9
Finding the Counterfeit Coin
1 2 3 4 5 6
7 8 9
1, 3, 9 = 30, 31, 32
● Pulitzer-Prize winning
book exploring
recursion, computability,
and consciousness.
● Written by Douglas
Hofstadter, computer
scientist at Indiana
University.
● A great (but dense!)
read.
The MU Puzzle
● Begin with the string MI.
● Repeatedly apply one of the following operations:
● Double the contents of the string after the M: for example,
MIIU becomes MIIUIIU or MI becomes MII.
● Replace III with U: MIIII becomes MUI or MIU
● Append U to the string if it ends in I: MI becomes MIU
● Remove any UU: MUUU becomes MU
● Question: How do you transform MI to MU?
A) Double the contents
of the string after M.
B) Replace III with U.
C) Remove UU
D) Append U if the
string ends in I.
MI
MII 2
MIIII 4
MIIIIU 4
MIIIIUIIIIU 8
MIIIIUUIU 5
MIIIIUUIUIIIIUUIU 10
MUIUUIUIIIIUUIU 7
Counting I's
MI 1
MII 2
MIIII 4
None of
these are
MIIIIU 4 multiples of
three...
MIIIIUIIIIU 8
MIIIIUUIU 5
MIIIIUUIUIIIIUUIU 10
MUIUUIUIIIIUUIU 7
The Key Insight
● Initially, the number of I's is not a multiple of
three.
● To make MU, the number of I's must end up as
a multiple of three.
● Can we ever make the number of I's a multiple
of three?
Lemma: After beginning with MI and applying any legal sequence of the specified
rules, the number of I's never becomes a multiple of three.
Proof: By induction. Let P(n) be “After making n legal moves after starting with MI,
the number of I's is not a multiple of 3.” We prove that P(n) holds for all natural
numbers n.
As a base case, to prove that P(0) is true, we need to show that after making no
moves the number of I's is not a multiple of 3. MI has one I in it, which is not a
multiple of 3.
For the inductive step, assume that P(n) holds and that after any sequence of n
operations, the number of I's is not a multiple of 3. To prove that P(n + 1) holds (that
after n + 1 operations the number of I's is not a multiple of 3), we note by the
inductive hypothesis that after the first n operations, the number of I's is not a
multiple of 3. Since it is not a multiple of 3, it must either have the form 3k + 1 or
3k + 2 for some k. Consider the (n + 1)st operation:
- If it's “double the string after the M,” then we either end up with 2(3k + 1) = 6k + 2 =
3(2k) + 2 or 2(3k + 2) = 6k + 4 = 3(2k + 1) + 1 I's, neither of which is a multiple of 3.
- If it's “delete UU” or “append U,” the number of I's is unchanged.
- If it's “delete III,” then we either go from 3k + 1 to 3k + 1 – 3 = 3(k – 1) + 1 or from
3k + 2 to 3k + 2 – 3 = 3(k – 1) + 2 I's, neither of which is a multiple of 3.
Thus any sequence of n + 1 legal operations starting with MI ends with the number
of I's not a multiple of three, so P(n + 1) holds. ■
Theorem: The MU puzzle has no solution.
For the inductive step, assume that for some n the theorem is true. Then we
have that
n+1 n
n(n+1) n(n+1)+2(n+1) (n+1)(n+2)
∑ i=∑ i+( n+1)= 2 +n+1= 2
=
2
i=1 i=1
so the theorem is true for n + 1, completing the induction. ■
A Variant of Induction
n versus 2
2 n
● 02 = 0 ● 20 = 1
● 12 = 1 ● 21 = 2
● 22 = 4 ● 22 = 4
● 32 = 9 ● 23 = 8
● 42 = 16 ● 24 = 16
● 52 = 25 ● 25 = 32
● 62 = 36 ● 26 = 64
● 72 = 49 ● 27 = 128
● 82 = 64 ● 28 = 256
● 92 = 81 ● 29 = 512
● 102 = 100 ● 210 = 1024
n versus 2
2 n
● 02 = 0 < ● 20 = 1
● 12 = 1 < ● 21 = 2
● 22 = 4 = ● 22 = 4
● 32 = 9 > ● 23 = 8
● 42 = 16 = ● 24 = 16
● 52 = 25 < ● 25 = 32
● 62 = 36 < ● 26 = 64
● 72 = 49 < ● 27 = 128
● 82 = 64 < ● 28 = 256
● 92 = 81 < ● 29 = 512
● 102 = 100 < ● 210 = 1024
n versus 2
2 n
2n is much
02 = 0 < 20 = 1
bigger here.
● ●
● 12 = 1 < ● 21 = 2
Does the trend
● 22 = 4 = ● 22 = 4
continue?
● 3 =9
2
> ● 2 =8
3
● 42 = 16 = ● 24 = 16
● 52 = 25 < ● 25 = 32
● 62 = 36 < ● 26 = 64
● 72 = 49 < ● 27 = 128
● 82 = 64 < ● 28 = 256
● 92 = 81 < ● 29 = 512
● 102 = 100 < ● 210 = 1024
Theorem: For any natural number n ≥ 5, n2 < 2n.
(n + 1)2 = n2 + 2n + 1
Since n ≥ 5,
(n + 1)2 = n2 + 2n + 1
< n2 + 2n + n (since 1 < 5 ≤ n)
= n2 + 3n
< n2 + n 2 (since 3n < 5n ≤ n2)
= 2n2.
(n + 1)2 = n2 + 2n + 1
Since n ≥ 5,
(n + 1)2 = n2 + 2n + 1
< n2 + 2n + n (since 1 < 5 ≤ n)
= n2 + 3n
< n2 + n 2 (since 3n < 5n ≤ n2)
= 2n2.
(n + 1)2 = n2 + 2n + 1
Since n ≥ 5,
(n + 1)2 = n2 + 2n + 1 Why
Why isis this
this
< n2 + 2n + n allowed?
(since 1 < 5 ≤ n)
allowed?
= n2 + 3n
< n2 + n 2 (since 3n < 5n ≤ n2)
= 2n2.
© Ogutu Keroboto
COMPLEX NUMBERS
Girolamo Cardano:
1501-1576
A colourful life!
ax bx cx d
3 2
x px q 0
3
x 8
2
The answer is x 2 2i
But what is 1 3i 1 3i
The two types of number cannot be “mixed”.
Numbers of the form k i , k
are called imaginary numbers (or “pure imaginary”)
Numbers like 1, 2, -3.8 that we used before are called
real numbers.
When we combine them together in a sum we have
complex numbers.
COMPLEX NUMBERS
COMPLEX NUMBERS
To summarize,
z a bi
•a and b are real numbers
•a is the “real part” of z; Re(z)
•b is the “imaginary part” of z; Im(z)
•The sum of the two parts is called a
“complex number”
COMPLEX NUMBERS
z1 (2 3i)
z1 z2 6 6i
z2 (4 9i )
(a bi) (c di) (a c) (b d )i
z1 (2 3i)
z1 z2 (2 3i) (4 9i)
z2 (4 9i )
2 4 (2 9i) (3i 4) (3i 9i)
8 18i 12i (27 i 2 )
35 6i
z1 (2 3i) z1 (2 3i ) Remember
z2 (4 9i ) z2 (4 9i ) this trick!!
(2 3i) (4 9i)
(4 9i) (4 9i)
8 18i 12i (27 i 2 )
4 4 36i 36i (9 9 i 2 )
19 30i 19 30
Read through i
Appendix H of 97 97 97
James Stewart (2016)
to make sure you understand the basics.
COMPLEX CONJUGATES
b b 2 4ac
x
2a
Now there are always two solutions, albeit they can be
repeated real solutions.
3 2 3i
* means conjugate
If we write z 3 2 3i
Then the complex conjugate is written as z* 3 2 3i
z z* 6 2 Re( z )
This will be discussed
z z* 4 3i 2 Im( z ) later.
2
z
* 2
zz 3 2 3
2
21
COMPLEX POWERS
( x y ) i (2 xy )
2 2
x 2 y 2 i (2 xy )
z z
2 * * 2 Later we will understand
this result geometrically
COMPLEX POWERS
Tasks
a) z 3 z 2 7 z 65
b) z z 1
4 2
b) z 4 z 2 1
The second example looks simpler but is, in a way,
more difficult.
First set w = z2. w2 w 1 0
1 3
It seems we have w
to find the square 2
root of a complex 1 3i 1 3i
number! z
2
or z
2
2 2 2 2
COMPLEX POWERS
Algebra is not the best way to do it, but let’s try anyway.
The next step is important to
z a ib understand. It is called
(a ib)(a ib) z “equating real and imaginary
parts”.
Re :
y
a b x
2 2
a
2b Simultaneous
Im : equations.
y Let’s apply it
2ab y b x
2
to our problem.
2
4b
COMPLEX POWERS
1 3i
z
2
2 2
1 3i
( x iy )( x iy )
2 2
1 3
x y , 2 xy
2 2
2 2
9 1
x
2
2
16 x 2
16 x 4 8 x 2 9 0
8 24 1 3 1
x
2
1 or
32 4 4 2
COMPLEX CONJUGATES
z z* 2 Re( z ) z
z z 2 Im( z )
*
Re( z )
How do we know
z* it must be a real
number?
What is zz * ?
COMPLEX CONJUGATES
z r (cos i sin )
z* r (cos i sin ) arg( z1 z2 ) arg( z1 ) arg( z2 )
arg( zz * ) 0
zz * z z* z
2
or r 2
zz* z
2
This is a very important result.
COMPLEX CONJUGATES
A z10 3 4 z 10
B 65 63 z z 2 z 3 3
C 3z 2 4 z 5 18 z 4 13 5
Im( z )
z
r
r sin
Re( z )
r cos
4i
7 6i
arg( z ) r 42 12 17 modulus
z r (cos i sin )
To find θ we have two equations:
4 1
cos , sin 0.245
17 17
POLAR COORDINATE FORM
4i
7 6i
z r 62 72 17 5 9.22 (3 s.f.)
7 6
cos , sin arg( z) 2.43 (3 s.f.)
17 5 17 5
z 7 6i 9.22(cos(2.43) i sin(2.43))
EXPONENTIAL FORM
y( x) cos( x) i sin( x)
or
z( ) cos( ) i sin( )
dy
sin x i cos x i (i sin x cos x)
dx iy
dy
Which function does this? ky
dx
EXPONENTIAL FORM
y Ae kx
z r (cos i sin ) re
i
6 6e i 0 Find 1 3i
i 3
1 3i 2e
1 i 23
e
1024