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.

Fig. A.1 Mathematics used for modelling

A.1 WHAT IS DISCRETE MATHEMATICS?

In Computer Science we mostly come across Discrete Mathematics.

Discrete Mathematics ...

Get Design and Analysis of Algorithms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.