Chapterبەش 2 · Lectureوانە 2.2

Subscripts and Sigma (Σ) Notationژێرنووسەکان و نیشانەی سیگما (Σ)

How statistics names values with subscripts and writes long sums with Σ; Σ as a running total and as a loop; the summation rules 1–8 with numeric checks, why the printed “rule 9” is false, Examples (1) and (2) worked in full, common mistakes and a Python check.

چۆن بە ناو لە نرخەکان دەنێت و کۆی درێژ بە Σ دەنووسێت؛ Σ وەک کۆیەکی بەردەوام و وەک ؛ یاساکانی کۆکردنەوەی ⁦1–8⁩ بە پشکنینی ژمارەیی، بۆچی «یاسای 9»ـی چاپکراو هەڵەیە، نموونەکانی ⁦(1)⁩ و ⁦(2)⁩ بە تەواوی شیکراو، هەڵە باوەکان و پشکنین بە Python.

14 min read15 خولەک خوێندنەوە · 17 stepsهەنگاو

What you will learnچی فێر دەبیت

  • Read and write subscript notation XiX_i and sigma notation ∑i=1nXi\sum_{i=1}^{n} X_i.
  • Expand a sigma sum and compute it by hand with a table.
  • Use the summation rules for constants, sums and differences, and check each with numbers.
  • Tell ∑Xi2\sum X_i^2 from (∑Xi)2(\sum X_i)^2, and explain why ∑XiYi≠∑Xi∑Yi\sum \frac{X_i}{Y_i} \ne \frac{\sum X_i}{\sum Y_i}.
  • Connect Σ with a loop and check sums with Python's sum().
  • XiX_i و ∑i=1nXi\sum_{i=1}^{n} X_i بخوێنیتەوە و بنووسیت.
  • کۆیەکی سیگما بکەیتەوە و بە دەست و بە خشتە حسابی بکەیت.
  • یاساکانی کۆکردنەوە بۆ ، کۆ و جیاوازی بەکار بهێنیت و هەر یەکەیان بە ژمارە بپشکنیت.
  • ∑Xi2\sum X_i^2 لە (∑Xi)2(\sum X_i)^2 جیا بکەیتەوە و ڕوونی بکەیتەوە بۆچی ∑XiYi≠∑Xi∑Yi\sum \frac{X_i}{Y_i} \ne \frac{\sum X_i}{\sum Y_i}.
  • Σ بە ببەستیتەوە و کۆکان بە sum()ـی Python بپشکنیت.

Subscripts: naming every valueژێرنووسەکان: ناونانی هەموو نرخێک

Statistics works with lists of numbers: the marks of a class, the prices in a shop. We need a short way to talk about any one of them. If a XX takes nn values, we call them X1,X2,X3,…,XnX_1, X_2, X_3, \dots, X_n. The symbol XiX_i (read “X sub i”) means any one of these values.

لەگەڵ لیستی ژمارە کار دەکات: نمرەکانی پۆلێک، نرخەکانی دوکانێک. پێویستمان بە ڕێگایەکی کورتە بۆ قسەکردن دەربارەی هەر یەکێکیان. ئەگەر XX ژمارەی nn نرخ وەربگرێت، ناویان دەنێین X1,X2,X3,…,XnX_1, X_2, X_3, \dots, X_n. XiX_i (دەخوێنرێتەوە «X ژێر i») واتە هەر یەکێک لەم نرخانە.

The small letter ii is the (or ). It can stand for any of the numbers 1,2,3,…,n1, 2, 3, \dots, n and tells us which value we mean. If three students scored 8, 3 and 5, then X1=8X_1 = 8, X2=3X_2 = 3, X3=5X_3 = 5 and n=3n = 3.

پیتە بچووکەکەی ii (یان ). دەتوانێت هەر یەکێک لە ژمارەکانی 1,2,3,…,n1, 2, 3, \dots, n بنوێنێت و پێمان دەڵێت مەبەستمان کام نرخە. ئەگەر سێ خوێندکار نمرەی 8، 3 و 5یان هێنابێت، ئەوا X1=8X_1 = 8، X2=3X_2 = 3، X3=5X_3 = 5 و n=3n = 3.

Quick checkپشکنینی خێراThe data are 7, 2, 9, 4. What is X3X_3? بریتییە لە 7، 2، 9، 4. X3X_3 چەندە؟

Sigma (Σ): a short way to write a sumسیگما (Σ): ڕێگایەکی کورت بۆ نووسینی کۆکردنەوە

Definitionپێناسە

A short way to write a long sum with the Greek letter Σ\Sigma (sigma): ∑i=1nXi=X1+X2+⋯+Xn\sum_{i=1}^{n} X_i = X_1 + X_2 + \cdots + X_n. It works like a that adds every term.

ڕێگایەکی کورتە بۆ نووسینی کۆکردنەوەیەکی درێژ بە پیتی گریکیی Σ\Sigma (سیگما): ∑i=1nXi=X1+X2+⋯+Xn\sum_{i=1}^{n} X_i = X_1 + X_2 + \cdots + X_n. وەک کار دەکات کە هەموو بڕەکان کۆ دەکاتەوە.

Writing X1+X2+⋯+X100X_1 + X_2 + \cdots + X_{100} is long. Mathematicians use the capital Greek letter sigma, Σ\Sigma, which means “add up”. The below means: the sum of all XiX_i from i=1i = 1 to nn.

نووسینی X1+X2+⋯+X100X_1 + X_2 + \cdots + X_{100} درێژە. بیرکاریزانەکان پیتی گەورەی گریکیی سیگما، Σ\Sigma، بەکار دەهێنن کە واتە «کۆ بکەرەوە». ئەم خوارەوە واتە: کۆی هەموو XiX_iـەکان لە i=1i = 1ـەوە تا nn.

∑i=1nXi=X1+X2+X3+⋯+Xn\sum_{i=1}^{n} X_i = X_1 + X_2 + X_3 + \cdots + X_n
Left: the sigma sign with n above it (the last value of i), i = 1 below it (the first value of i) and X with subscript i after it (the term added each time). Right: the same sum as a loop: total ← 0; for i = 1 to n: total ← total + X i. At the end, total equals the sum.چەپ: هێمای Σ بە n لە سەرەوەی (دوایین نرخی i)، i = 1 لە خوارەوەی (یەکەم نرخی i) و X بە ژێرنووسی i لە دوایەوە (ئەو بڕەی هەر جارێک زیاد دەکرێت). ڕاست: هەمان کۆ وەک خولێک: total ← 0؛ for i = 1 to n: total ← total + X i. لە کۆتاییدا total یەکسانە بە کۆکە.
The parts of Σ notation, and the same sum written as a loop.بەشەکانی و هەمان کۆ کە وەک نووسراوە.CêIT

For X=2,4,6,2X = 2, 4, 6, 2 (n=4n = 4): ∑i=14Xi=2+4+6+2=14\sum_{i=1}^{4} X_i = 2 + 4 + 6 + 2 = 14. The limits may start or stop anywhere: ∑i=24Xi=4+6+2=12\sum_{i=2}^{4} X_i = 4 + 6 + 2 = 12. When the sum runs over all the values, people often write just ∑Xi\sum X_i or ∑X\sum X.

بۆ X=2,4,6,2X = 2, 4, 6, 2 (n=4n = 4): ∑i=14Xi=2+4+6+2=14\sum_{i=1}^{4} X_i = 2 + 4 + 6 + 2 = 14. سنوورەکان دەتوانن لە هەر شوێنێک دەست پێبکەن یان بوەستن: ∑i=24Xi=4+6+2=12\sum_{i=2}^{4} X_i = 4 + 6 + 2 = 12. کاتێک کۆکە هەموو نرخەکان دەگرێتەوە، زۆرجار تەنها ∑Xi\sum X_i یان ∑X\sum X دەنووسرێت.

Quick checkپشکنینی خێراFor X=2,4,6,2X = 2, 4, 6, 2, what is ∑i=13Xi\sum_{i=1}^{3} X_i?بۆ X=2,4,6,2X = 2, 4, 6, 2، ∑i=13Xi\sum_{i=1}^{3} X_i چەندە؟

Sequences, Factorials, and Summation NotationProfessor Dave Explains · Englishئینگلیزی · 194K viewsبینین · 4.2K likesلایک · Partبەشی 5:21–8:35 (ofلە 11:11)

How to read the capital sigma: the index starts at the bottom number, goes up to the top number, and every term is added.

چۆن سیگمای گەورە (Σ\Sigma) دەخوێنیتەوە: لە ژمارەی خوارەوە دەست پێدەکات، تا ژمارەی سەرەوە دەڕوات و هەموو بڕەکان کۆ دەکرێنەوە.

Watch 5:21–8:35, the summation-notation part; the rest is about sequences and the number e.

لە ⁦5:21⁩ تا ⁦8:35⁩ سەیر بکە، بەشی ؛ ئەوانی تری ڤیدیۆکە دەربارەی زنجیرەی ژمارەکان و .

Σ is a running totalΣ کۆیەکی بەردەوامە

You can think of ∑\sum as a machine that walks through the values one by one, adding each new term to a running total. Watch it add 2+4+6+22 + 4 + 6 + 2:

دەتوانیت ∑\sum وەک ئامێرێک ببینیت کە یەک بە یەک بە نرخەکاندا دەڕوات و هەر بڕێکی نوێ دەخاتە سەر کۆی تا ئێرە. سەیری بکە چۆن 2+4+6+22 + 4 + 6 + 2 کۆ دەکاتەوە:

Four boxes hold X₁ = 2, X₂ = 4, X₃ = 6 and X₄ = 2. The index i moves from 1 to 4, one box lights up at a time, and a running total shows 2, 6, 12 and finally 14. The last frame compares ΣXᵢ² = 4 + 16 + 36 + 4 = 60 with (ΣXᵢ)² = 14² = 196.
Four boxes hold X₁ = 2, X₂ = 4, X₃ = 6 and X₄ = 2. The index i moves from 1 to 4, one box lights up at a time, and a running total shows 2, 6, 12 and finally 14. The last frame compares ΣXᵢ² = 4 + 16 + 36 + 4 = 60 with (ΣXᵢ)² = 14² = 196.
The running total grows 2, 6, 12, 14. Squaring first gives 60; adding first and then squaring gives 196.کۆی تا ئێرە دەبێتە 2، 6، ⁦12⁩، ⁦14⁩. سەرەتا دووجاکردن ⁦60⁩ دەدات؛ سەرەتا کۆکردنەوە و پاشان دووجاکردن ⁦196⁩ دەدات.CêIT
The cashier at the bazaarحسابکەری بازاڕ

A cashier in the bazaar adds your items one by one: tea 3,000, sugar 2,000, rice 6,000. After each item the screen shows the total so far. When the last item is added, the screen shows the whole sum. That is exactly what ∑\sum does.

حسابکەرێک لە بازاڕدا کاڵاکانت یەک بە یەک کۆ دەکاتەوە: چا ⁦3,000⁩، شەکر ⁦2,000⁩، برنج ⁦6,000⁩. دوای هەر کاڵایەک کۆی تا ئێستا پیشان دەدات. کاتێک دوایین کاڵا زیاد دەکرێت، هەموو کۆکە پیشان دەدات. ئەمە ڕێک ئەوەیە کە ∑\sum دەیکات.

Where the analogy stops workingسنووری ئەم نموونەیە

A cashier can make a mistake or skip an item; the notation never does. And Σ can add numbers that are not prices at all, such as squares or products.

حسابکەر دەتوانێت هەڵە بکات یان کاڵایەک لەبیر بکات؛ نیشانەکە هەرگیز ئەوە ناکات. Σ دەتوانێت ژمارەی وا کۆ بکاتەوە کە هەرگیز نرخ نین، وەک دووجا یان لێکدراو.

A loop is a sigmaخول هەمان سیگمایە

The essay's research notes join the two worlds. In , repeating a block of code is called , and it is done with a . In mathematics, adding many terms is called summation and is written with the Greek sigma. They are the same idea: a that adds each value to a total computes ∑Xi\sum X_i.

تێبینییەکانی نامیلکەکە ئەم دوو جیهانە پێکەوە دەبەستن. لە دووبارەکردنەوەی بلۆکێک کۆد پێی دەگوترێت و بە ئەنجام دەدرێت. لە بیرکاریدا کۆکردنەوەی چەندین بڕ پێی دەگوترێت کۆکردنەوە ⁦(Summation)⁩ و بە سیگمای گریکی دەنووسرێت. هەمان بیرۆکەن: کە هەر نرخێک دەخاتە سەر کۆیەک، ∑Xi\sum X_i حساب دەکات.

Σ X in Python, twiceΣ X لە Pythonـدا، دوو جارPYTHONType in a terminalلە تێرمیناڵدا بینووسە
X = [2, 4, 6, 2]

total = 0
for x in X:
    total = total + x
print(total)

print(sum(X))
Explain the codeڕوونکردنەوەی کۆدەکە
Lineدێڕی 3

The running total starts at 0, like the empty sum.

کۆی تا ئێرە لە 0ـەوە دەست پێدەکات، وەک کۆی بەتاڵ.

Lineدێڕی 4-5

Each turn of the loop adds one term: 2, then 4, then 6, then 2.

لە هەر بڕێک زیاد دەکرێت: 2، پاشان 4، پاشان 6، پاشان 2.

Lineدێڕی 8

The sum() does the same loop for you.

sum() هەمان بۆت دەکات.

Quick checkپشکنینی خێراWhich line of the loop matches the term XiX_i being added in ∑Xi\sum X_i?کام دێڕی بەرامبەری زیادکردنی بڕی XiX_iـە لە ∑Xi\sum X_iـدا؟

Rules 1 and 2: square then add, or add then square?یاساکانی 1 و 2: سەرەتا دووجا یان سەرەتا کۆ؟

The first two rules look alike but give very different numbers. Rule 1 squares every value first and then adds. Rule 2 adds first and then squares the total once.

دوو یاسای یەکەم لە یەک دەچن بەڵام ژمارەی زۆر جیاواز دەدەن. یاسای 1 سەرەتا هەموو نرخێک دووجا دەکات و پاشان کۆیان دەکاتەوە. یاسای 2 سەرەتا کۆ دەکاتەوە و پاشان کۆکە یەک جار دووجا دەکات.

1)  ∑i=1nXi2=X12+X22+⋯+Xn22)  (∑i=1nXi)2=(X1+X2+⋯+Xn)2\begin{aligned} 1)\ \ \sum_{i=1}^{n} X_i^2 &= X_1^2 + X_2^2 + \cdots + X_n^2 \\ 2)\ \ \Big(\sum_{i=1}^{n} X_i\Big)^2 &= (X_1 + X_2 + \cdots + X_n)^2 \end{aligned}

Line 1 is rule 1 (square, then add); line 2 is rule 2 (add, then square).

دێڕی 1 یاسای 1ـە (سەرەتا دووجا، پاشان کۆ)؛ دێڕی 2 یاسای 2ـە (سەرەتا کۆ، پاشان دووجا).

∑Xi2=22+42+62+22=4+16+36+4=60(∑Xi)2=(2+4+6+2)2=142=196\begin{aligned} \textstyle\sum X_i^2 &= 2^2 + 4^2 + 6^2 + 2^2 = 4 + 16 + 36 + 4 = 60 \\ \Big(\textstyle\sum X_i\Big)^2 &= (2 + 4 + 6 + 2)^2 = 14^2 = 196 \end{aligned}

Numeric check with X=2,4,6,2X = 2, 4, 6, 2: 60 is not 196, so ∑Xi2≠(∑Xi)2\sum X_i^2 \ne (\sum X_i)^2.

پشکنینی ژمارەیی بە X=2,4,6,2X = 2, 4, 6, 2: ⁦60⁩ یەکسان نییە بە ⁦196⁩، بۆیە ∑Xi2≠(∑Xi)2\sum X_i^2 \ne (\sum X_i)^2.

Quick checkپشکنینی خێراFor X=1,2,3X = 1, 2, 3, what is ∑Xi2\sum X_i^2?بۆ X=1,2,3X = 1, 2, 3، ∑Xi2\sum X_i^2 چەندە؟

Rules 3 and 4: two variablesیاساکانی 3 و 4: دوو گۆڕاو

With two variables XX and YY measured on the same members, rule 3 multiplies each pair XiYiX_iY_i and then adds. Rule 4 adds each variable separately and then multiplies the two totals.

بە دوو XX و YY کە لەسەر هەمان ئەندامەکان پێورراون، یاسای 3 هەر جووتێکی XiYiX_iY_i لێک دەدات و پاشان کۆیان دەکاتەوە. یاسای 4 هەر بە جیا کۆ دەکاتەوە و پاشان دوو کۆکە لێک دەدات.

3)  ∑i=1nXiYi=X1Y1+X2Y2+⋯+XnYn4)  (∑i=1nXi)(∑i=1nYi)=(X1+⋯+Xn)(Y1+⋯+Yn)\begin{aligned} 3)\ \ \sum_{i=1}^{n} X_iY_i &= X_1Y_1 + X_2Y_2 + \cdots + X_nY_n \\ 4)\ \ \Big(\sum_{i=1}^{n} X_i\Big)\Big(\sum_{i=1}^{n} Y_i\Big) &= (X_1 + \cdots + X_n)(Y_1 + \cdots + Y_n) \end{aligned}

Line 3 is rule 3 (multiply each pair, then add); line 4 is rule 4 (add each variable, then multiply the totals).

دێڕی 3 یاسای 3ـە (هەر جووتێک لێک بدە، پاشان کۆ)؛ دێڕی 4 یاسای 4ـە (هەر کۆ بکەرەوە، پاشان دوو کۆکە لێک بدە).

X=2,4,6,2X = 2, 4, 6, 2 and Y=3,9,6,1Y = 3, 9, 6, 1X=2,4,6,2X = 2, 4, 6, 2 و Y=3,9,6,1Y = 3, 9, 6, 1
iiXiX_iYiY_iXiYiX_iY_i
1236
24936
36636
4212
Sumکۆ141980

Rule 3 gives ∑XiYi=80\sum X_iY_i = 80, but rule 4 gives (∑Xi)(∑Yi)=14×19=266(\sum X_i)(\sum Y_i) = 14 \times 19 = 266. Again, the order of “multiply” and “add” changes the answer.

یاسای 3 ∑XiYi=80\sum X_iY_i = 80 دەدات، بەڵام یاسای 4 (∑Xi)(∑Yi)=14×19=266(\sum X_i)(\sum Y_i) = 14 \times 19 = 266 دەدات. دیسان ڕیزبەندیی «لێکدان» و «کۆکردنەوە» وەڵامەکە دەگۆڕێت.

Quick checkپشکنینی خێراWhich is true for the table above?بۆ خشتەکەی سەرەوە کامیان ڕاستە؟

Rules 5 and 6: constantsیاساکانی 5 و 6: نەگۆڕەکان

A CC is a number that does not depend on ii. Rule 5: adding the same constant nn times gives nCnC. Rule 6: a constant factor can come out in front of the sum, because every term contains it (this is the distributive law).

CC ژمارەیەکە کە پەیوەندیی بە iiـەوە نییە. یاسای 5: کۆکردنەوەی هەمان بە ژمارەی nn جار دەکاتە nCnC. یاسای 6: کە لە هەموو بڕەکاندا هەیە دەتوانێت بچێتە پێش کۆکە (ئەمە ).

5)  ∑i=1nC=C+C+⋯+C⏟n=nC6)  ∑i=1nCXi=C∑i=1nXi\begin{aligned} 5)\ \ \sum_{i=1}^{n} C &= \underbrace{C + C + \cdots + C}_{n} = nC \\ 6)\ \ \sum_{i=1}^{n} CX_i &= C\sum_{i=1}^{n} X_i \end{aligned}

Rule 5: the constant CC is written nn times, once for each value of ii. Rule 6: the constant factor comes out in front of the sum.

یاسای 5: CC بە ژمارەی nn جار دەنووسرێت، بۆ هەر نرخێکی ii جارێک. یاسای 6: دەچێتە پێش کۆکە.

∑i=143=3+3+3+3=4×3=12∑3Xi=6+12+18+6=42=3×14\begin{aligned} \textstyle\sum_{i=1}^{4} 3 &= 3 + 3 + 3 + 3 = 4 \times 3 = 12 \\ \textstyle\sum 3X_i &= 6 + 12 + 18 + 6 = 42 = 3 \times 14 \end{aligned}

Numeric check with C=3C = 3, n=4n = 4 and X=2,4,6,2X = 2, 4, 6, 2.

پشکنینی ژمارەیی بە C=3C = 3، n=4n = 4 و X=2,4,6,2X = 2, 4, 6, 2.

Quick checkپشکنینی خێراWhat is ∑i=1105\sum_{i=1}^{10} 5?∑i=1105\sum_{i=1}^{10} 5 چەندە؟

Rules 7 and 8: sums of sumsیاساکانی 7 و 8: کۆی کۆکان

Rule 7: a sum of several variables can be split into separate sums. Rule 8 is the special case where one of them is a constant: adding CC to every value adds nCnC to the total, not just CC.

یاسای 7: کۆی چەند دەتوانرێت بۆ چەند کۆیەکی جیا جیا بکرێتەوە. یاسای 8 حاڵەتێکی تایبەتە کە یەکێکیان : زیادکردنی CC بۆ هەموو نرخێک nCnC دەخاتە سەر کۆکە، نەک تەنها CC.

7)  ∑i=1n(Xi+Yi+Zi)=∑i=1nXi+∑i=1nYi+∑i=1nZi8)  ∑i=1n(Xi+C)=∑i=1nXi+nC\begin{aligned} 7)\ \ \sum_{i=1}^{n} (X_i + Y_i + Z_i) &= \sum_{i=1}^{n} X_i + \sum_{i=1}^{n} Y_i + \sum_{i=1}^{n} Z_i \\ 8)\ \ \sum_{i=1}^{n} (X_i + C) &= \sum_{i=1}^{n} X_i + nC \end{aligned}

Line 7 is rule 7 (split a sum of variables); line 8 is rule 8 (a constant added to every value adds nCnC).

دێڕی 7 یاسای 7ـە (کۆی چەند جیا بکەرەوە)؛ دێڕی 8 یاسای 8ـە (زیادکردنی بۆ هەموو نرخێک nCnC زیاد دەکات).

∑(Xi+Yi+Zi)=10+13+14+4=41=14+19+8∑(Xi+3)=5+7+9+5=26=14+4×3\begin{aligned} \textstyle\sum (X_i + Y_i + Z_i) &= 10 + 13 + 14 + 4 = 41 = 14 + 19 + 8 \\ \textstyle\sum (X_i + 3) &= 5 + 7 + 9 + 5 = 26 = 14 + 4 \times 3 \end{aligned}

Numeric check with X=2,4,6,2X = 2, 4, 6, 2, Y=3,9,6,1Y = 3, 9, 6, 1, Z=5,0,2,1Z = 5, 0, 2, 1 and C=3C = 3. Forgetting the nn would give 14+3=1714 + 3 = 17, which is wrong.

پشکنینی ژمارەیی بە X=2,4,6,2X = 2, 4, 6, 2، Y=3,9,6,1Y = 3, 9, 6, 1، Z=5,0,2,1Z = 5, 0, 2, 1 و C=3C = 3. لەبیرکردنی nn دەیکاتە 14+3=1714 + 3 = 17 کە هەڵەیە.

The same rule works with minus: ∑(Xi−C)=∑Xi−nC\sum (X_i - C) = \sum X_i - nC.

هەمان یاسا لەگەڵ کەمکردنەوەش کار دەکات: ∑(Xi−C)=∑Xi−nC\sum (X_i - C) = \sum X_i - nC.

Quick checkپشکنینی خێراFor X=2,4,6,2X = 2, 4, 6, 2, what is ∑(Xi−2)\sum (X_i - 2)?بۆ X=2,4,6,2X = 2, 4, 6, 2، ∑(Xi−2)\sum (X_i - 2) چەندە؟

“Rule 9” is false«یاسای 9» هەڵەیە

The lecturer's sheet prints a ninth rule, and a later homework (H.W 10) asks: “Is it true or not?”

پەڕەکەی مامۆستاکە یاسایەکی نۆیەم چاپ دەکات و ئەرکێکی دواتر ⁦(H.W 10)⁩ دەپرسێت: «ئایا ڕاستە یان نا؟»

∑i=1nXiYi=?∑i=1nXi∑i=1nYi\sum_{i=1}^{n} \frac{X_i}{Y_i} \overset{?}{=} \frac{\sum_{i=1}^{n} X_i}{\sum_{i=1}^{n} Y_i}

The general lesson. Σ passes through plus and minus (rules 7–8) and lets a constant factor out (rule 6). It does not pass through multiplication of variables, division, squares, square roots or logarithms: ∑XiYi≠∑Xi∑Yi\sum X_iY_i \ne \sum X_i \sum Y_i, ∑Xi2≠(∑Xi)2\sum X_i^2 \ne (\sum X_i)^2, ∑XiYi≠∑Xi∑Yi\sum \frac{X_i}{Y_i} \ne \frac{\sum X_i}{\sum Y_i}.

وانە گشتییەکە. Σ بە کۆ و کەمکردنەوەدا تێدەپەڕێت (یاساکانی ⁦7–8⁩) و ڕێگا دەدات بچێتە دەرەوە (یاسای ⁦6⁩). بە لێکدانی ، دابەشکردن، دووجا، یان تێناپەڕێت: ∑XiYi≠∑Xi∑Yi\sum X_iY_i \ne \sum X_i \sum Y_i، ∑Xi2≠(∑Xi)2\sum X_i^2 \ne (\sum X_i)^2، ∑XiYi≠∑Xi∑Yi\sum \frac{X_i}{Y_i} \ne \frac{\sum X_i}{\sum Y_i}.

Quick checkپشکنینی خێراIs ∑XiYi=∑Xi∑Yi\sum \frac{X_i}{Y_i} = \frac{\sum X_i}{\sum Y_i} true in general?ئایا ∑XiYi=∑Xi∑Yi\sum \frac{X_i}{Y_i} = \frac{\sum X_i}{\sum Y_i} بە گشتی ڕاستە؟

Example (1): worked items 1–3نموونەی ⁦(1)⁩: بڕگەکانی ⁦1–3⁩ بە شیکردنەوە

Let Xi=2,4,6,2X_i = 2, 4, 6, 2 and Yi=3,9,6,1Y_i = 3, 9, 6, 1 for i=1,…,4i = 1, \dots, 4. The best way to work by hand is a table: one column for each piece, then add each column.

با Xi=2,4,6,2X_i = 2, 4, 6, 2 و Yi=3,9,6,1Y_i = 3, 9, 6, 1 بن بۆ i=1,…,4i = 1, \dots, 4. باشترین ڕێگا بۆ کارکردن بە دەست خشتەیەکە: ستوونێک بۆ هەر پارچەیەک، پاشان هەر ستوونێک کۆ بکەرەوە.

Example (1), items 1–3 as one tableنموونەی ⁦(1)⁩، بڕگەکانی ⁦1–3⁩ لە یەک خشتەدا
iiXiX_iYiY_i(Yi−Xi)2(Y_i - X_i)^2(Xi−3)(Yi−5)(X_i - 3)(Y_i - 5)XiYi2X_iY_i^2
12312=11^2 = 1(−1)(−2)=2(-1)(-2) = 22⋅9=182 \cdot 9 = 18
24952=255^2 = 25(1)(4)=4(1)(4) = 44⋅81=3244 \cdot 81 = 324
36602=00^2 = 0(3)(1)=3(3)(1) = 36⋅36=2166 \cdot 36 = 216
421(−1)2=1(-1)^2 = 1(−1)(−4)=4(-1)(-4) = 42⋅1=22 \cdot 1 = 2
Sumکۆ14192713560
1) ∑(Yi−Xi)2=1+25+0+1=272) ∑(Xi−3)(Yi−5)=2+4+3+4=133) ∑XiYi2=18+324+216+2=560\begin{aligned} 1)\ \textstyle\sum (Y_i - X_i)^2 &= 1 + 25 + 0 + 1 = 27 \\ 2)\ \textstyle\sum (X_i - 3)(Y_i - 5) &= 2 + 4 + 3 + 4 = 13 \\ 3)\ \textstyle\sum X_iY_i^2 &= 18 + 324 + 216 + 2 = 560 \end{aligned}

Notice in item 3 that only YY is squared, not XX.

لە بڕگەی 3دا ئاگادار بە کە تەنها YY دووجا دەکرێت، نەک XX.

Quick checkپشکنینی خێراIn item 2, why is the first product (2−3)(3−5)=+2(2 - 3)(3 - 5) = +2?لە بڕگەی 2دا، بۆچی یەکەم لێکدراو (2−3)(3−5)=+2(2 - 3)(3 - 5) = +2ـە؟

Example (1): homework items 4–9نموونەی ⁦(1)⁩: ئەرکەکانی ⁦4–9⁩

The lecturer left items 4 to 9 as homework. Try each one, then open the answer. Use the totals ∑Xi=14\sum X_i = 14, ∑Yi=19\sum Y_i = 19, ∑Yi2=127\sum Y_i^2 = 127 and ∑XiYi=80\sum X_iY_i = 80, with n=4n = 4.

مامۆستاکە بڕگەکانی 4 تا 9ی وەک ئەرک بەجێهێشت. هەر یەکێکیان تاقی بکەرەوە، پاشان وەڵامەکە بکەرەوە. کۆکانی ∑Xi=14\sum X_i = 14، ∑Yi=19\sum Y_i = 19، ∑Yi2=127\sum Y_i^2 = 127 و ∑XiYi=80\sum X_iY_i = 80 بەکار بهێنە، لەگەڵ n=4n = 4.

ExerciseڕاهێنانItem 4بڕگەی 4

Find ∑(Xi−2)\sum (X_i - 2).

∑(Xi−2)\sum (X_i - 2) بدۆزەوە.

Show answerوەڵامەکە پیشان بدە
∑(Xi−2)=∑Xi−2n=14−8=6\textstyle\sum (X_i - 2) = \sum X_i - 2n = 14 - 8 = 6

Longhand: 0+2+4+0=60 + 2 + 4 + 0 = 6.

بە درێژی: 0+2+4+0=60 + 2 + 4 + 0 = 6.

ExerciseڕاهێنانItem 5بڕگەی 5

Find ∑(Yi−4)\sum (Y_i - 4).

∑(Yi−4)\sum (Y_i - 4) بدۆزەوە.

Show answerوەڵامەکە پیشان بدە
∑(Yi−4)=19−4×4=3\textstyle\sum (Y_i - 4) = 19 - 4 \times 4 = 3

Longhand: −1+5+2−3=3-1 + 5 + 2 - 3 = 3.

بە درێژی: −1+5+2−3=3-1 + 5 + 2 - 3 = 3.

ExerciseڕاهێنانItem 6بڕگەی 6

Find ∑Xi+3Yi\sum \frac{X_i + 3}{Y_i}.

∑Xi+3Yi\sum \frac{X_i + 3}{Y_i} بدۆزەوە.

Show answerوەڵامەکە پیشان بدە
∑Xi+3Yi=53+79+96+51=16118≈8.944\textstyle\sum \frac{X_i + 3}{Y_i} = \frac53 + \frac79 + \frac96 + \frac51 = \frac{161}{18} \approx 8.944

Each fraction must be worked out separately: there is no shortcut for a sum of fractions.

هەر دەبێت بە جیا حساب بکرێت: بۆ کۆی هیچ ڕێگایەکی کورت نییە.

ExerciseڕاهێنانItem 7بڕگەی 7

Find ∑(Xi+4)∑Yi\frac{\sum (X_i + 4)}{\sum Y_i}.

∑(Xi+4)∑Yi\frac{\sum (X_i + 4)}{\sum Y_i} بدۆزەوە.

Show answerوەڵامەکە پیشان بدە
∑(Xi+4)∑Yi=∑Xi+4n∑Yi=14+1619=3019≈1.579\frac{\sum (X_i + 4)}{\sum Y_i} = \frac{\sum X_i + 4n}{\sum Y_i} = \frac{14 + 16}{19} = \frac{30}{19} \approx 1.579

Here the division comes after the two sums, so it is allowed.

لێرەدا دابەشکردن دوای دوو کۆکە دێت، بۆیە ڕێگەپێدراوە.

ExerciseڕاهێنانItem 8بڕگەی 8

Find ∑Yi2−(∑Yi)24\sum Y_i^2 - \frac{(\sum Y_i)^2}{4}.

∑Yi2−(∑Yi)24\sum Y_i^2 - \frac{(\sum Y_i)^2}{4} بدۆزەوە.

Show answerوەڵامەکە پیشان بدە
∑Yi2−(∑Yi)24=127−1924=127−3614=127−90.25=36.75\textstyle\sum Y_i^2 - \frac{(\sum Y_i)^2}{4} = 127 - \frac{19^2}{4} = 127 - \frac{361}{4} = 127 - 90.25 = 36.75
ExerciseڕاهێنانItem 9بڕگەی 9

Find ∑XiYi−(∑Xi)(∑Yi)4\sum X_iY_i - \frac{(\sum X_i)(\sum Y_i)}{4}.

∑XiYi−(∑Xi)(∑Yi)4\sum X_iY_i - \frac{(\sum X_i)(\sum Y_i)}{4} بدۆزەوە.

Show answerوەڵامەکە پیشان بدە
∑XiYi−(∑Xi)(∑Yi)4=80−14×194=80−66.5=13.5\textstyle\sum X_iY_i - \frac{(\sum X_i)(\sum Y_i)}{4} = 80 - \frac{14 \times 19}{4} = 80 - 66.5 = 13.5

Example (2): eight sumsنموونەی ⁦(2)⁩: هەشت کۆ

Let Xi=2,4,5,9,11X_i = 2, 4, 5, 9, 11 and Yi=9,7,1,12,15Y_i = 9, 7, 1, 12, 15 for i=1,…,5i = 1, \dots, 5. Find: 1) ∑Xi\sum X_i; 2) ∑Yi\sum Y_i; 3) ∑XiYi\sum X_iY_i; 4) K∑XiK\sum X_i with K=3K = 3; 5) ∑Xi2\sum X_i^2; 6) ∑16Yi\sum \frac16 Y_i; 7) ∑log⁡Xi\sum \log X_i; 8) ∑Yi\sum \sqrt{Y_i}.

با Xi=2,4,5,9,11X_i = 2, 4, 5, 9, 11 و Yi=9,7,1,12,15Y_i = 9, 7, 1, 12, 15 بن بۆ i=1,…,5i = 1, \dots, 5. بدۆزەوە: ⁦1⁩) ∑Xi\sum X_i؛ ⁦2⁩) ∑Yi\sum Y_i؛ ⁦3⁩) ∑XiYi\sum X_iY_i؛ ⁦4⁩) K∑XiK\sum X_i بە K=3K = 3؛ ⁦5⁩) ∑Xi2\sum X_i^2؛ ⁦6⁩) ∑16Yi\sum \frac16 Y_i؛ ⁦7⁩) ∑log⁡Xi\sum \log X_i؛ ⁦8⁩) ∑Yi\sum \sqrt{Y_i}.

1) ∑Xi=2+4+5+9+11=312) ∑Yi=9+7+1+12+15=443) ∑XiYi=18+28+5+108+165=3244) K∑Xi=3×31=935) ∑Xi2=4+16+25+81+121=2476) ∑16Yi=16×44=223≈7.333\begin{aligned} 1)\ \textstyle\sum X_i &= 2 + 4 + 5 + 9 + 11 = 31 \\ 2)\ \textstyle\sum Y_i &= 9 + 7 + 1 + 12 + 15 = 44 \\ 3)\ \textstyle\sum X_iY_i &= 18 + 28 + 5 + 108 + 165 = 324 \\ 4)\ K\textstyle\sum X_i &= 3 \times 31 = 93 \\ 5)\ \textstyle\sum X_i^2 &= 4 + 16 + 25 + 81 + 121 = 247 \\ 6)\ \textstyle\sum \frac16 Y_i &= \frac16 \times 44 = \frac{22}{3} \approx 7.333 \end{aligned}

Item 6 uses rule 6: the constant 16\frac16 comes out in front of the sum.

بڕگەی 6 یاسای 6 بەکار دەهێنێت: 16\frac16 دەچێتە پێش کۆکە.

7) ∑log⁡Xi=0.3010+0.6021+0.6990+0.9542+1.0414=3.5977=log⁡39608) ∑Yi=3+2.6458+1+3.4641+3.8730≈13.9828\begin{aligned} 7)\ \textstyle\sum \log X_i &= 0.3010 + 0.6021 + 0.6990 + 0.9542 + 1.0414 = 3.5977 = \log 3960 \\ 8)\ \textstyle\sum \sqrt{Y_i} &= 3 + 2.6458 + 1 + 3.4641 + 3.8730 \approx 13.9828 \end{aligned}

Item 7 uses base-10 logarithms. A sum of logarithms is the logarithm of the product: 2⋅4⋅5⋅9⋅11=39602 \cdot 4 \cdot 5 \cdot 9 \cdot 11 = 3960 (see log rules). Each term is shown to four decimal places, but the totals are worked out from the unrounded values: that is why item 8 ends in 13.9828, not 13.9829.

بڕگەی 7 (بنکەی ⁦10⁩) بەکار دەهێنێت. کۆی لێکدراوەکەیە: 2⋅4⋅5⋅9⋅11=39602 \cdot 4 \cdot 5 \cdot 9 \cdot 11 = 3960 (بڕوانە یاساکانی لۆگاریتم). هەر بڕێک بە چوار نیشان دراوە، بەڵام کۆکان لە نرخە نزیکنەکراوەکانەوە حساب کراون: بۆیە بڕگەی 8 بە ⁦13.9828⁩ کۆتایی دێت، نەک ⁦13.9829⁩.

Quick checkپشکنینی خێراIn item 6, why can we multiply the total 44 by 16\frac16 instead of dividing each YiY_i?لە بڕگەی 6دا، بۆچی دەتوانین کۆی ⁦44⁩ بە 16\frac16 لێک بدەین لە جیاتی دابەشکردنی هەر YiY_iـێک؟

Spot the mistakesهەڵەکان بدۆزەوە

ExerciseڕاهێنانExercise: check a handwritten solutionڕاهێنان: چارەسەرێکی دەستنووس بپشکنە

A handwritten solution of Example (2) wrote: (a) ∑XiYi=18+28+5+108+55=214\sum X_iY_i = 18 + 28 + 5 + 108 + 55 = 214; (b) K∑Xi=3(31)=91K\sum X_i = 3(31) = 91; (c) ∑log⁡Xi=0.301+0.60205+0.69897+0.9542+1.04=3.59622\sum \log X_i = 0.301 + 0.60205 + 0.69897 + 0.9542 + 1.04 = 3.59622; (d) ∑Yi=3+2.645+1+3.464+3.8729=13.9819\sum \sqrt{Y_i} = 3 + 2.645 + 1 + 3.464 + 3.8729 = 13.9819. Find each mistake.

چارەسەرێکی دەستنووسی نموونەی ⁦(2)⁩ نووسیبووی: (أ) ∑XiYi=18+28+5+108+55=214\sum X_iY_i = 18 + 28 + 5 + 108 + 55 = 214؛ (ب) K∑Xi=3(31)=91K\sum X_i = 3(31) = 91؛ (ج) ∑log⁡Xi=0.301+0.60205+0.69897+0.9542+1.04=3.59622\sum \log X_i = 0.301 + 0.60205 + 0.69897 + 0.9542 + 1.04 = 3.59622؛ (د) ∑Yi=3+2.645+1+3.464+3.8729=13.9819\sum \sqrt{Y_i} = 3 + 2.645 + 1 + 3.464 + 3.8729 = 13.9819. هەر هەڵەیەک بدۆزەوە.

Hintئاماژە

Recompute every product and check how many decimal places each term kept.

هەموو لێکدراوێک دووبارە حساب بکەرەوە و سەیر بکە هەر بڕێک بە چەند نووسراوە.

Show answerوەڵامەکە پیشان بدە
  • (a) 11×15=16511 \times 15 = 165, not 55. The sum is 324.
  • (b) 3×31=933 \times 31 = 93, not 91.
  • (c) log⁡11=1.0414\log 11 = 1.0414, not 1.04. Rounding one term too early moves the answer: the correct total is 3.5977.
  • (d) The square roots were cut short (7=2.6458\sqrt7 = 2.6458, 12=3.4641\sqrt{12} = 3.4641), so the total is a little low: 13.9828.
  • (أ) 11×15=16511 \times 15 = 165ـە، نەک ⁦55⁩. کۆکە ⁦324⁩ـە.
  • (ب) 3×31=933 \times 31 = 93ـە، نەک ⁦91⁩.
  • (ج) log⁡11=1.0414\log 11 = 1.0414ـە، نەک ⁦1.04⁩. بڕێک زۆر زوو وەڵامەکە دەجووڵێنێت: کۆی دروست ⁦3.5977⁩ـە.
  • (د) کورت کرانەوە (7=2.6458\sqrt7 = 2.6458، 12=3.4641\sqrt{12} = 3.4641)، بۆیە کۆکە کەمێک کەمە: ⁦13.9828⁩.

Check your sums with Pythonکۆکانت بە Python بپشکنە

A computer is a perfect checker for long sums. These lines recompute all eight items of Example (2); zip(X, Y) pairs XiX_i with YiY_i, exactly like the ii in ∑XiYi\sum X_iY_i.

پشکنەرێکی تەواوە بۆ کۆی درێژ. ئەم دێڕانە هەر هەشت بڕگەکەی نموونەی ⁦(2)⁩ دووبارە حساب دەکەنەوە؛ zip(X, Y) XiX_i لەگەڵ YiY_i جووت دەکات، ڕێک وەک ii لە ∑XiYi\sum X_iY_iـدا.

PYTHONType in a terminalلە تێرمیناڵدا بینووسە
import math

X = [2, 4, 5, 9, 11]
Y = [9, 7, 1, 12, 15]

print(sum(X), sum(Y))                            # items 1 and 2
print(sum(x * y for x, y in zip(X, Y)))          # item 3
print(3 * sum(X), sum(x ** 2 for x in X))        # items 4 and 5
print(round(sum(y / 6 for y in Y), 4))           # item 6
print(round(sum(math.log10(x) for x in X), 4))   # item 7
print(round(sum(math.sqrt(y) for y in Y), 4))    # item 8
Explain the codeڕوونکردنەوەی کۆدەکە
Lineدێڕی 7

zip(X, Y) walks through both lists together: (2, 9), (4, 7), (5, 1), …

zip(X, Y) پێکەوە بە هەردوو لیستەکەدا دەڕوات: (⁦2⁩، ⁦9⁩)، (⁦4⁩، ⁦7⁩)، (⁦5⁩، ⁦1⁩)، …

Lineدێڕی 10-11

math.log10 is the base-10 logarithm and math.sqrt the square root.

math.log10 و math.sqrt .

Quick checkپشکنینی خێراWhat does sum(x ** 2 for x in X) compute?sum(x ** 2 for x in X) چی حساب دەکات؟

Common mistakesهەڵە باوەکان

MistakeهەڵەCorrectدروستCheck with X=2,4,6,2X = 2, 4, 6, 2پشکنین بە X=2,4,6,2X = 2, 4, 6, 2
∑Xi2=(∑Xi)2\sum X_i^2 = (\sum X_i)^2∑Xi2=(∑Xi)2\sum X_i^2 = (\sum X_i)^2They differجیاوازن60≠19660 \ne 196
∑XiYi=∑Xi∑Yi\sum X_iY_i = \sum X_i \sum Y_i∑XiYi=∑Xi∑Yi\sum X_iY_i = \sum X_i \sum Y_iThey differجیاوازن80≠26680 \ne 266
∑XiYi=∑Xi∑Yi\sum \frac{X_i}{Y_i} = \frac{\sum X_i}{\sum Y_i}∑XiYi=∑Xi∑Yi\sum \frac{X_i}{Y_i} = \frac{\sum X_i}{\sum Y_i}False (the old “rule 9”)هەڵەیە («یاسای 9»ـی کۆن)4.111≠0.7374.111 \ne 0.737
∑(Xi+3)=∑Xi+3\sum (X_i + 3) = \sum X_i + 3∑(Xi+3)=∑Xi+3\sum (X_i + 3) = \sum X_i + 3∑Xi+3n\sum X_i + 3n∑Xi+3n\sum X_i + 3n26≠1726 \ne 17
Reading X3X_3 as “X times 3”خوێندنەوەی X3X_3 وەک «X جاران 3»X3X_3 is the third valueX3X_3 سێیەم نرخەX3=6X_3 = 6
Rounding each term early هەر بڕێک زووRound only the final answerتەنها وەڵامی کۆتایی نزیک بکەرەوەlog⁡11=1.0414\log 11 = 1.0414

Exercisesڕاهێنانەکان

ExerciseڕاهێنانExercise 1: five sumsڕاهێنانی 1: پێنج کۆ

Let X=1,3,5,7X = 1, 3, 5, 7. Find ∑Xi\sum X_i, ∑Xi2\sum X_i^2, (∑Xi)2(\sum X_i)^2, ∑(2Xi+1)\sum (2X_i + 1) and ∑(Xi−4)2\sum (X_i - 4)^2.

با X=1,3,5,7X = 1, 3, 5, 7 بێت. ∑Xi\sum X_i، ∑Xi2\sum X_i^2، (∑Xi)2(\sum X_i)^2، ∑(2Xi+1)\sum (2X_i + 1) و ∑(Xi−4)2\sum (X_i - 4)^2 بدۆزەوە.

Show answerوەڵامەکە پیشان بدە
∑Xi=16∑Xi2=1+9+25+49=84(∑Xi)2=256∑(2Xi+1)=2×16+4×1=36∑(Xi−4)2=9+1+1+9=20\begin{aligned} \textstyle\sum X_i &= 16 \qquad \textstyle\sum X_i^2 = 1 + 9 + 25 + 49 = 84 \qquad (\textstyle\sum X_i)^2 = 256 \\ \textstyle\sum (2X_i + 1) &= 2 \times 16 + 4 \times 1 = 36 \qquad \textstyle\sum (X_i - 4)^2 = 9 + 1 + 1 + 9 = 20 \end{aligned}
ExerciseڕاهێنانExercise 2: write it with Σڕاهێنانی 2: بە Σ بینووسە

Write 3+6+9+12+153 + 6 + 9 + 12 + 15 with sigma notation, then use rule 6 to find it quickly.

3+6+9+12+153 + 6 + 9 + 12 + 15 بە بنووسە، پاشان بە یاسای 6 خێرا بیدۆزەوە.

Hintئاماژە

Each term is 3 times its position.

هەر بڕێک 3 هێندەی شوێنەکەیەتی.

Show answerوەڵامەکە پیشان بدە
∑i=153i=3∑i=15i=3(1+2+3+4+5)=3×15=45\sum_{i=1}^{5} 3i = 3\sum_{i=1}^{5} i = 3(1 + 2 + 3 + 4 + 5) = 3 \times 15 = 45
ExerciseڕاهێنانExercise 3: true or false?ڕاهێنانی 3: ڕاست یان هەڵە؟

Decide, and test with X=1,2X = 1, 2, Y=3,4Y = 3, 4: (a) ∑(Xi+Yi)=∑Xi+∑Yi\sum (X_i + Y_i) = \sum X_i + \sum Y_i; (b) ∑XiYi=∑Xi∑Yi\sum X_iY_i = \sum X_i \sum Y_i; (c) ∑5Xi=5∑Xi\sum 5X_i = 5\sum X_i.

بڕیار بدە و بە X=1,2X = 1, 2، Y=3,4Y = 3, 4 تاقی بکەرەوە: (أ) ∑(Xi+Yi)=∑Xi+∑Yi\sum (X_i + Y_i) = \sum X_i + \sum Y_i؛ (ب) ∑XiYi=∑Xi∑Yi\sum X_iY_i = \sum X_i \sum Y_i؛ (ج) ∑5Xi=5∑Xi\sum 5X_i = 5\sum X_i.

Show answerوەڵامەکە پیشان بدە
  • (a) True (rule 7): 4+6=10=3+74 + 6 = 10 = 3 + 7.
  • (b) False: 3+8=113 + 8 = 11 but 3×7=213 \times 7 = 21.
  • (c) True (rule 6): 5+10=15=5×35 + 10 = 15 = 5 \times 3.
  • (أ) ڕاستە (یاسای ⁦7⁩): 4+6=10=3+74 + 6 = 10 = 3 + 7.
  • (ب) هەڵەیە: 3+8=113 + 8 = 11 بەڵام 3×7=213 \times 7 = 21.
  • (ج) ڕاستە (یاسای ⁦6⁩): 5+10=15=5×35 + 10 = 15 = 5 \times 3.

Summaryپوختە

  • XiX_i is the ii-th value of XX; the subscript ii runs over 1,2,…,n1, 2, \dots, n.
  • ∑i=1nXi=X1+⋯+Xn\sum_{i=1}^{n} X_i = X_1 + \cdots + X_n: a running total, the same as a loop that adds each value.
  • Σ splits over ++ and −-, lets constants out (∑C=nC\sum C = nC, ∑CXi=C∑Xi\sum CX_i = C\sum X_i, ∑(Xi+C)=∑Xi+nC\sum (X_i + C) = \sum X_i + nC).
  • It does not split over products, squares or division: 60≠19660 \ne 196, 80≠26680 \ne 266, and “rule 9” is false (4.111≠0.7374.111 \ne 0.737).
  • Work in a table, keep four decimals, and check long sums with Python's sum().
  • XiX_i نرخی iiـەمی XXـە؛ ii بە 1,2,…,n1, 2, \dots, nدا دەڕوات.
  • ∑i=1nXi=X1+⋯+Xn\sum_{i=1}^{n} X_i = X_1 + \cdots + X_n: کۆیەکی بەردەوام، هەمان کە هەموو نرخێک کۆ دەکاتەوە.
  • Σ بەسەر ++ و −-دا دابەش دەبێت و ڕێگا دەدات بچنە دەرەوە (∑C=nC\sum C = nC، ∑CXi=C∑Xi\sum CX_i = C\sum X_i، ∑(Xi+C)=∑Xi+nC\sum (X_i + C) = \sum X_i + nC).
  • بەسەر لێکدان، دووجا یان دابەشکردندا دابەش نابێت: 60≠19660 \ne 196، 80≠26680 \ne 266 و «یاسای 9» هەڵەیە (4.111≠0.7374.111 \ne 0.737).
  • لە خشتەیەکدا کار بکە، چوار بهێڵەوە و کۆی درێژ بە sum()ـی Python بپشکنە.

Next: the same idea for multiplication, Product (Π) notation.

دواتر: هەمان بیرۆکە بۆ لێکدان، نیشانەی پی.

Lesson complete!وانەکە تەواو بوو!

Well done. Review the key terms, then go on to the next lesson.دەستخۆش. سەیرێکی زاراوە سەرەکییەکان بکەرەوە، پاشان بڕۆ بۆ وانەی داهاتوو.

Key termsزاراوە سەرەکییەکان

Next lessonوانەی داهاتوو

Product (Π) Notationنیشانەی پی (Π)

References and further readingسەرچاوەکان و خوێندنەوەی زیاتر

This lecture is a first edition. The Kurdish text and terminology are waiting for review by Kurdish IT teachers.ئەم وانەیە چاپی یەکەمە. دەقە کوردییەکە و زاراوەکانی چاوەڕێی پێداچوونەوەی مامۆستایانی کوردی بواری IT ن.