DefinitionSequence: It is an ordered list of objects. It can be finite or infinite. The elements may repeat themselves more than once in the sequence, and their ordering is important unlike a set
Arithmetic ProgressionsDefinitionIt is a special type of sequence in which the difference between successive terms is constant.
General Terman=an−1+d=a1+(n−1)d ai is the ith term
d is the common difference
a1 is the first term
Defining PropertiesEach of the following is necessary & sufficient for a sequence to be an AP :
- ai−ai−1= Constant
- If you pick any 3 consecutive terms, the middle one is the mean of the other two
- For all i,j > k >= 1 : ai−aki−k=aj−akj−k
SummationThe sum of an infinite AP can never be finite except if
a1=0 &
d=0The general sum of a n term AP with common difference d is given by
n2(2a+(n−1)d)The sum formula may be re-written as
n∗Avg(a1,an)=n2∗(FirstTerm+LastTerm)Examples- All odd positive integers : {1,3,5,7,...} a1=1,d=2
- All positive multiples of 23 : {23,46,69,92,...} a1=23,d=23
- All negative reals with decimal part 0.1 : {-0.1,-1.1,-2.1,-3.1,...} a1=−0.1,d=−1
Geometric ProgressionsDefinitionIt is a special type of sequence in which the ratio of consequetive terms is constant
General Termbn=bn−1∗r=a1∗rn−1 bi is the ith term
r is the common ratio
b1 is the first term
Defining PropertiesEach of the following is necessary & sufficient for a sequence to be an GP :
- bibi−1= Constant
- If you pick any 3 consecutive terms, the middle one is the geometric mean of the other two
- For all i,j > k >= 1 : (bibk)j−k=(bjbk)i−k
SummationThe sum of an infinite GP will be finite if absolute value of r < 1
The general sum of a n term GP with common ratio r is given by
b1∗rn−1r−1If an infinite GP is summable (|r|<1) then the sum is
b11−rExamples- All positive powers of 2 : {1,2,4,8,...} b1=1,r=2
- All negative powers of 4 : {1/4,1/16,1/64,1/256,...} b1=1/4,r=1/4,sum=1/4(1−1/4)=(1/3)
Harmonic ProgressionsDefinitionIt is a special type of sequence in which if you take the inverse of every term, this new sequence forms an HP
Important PropertiesOf any three consecutive terms of a HP, the middle one is always the harmonic mean of the other two, where the harmonic mean (HM) is defined as :
12∗(1a+1b)=1HM(a,b)Or in other words :
HM(a,b)=2aba+bAPs, GPs, HPs : LinkageEach progression provides us a definition of "mean" :
Arithmetic Mean :
a+b2 OR
a1+..+annGeometric Mean :
√ab OR
(a1∗..∗an)1nHarmonic Mean :
2aba+b OR
n1a1+..+1anFor all non-negative real numbers : AM >= GM >= HM
In particular for 2 numbers : AM * HM = GM * GM
Example : Let a=50 and b=2,
then the AM = (50+2)*0.5 = 26 ;
the GM = sqrt(50*2) = 10 ;
the HM = (2*50*2)/(52) = 3.85
AM > GM > HM
AM*HM = 100 = GM^2