SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Sequences
o Sequences represent ordered lists of elements.
o OR a list of elements usually written in a row.
• 1, 2, 3, 4, 5, …1, 1/2, 1/3, 1/4, 1/5, …
o A sequence is defined as a function from a subset
of N to a set S. We use the notation an to denote
the image of the integer n. We call an a term of the
sequence.
– N={1, 2, 3, …} /whole numbers {0, 1, 2, 3, …}.
– S: { 2 4 6 8 10 …}
– {an} =a1, a2, a3, a4 …, an, …
Explicit Formula
o It is convenient to describe a sequence with a
formula.
o S: { 2 4 6 8 10 …}
o an = 2n
o 1, 3, 5, 7, 9, … an = 2n – 1
o 2, 5, 10, 17, 26, … an = n2 + 1
o Find formula for
o
1 1 1 1 1 1 1
1 , , , ,
2 2 3 3 4 4 5
    L
1 1
for all integers 1
1
kb n
k k
  

ARITHMETIC SEQUENCE
o Every term after the first is obtained from the
preceding term by adding a constant number
o The difference of any two consecutive terms is
called the common difference d
o 5, 9, 13, 17, … d= 4
ARITHMETIC SEQUENCE
o Let a be the first term and d be the common difference
of an arithmetic sequence. Then the sequence is a,
a+d, a+2d, …
a1 = first term = a = a + (1-1) d
a2 = second term = a + d = a + (2-1) d
By symmetry
an = nth term = a + (n - 1)d for all integers n 1.
• 3, 9, 15, 21, …
Here a = 3
d = 9 - 3 = 6
n = 20
a20 = ?
Since an = a + (n - 1) d;
a20 = 3 + (20 - 1) 6
= 3 + 114
= 117
GEOMETRIC SEQUENCE
o Every term after the first is obtained from the
preceding term by multiplying it with a constant
number (called the common ratio “r”)is called a
geometric sequence or geometric progression
(G.P.).
1, 2, 4, 8, 16, … (common ratio = 2)
an = nth term = arn-1; for all integers n  1
a, ar, ar2, ar3, …
SEQUENCES IN COMPUTER
PROGRAMMING
o An important data type in computer programming consists
of finite sequences known as one-dimensional arrays;
o The names of k students in a class may be
represented by an array of k elements “name”
as:
name [0], name[1], name[2], …, name[k-1]
SERIES
o The sum of the terms of a sequence forms a series.
– If a1, a2, a3, … represent a sequence of numbers, then the
corresponding series is
– a1 + a2 + a3 + …
o Summations
• =am + am+1 + am+2 + … + an.
• j is called the index of summation,
running from its lower limit m to its
upper limit n.
o Compute 𝑗=1
4
𝑗2
1+4+9+16=30
o 𝑗=1
3
2𝑗 − 1 =1+3+5=9
Summation Notation to Expanded
Form
o Write expanded form of
1 ( 1) 1 ( 1) ( 1)
1 2 3 4 1
1 1 1 ( 1)
1
2 3 4 1
n
n
n
n
  
     


     

L
L
0 1 2 3
0
( 1) ( 1) ( 1) ( 1) ( 1) ( 1)
1 0 1 1 1 2 1 3 1 1
i nn
i i n
     
     
     
 L
Induction
oThe principle of mathematical induction is
a useful tool for proving that a certain
predicate is true for all natural numbers.
Induction
o If we have a propositional function P(n), and we want
to prove that P(n) is true for any natural number n, we
do the following:
1. Show that P(1) is true.
(basis step)
2. Show that if P(n) then P(n + 1) for any n  N.
(inductive step)
3. Then P(n) must be true for any n  N.
(conclusion)
Induction
1. Basis Step:
P(1) is true.
For n = 1, left hand side of P(1) is the sum of all the
successive integers starting at 1 and ending at 1,
so LHS = 1 and RHS is
1(1 1) 2
. . 1
2 2
R H S

  
( 1)
( ):1 2 3
2
n n
P n n

    L
Induction
2. Inductive Step: Suppose P(k) is true for,
some integers k  1
I.
To prove P(k + 1) is true. That is,
II.
( 1)
1 2 3
2
k k
k

    L
( 1)( 2)
1 2 3 ( 1)
2
k k
k
 
     L
Induction
Consider L.H.S. of (2)
Hence by principle of Mathematical Induction the given
result true for all integers greater or equal to 1
1 2 3 ( 1) 1 2 3 ( 1)
( 1)
( 1) using (1)
2
( 1) 1
2
2
( 1)
2
( 1)( 2)
RHS of (2)
2
k k k
k k
k
k
k
k
k
k k
           

  
 
    
 
    
 
 
L L
Induction
o 1+3+5+…+(2n -1) = n2 for all integers n ≥1.
o Let P(n) be the equation 1+3+5+…+(2n -1) = n2
o Show that P(1) is true.
(basis step)
For n = 1, L.H.S of P(1) = 1 and
R.H.S =2(1)-1 = 1
Hence the equation is true for n = 1
Induction
o Suppose P(k) is true for some integer k ≥ 1.
(inductive step)
1 + 3 + 5 + … + (2k - 1) = k2 …………………(1)
To prove P(k+1) is true; i.e.,
1 + 3 + 5 + … +[2(k+1)-1] = (k+1)2 ………….……(2)
Consider L.H.S. of (2)
Thus P(k+1) is also true. Hence by mathematical induction, the given
equation is true for all integers n ≥ 1
2
2
1 3 5 [2( 1) 1] 1 3 5 (2 1)
1 3 5 (2 1) (2 1)
(2 1) using (1)
( 1)
R.H.S. of (2)
k k
k k
k k
k
           
       
  
 

L L
L

Weitere ähnliche Inhalte

Was ist angesagt?

GENERAL MATHEMATICS Module 1: Review on Functions
GENERAL MATHEMATICS Module 1: Review on FunctionsGENERAL MATHEMATICS Module 1: Review on Functions
GENERAL MATHEMATICS Module 1: Review on FunctionsGalina Panela
 
Sequences and Series (Mathematics)
Sequences and Series (Mathematics) Sequences and Series (Mathematics)
Sequences and Series (Mathematics) Dhrumil Maniar
 
Arithmetic and geometric_sequences
Arithmetic and geometric_sequencesArithmetic and geometric_sequences
Arithmetic and geometric_sequencesMohamed Gibreel
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical inductionDhruvSethi28
 
Sequences and series
Sequences and seriesSequences and series
Sequences and seriesrey castro
 
Geometric sequences and series
Geometric sequences and seriesGeometric sequences and series
Geometric sequences and seriesHuereka
 
Sequence and Series Word File || Discrete Structure
Sequence and Series Word File || Discrete StructureSequence and Series Word File || Discrete Structure
Sequence and Series Word File || Discrete StructureZain Abid
 
Lecture 5 6_7 - divide and conquer and method of solving recurrences
Lecture 5 6_7 - divide and conquer and method of solving recurrencesLecture 5 6_7 - divide and conquer and method of solving recurrences
Lecture 5 6_7 - divide and conquer and method of solving recurrencesjayavignesh86
 
Sequence and series
Sequence and series Sequence and series
Sequence and series Sukhtej Sethi
 
Sequence and Series in Discrete Structure
Sequence and Series in Discrete Structure Sequence and Series in Discrete Structure
Sequence and Series in Discrete Structure Zain Abid
 
Introduction to sequences and series
Introduction to sequences and seriesIntroduction to sequences and series
Introduction to sequences and seriesMaxTorresdey
 
Lesson 11: Functions and Function Notation
Lesson 11: Functions and Function NotationLesson 11: Functions and Function Notation
Lesson 11: Functions and Function NotationKevin Johnson
 
Introduction of sequence
Introduction of sequenceIntroduction of sequence
Introduction of sequenceKARAN PANCHAL
 
Math induction
Math inductionMath induction
Math inductionasel_d
 
Functional Notations
Functional NotationsFunctional Notations
Functional NotationsGalina Panela
 

Was ist angesagt? (20)

GENERAL MATHEMATICS Module 1: Review on Functions
GENERAL MATHEMATICS Module 1: Review on FunctionsGENERAL MATHEMATICS Module 1: Review on Functions
GENERAL MATHEMATICS Module 1: Review on Functions
 
Sequences and Series (Mathematics)
Sequences and Series (Mathematics) Sequences and Series (Mathematics)
Sequences and Series (Mathematics)
 
Arithmetic and geometric_sequences
Arithmetic and geometric_sequencesArithmetic and geometric_sequences
Arithmetic and geometric_sequences
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical induction
 
Sequences and series
Sequences and seriesSequences and series
Sequences and series
 
Geometric sequences and series
Geometric sequences and seriesGeometric sequences and series
Geometric sequences and series
 
Sequence and Series Word File || Discrete Structure
Sequence and Series Word File || Discrete StructureSequence and Series Word File || Discrete Structure
Sequence and Series Word File || Discrete Structure
 
Mathematical Induction DM
Mathematical Induction DMMathematical Induction DM
Mathematical Induction DM
 
Lecture 5 6_7 - divide and conquer and method of solving recurrences
Lecture 5 6_7 - divide and conquer and method of solving recurrencesLecture 5 6_7 - divide and conquer and method of solving recurrences
Lecture 5 6_7 - divide and conquer and method of solving recurrences
 
Sequence and series
Sequence and series Sequence and series
Sequence and series
 
Sequence and Series in Discrete Structure
Sequence and Series in Discrete Structure Sequence and Series in Discrete Structure
Sequence and Series in Discrete Structure
 
Introduction to sequences and series
Introduction to sequences and seriesIntroduction to sequences and series
Introduction to sequences and series
 
Chapter i
Chapter iChapter i
Chapter i
 
Lesson 11: Functions and Function Notation
Lesson 11: Functions and Function NotationLesson 11: Functions and Function Notation
Lesson 11: Functions and Function Notation
 
Introduction of sequence
Introduction of sequenceIntroduction of sequence
Introduction of sequence
 
Math induction
Math inductionMath induction
Math induction
 
Functional Notations
Functional NotationsFunctional Notations
Functional Notations
 
Module 2 topic 1 notes
Module 2 topic 1 notesModule 2 topic 1 notes
Module 2 topic 1 notes
 
Sol56
Sol56Sol56
Sol56
 
Function and graphs
Function and graphsFunction and graphs
Function and graphs
 

Andere mochten auch

Jakvaeduragi foreldrar2016
Jakvaeduragi foreldrar2016Jakvaeduragi foreldrar2016
Jakvaeduragi foreldrar2016ingileif2507
 
Hvetjandi viðtalstækni og kennslufræðileg forysta
Hvetjandi viðtalstækni og kennslufræðileg forystaHvetjandi viðtalstækni og kennslufræðileg forysta
Hvetjandi viðtalstækni og kennslufræðileg forystaingileif2507
 
AN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISED
AN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISEDAN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISED
AN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISEDIwobe Kingsley S.
 
LinkedIn - Disassembling Dalvik Bytecode
LinkedIn - Disassembling Dalvik BytecodeLinkedIn - Disassembling Dalvik Bytecode
LinkedIn - Disassembling Dalvik BytecodeAlain Leon
 
B2. activity and intent
B2. activity and intentB2. activity and intent
B2. activity and intentPERKYTORIALS
 
NCC common syllabus for B and C certificate examination
NCC common syllabus for B and C certificate examination NCC common syllabus for B and C certificate examination
NCC common syllabus for B and C certificate examination Dr. Sanjay Sawant Dessai
 
Language Teachers' Target Language (LTTL): Assessing Student Writing
Language Teachers' Target Language (LTTL): Assessing Student WritingLanguage Teachers' Target Language (LTTL): Assessing Student Writing
Language Teachers' Target Language (LTTL): Assessing Student Writingtatianaershovamsu
 
The Evolving Role of Payments In a Customer Centric World
The Evolving Role of Payments In a Customer Centric World The Evolving Role of Payments In a Customer Centric World
The Evolving Role of Payments In a Customer Centric World Chargebee
 

Andere mochten auch (11)

Jakvaeduragi foreldrar2016
Jakvaeduragi foreldrar2016Jakvaeduragi foreldrar2016
Jakvaeduragi foreldrar2016
 
Autismo
AutismoAutismo
Autismo
 
Hvetjandi viðtalstækni og kennslufræðileg forysta
Hvetjandi viðtalstækni og kennslufræðileg forystaHvetjandi viðtalstækni og kennslufræðileg forysta
Hvetjandi viðtalstækni og kennslufræðileg forysta
 
#tarea2 mta2016a
#tarea2 mta2016a#tarea2 mta2016a
#tarea2 mta2016a
 
AN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISED
AN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISEDAN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISED
AN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISED
 
LinkedIn - Disassembling Dalvik Bytecode
LinkedIn - Disassembling Dalvik BytecodeLinkedIn - Disassembling Dalvik Bytecode
LinkedIn - Disassembling Dalvik Bytecode
 
B2. activity and intent
B2. activity and intentB2. activity and intent
B2. activity and intent
 
NCC common syllabus for B and C certificate examination
NCC common syllabus for B and C certificate examination NCC common syllabus for B and C certificate examination
NCC common syllabus for B and C certificate examination
 
Language Teachers' Target Language (LTTL): Assessing Student Writing
Language Teachers' Target Language (LTTL): Assessing Student WritingLanguage Teachers' Target Language (LTTL): Assessing Student Writing
Language Teachers' Target Language (LTTL): Assessing Student Writing
 
Sample question paper math Class XI CBSE
Sample question paper math Class XI CBSESample question paper math Class XI CBSE
Sample question paper math Class XI CBSE
 
The Evolving Role of Payments In a Customer Centric World
The Evolving Role of Payments In a Customer Centric World The Evolving Role of Payments In a Customer Centric World
The Evolving Role of Payments In a Customer Centric World
 

Ähnlich wie Sequences

Series in Discrete Structure || Computer Science
Series in Discrete Structure || Computer ScienceSeries in Discrete Structure || Computer Science
Series in Discrete Structure || Computer ScienceMubasharGhazi
 
Arithmetic Progression & Geometric ProgresionP
Arithmetic Progression & Geometric ProgresionPArithmetic Progression & Geometric ProgresionP
Arithmetic Progression & Geometric ProgresionPibha1234
 
Arithmetic And Geometric Progressions
Arithmetic And Geometric ProgressionsArithmetic And Geometric Progressions
Arithmetic And Geometric ProgressionsFinni Rice
 
6.sequences and series Further Mathematics Zimbabwe Zimsec Cambridge
6.sequences and series   Further Mathematics Zimbabwe Zimsec Cambridge6.sequences and series   Further Mathematics Zimbabwe Zimsec Cambridge
6.sequences and series Further Mathematics Zimbabwe Zimsec Cambridgealproelearning
 
mathematical induction and stuff Induction.pptx
mathematical induction and stuff Induction.pptxmathematical induction and stuff Induction.pptx
mathematical induction and stuff Induction.pptxZenLooper
 
Unit-1 DAA_Notes.pdf
Unit-1 DAA_Notes.pdfUnit-1 DAA_Notes.pdf
Unit-1 DAA_Notes.pdfAmayJaiswal4
 
sequence and series.docx
sequence and series.docxsequence and series.docx
sequence and series.docxGetachew Mulaw
 
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdfnassorokayanda9412
 
Arithmetic sequence in elementary and HS
Arithmetic sequence in elementary and HSArithmetic sequence in elementary and HS
Arithmetic sequence in elementary and HSRoseEdenAbitong2
 
Lecture 4 - Growth of Functions (1).ppt
Lecture 4 - Growth of Functions (1).pptLecture 4 - Growth of Functions (1).ppt
Lecture 4 - Growth of Functions (1).pptZohairMughal1
 
Lecture 4 - Growth of Functions.ppt
Lecture 4 - Growth of Functions.pptLecture 4 - Growth of Functions.ppt
Lecture 4 - Growth of Functions.pptZohairMughal1
 
(678215997) neethutext
(678215997) neethutext(678215997) neethutext
(678215997) neethutextneethumaths
 
10-Sequences and summation.pptx
10-Sequences and summation.pptx10-Sequences and summation.pptx
10-Sequences and summation.pptxjaffarbikat
 

Ähnlich wie Sequences (20)

Series in Discrete Structure || Computer Science
Series in Discrete Structure || Computer ScienceSeries in Discrete Structure || Computer Science
Series in Discrete Structure || Computer Science
 
Per4 induction
Per4 inductionPer4 induction
Per4 induction
 
Arithmetic Progression & Geometric ProgresionP
Arithmetic Progression & Geometric ProgresionPArithmetic Progression & Geometric ProgresionP
Arithmetic Progression & Geometric ProgresionP
 
Ap gp
Ap gpAp gp
Ap gp
 
Arithmetic And Geometric Progressions
Arithmetic And Geometric ProgressionsArithmetic And Geometric Progressions
Arithmetic And Geometric Progressions
 
Task 4
Task 4Task 4
Task 4
 
6.sequences and series Further Mathematics Zimbabwe Zimsec Cambridge
6.sequences and series   Further Mathematics Zimbabwe Zimsec Cambridge6.sequences and series   Further Mathematics Zimbabwe Zimsec Cambridge
6.sequences and series Further Mathematics Zimbabwe Zimsec Cambridge
 
Sequence of DM
Sequence of  DM Sequence of  DM
Sequence of DM
 
mathematical induction and stuff Induction.pptx
mathematical induction and stuff Induction.pptxmathematical induction and stuff Induction.pptx
mathematical induction and stuff Induction.pptx
 
Unit-1 DAA_Notes.pdf
Unit-1 DAA_Notes.pdfUnit-1 DAA_Notes.pdf
Unit-1 DAA_Notes.pdf
 
sequence and series.docx
sequence and series.docxsequence and series.docx
sequence and series.docx
 
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
 
Arithmetic sequence in elementary and HS
Arithmetic sequence in elementary and HSArithmetic sequence in elementary and HS
Arithmetic sequence in elementary and HS
 
Lecture 4 - Growth of Functions (1).ppt
Lecture 4 - Growth of Functions (1).pptLecture 4 - Growth of Functions (1).ppt
Lecture 4 - Growth of Functions (1).ppt
 
Lecture 4 - Growth of Functions.ppt
Lecture 4 - Growth of Functions.pptLecture 4 - Growth of Functions.ppt
Lecture 4 - Growth of Functions.ppt
 
Lecture5
Lecture5Lecture5
Lecture5
 
(678215997) neethutext
(678215997) neethutext(678215997) neethutext
(678215997) neethutext
 
10-Sequences and summation.pptx
10-Sequences and summation.pptx10-Sequences and summation.pptx
10-Sequences and summation.pptx
 
Sequences And Series
Sequences And SeriesSequences And Series
Sequences And Series
 
Sequence function
Sequence functionSequence function
Sequence function
 

Mehr von Abdur Rehman

Financial accounting
Financial accountingFinancial accounting
Financial accountingAbdur Rehman
 
Valid & invalid arguments
Valid & invalid argumentsValid & invalid arguments
Valid & invalid argumentsAbdur Rehman
 
Proving existential statements
Proving existential statementsProving existential statements
Proving existential statementsAbdur Rehman
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proofAbdur Rehman
 
Proofs by contraposition
Proofs by contrapositionProofs by contraposition
Proofs by contrapositionAbdur Rehman
 
Converse, contrapositive, inverse
Converse, contrapositive, inverseConverse, contrapositive, inverse
Converse, contrapositive, inverseAbdur Rehman
 
Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)Abdur Rehman
 
Application of bases
Application of basesApplication of bases
Application of basesAbdur Rehman
 
Intro to disceret structure
Intro to disceret structureIntro to disceret structure
Intro to disceret structureAbdur Rehman
 
logic, preposition etc
logic, preposition etclogic, preposition etc
logic, preposition etcAbdur Rehman
 

Mehr von Abdur Rehman (18)

Financial accounting
Financial accountingFinancial accounting
Financial accounting
 
Dscrete structure
Dscrete  structureDscrete  structure
Dscrete structure
 
Valid & invalid arguments
Valid & invalid argumentsValid & invalid arguments
Valid & invalid arguments
 
Sets
SetsSets
Sets
 
Recursion
RecursionRecursion
Recursion
 
Queue
QueueQueue
Queue
 
Quantification
QuantificationQuantification
Quantification
 
Proving existential statements
Proving existential statementsProving existential statements
Proving existential statements
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proof
 
Proofs by contraposition
Proofs by contrapositionProofs by contraposition
Proofs by contraposition
 
Laws in disceret
Laws in disceretLaws in disceret
Laws in disceret
 
Converse, contrapositive, inverse
Converse, contrapositive, inverseConverse, contrapositive, inverse
Converse, contrapositive, inverse
 
Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)
 
Application of bases
Application of basesApplication of bases
Application of bases
 
Truth table
Truth tableTruth table
Truth table
 
Intro to disceret structure
Intro to disceret structureIntro to disceret structure
Intro to disceret structure
 
Dst lec3
Dst lec3Dst lec3
Dst lec3
 
logic, preposition etc
logic, preposition etclogic, preposition etc
logic, preposition etc
 

Kürzlich hochgeladen

How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationNeilDeclaro1
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactisticshameyhk98
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 

Kürzlich hochgeladen (20)

How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 

Sequences

  • 1.
  • 2. Sequences o Sequences represent ordered lists of elements. o OR a list of elements usually written in a row. • 1, 2, 3, 4, 5, …1, 1/2, 1/3, 1/4, 1/5, … o A sequence is defined as a function from a subset of N to a set S. We use the notation an to denote the image of the integer n. We call an a term of the sequence. – N={1, 2, 3, …} /whole numbers {0, 1, 2, 3, …}. – S: { 2 4 6 8 10 …} – {an} =a1, a2, a3, a4 …, an, …
  • 3. Explicit Formula o It is convenient to describe a sequence with a formula. o S: { 2 4 6 8 10 …} o an = 2n o 1, 3, 5, 7, 9, … an = 2n – 1 o 2, 5, 10, 17, 26, … an = n2 + 1 o Find formula for o 1 1 1 1 1 1 1 1 , , , , 2 2 3 3 4 4 5     L 1 1 for all integers 1 1 kb n k k    
  • 4. ARITHMETIC SEQUENCE o Every term after the first is obtained from the preceding term by adding a constant number o The difference of any two consecutive terms is called the common difference d o 5, 9, 13, 17, … d= 4
  • 5. ARITHMETIC SEQUENCE o Let a be the first term and d be the common difference of an arithmetic sequence. Then the sequence is a, a+d, a+2d, … a1 = first term = a = a + (1-1) d a2 = second term = a + d = a + (2-1) d By symmetry an = nth term = a + (n - 1)d for all integers n 1. • 3, 9, 15, 21, … Here a = 3 d = 9 - 3 = 6 n = 20 a20 = ? Since an = a + (n - 1) d; a20 = 3 + (20 - 1) 6 = 3 + 114 = 117
  • 6. GEOMETRIC SEQUENCE o Every term after the first is obtained from the preceding term by multiplying it with a constant number (called the common ratio “r”)is called a geometric sequence or geometric progression (G.P.). 1, 2, 4, 8, 16, … (common ratio = 2) an = nth term = arn-1; for all integers n  1 a, ar, ar2, ar3, …
  • 7. SEQUENCES IN COMPUTER PROGRAMMING o An important data type in computer programming consists of finite sequences known as one-dimensional arrays; o The names of k students in a class may be represented by an array of k elements “name” as: name [0], name[1], name[2], …, name[k-1]
  • 8. SERIES o The sum of the terms of a sequence forms a series. – If a1, a2, a3, … represent a sequence of numbers, then the corresponding series is – a1 + a2 + a3 + … o Summations • =am + am+1 + am+2 + … + an. • j is called the index of summation, running from its lower limit m to its upper limit n. o Compute 𝑗=1 4 𝑗2 1+4+9+16=30 o 𝑗=1 3 2𝑗 − 1 =1+3+5=9
  • 9. Summation Notation to Expanded Form o Write expanded form of 1 ( 1) 1 ( 1) ( 1) 1 2 3 4 1 1 1 1 ( 1) 1 2 3 4 1 n n n n                   L L 0 1 2 3 0 ( 1) ( 1) ( 1) ( 1) ( 1) ( 1) 1 0 1 1 1 2 1 3 1 1 i nn i i n                    L
  • 10. Induction oThe principle of mathematical induction is a useful tool for proving that a certain predicate is true for all natural numbers.
  • 11. Induction o If we have a propositional function P(n), and we want to prove that P(n) is true for any natural number n, we do the following: 1. Show that P(1) is true. (basis step) 2. Show that if P(n) then P(n + 1) for any n  N. (inductive step) 3. Then P(n) must be true for any n  N. (conclusion)
  • 12. Induction 1. Basis Step: P(1) is true. For n = 1, left hand side of P(1) is the sum of all the successive integers starting at 1 and ending at 1, so LHS = 1 and RHS is 1(1 1) 2 . . 1 2 2 R H S     ( 1) ( ):1 2 3 2 n n P n n      L
  • 13. Induction 2. Inductive Step: Suppose P(k) is true for, some integers k  1 I. To prove P(k + 1) is true. That is, II. ( 1) 1 2 3 2 k k k      L ( 1)( 2) 1 2 3 ( 1) 2 k k k        L
  • 14. Induction Consider L.H.S. of (2) Hence by principle of Mathematical Induction the given result true for all integers greater or equal to 1 1 2 3 ( 1) 1 2 3 ( 1) ( 1) ( 1) using (1) 2 ( 1) 1 2 2 ( 1) 2 ( 1)( 2) RHS of (2) 2 k k k k k k k k k k k k                                   L L
  • 15. Induction o 1+3+5+…+(2n -1) = n2 for all integers n ≥1. o Let P(n) be the equation 1+3+5+…+(2n -1) = n2 o Show that P(1) is true. (basis step) For n = 1, L.H.S of P(1) = 1 and R.H.S =2(1)-1 = 1 Hence the equation is true for n = 1
  • 16. Induction o Suppose P(k) is true for some integer k ≥ 1. (inductive step) 1 + 3 + 5 + … + (2k - 1) = k2 …………………(1) To prove P(k+1) is true; i.e., 1 + 3 + 5 + … +[2(k+1)-1] = (k+1)2 ………….……(2) Consider L.H.S. of (2) Thus P(k+1) is also true. Hence by mathematical induction, the given equation is true for all integers n ≥ 1 2 2 1 3 5 [2( 1) 1] 1 3 5 (2 1) 1 3 5 (2 1) (2 1) (2 1) using (1) ( 1) R.H.S. of (2) k k k k k k k                           L L L