Está en la página 1de 2

Análisis y Diseño de Algoritmos I

Semestre I - 2023

Algunas sumatorias para tener en cuenta

Serie aritmética
𝑛𝑛
1
� 𝑘𝑘 = 1 + 2 + 3 + ⋯ + 𝑛𝑛 = 𝑛𝑛 ∗ (𝑛𝑛 + 1)
2
𝑘𝑘=1

Serie de cuadrados
𝑛𝑛
1
� 𝑘𝑘 2 = 1 + 4 + 9 + ⋯ + 𝑛𝑛2 = 𝑛𝑛 ∗ (𝑛𝑛 + 1) ∗ (2𝑛𝑛 + 1)
6
𝑘𝑘=1

Serie de cubos
𝑛𝑛
1
� 𝑘𝑘 3 = 1 + 8 + 27 + ⋯ + 𝑛𝑛3 = 𝑛𝑛2 ∗ (𝑛𝑛 + 1)2
4
𝑘𝑘=1

Serie geométrica
𝑛𝑛
(𝑥𝑥 𝑛𝑛+ 1 − 1)
� 𝑥𝑥 𝑘𝑘 = 𝑥𝑥 0 + 𝑥𝑥 1 + 𝑥𝑥 2 + 𝑥𝑥 3 + ⋯ + 𝑥𝑥 𝑛𝑛 =
(𝑥𝑥 − 1 )
𝑘𝑘=0

1
� 𝑥𝑥 𝑘𝑘 = 𝑠𝑠𝑠𝑠 |𝑥𝑥| < 1
1 − 𝑥𝑥
𝑘𝑘=0

Serie armónica
𝑛𝑛
1 1 1 1
� = 1 + + + ⋯ + = ln 𝑛𝑛 + 𝑂𝑂(1)
𝑘𝑘 2 3 𝑛𝑛
𝑘𝑘=1

Algunas propiedades de sumatorias


Para cualquier número real c y cualquier tripleta de secuencias finitas
𝑎𝑎1 , 𝑎𝑎2 , … , 𝑎𝑎𝑛𝑛 ; 𝑏𝑏1 , 𝑏𝑏2 , … , 𝑏𝑏𝑛𝑛 𝑦𝑦 𝑐𝑐1 , 𝑐𝑐2 , … , 𝑐𝑐𝑛𝑛 , se tienen las siguientes propiedades:

Propiedad conmutativa
𝑛𝑛

�(𝑎𝑎𝑘𝑘 + 𝑏𝑏𝑘𝑘 ) = 𝑎𝑎1 + 𝑏𝑏1 + 𝑎𝑎2 + 𝑏𝑏2 + ⋯ + 𝑎𝑎𝑛𝑛 + 𝑏𝑏𝑛𝑛


𝑘𝑘=1
𝑛𝑛

= 𝑏𝑏1 + 𝑎𝑎1 + 𝑏𝑏2 + 𝑎𝑎2 + ⋯ + 𝑏𝑏𝑛𝑛 + 𝑎𝑎𝑛𝑛 = �(𝑏𝑏𝑘𝑘 + 𝑎𝑎𝑘𝑘 )


𝑘𝑘=1

Propiedad asociativa
𝑛𝑛 𝑛𝑛

�(𝑎𝑎𝑘𝑘 + 𝑏𝑏𝑘𝑘 ) + � 𝑐𝑐𝑘𝑘 = 𝑎𝑎1 + 𝑏𝑏1 + 𝑎𝑎2 + 𝑏𝑏2 + ⋯ + 𝑎𝑎𝑛𝑛 + 𝑏𝑏𝑛𝑛 + 𝑐𝑐1 + 𝑐𝑐2 + ⋯ + 𝑐𝑐𝑘𝑘
𝑘𝑘=1 𝑘𝑘=1
= 𝑎𝑎1 + 𝑎𝑎2 + … + 𝑎𝑎𝑛𝑛 + 𝑏𝑏1 + 𝑐𝑐1 + 𝑏𝑏2 + 𝑐𝑐2 + … + 𝑏𝑏𝑛𝑛 + 𝑐𝑐𝑛𝑛
𝑛𝑛 𝑛𝑛 𝑛𝑛

= � 𝑎𝑎𝑘𝑘 + �(𝑏𝑏𝑘𝑘 + 𝑐𝑐𝑘𝑘 ) = �( 𝑎𝑎𝑘𝑘 + 𝑏𝑏𝑘𝑘 + 𝑐𝑐𝑘𝑘 )


𝑘𝑘=1 𝑘𝑘=1 𝑘𝑘=1

Propiedad distributiva
𝑛𝑛 𝑛𝑛

𝑐𝑐 ∗ � 𝑎𝑎𝑘𝑘 = 𝑐𝑐 ∗ ( 𝑎𝑎1 + 𝑎𝑎2 + … + 𝑎𝑎𝑛𝑛 ) = 𝑐𝑐 ∗ 𝑎𝑎1 + 𝑐𝑐 ∗ 𝑎𝑎2 + ⋯ + 𝑐𝑐 ∗ 𝑎𝑎𝑛𝑛 = �(𝑐𝑐 ∗ 𝑎𝑎𝑘𝑘 )


𝑘𝑘=1 𝑘𝑘=1

Otras propiedades:

• El sumatorio de un valor constante (independiente del índice) es igual a la


constante multiplicada por el número de sumandos:
𝑛𝑛

� 𝑐𝑐 = 𝑐𝑐 + 𝑐𝑐 + ⋯ + 𝑐𝑐 = 𝑛𝑛 ∗ 𝑐𝑐
𝑘𝑘=1

• Propiedad asociativa + distributiva


𝑛𝑛 𝑛𝑛 𝑛𝑛

�(𝑐𝑐𝑎𝑎𝑘𝑘 + 𝑏𝑏𝑘𝑘 ) = 𝑐𝑐 ∗ � 𝑎𝑎𝑘𝑘 + � 𝑏𝑏𝑘𝑘


𝑘𝑘=1 𝑘𝑘=1 𝑘𝑘=1

• Los valores recorridos por el índice se pueden separar en varias sumatorias:

𝑛𝑛 𝑛𝑛0 𝑛𝑛

� 𝑎𝑎𝑘𝑘 = � 𝑎𝑎𝑘𝑘 + � 𝑎𝑎𝑘𝑘


𝑘𝑘=1 𝑘𝑘=1 𝑘𝑘= 𝑛𝑛𝑜𝑜+ 1

También podría gustarte