Practical Discrete Mathematics
eBook - ePub

Practical Discrete Mathematics

  1. 330 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Practical Discrete Mathematics

About this book

A practical guide simplifying discrete math for curious minds and demonstrating its application in solving problems related to software development, computer algorithms, and data scienceKey Features• Apply the math of countable objects to practical problems in computer science• Explore modern Python libraries such as scikit-learn, NumPy, and SciPy for performing mathematics• Learn complex statistical and mathematical concepts with the help of hands-on examples and expert guidanceBook DescriptionDiscrete mathematics deals with studying countable, distinct elements, and its principles are widely used in building algorithms for computer science and data science. The knowledge of discrete math concepts will help you understand the algorithms, binary, and general mathematics that sit at the core of data-driven tasks. Practical Discrete Mathematics is a comprehensive introduction for those who are new to the mathematics of countable objects. This book will help you get up to speed with using discrete math principles to take your computer science skills to a more advanced level. As you learn the language of discrete mathematics, you'll also cover methods crucial to studying and describing computer science and machine learning objects and algorithms. The chapters that follow will guide you through how memory and CPUs work. In addition to this, you'll understand how to analyze data for useful patterns, before finally exploring how to apply math concepts in network routing, web searching, and data science. By the end of this book, you'll have a deeper understanding of discrete math and its applications in computer science, and be ready to work on real-world algorithm development and machine learning.What you will learn• Understand the terminology and methods in discrete math and their usage in algorithms and data problems• Use Boolean algebra in formal logic and elementary control structures• Implement combinatorics to measure computational complexity and manage memory allocation• Use random variables, calculate descriptive statistics, and find average-case computational complexity• Solve graph problems involved in routing, pathfinding, and graph searches, such as depth-first search• Perform ML tasks such as data visualization, regression, and dimensionality reductionWho this book is forThis book is for computer scientists looking to expand their knowledge of discrete math, the core topic of their field. University students looking to get hands-on with computer science, mathematics, statistics, engineering, or related disciplines will also find this book useful. Basic Python programming skills and knowledge of elementary real-number algebra are required to get started with this book.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Practical Discrete Mathematics by Ryan T. White,Archana Tikayat Ray in PDF and/or ePUB format, as well as other popular books in Mathematics & Discrete Mathematics. We have over one million books available in our catalogue for you to explore.

Information

Part I – Basic Concepts of Discrete Math

Here you will learn the critical vocabulary, notations, and methods of discrete mathematics, including set theory, functions and relations, logic and proofs, arithmetic, counting, and basic probability as applied to computer science.
This part comprises the following chapters:
  • Chapter 1, Key Concepts, Notation, Set Theory, Relations, and Functions
  • Chapter 2, Formal Logic and Constructing Mathematical Proofs
  • Chapter 3, Computing with Base-n Numbers
  • Chapter 4, Combinatorics Using SciPy
  • Chapter 5, Elements of Discrete Probability

Chapter 1: Key Concepts, Notation, Set Theory, Relations, and Functions

This chapter is a general introduction to the main ideas of discrete mathematics. Alongside this, we will go through key terms and concepts in the field. After that, we will cover set theory, the essential notation and notions for referring to collections of mathematical objects and combining or selecting them. We will also think about mapping mathematical objects to one another with functions and relations and visualizing them with graphs.
In this chapter, we will cover the following topics:
  • What is discrete mathematics?
  • Elementary set theory
  • Functions and relations
By the end of the chapter, you should be able to speak in the language of discrete mathematics and understand notation common to the entire field.
Important Note
Please navigate to the graphic bundle link to refer to the color images for this chapter.

What is discrete mathematics?

Discrete mathematics is the study of countable, distinct, or separate mathematical structures. A good example is a pixel. From phones to computer monitors to televisions, modern screens are made up of millions of tiny dots called pixels lined up in grids. Each pixel lights up with a specified color on command from a device, but only a finite number of colors can be displayed in each pixel.
The millions of colored dots taken together form intricate patterns and give our eyes the impression of shapes with smooth curves, as in the boundary of the following circle:
Figure 1.1 – The boundary of a circle
Figure 1.1 – The boundary of a circle
But if you zoom in and look closely enough, the true "curves" are revealed to be jagged boundaries between differently colored regions of pixels, possibly with some intermediate colors, as shown in the following diagram:
Figure 1.2 – A zoomed-in view of the circle
Figure 1.2 – A zoomed-in view of the circle
Some other examples of objects studied in discrete mathematics are logical statements, integers, bits and bytes, graphs, trees, and networks. Like pixels, these too can form intricate patterns that we will try to discover and exploit for various purposes related to computer and data scienc...

Table of contents

  1. Practical Discrete Mathematics
  2. Why subscribe?
  3. Preface
  4. Part I – Basic Concepts of Discrete Math
  5. Chapter 1: Key Concepts, Notation, Set Theory, Relations, and Functions
  6. Chapter 2: Formal Logic and Constructing Mathematical Proofs
  7. Chapter 3: Computing with Base-n Numbers
  8. Chapter 4: Combinatorics Using SciPy
  9. Chapter 5: Elements of Discrete Probability
  10. Part II – Implementing Discrete Mathematics in Data and Computer Science
  11. Chapter 6: Computational Algorithms in Linear Algebra
  12. Chapter 7: Computational Requirements for Algorithms
  13. Chapter 8: Storage and Feature Extraction of Graphs, Trees, and Networks
  14. Chapter 9: Searching Data Structures and Finding Shortest Paths
  15. Part III – Real-World Applications of Discrete Mathematics
  16. Chapter 10: Regression Analysis with NumPy and Scikit-Learn
  17. Chapter 11: Web Searches with PageRank
  18. Chapter 12: Principal Component Analysis with Scikit-Learn
  19. Other Books You May Enjoy