SlideShare uma empresa Scribd logo
1 de 19
Sequences,
Mathematical Induction
    and Recursion
SEQUENCES
Definition :
ordered set of mathematical objects.
EXAMPLE PROBLEM
Find the sum of all the integers from 1 to 1000.

The sequence of integers starting from 1 to 1000 is given by

1 , 2 , 3 , 4 , ... , 1000



   The above sequence has 1000 terms. The first term is 1 and the last term is
1000 and the common difference is equal to 1. We have the formula that
gives the sum of the first n terms of an arithmetic sequence knowing the
first and last term of the sequence and the number of terms (see formula
above).

s1000 = 1000 (1 + 1000) / 2 = 500500
TYPE OF SEQUENCE


             Sequeance


                           Special
Arithmetic   Geometric
                          Integers
Sequences    Sequences
                         Sequence
WHAT IS ARITHMETIC SEQUENCE
In an Arithmetic Sequence the difference between one term and the next
is a constant.
In other words, you just add the same value each time ... infinitely.
In General you could write an arithmetic sequence like this:
{a, a+d, a+2d, a+3d, ... }
where:
a is the first term, and
d is the difference between the terms (called the "common difference")
Geometric Sequence
In a Geometric Sequence each term is found by multiplying the previous term
by a constant.




In General you could write a Geometric Sequence like this:
  {a, ar, ar2, ar3, ... }
where:
   a is the first term, and

  r is the factor between the terms (called the
"common ratio")
SPECIAL INTEGER SEQUENCE
 Triangular    • This Triangular Number Sequence is generated from a pattern of dots
                 which form a triangle.
 Numbers
   Square      • Square numbers, better known as perfect squares, are an integer
                 which is the product of that integer with itself.
  Numbers
  Fibonacci    • The Fibonacci Sequence is found by adding the two numbers before it
                 together.
  Numbers
               • A cube number sequence is a mathematical sequence consisting of a

Cube Numbers     sequence in which the next term originates by multiplying the
                 number 3 times with itself, or in other words, raising it to the power of
                 three
Triangular Numbers

An example of this type of number sequence could be the
following:
1, 3, 6, 10, 15, 21, 28, 36, 45, …
This sequence is generated from a pattern of dots which
form a triangle. By adding another row of dots and
counting all the dots we can find the next number of the
sequence.
Continue….
Square Numbers
1, 4, 9, 16, 25, 36, 49, 64, 81, …
The next number is made by squaring where it is in the pattern.
The second number is 2 squared (22 or 2 2)
The seventh number is 7 squared (7 2 or 7 7) etc
Fibonacci Numbers

0, 1, 1, 2, 3, 5, 8, 13, 21, 34, …
The Fibonacci Sequence is found by adding the two numbers before it
together.
The 2 is found by adding the two numbers before it (1+1)
The 21 is found by adding the two numbers before it (8+13)
The next number in the sequence above would be 55 (21+34)
Cube Numbers

1, 8, 27, 64, 125, 216, 343, 512, 729, …
The next number is made by cubing where it is in the
pattern.
The second number is 2 cubed (23 or 2 2 2)
The seventh number is 7 cubed (7 3 or 7 7 7) etc
Give 1 example sequences use in computer programming


Sequence in computer programming is the default control structure, instructions are
executed one after another. They might, for example, carry out a series of arithmetic
operations, assigning results to variables


Example:-
Make a list number of 100 students that attend “seminar keusahawanan”.


Pseudocode
BEGIN
            Declare a list as an array with 100 elements
        for (int student = 0, student<100; student++){
                list[student] = student + 1  (arithmetic operation)
                print list[student]
        }
END
Answer:
No.Student = 0
Print list[student] = 1
No.Student = 1
Print list[student] = 2
.
.
.
.
Print list[student] = 99
No.Student = 100
Source Code
public class sequences {
         public static void main(String[] args) {
      int list [] = new int[100];
         for(int student = 0; student<100; student++) {
                   list[student] = student + 1;
                   System.out.println(list[student]);
                   }
         }


}
PRINCIPLE OF MATHEMATICAL INDUCTION
                 &
          METHOD OF PROOF
PRINCIPLE OF MATHEMATICAL INDUCTION
  To prove that P(n) is true for all positive integers n, where P(n)
is a propositional funtion


METHOD OF PROOF
1) BASIS STEP: We verify that P(1) is true.
2) INDUCTIVE STEP: We show that the conditional statement
                    P(k) → P(k + 1) is true for all positive
                    integers k.
Problem1:
Show that if n is a positive integer, then
1 + 2 + ... + n = n(n + 1)/2.
BASIC STEP: P(1),
             1 = 1(1 + 1)/2
1 =1 (RHS=LHS)
INDUCTIVE STEP: we assume that 1 + 2 + ... + k = k(k + 1)/2
it must be shown that P(k + 1) is true,
1 + 2 + ... + k + ( k +1) = (k + 1)[( k+ 1) (k +1) + 1] /2 = (k + 1)(k + 2)/ 2


Add k +1 to both sides of the equation P(k)


1 + 2 + ... + k + (k +1) = k(k +1) /2 + (k +1)
                      = k(k +1 ) + 2 (k +1 )/2
                      = (k + 1) (k + 2)/2
Task4 present

Mais conteúdo relacionado

Mais procurados (20)

Advance algebra
Advance algebraAdvance algebra
Advance algebra
 
Advance algebra
Advance algebraAdvance algebra
Advance algebra
 
Arithmetic and geometric_sequences
Arithmetic and geometric_sequencesArithmetic and geometric_sequences
Arithmetic and geometric_sequences
 
Algebra
AlgebraAlgebra
Algebra
 
Introduction to sequences and series
Introduction to sequences and seriesIntroduction to sequences and series
Introduction to sequences and series
 
Polynomials
PolynomialsPolynomials
Polynomials
 
11.2 Arithmetic Sequences and Series
11.2 Arithmetic Sequences and Series11.2 Arithmetic Sequences and Series
11.2 Arithmetic Sequences and Series
 
Sequences and series
Sequences and seriesSequences and series
Sequences and series
 
polynomial
 polynomial  polynomial
polynomial
 
Sequence and Series
Sequence and SeriesSequence and Series
Sequence and Series
 
11.1 Sequences and Series
11.1 Sequences and Series11.1 Sequences and Series
11.1 Sequences and Series
 
Arithmetic Sequences
Arithmetic SequencesArithmetic Sequences
Arithmetic Sequences
 
Arithmetic Sequence
Arithmetic SequenceArithmetic Sequence
Arithmetic Sequence
 
Binomial Theorem, Recursion ,Tower of Honai, relations
Binomial Theorem, Recursion ,Tower of Honai, relationsBinomial Theorem, Recursion ,Tower of Honai, relations
Binomial Theorem, Recursion ,Tower of Honai, relations
 
Binomial
BinomialBinomial
Binomial
 
Arithmetic sequences
Arithmetic sequencesArithmetic sequences
Arithmetic sequences
 
Introduction of sequence
Introduction of sequenceIntroduction of sequence
Introduction of sequence
 
Maths project work - Arithmetic Sequences
Maths project work - Arithmetic SequencesMaths project work - Arithmetic Sequences
Maths project work - Arithmetic Sequences
 
Polynomials part 1
Polynomials part 1Polynomials part 1
Polynomials part 1
 
THE BINOMIAL THEOREM
THE BINOMIAL THEOREM THE BINOMIAL THEOREM
THE BINOMIAL THEOREM
 

Destaque

Sulpcegu5e ppt 12_4
Sulpcegu5e ppt 12_4Sulpcegu5e ppt 12_4
Sulpcegu5e ppt 12_4silvia
 
Math induction
Math inductionMath induction
Math inductionasel_d
 
Mevlana celaleddin rumi
Mevlana celaleddin rumiMevlana celaleddin rumi
Mevlana celaleddin rumisenguldeniz
 
01 1 mathematical induction
01 1 mathematical induction01 1 mathematical induction
01 1 mathematical inductionHerry Wijaya
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical inductionSman Abbasi
 
Mathematical induction and divisibility rules
Mathematical induction and divisibility rulesMathematical induction and divisibility rules
Mathematical induction and divisibility rulesDawood Faheem Abbasi
 
5.4 mathematical induction
5.4 mathematical induction5.4 mathematical induction
5.4 mathematical inductionmath260
 
mathematical induction
mathematical inductionmathematical induction
mathematical inductionankush_kumar
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical inductionKriti Varshney
 

Destaque (15)

Lecture 17 induction
Lecture 17 inductionLecture 17 induction
Lecture 17 induction
 
Sulpcegu5e ppt 12_4
Sulpcegu5e ppt 12_4Sulpcegu5e ppt 12_4
Sulpcegu5e ppt 12_4
 
Math induction
Math inductionMath induction
Math induction
 
5.1 Induction
5.1 Induction5.1 Induction
5.1 Induction
 
Text s1 21
Text s1 21Text s1 21
Text s1 21
 
Mevlana celaleddin rumi
Mevlana celaleddin rumiMevlana celaleddin rumi
Mevlana celaleddin rumi
 
01 1 mathematical induction
01 1 mathematical induction01 1 mathematical induction
01 1 mathematical induction
 
Fskik 1 nota
Fskik 1   notaFskik 1   nota
Fskik 1 nota
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical induction
 
Mathematical induction and divisibility rules
Mathematical induction and divisibility rulesMathematical induction and divisibility rules
Mathematical induction and divisibility rules
 
5.4 mathematical induction
5.4 mathematical induction5.4 mathematical induction
5.4 mathematical induction
 
mathematical induction
mathematical inductionmathematical induction
mathematical induction
 
Task 4
Task 4Task 4
Task 4
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
 
Per4 induction
Per4 inductionPer4 induction
Per4 induction
 

Semelhante a Task4 present

Arithmetic Sequence and Arithmetic Series
Arithmetic Sequence and Arithmetic SeriesArithmetic Sequence and Arithmetic Series
Arithmetic Sequence and Arithmetic SeriesJoey Valdriz
 
Arithmetic And Geometric Progressions
Arithmetic And Geometric ProgressionsArithmetic And Geometric Progressions
Arithmetic And Geometric ProgressionsFinni Rice
 
Geometric the power of math by rivsal fredy
Geometric the power of math by rivsal fredyGeometric the power of math by rivsal fredy
Geometric the power of math by rivsal fredyRivsal Fredy
 
Math lecture 7 (Arithmetic Sequence)
Math lecture 7 (Arithmetic Sequence)Math lecture 7 (Arithmetic Sequence)
Math lecture 7 (Arithmetic Sequence)Osama Zahid
 
Arithmetic progression
Arithmetic progressionArithmetic progression
Arithmetic progressionlashika madaan
 
Arithmetic and geometric mean
Arithmetic and geometric meanArithmetic and geometric mean
Arithmetic and geometric meanRekhaChoudhary24
 
P2-Chp3-SequencesAndSeries from pure maths 2.pptx
P2-Chp3-SequencesAndSeries from pure maths 2.pptxP2-Chp3-SequencesAndSeries from pure maths 2.pptx
P2-Chp3-SequencesAndSeries from pure maths 2.pptxArafathAliMathsTeach
 
sequence and series.docx
sequence and series.docxsequence and series.docx
sequence and series.docxGetachew Mulaw
 
Applied Math 40S June 2 AM, 2008
Applied Math 40S June 2 AM, 2008Applied Math 40S June 2 AM, 2008
Applied Math 40S June 2 AM, 2008Darren Kuropatwa
 
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdfnassorokayanda9412
 
Business mathematics presentation
Business mathematics presentationBusiness mathematics presentation
Business mathematics presentationSourov Shaha Suvo
 
Sequences and Series (S&S GAME) - Barisan dan Deret.pdf
Sequences and Series (S&S GAME) - Barisan dan Deret.pdfSequences and Series (S&S GAME) - Barisan dan Deret.pdf
Sequences and Series (S&S GAME) - Barisan dan Deret.pdfDiah Lutfiana Dewi
 
Funciones generadoras (2)
Funciones generadoras (2)Funciones generadoras (2)
Funciones generadoras (2)SebastianPea63
 
ARITHMETIC SEQUENCE, MEAN AND SERIES WEEK 2 QUARTER 1
ARITHMETIC SEQUENCE, MEAN AND SERIES WEEK 2 QUARTER 1ARITHMETIC SEQUENCE, MEAN AND SERIES WEEK 2 QUARTER 1
ARITHMETIC SEQUENCE, MEAN AND SERIES WEEK 2 QUARTER 1AraceliLynPalomillo
 
Week 2: Arithmetic sequence
Week 2:  Arithmetic sequenceWeek 2:  Arithmetic sequence
Week 2: Arithmetic sequenceRozzel Palacio
 
DIGITAL TEXT BOOK
DIGITAL TEXT BOOKDIGITAL TEXT BOOK
DIGITAL TEXT BOOKbintu55
 
Arithmetic sequences and series
Arithmetic sequences and seriesArithmetic sequences and series
Arithmetic sequences and seriesJJkedst
 

Semelhante a Task4 present (20)

Arithmetic Sequence and Arithmetic Series
Arithmetic Sequence and Arithmetic SeriesArithmetic Sequence and Arithmetic Series
Arithmetic Sequence and Arithmetic Series
 
Ap gp
Ap gpAp gp
Ap gp
 
Arithmetic And Geometric Progressions
Arithmetic And Geometric ProgressionsArithmetic And Geometric Progressions
Arithmetic And Geometric Progressions
 
Geometric the power of math by rivsal fredy
Geometric the power of math by rivsal fredyGeometric the power of math by rivsal fredy
Geometric the power of math by rivsal fredy
 
Math lecture 7 (Arithmetic Sequence)
Math lecture 7 (Arithmetic Sequence)Math lecture 7 (Arithmetic Sequence)
Math lecture 7 (Arithmetic Sequence)
 
Arithmetic progression
Arithmetic progressionArithmetic progression
Arithmetic progression
 
Arithmetic and geometric mean
Arithmetic and geometric meanArithmetic and geometric mean
Arithmetic and geometric mean
 
P2-Chp3-SequencesAndSeries from pure maths 2.pptx
P2-Chp3-SequencesAndSeries from pure maths 2.pptxP2-Chp3-SequencesAndSeries from pure maths 2.pptx
P2-Chp3-SequencesAndSeries from pure maths 2.pptx
 
sequence and series.docx
sequence and series.docxsequence and series.docx
sequence and series.docx
 
Applied Math 40S June 2 AM, 2008
Applied Math 40S June 2 AM, 2008Applied Math 40S June 2 AM, 2008
Applied Math 40S June 2 AM, 2008
 
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
 
Business mathematics presentation
Business mathematics presentationBusiness mathematics presentation
Business mathematics presentation
 
Sequences and Series (S&S GAME) - Barisan dan Deret.pdf
Sequences and Series (S&S GAME) - Barisan dan Deret.pdfSequences and Series (S&S GAME) - Barisan dan Deret.pdf
Sequences and Series (S&S GAME) - Barisan dan Deret.pdf
 
Funciones generadoras (2)
Funciones generadoras (2)Funciones generadoras (2)
Funciones generadoras (2)
 
ARITHMETIC SEQUENCE, MEAN AND SERIES WEEK 2 QUARTER 1
ARITHMETIC SEQUENCE, MEAN AND SERIES WEEK 2 QUARTER 1ARITHMETIC SEQUENCE, MEAN AND SERIES WEEK 2 QUARTER 1
ARITHMETIC SEQUENCE, MEAN AND SERIES WEEK 2 QUARTER 1
 
Week 2: Arithmetic sequence
Week 2:  Arithmetic sequenceWeek 2:  Arithmetic sequence
Week 2: Arithmetic sequence
 
Applied 40S May 28, 2009
Applied 40S May 28, 2009Applied 40S May 28, 2009
Applied 40S May 28, 2009
 
DIGITAL TEXT BOOK
DIGITAL TEXT BOOKDIGITAL TEXT BOOK
DIGITAL TEXT BOOK
 
Arithmetic progression
Arithmetic progressionArithmetic progression
Arithmetic progression
 
Arithmetic sequences and series
Arithmetic sequences and seriesArithmetic sequences and series
Arithmetic sequences and series
 

Task4 present

  • 2. SEQUENCES Definition : ordered set of mathematical objects.
  • 3. EXAMPLE PROBLEM Find the sum of all the integers from 1 to 1000. The sequence of integers starting from 1 to 1000 is given by 1 , 2 , 3 , 4 , ... , 1000 The above sequence has 1000 terms. The first term is 1 and the last term is 1000 and the common difference is equal to 1. We have the formula that gives the sum of the first n terms of an arithmetic sequence knowing the first and last term of the sequence and the number of terms (see formula above). s1000 = 1000 (1 + 1000) / 2 = 500500
  • 4. TYPE OF SEQUENCE Sequeance Special Arithmetic Geometric Integers Sequences Sequences Sequence
  • 5. WHAT IS ARITHMETIC SEQUENCE In an Arithmetic Sequence the difference between one term and the next is a constant. In other words, you just add the same value each time ... infinitely.
  • 6. In General you could write an arithmetic sequence like this: {a, a+d, a+2d, a+3d, ... } where: a is the first term, and d is the difference between the terms (called the "common difference")
  • 7. Geometric Sequence In a Geometric Sequence each term is found by multiplying the previous term by a constant. In General you could write a Geometric Sequence like this: {a, ar, ar2, ar3, ... } where: a is the first term, and r is the factor between the terms (called the "common ratio")
  • 8. SPECIAL INTEGER SEQUENCE Triangular • This Triangular Number Sequence is generated from a pattern of dots which form a triangle. Numbers Square • Square numbers, better known as perfect squares, are an integer which is the product of that integer with itself. Numbers Fibonacci • The Fibonacci Sequence is found by adding the two numbers before it together. Numbers • A cube number sequence is a mathematical sequence consisting of a Cube Numbers sequence in which the next term originates by multiplying the number 3 times with itself, or in other words, raising it to the power of three
  • 9. Triangular Numbers An example of this type of number sequence could be the following: 1, 3, 6, 10, 15, 21, 28, 36, 45, … This sequence is generated from a pattern of dots which form a triangle. By adding another row of dots and counting all the dots we can find the next number of the sequence.
  • 11. Square Numbers 1, 4, 9, 16, 25, 36, 49, 64, 81, … The next number is made by squaring where it is in the pattern. The second number is 2 squared (22 or 2 2) The seventh number is 7 squared (7 2 or 7 7) etc
  • 12. Fibonacci Numbers 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, … The Fibonacci Sequence is found by adding the two numbers before it together. The 2 is found by adding the two numbers before it (1+1) The 21 is found by adding the two numbers before it (8+13) The next number in the sequence above would be 55 (21+34)
  • 13. Cube Numbers 1, 8, 27, 64, 125, 216, 343, 512, 729, … The next number is made by cubing where it is in the pattern. The second number is 2 cubed (23 or 2 2 2) The seventh number is 7 cubed (7 3 or 7 7 7) etc
  • 14. Give 1 example sequences use in computer programming Sequence in computer programming is the default control structure, instructions are executed one after another. They might, for example, carry out a series of arithmetic operations, assigning results to variables Example:- Make a list number of 100 students that attend “seminar keusahawanan”. Pseudocode BEGIN Declare a list as an array with 100 elements for (int student = 0, student<100; student++){ list[student] = student + 1  (arithmetic operation) print list[student] } END
  • 15. Answer: No.Student = 0 Print list[student] = 1 No.Student = 1 Print list[student] = 2 . . . . Print list[student] = 99 No.Student = 100
  • 16. Source Code public class sequences { public static void main(String[] args) { int list [] = new int[100]; for(int student = 0; student<100; student++) { list[student] = student + 1; System.out.println(list[student]); } } }
  • 17. PRINCIPLE OF MATHEMATICAL INDUCTION & METHOD OF PROOF PRINCIPLE OF MATHEMATICAL INDUCTION To prove that P(n) is true for all positive integers n, where P(n) is a propositional funtion METHOD OF PROOF 1) BASIS STEP: We verify that P(1) is true. 2) INDUCTIVE STEP: We show that the conditional statement P(k) → P(k + 1) is true for all positive integers k.
  • 18. Problem1: Show that if n is a positive integer, then 1 + 2 + ... + n = n(n + 1)/2. BASIC STEP: P(1), 1 = 1(1 + 1)/2 1 =1 (RHS=LHS) INDUCTIVE STEP: we assume that 1 + 2 + ... + k = k(k + 1)/2 it must be shown that P(k + 1) is true, 1 + 2 + ... + k + ( k +1) = (k + 1)[( k+ 1) (k +1) + 1] /2 = (k + 1)(k + 2)/ 2 Add k +1 to both sides of the equation P(k) 1 + 2 + ... + k + (k +1) = k(k +1) /2 + (k +1) = k(k +1 ) + 2 (k +1 )/2 = (k + 1) (k + 2)/2