Professional Documents
Culture Documents
MATH
MATH
Many events can't be predicted with total certainty. The best we can say is
how likely they are to happen, using the idea of probability.
Tossing a Coin
heads (H) or
tails (T)
Throwing Dice
Probability
In general:
Probability of an event happening = Number of ways it can happenTotal
number of outcomes
Number of ways it can happen: 1 (there is only 1 face with a "4" on it)
So the probability = 16
Probability Line
We can show probability on a Probability Line :
Example: toss a coin 100 times, how many Heads will come
up?
Probability says that heads have a ½ chance, so we can expect 50 Heads.
But when we actually try it we might get 48 heads, or 55 heads ... or anything
really, but in most cases it will be a number near 50.
Words
Some words have special meaning in Probability:
"King" is not a sample point. There are 4 Kings, so that is 4 different sample
points.
Example Events:
The Event Alex is looking for is a "double", where both dice have the same
number. It is made up of these 6 Sample Points:
Is it a
Experiment
Double?
{3,4} No
{5,1} No
{2,2} Yes
{6,3} No
... ...
After 100 Experiments, Alex has 19 "double" Events ... is that close to what
you would expect?
Easy Permutations and Combinations
Home›Math›
Here’s an easy way to remember: permutation sounds complicated, doesn’t it? And
it is. With permutations, every little detail matters. Alice, Bob and Charlie is different
from Charlie, Bob and Alice (insert your friends’ names here).
Combinations, on the other hand, are pretty easy going. The details don’t matter.
Alice, Bob and Charlie is the same as Charlie, Bob and Alice.
Permutations are for lists (order matters) and combinations are for groups
(order doesn’t matter).
A joke: A "combination lock" should really be called a "permutation lock". The order
you put the numbers in matters. (A true "combination lock" would accept both 10-17-
23 and 23-17-10 as correct.)
We picked certain people to win, but the details don’t matter: we had 8 choices at
first, then 7, then 6. The total number of options was 8 · 7 · 6 = 336.
Let’s look at the details. We had to order 3 people out of 8. To do this, we started with
all options (8) then took them away one at a time (7, then 6) until we ran out of
medals.
8!=8⋅7⋅6⋅5⋅4⋅3⋅2⋅18!=8⋅7⋅6⋅5⋅4⋅3⋅2⋅1
Unfortunately, that does too much! We only want 8 · 7 · 6. How can we “stop” the
factorial at 5?
This is where permutations get cool: notice how we want to get rid of 5 · 4 · 3 · 2 · 1.
What’s another name for this? 5 factorial!
8!5!=8⋅7⋅6⋅5⋅4⋅3⋅2⋅15⋅4⋅3⋅2⋅1=8⋅7⋅68!5!=8⋅7⋅6⋅5⋅4⋅3⋅2⋅15⋅4⋅3⋅2⋅1=8⋅7⋅6
And why did we use the number 5? Because it was left over after we picked 3 medals
from 8. So, a better way to write this would be:
8!(8−3)!8!(8−3)!
where 8!/(8-3)! is just a fancy way of saying “Use the first 3 numbers of 8!”. If we
have n items total and want to pick k in a certain order, we get:
n!(n−k)!n!(n−k)!
And this is the fancy permutation formula: You have n items and want to find the
number of ways k items can be ordered:
P(n,k)=n!(n−k)!P(n,k)=n!(n−k)!
Combinations, Ho!
Combinations are easy going. Order doesn’t matter. You can mix it up and it looks the
same. Let’s say I’m a cheapskate and can’t afford separate Gold, Silver and Bronze
medals. In fact, I can only afford empty tin cans.
Well, in this case, the order we pick people doesn’t matter. If I give a can to Alice,
Bob and then Charlie, it’s the same as giving to Charlie, Alice and then Bob. Either
way, they’re equally disappointed.
This raises an interesting point — we’ve got some redundancies here. Alice Bob
Charlie = Charlie Bob Alice. For a moment, let’s just figure out how many ways we
can rearrange 3 people.
Well, we have 3 choices for the first person, 2 for the second, and only 1 for the last.
So we have 3 · 2 · 1 ways to re-arrange 3 people.
Wait a minute… this is looking a bit like a permutation! You tricked me!
Indeed I did. If you have N people and you want to know how many arrangements
there are for all of them, it’s just N factorial or N!
So, if we have 3 tin cans to give away, there are 3! or 6 variations for every choice we
pick. If we want to figure out how many combinations we have, we just create all the
permutations and divide by all the redundancies. In our case, we get 336
permutations (from above), and we divide by the 6 redundancies for each permutation
and get 336/6 = 56.
C(n,k)=P(n,k)k!C(n,k)=P(n,k)k!
which means “Find all the ways to pick k people from n, and divide by the k!
variants”. Writing this out, we get our combination formula, or the number of ways
to combine k items from a set of n:
C(n,k)=n!(n−k)!k!C(n,k)=n!(n−k)!k!
Sometimes C(n,k) is written as:
(nk)(nk)
which is the the binomial coefficient.
A Few Examples
Here’s a few examples of combinations (order doesn’t matter) from permutations
(order matters).
Don’t memorize the formulas, understand why they work. Combinations sound
simpler than permutations, and they are. You have fewer combinations than
permutations.
Combinations and
Permutations
"The combination to the safe is 472". Now we do care about the order.
"724" won't work, nor will "247". It has to be exactly 4-7-2.
In other words:
A Permutation is an ordered Combination.
Permutations
There are basically two types of permutation:
When a thing has n different types ... we have n choices each time!
n×n×n
(n multiplied 3 times)
n × n × ... (r times)
(In other words, there are n possibilities for the first choice, THEN there
are n possibilites for the second choice, and so on, multplying each time.)
n × n × ... (r times) = nr
Example: in the lock above, there are 10 numbers to choose from
(0,1,2,3,4,5,6,7,8,9) and we choose 3 of them:
nr
where n is the number of things to choose from,
and we choose r of them,
repetition is allowed,
and order matters.
In this case, we have to reduce the number of available choices each time.
So, our first choice has 16 possibilites, and our next choice has 15 possibilities,
then 14, 13, 12, 11, ... etc. And the total permutations are:
16 × 15 × 14 × 13 × ... = 20,922,789,888,000
But maybe we don't want to choose them all, just 3 of them, and that is then:
16 × 15 × 14 = 3,360
In other words, there are 3,360 different ways that 3 pool balls could be
arranged out of 16 balls.
4! = 4 × 3 × 2 × 1 = 24
7! = 7 × 6 × 5 × 4 × 3 × 2 × 1 = 5,040
1! = 1
Note: it is generally agreed that 0! = 1. It may seem funny that multiplying no
numbers together gets us 1, but it helps simplify a lot of equations.
So, when we want to select all of the billiard balls the permutations are:
16! = 20,922,789,888,000
But when we want to select just 3 we don't want to multiply after 14. How do
we do that? There is a neat trick: we divide by 13!
16 × 15 × 14 × 13 × 12 ...13 × 12 ... = 16 × 15 × 14
That was neat. The 13 × 12 × ... etc gets "cancelled out", leaving only 16 ×
15 × 14.
n!(n − r)!
where n is the number of things to choose from,
and we choose r of them,
no repetitions,
order matters.
Notation
Instead of writing the whole formula, people use different notations such as
these:
Example: P(10,2) = 90
Combinations
There are also two types of combinations (remember the order does not matter
now):
Actually, these are the hardest to explain, so we will come back to this later.
This is how lotteries work. The numbers are drawn one at a time, and if we
have the lucky numbers (no matter what order) we win!
The easiest way to explain it is to:
Going back to our pool ball example, let's say we just want to know which 3
pool balls are chosen, not the order.
But many of those are the same to us now, because we don't care what order!
For example, let us say balls 1, 2 and 3 are chosen. These are the possibilites:
In fact there is an easy way to work out how many ways "1 2 3" could be placed
in order, and we have already talked about it. The answer is:
3! = 3 × 2 × 1 = 6
That formula is so important it is often just written in big parentheses like this:
where n is the number of things to choose from,
and we choose r of them,
no repetition,
order doesn't matter.
It is often called "n choose r" (such as "16 choose 3")
Notation
n!r!(n − r)!
= 20,922,789,888,0006 × 6,227,020,800
= 560
Pascal's Triangle
We can also use Pascal's Triangle to find the values. Go down to row "n" (the
top row is 0), and then along "r" places and the value there is our answer. Here
is an extract showing row 16:
1 14 91 364 ...
1 15 105 455 1365 ...
1 16 120 560 1820 4368 ...
Let us say there are five flavors of icecream: banana, chocolate, lemon,
strawberry and vanilla.
We can have three scoops. How many variations will there be?
Let's use letters for the flavors: {b, c, l, s, v}. Example selections include
(And just to be clear: There are n=5 things to choose from, and we
choose r=3 of them.
Order does not matter, and we can repeat!)
Now, I can't describe directly to you how to calculate this, but I can show you
a special techniquethat lets you work it out.
Think about the ice cream being in boxes, we could say "move past
the first box, then take 3 scoops, then move along 3 more boxes to
the end" and we will have 3 scoops of chocolate!
So it is like we are ordering a robot to get our ice cream, but it doesn't change
anything, we still get what we want.
Notice that there are always 3 circles (3 scoops of ice cream) and 4 arrows (we
need to move 4 times to go from the 1st to 5th container).
This is like saying "we have r + (n−1) pool balls and want to choose r of
them". In other words it is now like the pool balls question, but with slightly
changed numbers. And we can write it like this:
where n is the number of things to choose from,
and we choose r of them
repetition allowed,
order doesn't matter.
Interestingly, we can look at the arrows instead of the circles, and say "we
have r + (n−1)positions and want to choose (n−1) of them to have arrows",
and the answer is the same:
(3+5−1)! 7! 5040
= = = 35
3!(5−1)! 3!×4! 6×24
In Conclusion
Phew, that was a lot to absorb, so maybe you could read it again to be sure!
But knowing how these formulas work is only half the battle. Figuring out how
to interpret a real world situation can be quite hard.
But at least now you know how to calculate all 4 variations of "Order does/does
not matter" and "Repeats are/are not allowed".
Factorial !
Example: 4! is shorthand for 4 x 3 x 2 x 1
The factorial function (symbol: !) says to multiply all whole numbers from our
chosen number down to 1.
Examples:
4! = 4 × 3 × 2 × 1 = 24
7! = 7 × 6 × 5 × 4 × 3 × 2 × 1 = 5040
1! = 1
We usually say (for example) 4! as "4 factorial", but some people say "4 shriek"
or "4 bang"
As a table:
n n!
1 1 1 1
2 2×1 = 2 × 1! =2
3 3×2×1 = 3 × 2! =6
4 4×3×2×1 = 4 × 3! = 24
5 5×4×3×2×1 = 5 × 4! = 120
6 etc etc
10! = 10 × 9!
n! = n × (n−1)!
Which says
"the factorial of any number is that number times the factorial of (that
number minus 1)"
It may seem funny that multiplying no numbers together results in 1, but let's
follow the pattern backwards from, say, 4! like this:
The list is quite long, if the people are a,b,c,d,e,f,g then the list
includes abc,abd,abe,abf,abg,acb,acd,ace,acf,... etc up to gfe.
7 × 6 × 5 × 4 × 3 × 2 × 14 × 3 × 2 × 1 = 7 × 6 × 5
7 × 6 × 5 = 210
So there are 210 different ways that 7 people could come 1st, 2nd and 3rd.
Done!
A Small List
n n!
0 1
1 1
2 2
3 6
4 24
5 120
6 720
7 5,040
8 40,320
9 362,880
10 3,628,800
11 39,916,800
12 479,001,600
13 6,227,020,800
14 87,178,291,200
15 1,307,674,368,000
16 20,922,789,888,000
17 355,687,428,096,000
18 6,402,373,705,728,000
19 121,645,100,408,832,000
20 2,432,902,008,176,640,000
21 51,090,942,171,709,440,000
22 1,124,000,727,777,607,680,000
23 25,852,016,738,884,976,640,000
24 620,448,401,733,239,439,360,000
25 15,511,210,043,330,985,984,000,000
Here is why:
Seconds in 6 weeks: 60 × 60 × 24 × 7 × 6
Factor some numbers: (2 × 3 × 10) × (3 × 4 × 5) × (8 × 3) × 7 × 6
Rearrange: 2 × 3 × 4 × 5 × 6 × 7 × 8 × 3 × 3 × 10
Lastly 3×3=9: 2 × 3 × 4 × 5 × 6 × 7 × 8 × 9 × 10
Just shuffle a deck of cards and it is likely that you are the first person
ever with that particular order.
60! is about 8.320987... × 1081 and the current estimates are between 1078 to
1082atoms in the observable Universe.
Half Factorial
But I can tell you the factorial of half (½) is half of the square root of pi .
(-½)! = √π
(½)! = (½)√π
(3/2)! = (3/4)√π
(5/2)! = (15/8)√π
It still follows the rule that "the factorial of any number is that number times
the factorial of (1 smaller than that number)", because
(3/2)! = (3/2) × (1/2)!
(5/2)! = (5/2) × (3/2)!
Can you figure out what (7/2)! is?
Angles
An angle measures the amount of turn
Names of Angles
In One Diagram
So when naming the angles make sure that you know which angle is being
asked for!
Example: −67°
Parts of an Angle
The corner point of an angle is called the vertex
2. or by the three letters on the shape that define the angle, with the middle
letter being where the angle actually is (its vertex).
Parallel Lines
How do we know when two lines are parallel?
y = mx + b
Example:
parallel to y = 2x + 1
and passes though the point (5,4)
The slope of y=2x+1 is: 2
The parallel line needs to have the same slope of 2.
y − y1 = 2(x − x1)
y − 4 = 2(x − 5)
y − 4 = 2x − 10
y = 2x − 6
Vertical Lines
But this does not work for vertical lines ... I explain why at the end.
Be careful! They may be the same line (but with a different equation), and so
are not parallel.
How do we know if they are really the same line? Check their y-
intercepts (where they cross the y-axis) as well as their slope:
Example: is y = 3x + 2 parallel to y − 2 = 3x ?
Perpendicular Lines
Two lines are Perpendicular when they meet at a right angle (90°).
When one line has a slope of m, a perpendicular line has a slope of −1m
Example:
perpendicular to y = −4x + 10
and passes though the point (7,2)
m = −1−4 = 14
So the perpendicular line will have a slope of 1/4:
y − y1 = (1/4)(x − x1)
And now put in the point (7,2):
y − 2 = (1/4)(x − 7)
And that answer is OK, but let's also put it in "y=mx+b" form:
y − 2 = x/4 − 7/4
y = x/4 + 1/4
Line Slope
y = 2x + 1 2
y = −0.5x + 4 −0.5
When we multiply the two slopes we get:
2 × (−0.5) = −1
Yes, we got −1, so they are perpendicular.
Vertical Lines
The previous methods work nicely except for a vertical line:
m = yA − yBxA − xB = 4 − 12 − 2 = 30 = undefined
So just rely on the fact that:
Summary
parallel lines: same slope
perpendicular lines: negative reciprocal slope (−1/m)
Properties of Regular
Polygons
Polygon
A polygon is a plane shape (two-dimensional) with straight sides. Examples
include triangles, quadrilaterals, pentagons, hexagons and so on.
Regular
A "Regular Polygon" has:
Otherwise it is irregular.
Properties
So what can we know about regular polygons? First of all, we can work out
angles.
Exterior Angle
The Exterior Angle is the angle between any side of a shape,
and a line extended from the next side.
© 2015 MathsIsFun.com v 0.9
Exterior Angle
(of a regular octagon)
Interior Angles
The Interior Angle and Exterior Angle are measured
from the same line, so they add up to 180°.
Interior Angle
(of a regular octagon)
Or we could use:
The "outside" circle is called a circumcircle, and it connects all vertices (corner
points) of the polygon.
The "inside" circle is called an incircle and it just touches each side of the
polygon at its midpoint.
(Not all polygons have those properties, but triangles and regular polygons do).
We can learn a lot about regular polygons by breaking them into triangles like
this:
Notice that:
To get the area of the whole polygon, just add up the areas of all the little
triangles ("n" of them):
A Smaller Triangle
By cutting the triangle in half we get this:
The small triangle is right-angled and so we can use sine, cosine and
tangent to find how the side, radius, apothem and n (number of sides) are
related:
There are a lot more relationships like those (most of them just "re-
arrangements"), but those will do for now.
More Area Formulas
We can use that to calculate the area when we only know the Apothem:
And there are 2 such triangles per side, or 2n for the whole polygon:
When we don't know the Apothem, we can use the same formula but re-worked
for Radius or for Side:
A Table of Values
And here is a table of Side, Apothem and Area compared to a Radius of "1",
using the formulas we have worked out:
Side
Name when Interior Radiu Apothe
Type s Shape Side Area
Regular Angle s m
(n)
1.73
Triangle Equilateral 1.299
3 60° 1 2 0.5
(or Trigon) Triangle (¾√3)
(√3)
1.41
Quadrilateral 0.707
Square 4 90° 1 4 2
(or Tetragon) (1/√2)
(√2)
Regular 1.17
Pentagon 5 108° 1 0.809 2.378
Pentagon 6
2.598
Regular 0.866
Hexagon 6 120° 1 1 ((3/2)√3
Hexagon (½√3)
)
... ...
Regular
Pentacontago 0.12
Pentacontago 50 172.8° 1 0.998 3.133
n 6
n
(Note: values correct to 3 decimal places only)
Graph
And here is a graph of the table above, but with number of sides ("n") from 3 to
30.
Notice that as "n" gets bigger, the Apothem is tending towards 1 (equal to the
Radius) and that the Area is tending towards π = 3.14159..., just like a circle.
Try it Yourself
(Also see this on Interactive Quadrilaterals )
Properties
A quadrilateral has:
Try drawing a quadrilateral, and measure the angles. They should add to 360°
Types of Quadrilaterals
There are special types of quadrilateral:
Some types are also included in the definition of other types! For example
a square, rhombus and rectangle are also parallelograms. See below for
more details.
The Rectangle
The Square
A square has equal sides (marked "s") and every angle is a right angle (90°)
A square also fits the definition of a rectangle (all angles are 90°), and
a rhombus (all sides are equal length).
The Rhombus
A rhombus is a four-sided shape where all sides have equal length (marked
"s").
Also opposite sides are parallel and opposite angles are equal.
Another interesting thing is that the diagonals (dashed lines) meet in the middle
at a right angle. In other words they "bisect" (cut in half) each other at right
angles.
The Parallelogram
A parallelogram has opposite sides parallel and equal in length. Also opposite
angles are equal (angles "A" are the same, and angles "B" are the same).
Example:
A parallelogram with:
is a square!
The Trapezoid (UK: Trapezium)
A trapezoid (called a trapezium in the UK) has a pair of opposite sides parallel.
Trapezoid Trapezium
An Isosceles trapezoid, as shown above, has left and right sides of equal
length that join to the base at equal angles.
The Kite
Also:
the angles where the two pairs meet are equal.
the diagonals, shown as dashed lines above, meet at a right angle.
one of the diagonals bisects (cuts equally in half) the other.
Irregular Quadrilaterals
The only regular (all sides equal and all angles equal) quadrilateral is a square.
So all other quadrilaterals are irregular.
(We don't say "Having all 90° angles makes it a rectangle except when all sides
are equal then it is a square.")
This may seem odd, as in daily life we think of a square as not being a
rectangle ... but in mathematics it is.
Polygon
A quadrilateral is a polygon . In fact it is a 4-sided polygon, just like a triangle
is a 3-sided polygon, a pentagon is a 5-sided polygon, and so on.
Other Names
A quadrilateral can sometimes be called:
Is it a Polygon?
Polygons are 2-dimensional shapes. They are made of straight lines, and the
shape is "closed" (all the lines connect up).
Polygon comes from Greek. Poly- means "many" and -gon means "angle".
Types of Polygons
Regular or Irregular
A regular polygon has all angles equal and all sides equal, otherwise it
is irregular
Regular Irregular
Concave or Convex
If any internal angle is greater than 180° then the polygon is concave. (Think:
concave has a "cave" in it)
Convex Concave
Simple or Complex
A simple polygon has only one boundary, and it doesn't cross over itself.
A complex polygon intersects itself! Many rules about polygons don't work
when it is complex.
More Examples
Complex Polygon
Irregular Hexagon Concave Octagon (a "star polygon",
in this case a pentagram)
Names of Polygons
If it is a Regular Polygon...
Pentagon 5 108°
Hexagon 6 120°
Octagon 8 135°
Decagon 10 144°
Dodecagon 12 150°
Triskaidecagon 13 152.308°
Tetrakaidecagon 14 154.286°
Pentadecagon 15 156°
Hexakaidecagon 16 157.5°
Heptadecagon 17 158.824°
Octakaidecagon 18 160°
Enneadecagon 19 161.053°
Icosagon 20 162°
Triacontagon 30 168°
Tetracontagon 40 171°
Pentacontagon 50 172.8°
Hexacontagon 60 174°
Heptacontagon 70 174.857°
Octacontagon 80 175.5°
Enneacontagon 90 176°
20 Icosi... +1 ...henagon
30 Triaconta... +2 ...digon
40 Tetraconta... +3 ...trigon
50 Pentaconta... +4 ...tetragon
60 Hexaconta... +5 ...pentagon
70 Heptaconta... +6 ...hexagon
80 Octaconta... +7 ...heptagon
90 Enneaconta... +8 ...octagon
etc..
Remembering
Quadrilateral (4 Sides)
Pentagon (5 Sides)
The "Pentagon" in Washington DC has 5 sides
Hexagon (6 Sides)
Septagon (7 Sides)
Octagon (8 Sides)
2. The area of a simple, closed, planar curve is the amount of space inside.
3. The volume of a solid 3D3D shape is the amount of space displaced by it.
Some formulas for common 22 -dimensional plane figures and 33 -dimensional solids
are given below. The answers have one, two, or three dimensions; perimeter is
measured in linear units , area is measured in square units , and volume is
measured in cubic units .
Table 11 . Perimeter Formulas
ss is the length
Square P=4sP=4s of the side of the
square.
LL and WW ar
e the lengths of
Rectangle P=2L+2WP=2L+2W the rectangle's
sides (length
and width).
a,ba,b ,
Triangle a+b+ca+b+c and cc are the
side lengths.
ss is the
Square A=s2A=s2 length of
the side of
the square.
LL and W
W are the
lengths of
Rectang the
le rectangle's
A=LWA=LW
sides
(length and
width).
bb and hh
Triangle A=12bhA=12bh are the
base and
height
aa , bb ,
and ccare
Triangle
A=s(s−a)(s−b)(s−c)−−−−−−−−−−−−−−−−−−√where s=a the side
+ b + c2A=s(s−a)(s−b)(s−c)where s=a + b + c2 lengths
and ssis
the
semiperime
ter
bb is the
length of
Parallel
the base
ogram
A=bhA=bh and hh is
the height.
b1b1 and b
2b2 are the
lengths of
the parallel
sides
Trapezo
id
A=b1 + b22hA=b1 + b22h and hhthe
distance
(height)
between
the
parallels.
Surface Areas
cube = 6 a2
prism:
(lateral area) = perimeter(b) L
sphere = 4 r2
Circle
A circle is easy to make:
And so:
Drag a point!
© 2018 MathsIsFun.com v0.87
Play With It
Try dragging the point to see how the radius and circumference change.
The Diameter goes straight across the circle, through the center.
We can say:
Circumference = π × Diameter
Example: You walk around a circle which has a diameter of
100m, how far have you walked?
Circumference = 2 × π × Radius
In Summary:
×2 × π
Remembering
The length of the words may help you remember:
Definition
The circle is a plane shape (two dimensional), so:
Circle: the set of all points on a plane that are a fixed distance from a center.
Area
The area of a circle is π times the radius squared, which is written:
A= π r2
Where
A is the Area
r is the radius
To help you remember think "Pie Are Squared" (even though pies are usually
round):
Area= πr2
= π × 1.22
= 3.14159... × (1.2 × 1.2)
= 4.52 (to 2 decimals)
A = (π/4) × D2
Names
Because people have studied circles for thousands of years special names have
come about.
Nobody wants to say "that line that starts at one side of the circle, goes through
the center and ends on the other side" when they can just say "Diameter".
Lines
A line segment that goes from one point to another on the circle's circumference
is called a Chord.
Slices
There are two main "slices" of a circle.
Common Sectors
The Quadrant and Semicircle are two special types of Sector:
A circle has an inside and an outside (of course!). But it also has an "on",
because we could be right on the circle.
Example: "A" is outside the circle, "B" is inside the circle and "C" is on the circle.
Ellipse
It says "the set of all x's, such that x is greater than 0".
Notes:
Type of Number
It is also normal to show what type of number x is, like this:
So it says:
"the set of all x's that are a member of the Real Numbers,
such that x is greater than or equal to 3"
Number Types
We saw (the special symbol for Real Numbers). Here are the common
number types :
Example: { k |k>5}
"the set of all k's that are a member of the Integers, such that k is greater than
5"
{2, 3, 4, 5, 6}
{x | x ≥ 2 and x ≤ 6 }
Start with all Real Numbers, then limit them between 2 and 6 inclusive.
We can also use set builder notation to do other things, like this:
{x | x = x2 } = {0, 1}
All Real Numbers such that x = x2
0 and 1 are the only cases where x = x2
Another Example:
Example: x ≤ 2 or x > 3
{x | x ≤ 2 or x >3 }
In its simplest form the domain is the set of all the values that go into a
function.
The function must work for all values we give it, so it is up to us to make sure
we get the domain correct!
Dom(1/x) = {x | x ≠ 0}
Dom( g(x) ) = { x | x ≠ 1}
Is all the Real Numbers from 0 onwards, because we can't take the square root
of a negative number (unless we use Imaginary Numbers , which we aren't).
Factor: x2 - 1 = (x−1)(x+1)
So:
What is a Sequence?
A Sequence is a list of things (usually numbers) that are in order.
Infinite or Finite
When the sequence goes on forever it is called an infinite sequence,
otherwise it is a finite sequence
Examples:
{4, 3, 2, 1} is 4 to 1 backwards
{1, 2, 4, 8, 16, 32, ...} is an infinite sequence where every term doubles
Like a Set
A Sequence is like a Set , except:
the terms are in order (with Sets the order does not matter)
the same value can appear many times (only once in Sets)
Notation
Sequences also use the same notation as sets:
list each element, separated by a comma, {3, 5, 7, ...}
and then put curly brackets around the whole thing.
A Rule
A Sequence usually has a Rule, which is a way to find the value of each term.
Example: the sequence {3, 5, 7, 9, ...} starts at 3 and jumps 2 every time:
As a Formula
Saying "starts at 3 and jumps 2 every time" is fine, but it doesn't help us
calculate the:
10th term,
100th term, or
nth term, where n could be any term number we want.
So, we want a formula with "n" in it (where n is any term number).
Firstly, we can see the sequence goes up 2 every time, so we can guess that a
Rule is something like "2 times n" (where "n" is the term number). Let's test it
out:
Test Rule: 2n
That nearly worked ... but it is too low by 1 every time, so let us try changing
it to:
That Works!
2n+1
2 × 100 + 1 = 201
Many Rules
But mathematics is so powerful we can find more than one Rule that works
for any sequence.
And we could find more rules that match {3, 5, 7, 9, ...}. Really we could.
So it is best to say "A Rule" rather then "The Rule" (unless we know it is the
right Rule).
Notation
To make it easier to use rules, we often use this special style:
xn is the term
n is the term number
xn = 2n+1
And to calculate the 10th term we can write:
{an} = { (-1/n)n }
Calculations:
a1 = (-1/1)1 = -1
a2 = (-1/2)2 = 1/4
a3 = (-1/3)3 = -1/27
a4 = (-1/4)4 = 1/256
Answer:
Special Sequences
Now let's look at some special sequences, and their rules.
Arithmetic Sequences
In an Arithmetic Sequence the difference between one term and the next
is a constant.
In other words, we just add some value each time ... on to infinity.
Example:
xn = a + d(n-1)
(We use "n-1" because d is not used in the 1st term).
Geometric Sequences
In a Geometric Sequence each term is found by multiplying the previous
term by a constant.
Example:
xn = ar(n-1)
Triangular Numbers
1, 3, 6, 10, 15, 21, 28, 36, 45, ...
By adding another row of dots and counting all the dots we can find the next
number of the sequence.
xn = n(n+1)/2
Example:
the 5th Triangular Number is x5 = 5(5+1)/2 = 15,
and the sixth is x6 = 6(6+1)/2 = 21
Square Numbers
1, 4, 9, 16, 25, 36, 49, 64, 81, ...
Rule is xn = n2
Cube Numbers
1, 8, 27, 64, 125, 216, 343, 512, 729, ...
Rule is xn = n3
Fibonacci Sequence
This is the Fibonacci Sequence
The next number is found by adding the two numbers before it together:
That rule is interesting because it depends on the values of the previous two
terms.
n= 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 ...
xn = 0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 ...
x6 = x6-1 + x6-2 = x5 + x4 = 5 + 3 = 8
But a sum of an infinite sequence it is called a "Series" (it sounds like another
name for sequence, but it is actually a sum). See Infinite Series .
Series: 1 + 3 + 5 + 7 + ...
12 , 14 , 18 , 116 , ...
which follow a rule (in this case each term is half the previous one),
12 + 14 + 18 + 116 + ... = S
"Series" sounds like it is the list of numbers, but it is actually when we add
them up.
First Example
You might think it is impossible to work out the answer, but sometimes it can
be done!
12 + 14 + 18 + 116 + ... = 1
Notation
We often use Sigma Notation for infinite series. Our example from above looks
like:
Another Example
14 + 116 + 164 + 1256 + ... = 13
Each term is a quarter of the previous one, and the sum equals 1/3:
Of the 3 spaces (1, 2 and 3) only number 2 gets filled up, hence 1/3.
Converge
Let's add the terms one at a time. When the "sum so far" approaches a finite
value, the series is said to be "convergent":
12 + 14 + 18 + 116 + ...
1/4 0.75
1/8 0.875
1/16 0.9375
1/32 0.96875
... ...
Diverge
If the sums do not converge, the series is said to diverge.
Example:
1 + 2 + 3 + 4 + ...
Adds up like this:
1 1
2 3
3 6
4 10
5 15
... ...
The sums are just getting larger and larger, not heading to any finite value.
Example: 1 − 1 + 1 − 1 + 1 ...
More Examples
Arithmetic Series
When the difference between each term and the next is a constant, it is called
an arithmetic series.
Geometric Series
When the ratio between each term and the next is a constant, it is called
a geometric series.
And, as promised, we can show you why that series equals 1 using Algebra:
First, we will call the whole sum "S": S = 1/2 + 1/4 + 1/8 + 1/16 + ...
Simplify:S/2 = 1/2
And so:S = 1
Harmonic Series
It is divergent.
1 1 1
1 1 1 1 1
1 + + + + + + + + + ...
2 3 4 5 6 7 8 9
etc...
1 1 1
1 1 1 1 1
1 + + + + + + + + + ...
2 4 4 8 8 8 8 16
In each case, the top values are equal or greater than the bottom ones.
1 1 1
1 1 1 1 1
1 + + + + + + + + ... + ...
2 4 4 8 8 8 8 16
1 1 1 1
1 + + + + + ... = ∞
2 2 2 2
We can sketch the area of each term and compare it to the area under
the 1/x curve:
Calculus tells us the area under 1/x (from 1 onwards) approaches infinity, and
the harmonic series is greater than that, so it must be divergent.
Alternating Series
Advanced Explanation:
To show WHY, first we start with a square of area 1, and then pair up the minus
and plus fractions to show how they cut the area down to the area under the
curve y=1/x between 1 and 2:
∫
1
(As an interesting exercise, see if those rectangles really do make the area
shown!)