O'Reilly logo

Design and Analysis of Algorithms by Himanshu B. Dave, Parag H. Dave

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required