Appendix A

Essential Mathematical Background

In this appendix we shall consider the mathematical background required in computer science and specifically in algorithm studies, for the students who are not familiar with them.


Why do we need mathematics at all in computer science?

  1. To present information in an easily assimilated form
  2. To provide a convenient method for solving a problem
  3. To predict the behaviour of a real system.

In short we use mathematics to model the real world, see Fig. A.1.

Figure A.1

Figure A.1 | Mathematics used for modelling

A.1  What is Discrete Mathematics?

In Computer Science we mostly come across Discrete Mathematics.


Discrete ...

Get Design and analysis of Algorithms, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.