Chapterبەش 1 · Lectureوانە 1.1

Mathematics and Computers: Why IT Students Need Mathsبیرکاری و کۆمپیوتەر: بۆچی خوێندکاری IT پێویستی بە بیرکارییە؟

What mathematics is, where you meet it every day and what its main branches are; how computers grew out of counting, calculating machines and codebreaking; why games are built from triangles, how scrolling moves pixels and why computers use binary; whether programmers need maths, and which maths each IT field uses.

بیرکاری چییە، ڕۆژانە لە کوێ دەیبینیت و لقە سەرەکییەکانی کامانەن؛ چۆن لە ژماردن، ئامێری حسابکردن و شکاندنی کۆدی نهێنییەوە سەری هەڵدا؛ بۆچی یارییەکان لە سێگۆشە دروست دەکرێن، چۆن دەجووڵێنێت و بۆچی بەکار دەهێنێت؛ ئایا بەرنامەساز پێویستی بە بیرکارییە و هەر بوارێکی IT کام بیرکاری بەکار دەهێنێت.

18 min read20 خولەک خوێندنەوە · 20 stepsهەنگاو

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

  • Explain what mathematics is and give everyday examples of it.
  • Name the main branches of mathematics and tell pure from applied mathematics.
  • Describe how counting, calculating machines and codebreaking led to the computer.
  • Explain with examples how games, screens and binary numbers use mathematics.
  • Match IT fields with the mathematics they need.
  • ڕوونی بکەیتەوە بیرکاری چییە و نموونەی ڕۆژانەی بۆ بهێنیتەوە.
  • لقە سەرەکییەکانی بیرکاری ناو بهێنیت و لە جیا بکەیتەوە.
  • باسی ئەوە بکەیت ژماردن، ئامێری حسابکردن و شکاندنی کۆدی نهێنی چۆن گەیاندیانە .
  • بە نموونە ڕوونی بکەیتەوە یارییەکان، و ژمارە چۆن بیرکاری بەکار دەهێنن.
  • بوارەکانی IT لەگەڵ ئەو بیرکارییەی پێویستیانە بگونجێنیت.

Why study maths in an IT department?بۆچی لە بەشێکی ITـدا بیرکاری دەخوێنین؟

Many computer students ask the same question: “What does maths have to do with computers? Why must we study it?” People outside computing ask it too. The first two lessons of this course answer that question. They grew out of an essay that an IT student wrote for his statistics class, called Mathematics and Computers (the relationships between them).

زۆرێک لە خوێندکارانی بەشە کۆمپیوتەرییەکان هەمان پرسیار دەکەن: «ئاخر بیرکاری چ پەیوەندییەکی بە هەیە؟ بۆچی دەبێت بیخوێنین؟» خەڵکی دەرەوەی بواری هەمان پرسیار دەکەن. دوو وانەی یەکەمی ئەم خولە وەڵامی ئەم پرسیارە دەدەنەوە. لە نامیلکەیەکەوە سەریان هەڵداوە کە خوێندکارێکی IT بۆ وانەی نووسیویەتی، بە ناوی بیرکاری و (پەیوەندییەکانی نێوانیان).

Like parents and their childوەک دایک و باوک و منداڵەکەیان

Asking what maths has to do with computers is like asking what your parents have to do with you. When you marry, you may move out and build a new life far from their house. But you are still their child: the blood link stays. Computing has moved far from pen-and-paper maths, yet it was born from mathematics and still carries it inside.

پرسیارکردن لەوەی بیرکاری چ پەیوەندییەکی بە هەیە، وەک ئەوە وایە بپرسیت دایک و باوکت چ پەیوەندییەکیان بە بوونی تۆوە هەیە. کاتێک هاوسەرگیری دەکەیت، لەوانەیە ماڵیان جێبهێڵیت و لە دوورەوە ژیانێکی نوێ دروست بکەیت. بەڵام هێشتا منداڵی ئەوانیت: پەیوەندیی خوێن دەمێنێتەوە. بواری زۆر لە بیرکاریی سەر کاغەز دوور کەوتووەتەوە، بەڵام لە بیرکارییەوە لەدایک بووە و هێشتا لە ناخیدا هەڵیگرتووە.

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

A grown-up child can live without help from the parents. A computer cannot work for a single second without mathematics: every click and every picture on the screen is numbers.

منداڵی گەورەبوو دەتوانێت بەبێ یارمەتیی دایک و باوکی بژی. بۆ یەک چرکەش بەبێ بیرکاری کار ناکات: هەموو کرتەیەک و هەموو وێنەیەک لەسەر ژمارەیە.

Quick checkپشکنینی خێراWhat does the parents-and-child analogy say about computing?بەراوردی دایک و باوک و منداڵ چی دەربارەی بواری دەڵێت؟

Why study maths in an IT department?بۆچی لە بەشێکی ITـدا بیرکاری دەخوێنین؟

About the essayدەربارەی نامیلکەکە

The essay opens by thanking a summer-school maths teacher who gave its author hope again after he had given up on maths. If maths once beat you too, keep going: this chapter starts from everyday ideas, not from hard symbols.

نامیلکەکە بە سوپاسکردنی مامۆستایەکی بیرکاریی خولی هاوینە دەست پێدەکات کە دوای ئەوەی نووسەرەکە لە بیرکاری نائومێد بووبوو، ئومێدی پێ بەخشییەوە. ئەگەر تۆش جارێک بیرکاری بەزاندوویتی، بەردەوام بە: ئەم بەشە لە بیرۆکەی ڕۆژانەوە دەست پێدەکات، نەک لە نیشانە قورسەکان.

At first the essay was called The relationship between mathematics and computers. Its author renamed it so that it could also talk about mathematics and its branches in general. This lesson follows the same plan: what mathematics is, where you meet it every day, its branches, where computers came from, and then the many links between the two.

سەرەتا ناوی نامیلکەکە پەیوەندیی نێوان بیرکاری و بوو. نووسەرەکە ناوەکەی گۆڕی بۆ ئەوەی بە گشتی باسی بیرکاری و لقەکانیشی بکات. ئەم وانەیە هەمان پلان پەیڕەو دەکات: بیرکاری چییە، ڕۆژانە لە کوێ دەیبینیت، لقەکانی، لە کوێوە هات و پاشان پەیوەندییە زۆرەکانی نێوان ئەم دووانە.

Quick checkپشکنینی خێراWhy did the author rename the essay?بۆچی نووسەرەکە ناوی نامیلکەکەی گۆڕی؟

What is mathematics?بیرکاری چییە؟

The word mathematics comes from the Greek máthēma, “something learned, knowledge”. In Kurdish we say بیرکاری (also ماتماتیک). Mathematics is a very wide science. It studies quantity (how many, how much), structure such as unknowns and expressions (), shape and space () and change ( and the rest of calculus), and much more.

وشەی ماتماتیک لە وشەی گریکیی máthēmaوە هاتووە، بە واتای «شتێک کە فێری دەبیت، زانین». لە کوردیدا دەڵێین بیرکاری (هەروەها ماتماتیک). بیرکاری زانستێکی زۆر فراوانە. لە چەندێتی دەکۆڵێتەوە (چەند دانە، چەند بڕ)، لە پێکهاتە وەک نەزانراو و ()، لە شێوە و بۆشایی () و لە گۆڕان ( و بەشەکانی تری کالکولەس)، هەروەها زۆر شتی تر.

Mathematics is built on : a statement counts as true only when it is proved step by step from agreed starting points. That is why 2+3=52 + 3 = 5 is the same in every country, every language and every century.

بیرکاری لەسەر بنیات نراوە: ڕستەیەک تەنها کاتێک بە ڕاست دادەنرێت کە هەنگاو بە هەنگاو لە خاڵی دەستپێکی ڕێککەوتوو لەسەرەوە بسەلمێنرێت. لەبەر ئەوە 2+3=52 + 3 = 5 لە هەموو وڵاتێک، هەموو زمانێک و هەموو سەدەیەکدا هەمان شتە.

Quick checkپشکنینی خێراWhat does the Greek word máthēma mean?وشەی گریکیی máthēma واتای چییە؟

From counting to computersلە ژماردنەوە بۆ کۆمپیوتەر

The word computer comes from to compute: to count and to calculate. That is why Kurdish sometimes calls it پێژمێر or بژمێر, “the counter”. Counting is also where mathematics began: since the first humans, people have counted things such as two hands and two eyes.

وشەی computer لە computeـەوە هاتووە: ژماردن و حسابکردن. لەبەر ئەوە لە کوردیدا جاروبار پێی دەگوترێت پێژمێر یان بژمێر. ژماردن خاڵی دەستپێکی بیرکارییش بوو: لە سەرەتای مرۆڤەوە خەڵک شتەکانیان ژماردووە، وەک دوو دەست و دوو چاو.

Quick checkپشکنینی خێراWhere does the word computer come from?وشەی computer لە کوێوە هاتووە؟

From counting to computersلە ژماردنەوە بۆ کۆمپیوتەر

People and tools that calculatedئەو کەس و ئامرازانەی حسابیان دەکرد

Before electronic machines existed, computer was a job title: a person who did long calculations by hand (the word is written this way already in 1613). Tools helped them. Romans moved small pebbles on counting boards; the Latin word calculus means “small pebble”. Later came the abacus, Napier's bones (rods that turn multiplication into addition, 1617) and Pascal's adding machine (1642). Electronic computers were built to do long, boring calculations faster and without mistakes.

پێش ئەوەی ئامێری ئەلیکترۆنی هەبێت، computer ناوی پیشەیەک بوو: کەسێک کە حسابی درێژی بە دەست دەکرد (ئەم وشەیە لە ساڵی ⁦1613⁩دا بەم واتایە نووسراوە). ئامراز یارمەتیی دەدان. ڕۆمانییەکان وردەبەردیان لەسەر تەختەی ژماردن دەجووڵاند؛ وشەی لاتینیی calculus واتە «وردەبەرد». دواتر چۆتکە، ئێسکەکانی نەیپەر (چەند داری بچووک کە لێکدان دەکەنە کۆکردنەوە، ⁦1617⁩) و ئامێری کۆکردنەوەی پاسکاڵ ⁦(1642)⁩ هاتن. دروست کران بۆ ئەوەی حسابی درێژ و بێزارکەر خێراتر و بێ هەڵە بکەن.

Quick checkپشکنینی خێراWhat does the Latin word calculus mean?وشەی لاتینیی calculus واتای چییە؟

Mathematicians built computingبیرکاریزانەکان بواری کۆمپیوتەریان بنیات نا

About half of the history of computer science is the life and work of mathematicians, because the science itself stands on mathematics. A few of them:

نزیکەی نیوەی مێژووی زانستی ژیان و کاری بیرکاریزانەکانە، چونکە ئەم زانستە خۆی لەسەر بیرکاری وەستاوە. چەند نموونەیەک:

Some mathematicians in the history of computingچەند بیرکاریزانێک لە مێژووی
Who or whatکێ یان چیWhenکەیWhat they gave computingچییان دا بە بواری
George Booleجۆرج بوول1847, 1854An algebra of true and false: , the maths of every circuit (next lesson). بۆ : ، بیرکاریی هەموو (وانەی داهاتوو).
Ada Lovelaceئەیدا لەڤلەیس1843Step-by-step instructions for Babbage's Analytical Engine to calculate Bernoulli numbers, often called the first published program.ڕێنمایی هەنگاو بە هەنگاو بۆ ئامێری شیکاریی بابێج بۆ حسابکردنی ژمارەکانی بێرنۆلی، کە زۆرجار بە یەکەم بڵاوکراوە ناو دەبرێت.
Alan Turingئەلان تیورینگ1936–1945The theory of what a machine can compute (), and breaking the German Enigma cipher.تیۆریی ئەوەی ئامێرێک دەتوانێت چی حساب بکات () و شکاندنی ئەڵمانیی Enigma.
Colossus (built by Tommy Flowers for Max Newman's codebreaking team)Colossus (تۆمی فڵاوەرز بۆ تیمی کۆدشکێنیی ماکس نیومان دروستی کرد)1943–1944Often called the first programmable electronic digital computer. It helped break German Lorenz messages.زۆرجار بە یەکەم ئەلیکترۆنیی دیجیتاڵی پرۆگرامکراو دادەنرێت. یارمەتیی شکاندنی نامە Lorenzـی ئەڵمانی دا.
Quick checkپشکنینی خێراWho wrote what is often called the first published program?کێ ئەوەی نووسی کە زۆرجار بە یەکەم بڵاوکراوە ناو دەبرێت؟

Mathematicians built computingبیرکاریزانەکان بواری کۆمپیوتەریان بنیات نا

Colossus broke codesColossus کۆدی دەشکاند

Quick checkپشکنینی خێراWhat was Colossus built for?Colossus بۆ چی دروست کرا؟

Colossus & Bletchley Park - ComputerphileComputerphile · Englishئینگلیزی · 276K viewsبینین · 6K likesلایک

A visit to Bletchley Park and the rebuilt Colossus: how this early electronic computer helped to break German Lorenz codes in the Second World War.

سەردانێکی ⁦Bletchley Park⁩ و Colossusـی دووبارە دروستکراو: چۆن ئەم ئەلیکترۆنییە سەرەتاییە لە جەنگی جیهانیی دووەمدا یارمەتیی شکاندنی Lorenzـی ئەڵمانیای دا.

Maths in everyday lifeبیرکاری لە ژیانی ڕۆژانەدا

Many people think mathematics is only playing with numbers and a few letters. In fact it is an old, worldwide language for describing and explaining the things around us. Look at one ordinary day:

زۆر کەس وا تێدەگەن کە بیرکاری تەنها یاریکردنە بە ژمارە و چەند پیتێک. لە ڕاستیدا زمانێکی کۆن و جیهانییە بۆ وەسفکردن و ڕوونکردنەوەی ئەو شتانەی لە دەوروبەرمانن. سەیری ڕۆژێکی ئاسایی بکە:

  • Your house. The angles of the walls, the even rows of floor tiles and the building plan were all made with mathematics.
  • Health. Doctors use the body-mass index (BMI) and the heart rate (beats per minute).
  • Clothes and art. A tailor takes your measurements; a painter fixes a shape with a ruler, special tools or just by eye.
  • Cooking. The cook uses quantity: how much salt for how much rice.
  • Football. In a split second a player judges the that a pass will reach a teammate or that a shot will go in.
  • ماڵەکەت. گۆشەی دیوارەکان، ڕیزە ڕێکەکانی کاشی و نەخشەی بیناکە هەموویان بە بیرکاری دروست کراون.
  • تەندروستی. پزیشکەکان پێوەری بارستەی جەستە ⁦(BMI)⁩ و ڕێژەی لێدانی دڵ (لێدان لە خولەکێکدا) بەکار دەهێنن.
  • جل و هونەر. بەرگدروو پێوانەکانت وەردەگرێت؛ وێنەکێش بە ڕاستە، ئامرازی تایبەت یان هەر بە چاو شێوەیەک دیاری دەکات.
  • چێشتلێنان. چێشتلێنەر چەندێتی بەکار دەهێنێت: چەند خوێ بۆ چەند برنج.
  • تۆپی پێ. یاریزان لە چرکەیەکدا ئەوە دەخەمڵێنێت کە پاسێک بگاتە هاوتیپەکەی یان تۆپێک بچێتە گۆڵەوە.
BMI=mh2=701.752≈22.9\text{BMI} = \frac{m}{h^2} = \frac{70}{1.75^2} \approx 22.9

The body-mass index: mass m in kilograms divided by the square of the height h in metres. For 70 kg and 1.75 m it is about 22.9.

پێوەری بارستەی جەستە: بارستەی m بە کیلۆگرام دابەش بەسەر دووجای باڵای h بە مەتر. بۆ ⁦70⁩ کیلۆگرام و ⁦1.75⁩ مەتر نزیکەی ⁦22.9⁩یە.

Quick checkپشکنینی خێراShilan weighs 60 kg and is 1.65 m tall. What is her BMI, rounded to one decimal place?شیلان ⁦60⁩ کیلۆگرامە و باڵای ⁦1.65⁩ مەترە. BMIـەکەی چەندە، بە یەک ؟

Pure and applied mathematicsبیرکاریی پوخت و بیرکاریی بەکاربراو

Mathematics has two broad kinds. Pure mathematics studies ideas for their own sake: numbers, shapes, patterns and proofs. Applied mathematics uses mathematics to solve real problems in science, engineering, business and computing. The border is soft: prime numbers were studied for fun for centuries, and today they protect online banking.

بیرکاری دوو جۆری گەورەی هەیە. لە بیرۆکەکان بۆ خودی خۆیان دەکۆڵێتەوە: ژمارە، شێوە، نەخش و . بیرکاری بەکار دەهێنێت بۆ وەڵامدانەوەی پرسیار و کێشە ڕاستەقینەکان لە زانست، ئەندازیاری، بازرگانی و بواری . سنووری نێوانیان نەرمە: سەدان ساڵ لە ژمارە سەرەتاییەکان تەنها بۆ چێژ دەکۆڵرایەوە و ئەمڕۆ پارێزگاری لە بانکی ئۆنلاین دەکەن.

Quick checkپشکنینی خێراWhich of these is applied mathematics?کامیان ؟

Pure and applied mathematicsبیرکاریی پوخت و بیرکاریی بەکاربراو

Branches you will meet in ITئەو لقانەی لە ITـدا دەیانبینیت

Some branches of mathematicsهەندێک لە لقەکانی بیرکاری
BranchلقWhat it studiesلە چی دەکۆڵێتەوەWhere you meet it in ITلە ITـدا لە کوێ دەیبینیت
Shapes and spaceشێوە و بۆشاییGames, animation, maps، ، نەخشە
Unknowns, expressions and the rules for working with themنەزانراو، و یاساکانی مامەڵەکردن لەگەڵیانFormulas in programs, logic circuits لە ،
CalculusکالکولەسChange: rates (derivatives) and totals (integrals)گۆڕان: خێرایی گۆڕان و کۆی گشتی ()Training models, physics in gamesڕاهێنانی مۆدێلەکانی ، فیزیا لە
Collecting and analysing dataکۆکردنەوە و شیکردنەوەی , data science، زانستی
Chance and uncertaintyئەگەری ڕوودان و نادڵنیایی, , spam filters، ، فلتەری
LogicلۆجیکCorrect reasoningبیرکردنەوەی دروستCircuits, databases, AI reasoning، ، بیرکردنەوەی AI
Dots joined by linesخاڵ کە بە هێڵ پێکەوە بەستراون, route finding، دۆزینەوەی ڕێگا

Logic (from the Greek logikē) is the art and science of reasoning. People use it in every careful activity, but it is studied above all in philosophy, mathematics and computer science. Logic examines ways of arguing and finds the most reliable way to reach the truth about something.

لۆجیک (لە یۆنانیی logikēوە) هونەر و زانستی بەکارهێنانی ئاوەزە. لە هەموو چالاکییەکی وردی ژیریدا بەکار دێت، بەڵام لە پلەی یەکەمدا لە فەلسەفە، بیرکاری و زانستی لێی دەکۆڵرێتەوە. لۆجیک ڕێگاکانی بەڵگەهێنانەوە تاوتوێ دەکات و باوەڕپێکراوترین ڕێگا دەدۆزێتەوە بۆ گەیشتن بە ڕاستیی شتێک.

The essay concentrates on three branches, , and , because their clearest examples are all around us in Kurdistan and beginners understand them easily. Geometry comes next on this page; statistics has its own lesson, What is statistics?; algebra, logic and matrices are the next lesson.

نامیلکەکە سەرنج دەخاتە سەر سێ لق، ، و ، چونکە ڕوونترین نموونەکانیان لە کوردستاندا لە دەوروبەرمانن و سەرەتاییەکان بە ئاسانی لێیان تێدەگەن. لە پەڕەی داهاتوودایە؛ وانەی تایبەتی خۆی هەیە، ئامار چییە؟؛ ، لۆجیک و لە وانەی داهاتوودان.

Quick checkپشکنینی خێراWhich branch studies dots joined by lines and helps find routes through a network?کام لق لە خاڵی بە هێڵ پێکەوە بەستراو دەکۆڵێتەوە و یارمەتیی دۆزینەوەی ڕێگا دەدات بە ناو ؟

Geometry: the mathematics of shapesئەندازەزانی: بیرکاریی شێوەکان

is about shapes: lines, triangles, rhombuses, hexagons, circles and the space they take up. It has two branches. Plane geometry studies flat, two-dimensional shapes that fit on a sheet of paper. Solid geometry studies three-dimensional shapes that have volume.

پەیوەندیی بە شێوەوە هەیە: هێڵ، سێگۆشە، مەعین، شەشلا، بازنە و ئەو بۆشاییەی دەیگرن. دوو لقی هەیە. ڕووتەخت لە شێوەی تەخت و دووڕەهەندی دەکۆڵێتەوە کە لەسەر پەڕەیەک کاغەز جێیان دەبێتەوە. سێ‌ڕەهەندی لە شێوەی سێ‌ڕەهەندی دەکۆڵێتەوە کە قەبارەیان هەیە.

Shapes named on the essay's slides, with a few moreئەو شێوانەی لە سلایدەکانی نامیلکەکەدا ناو براون، لەگەڵ چەند دانەیەکی تر
Plane shapes (2-D)شێوەی ڕووتەخت (دووڕەهەندی)Solid shapes (3-D)شێوەی سێ‌ڕەهەندی
Line, triangle, square, rectangleهێڵ، سێگۆشە، چوارگۆشە، لاکێشەSphere (a ball)گۆ (تۆپ)
Rhombus, pentagon, hexagonمەعین، پێنجلا، شەشلاCylinder (a can), coneلولەک (قوتوو)، قوچەک
CircleبازنەPyramid, boxهەڕەم، سندووق
Quick checkپشکنینی خێراA football is a…تۆپێکی پێ…

Why games are made of trianglesبۆچی یارییەکان لە سێگۆشە دروست دەکرێن

Not every computer scientist needs geometry. Some fields do, above all : making images with computers, such as , moving objects and .

هەموو کۆمپیوتەرزانێک پێویستی بە نییە. هەندێک بوار پێویستیانە، بەتایبەت : دروستکردنی وێنە بە ، وەک ، شتە جووڵاوەکان و .

The simplest shape for building objects in games and animations is the triangle. A game character, a car or a ball is a : many small flat triangles joined at their corners and edges. Why triangles? Any three points always lie on one flat surface, so a triangle can never bend or twist. Every other flat shape can be cut into triangles: a rectangle is two triangles, so the essay's car built from rectangles and squares is triangles inside. And graphics hardware () is built to draw millions of triangles every second.

سادەترین شێوە بۆ دروستکردنی شتەکان لە یاری و سێگۆشەیە. کارەکتەرێکی یاری، ئۆتۆمبێلێک یان تۆپێک : زۆر سێگۆشەی تەختی بچووک کە لە گۆشە و لێوارەکانیانەوە بە یەکەوە بەستراون. بۆچی سێگۆشە؟ هەر سێ خاڵێک هەمیشە لەسەر یەک ڕووی تەخت دەکەون، بۆیە سێگۆشە هەرگیز ناچەمێتەوە و بادانادات. هەموو شێوەیەکی تەختی تر دەتوانرێت بۆ سێگۆشە ببڕدرێت: لاکێشەیەک دوو سێگۆشەیە، بۆیە ئۆتۆمبێلەکەی نامیلکەکە کە لە لاکێشە و چوارگۆشە دروست کراوە، لە ناوەوە سێگۆشەیە. هەروەها بۆ ئەوە دروست کراون کە لە هەر چرکەیەکدا ملیۆنان سێگۆشە بکێشن.

A ball drawn from triangles, four times: with 8 triangles it is a sharp diamond shape, with 32 it is rough, with 128 it is nearly round, and with 512 it looks smooth inside the dashed outline of a perfect sphere.
A ball drawn from triangles, four times: with 8 triangles it is a sharp diamond shape, with 32 it is rough, with 128 it is nearly round, and with 512 it looks smooth inside the dashed outline of a perfect sphere.
8→32→128→5128 \to 32 \to 128 \to 512 triangles: the more triangles, the smoother the ball, and the more work for the computer.8→32→128→5128 \to 32 \to 128 \to 512 سێگۆشە: سێگۆشە زیاتر، تۆپی لووستر و کاری زیاتر بۆ .CêIT
Quick checkپشکنینی خێراA box has 6 rectangular faces. How many triangles does a of the box need?سندووقێک 6 ڕووی لاکێشەیی هەیە. بۆ ئەم سندووقە چەند سێگۆشەی پێویستە؟

Why video games are made of tiny trianglesVox · Englishئینگلیزی · 1.4M viewsبینین · 41K likesلایک · Partبەشی 0:00–4:26 (ofلە 5:08)

Why every character and world in a 3-D game is built from millions of tiny triangles, and why triangles are the easiest shape to draw.

بۆچی هەموو کارەکتەر و جیهانێک لە سێ ڕەهەندیدا لە ملیۆنان سێگۆشەی بچووک دروست دەکرێت، هەروەها بۆچی سێگۆشە ئاسانترین شێوەیە بۆ کێشان.

Watch 0:00–4:26; it stops before the sponsor message at the end.

لە ⁦0:00⁩ تا ⁦4:26⁩ سەیر بکە؛ پێش ڕیکلامی سپۆنسەر لە کۆتاییدا ڕادەوەستێت.

Scrolling is arithmeticتێپەڕکردن ژمێرکارییە

Right now, while you read this page, a world of calculations runs behind your screen. The screen is a grid of tiny dots called , and each pixel has (x,y)(x, y). On screens the point (0,0)(0, 0) is the top-left corner: xx grows to the right and yy grows downward. (On the coordinate plane of mathematics, yy grows upward.)

ئێستا، لە کاتێکدا ئەم پەڕەیە دەخوێنیتەوە، دنیایەک حساب لە پشت ئەنجام دەدرێت. تۆڕێکی خاڵی زۆر بچووکە بە ناوی و هەر (x,y)(x, y) هەیە. لەسەر خاڵی (0,0)(0, 0) گۆشەی سەرەوەی چەپـە: xx بەرەو ڕاست زیاد دەبێت و yy بەرەو خوارەوە زیاد دەبێت. (لە ڕووتەختی پۆتانی بیرکاریدا yy بەرەو سەرەوە زیاد دەبێت.)

When you scroll, the (with the graphics hardware) works out again where every line of text and every picture must go, pixel by pixel along the x and y axes. If you move the page up by 120 pixels, the computer subtracts 120 from the yy of everything on it. All of this is done with numbers.

کاتێک دەکەیت، (لەگەڵ گرافیک) دووبارە حساب دەکات کە هەموو دێڕێکی دەق و هەموو وێنەیەک دەبێت بچێتە کوێ، بە بەپێی x و y. ئەگەر پەڕەکە ⁦120⁩ بەرەو سەرەوە ببەیت، لە yyـی هەموو شتێکی سەر پەڕەکە ⁦120⁩ کەم دەکاتەوە. هەموو ئەمانە بە ژمارە ئەنجام دەدرێن.

Two screens side by side. Before scrolling, a picture's top-left corner is at (40, 300) and lines of text are above it. After scrolling 120 pixels, the same corner is at (40, 180) and the text has moved up. The origin (0, 0) is the top-left corner of each screen; x grows to the right and y grows downward.دوو شاشە لە تەنیشت یەک. پێش تێپەڕکردن، گۆشەی سەرەوەی چەپی وێنەیەک لە (40، 300)دایە و دێڕی دەق لە سەرەوەیەتی. دوای تێپەڕکردنی 120 پیکسڵ، هەمان گۆشە لە (40، 180)دایە و دەقەکە چووەتە سەرەوە. خاڵی (0، 0) گۆشەی سەرەوەی چەپی هەر شاشەیەکە؛ x بەرەو ڕاست و y بەرەو خوارەوە زیاد دەبێت.
Scrolling only changes numbers: every yy becomes y−120y - 120. تەنها ژمارەکان دەگۆڕێت: yyـی هەموو شتێک دەبێتە y−120y - 120.CêIT
Quick checkپشکنینی خێراA picture's top-left corner is at (40,650)(40, 650). You scroll the page up by 200 pixels. Where is the corner now?گۆشەی سەرەوەی چەپی وێنەیەک لە (40,650)(40, 650)دایە. پەڕەکە ⁦200⁩ بەرەو سەرەوە دەبەیت. ئێستا گۆشەکە لە کوێیە؟

Computers speak binaryکۆمپیوتەر بە دووانی قسە دەکات

A computer stores everything (numbers, letters, pictures, sound) as : 0 or 1. is not a secret code. It is simply another , like the decimal one we use every day, but with two digits instead of ten. The full story is in Logic Design: Number systems. Mathsisfun's binary number system page, which the essay's author kept as a reference, is a good first read too.

هەموو شتێک (ژمارە، پیت، وێنە، دەنگ) وەک هەڵدەگرێت: 0 یان 1. کۆدێکی نهێنی نییە. تەنها ترە، وەک سیستەمی کە ڕۆژانە بەکاری دەهێنین، بەڵام لە جیاتی دە ژمارە، دوو ژمارەی هەیە. هەموو چیرۆکەکە لە خولی دیزاینی باس کراوە: سیستەمە ژمارەییەکان. پەڕەی سیستەمی ژمارەی دووانیی Mathsisfun کە نووسەری نامیلکەکە وەک سەرچاوە هەڵیگرتبوو، بۆ دەستپێکردن باشە.

Counting in binaryژماردن بە
DecimalBinary (4 bits) (⁦4⁩ )
00000
10001
20010
30011

At the lowest level a processor does only a few simple things with bits: it flips them (0 ↔ 1), shifts them left or right, combines them with logic (AND, OR, NOT, see the next lesson) and adds them. Shifting one place to the left multiplies by 2: 01012=50101_2 = 5 becomes 10102=101010_2 = 10. Shifting one place to the right divides by 2: 11002=121100_2 = 12 becomes 01102=60110_2 = 6. Even subtraction is done by adding: 6−36 - 3 becomes 6 plus the two's complement of 3.

لە نزمترین ئاستدا پرۆسێسەر تەنها چەند کارێکی سادە لەگەڵ دەکات: پێچەوانەیان دەکاتەوە (⁦0⁩ ↔ ⁦1⁩)، بەرەو چەپ یان ڕاست دەیانخزێنێت، بە لۆجیک پێکەوەیان دەبەستێت (AND، OR، NOT، بڕوانە وانەی داهاتوو) و کۆیان دەکاتەوە. خزاندنی یەک خانە بەرەو چەپ لێکدانە لە 2: 01012=50101_2 = 5 دەبێتە 10102=101010_2 = 10. خزاندنی یەک خانە بەرەو ڕاست دابەشکردنە بەسەر 2: 11002=121100_2 = 12 دەبێتە 01102=60110_2 = 6. تەنانەت لێدەرکردنیش بە کۆکردنەوە ئەنجام دەدرێت: 6−36 - 3 دەبێتە 6 کۆ تەواوکەری دووی 3.

hide this mathematics from you. When you write total = price * count, you never see a bit, but the CPU still multiplies two binary numbers underneath.

ئەم بیرکارییەت لێ دەشارنەوە. کاتێک دەنووسیت total = price * count، هیچ نابینیت، بەڵام CPU هەر لە ژێرەوە دوو ژمارەی لێک دەدات.

Quick checkپشکنینی خێراWhat do you get when you shift 001120011_2 (that is, 3) one place to the left?ئەگەر 001120011_2 (واتە ⁦3⁩) یەک خانە بەرەو چەپ بخزێنیت، چی دەبێت؟

Do programmers need maths?ئایا بەرنامەساز پێویستی بە بیرکارییە؟

It depends on the job. Some programmers build apps that are not mathematical at all: a social-media app, an app for reading religious books, a PDF library. Even these use simple mathematics. A food-delivery app counts the items in your basket and sums their prices. Those operations are easy, so such a programmer does not need deep topics like . A programmer who builds games does.

بەپێی پیشەکە دەگۆڕێت. هەندێک بەرنامەساز دروست دەکەن کە هیچ بیرکارییان تێدا نییە: ، بۆ خوێندنەوەی کتێبی ئایینی، کتێبخانەیەکی PDF. تەنانەت ئەمانەش بیرکاریی سادە بەکار دەهێنن. گەیاندنی خواردن کاڵاکانی سەبەتەکەت دەژمێرێت و نرخەکانیان کۆ دەکاتەوە. ئەم کارانە ئاسانن، بۆیە بەرنامەسازێکی وا پێویستی بە بابەتی قووڵی وەک نییە. بەرنامەسازێک کە یاری دروست دەکات پێویستیەتی.

Nobody knows all of mathematics, just as nobody is expected to know every : no human can memorise that much. You learn the mathematics that your field needs, and you can always learn more when a new job needs it.

کەس هەموو بیرکاری نازانێت، هەروەک چۆن چاوەڕێ ناکرێت کەس هەموو بزانێت: هیچ مرۆڤێک ناتوانێت ئەو هەموو شتە لەبەر بکات. ئەو بیرکارییە فێر دەبیت کە بوارەکەت پێویستی پێیەتی و هەر کاتێک کارێکی نوێ پێویستی پێ بوو، دەتوانیت زیاتر فێر ببیت.

Like the seven notes of musicوەک حەوت ئاوازەکەی مۆسیقا

Mathematics is to computers what the seven notes (do, re, mi, fa, sol, la, si) are to music. You can press the keys of a piano without knowing the notes, but you will never become a pianist.

بیرکاری بۆ وەک حەوت ئاوازەکە (دۆ، ڕێ، می، فا، سۆڵ، لا، سی) وایە بۆ مۆسیقا. دەتوانیت دوگمەکانی پیانۆ دابگریت بەبێ ئەوەی ئاوازەکان بزانیت، بەڵام هەرگیز نابیتە پیانۆژەن.

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

Some musicians play well by ear, and you can start programming with very little formal maths. The analogy is about going deep: the further you go, the more you need it.

هەندێک مۆسیقاژەن بە گوێ باش دەژەنن و دەتوانیت بە بیرکارییەکی زۆر کەم دەست بە بکەیت. ئەم بەراوردە باسی قووڵبوونەوەیە: هەتا زیاتر بڕۆیت، زیاتر پێویستت پێی دەبێت.

Quick checkپشکنینی خێراWhich statement is true?کام ڕستە ڕاستە؟

Which maths for which IT field?کام بیرکاری بۆ کام بواری IT؟

Computer science grew out of mathematics. Modern tools hide much of it, but , , , and data analysis are all built on mathematics and statistics.

زانستی لە بیرکارییەوە سەری هەڵداوە. ئامرازە نوێیەکان زۆربەی دەشارنەوە، بەڵام ، ، ، و شیکردنەوەی هەموویان لەسەر بیرکاری و بنیات نراون.

A two-column map. Left: branches of mathematics. Right: where each works in IT. Boolean algebra → CPUs and logic circuits; geometry → games and animation; linear algebra → computer graphics and AI; calculus → training machine-learning models; probability → AI and speech recognition; statistics → data mining and data analysis; graph theory → networks and route finding.نەخشەیەکی دوو ستوونی. چەپ: لقەکانی بیرکاری. ڕاست: هەر یەکەیان لە کوێی IT کار دەکات. جەبری بوول ← CPU و سووڕە لۆجیکییەکان؛ ئەندازەزانی ← یارییە ڤیدیۆییەکان و ئەنیمەیشن؛ جەبری هێڵی ← گرافیکی کۆمپیوتەری و ژیریی دەستکرد؛ کالکولەس ← ڕاهێنانی مۆدێلەکانی فێربوونی ئامێر؛ ئەگەر ← ژیریی دەستکرد و ناسینەوەی ئاخاوتن؛ ئامار ← کانکاریی دراوە و شیکردنەوەی دراوە؛ تیۆریی گراف ← ڕایەڵە کۆمپیوتەرییەکان و دۆزینەوەی ڕێگا.
A map of mathematics in IT.نەخشەی بیرکاری لە ITـدا.CêIT
The essay's research list: mathematics behind ITلیستی توێژینەوەی نامیلکەکە: بیرکاری لە پشت ITـەوە
MathematicsبیرکاریUsed forبۆ چی بەکار دێت
Binary arithmetic and ژمێرکاریی و Every area of programming and hardwareهەموو بەشێکی و
and Fourier transforms و گۆڕینەکانی فۆریێImage processing: photo filters, picture compressionکارکردن لەسەر وێنە: فلتەری وێنە، بچووککردنەوەی قەبارەی وێنە
Bayesian statistics and multivariable calculus بەیزی و کالکولەسی چەند گۆڕاوی and و
: finding routes for data: دۆزینەوەی ڕێگا بۆ
Mathematical reasoning (logic)بیرکردنەوەی بیرکاری (لۆجیک)
Strategy: markets, security servicesستراتیژ: بازاڕ، دەزگا ئەمنییەکان

, a branch of , cannot happen at all without , multivariable calculus, and (which itself rests on the theory of , see Sets). In you cannot go far without . In AI you must be good at calculus and linear algebra, plus other mathematics depending on the job. See Machine learning basics and how machines learn from data. How probability works inside phones and computers is in Probability in computing.

کە جۆرێکە لە ، بە هیچ شێوەیەک بەبێ ، کالکولەسی چەند گۆڕاوی، و (کە خۆی لەسەر تیۆریی بەندە، بڕوانە کۆمەڵەکان) ڕوو نادات. لە بەبێ ناتوانیت زۆر بڕۆیتە پێشەوە. لە دەبێت لە کالکولەس و لێزان بیت، لەگەڵ بیرکاریی تر بەپێی پیشەکە. بڕوانە بنەماکانی فێربوونی ئامێر و ئامێر چۆن لە دراوەوە فێر دەبێت. چۆن لەناو مۆبایل و کار دەکات لە ئەگەر لە بواری کۆمپیوتەردا دایە.

Quick checkپشکنینی خێراAram wants to work in computer graphics. Which branch must he learn well?ئارام دەیەوێت لە کار بکات. کام لق دەبێت باش فێر ببێت؟

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

MistakeهەڵەWhat is trueڕاستییەکە
“Maths is only numbers.”«بیرکاری تەنها ژمارەیە.»Maths is also shapes, logic, data and chance.بیرکاری هەروەها شێوە، لۆجیک، و ئەگەری ڕوودانیشە.
“Programmers need no maths” or “must know all of it”.«بەرنامەساز پێویستی بە بیرکاری نییە» یان «دەبێت هەمووی بزانێت».They need the maths of their field, and every app counts and adds.بیرکاریی بوارەکەی خۆیانیان پێویستە و هەموو دەژمێرێت و کۆ دەکاتەوە.
“Colossus encrypted German messages.”«Colossus بۆ نامەکانی ئەڵمانیا دەکرد.»Colossus broke (decrypted) German Lorenz messages.Colossus نامەکانی Lorenzـی ئەڵمانی دەشکاند ().
“On a screen, y grows upward.”«لەسەر y بەرەو سەرەوە زیاد دەبێت.»Screen coordinates start at the top-left; y grows downward. لە سەرەوەی چەپەوە دەست پێدەکەن؛ y بەرەو خوارەوە زیاد دەبێت.
“Count data is a branch of mathematics.”«دراوەی ژمێردراو لقێکی بیرکارییە.»Count data are data whose values are counts; it is a statistics term.دراوەی ژمێردراو واتە کە نرخەکانی ژمارەی ژماردنن؛ زاراوەیەکی .
“A computer is just a calculator.”« تەنها ئامێری حسابکردنە.»It started as one, but the same arithmetic now draws pictures, recognises speech and plays games.وەک ئامێری حسابکردن دەستی پێکرد، بەڵام هەمان ژمێرکاری ئێستا وێنە دەکێشێت، دەنگ دەناسێتەوە و یاری دەکات.

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

ExerciseڕاهێنانExercise 1: a BMIڕاهێنانی ⁦1: BMI⁩

Karwan weighs 80 kg and is 1.80 m tall. Find his BMI to one decimal place.

کاروان ⁦80⁩ کیلۆگرامە و باڵای ⁦1.80⁩ مەترە. BMIـەکەی بە یەک بدۆزەوە.

Show answerوەڵامەکە پیشان بدە
BMI=801.802=803.24≈24.7\text{BMI} = \frac{80}{1.80^2} = \frac{80}{3.24} \approx 24.7
ExerciseڕاهێنانExercise 2: count the trianglesڕاهێنانی 2: سێگۆشەکان بژمێرە

A pyramid has a square base and 4 triangular sides. How many triangles does its need?

هەڕەمێک بنکەیەکی چوارگۆشەیی و 4 لای سێگۆشەیی هەیە. چەند سێگۆشەی پێویستە؟

Hintئاماژە

A square is two triangles.

چوارگۆشەیەک دوو سێگۆشەیە.

Show answerوەڵامەکە پیشان بدە

The 4 sides are already triangles. The square base is cut into 2 triangles. Total: 4+2=64 + 2 = 6 triangles.

4 لاکە خۆیان سێگۆشەن. بنکە چوارگۆشەییەکە دەبڕدرێت بۆ 2 سێگۆشە. کۆی گشتی: 4+2=64 + 2 = 6 سێگۆشە.

ExerciseڕاهێنانExercise 3: scrollingڕاهێنانی 3: تێپەڕکردن

A line of text starts at y=900y = 900. You scroll the page up by 350 pixels, then back down by 100 pixels. What is its y now?

دێڕێکی دەق لە y=900y = 900 دەست پێدەکات. پەڕەکە ⁦350⁩ بەرەو سەرەوە دەبەیت، پاشان ⁦100⁩ دەگەڕێنیتەوە خوارەوە. ئێستا yـەکەی چەندە؟

Show answerوەڵامەکە پیشان بدە
900−350+100=650900 - 350 + 100 = 650

Up subtracts, down adds back.

بەرەو سەرەوە کەم دەکاتەوە، بەرەو خوارەوە زیاد دەکاتەوە.

ExerciseڕاهێنانExercise 4: shifting bitsڕاهێنانی 4: خزاندنی بیتەکان

01102=60110_2 = 6. Shift it one place left, then shift the original one place right. Write both results in binary and decimal.

01102=60110_2 = 6. یەک خانە بەرەو چەپی بخزێنە، پاشان ژمارە ڕەسەنەکە یەک خانە بەرەو ڕاست بخزێنە. هەردوو ئەنجام بە و بە بنووسە.

Show answerوەڵامەکە پیشان بدە
  • Left: 11002=121100_2 = 12 (doubled).
  • Right: 00112=30011_2 = 3 (halved).
  • چەپ: 11002=121100_2 = 12 (دوو هێندە).
  • ڕاست: 00112=30011_2 = 3 (نیوە).
ExerciseڕاهێنانExercise 5: match the fieldڕاهێنانی 5: بوارەکە بگونجێنە

Which branch of mathematics does each job lean on most? (a) finding patterns in a shop's sales data, (b) choosing the fastest route for data through a network, (c) turning a 3-D car in a game, (d) designing the circuits of a CPU.

هەر کارێک زیاتر پشت بە کام لقی بیرکاری دەبەستێت؟ (أ) دۆزینەوەی نەخش لە فرۆشی دوکانێکدا، (ب) هەڵبژاردنی خێراترین ڕێگا بۆ بە ناو ، (ج) ئۆتۆمبێلێکی سێ‌ڕەهەندی لە یارییەکدا، (د) دیزاینکردنی CPU.

Show answerوەڵامەکە پیشان بدە
  • (a) ().
  • (b) (routes in a network).
  • (c) and .
  • (d) (the logic of circuits).
  • (أ) (بۆ ).
  • (ب) (ڕێگاکانی ناو ).
  • (ج) و .
  • (د) (لۆجیکی ).

Summaryپوختە

  • Mathematics (Greek máthēma, “knowledge”) studies quantity, structure, shape and change, and it is built on proof.
  • Computer comes from compute. People with that job title, pebbles, the abacus, Napier's bones and Pascal's machine came before electronic computers; Colossus broke German codes.
  • studies ideas for their own sake; , including statistics, solves real problems.
  • Games build every object from triangles; scrolling recalculates pixel coordinates; computers do everything with binary bits.
  • Each IT field needs its own mathematics: graphics → linear algebra, AI → calculus, probability, linear algebra; networks → graph theory; data mining → statistics.
  • بیرکاری (یۆنانیی máthēma، «زانین») لە چەندێتی، پێکهاتە، شێوە و گۆڕان دەکۆڵێتەوە و لەسەر بنیات نراوە.
  • Computer لە computeـەوە هاتووە. ئەو کەسانەی ئەم ناوە پیشەیەیان هەبوو، وردەبەرد، چۆتکە، ئێسکەکانی نەیپەر و ئامێرەکەی پاسکاڵ پێش هاتن؛ Colossus کۆدە ئەڵمانییەکانی دەشکاند.
  • بۆ خودی بیرۆکەکان لێیان دەکۆڵێتەوە؛ ، لەوانە ، کێشەی ڕاستەقینە چارەسەر دەکات.
  • یارییەکان هەموو شتێک لە سێگۆشە دروست دەکەن؛ دووبارە حساب دەکاتەوە؛ هەموو شتێک بە دەکات.
  • هەر بوارێکی IT بیرکاریی تایبەتی خۆی پێویستە: گرافیک ← ، ← کالکولەس، ، ؛ ← ؛ ← .

Read more (the essay's own sources, checked in 2026): Math is Fun and its geometry pages, Math.net, and Cuemath's algebra in real life. Next: Algebra, Boolean logic and matrices inside the computer.

زیاتر بخوێنەوە (سەرچاوەکانی خودی نامیلکەکە، لە ⁦2026⁩دا پشکنراون): ⁦Math is Fun⁩ و پەڕەکانی ئەندازەزانی، ⁦Math.net⁩ و جەبر لە ژیانی ڕاستەقینەدای Cuemath. دواتر: جەبر، لۆجیکی بوول و ماتریکسەکان لەناو کۆمپیوتەردا.

Videoڤیدیۆ

Watch a videoسەیری ڤیدیۆیەک بکە

A video that viewers liked a lot and praised in their comments, chosen for this lesson.ڤیدیۆیەک کە بینەران زۆریان پێ خۆش بووە و لە کۆمێنتەکانیاندا ستایشیان کردووە، بۆ ئەم وانەیە هەڵبژێردراوە.

10 Math Concepts for ProgrammersFireship · Englishئینگلیزی · 2.3M viewsبینین · 104K likesلایک

Ten kinds of maths programmers use, from Boolean algebra and number systems to graph theory, statistics and linear algebra, each with a quick example.

دە جۆر بیرکاری کە بەکاری دەهێنن، لە و تا ، و ، هەر یەکەیان بە نموونەیەکی خێرا.

A fast overview; chapters: 0:44 Boolean algebra, 1:30 number systems, 5:40 graph theory, 7:06 statistics, 8:04 linear algebra.

ناساندنێکی گشتیی خێرا؛ بەشەکان: ⁦0:44⁩ ، ⁦1:30⁩ ، ⁦5:40⁩ ، ⁦7:06⁩ ، ⁦8:04⁩ .

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

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

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

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

Algebra, Boolean Logic and Matrices Inside the Computerجەبر، لۆجیکی بوول و ماتریکسەکان لەناو کۆمپیوتەردا

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

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