## 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?

- To present information in an easily assimilated form
- To provide a convenient method for solving a problem
- 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** | Mathematics used for modelling

#### A.1 What is Discrete Mathematics?

In Computer Science we mostly come across *Discrete Mathematics*.

**Discrete ...**