Skip to main content

Randomized Algorithms

  • Chapter
  • First Online:
Book cover First Course in Algorithms Through Puzzles

Abstract

In this chapter, we learn some basic randomized algorithmsand their analyses. Randomized algorithms are a type of probabilistic algorithm. In some contexts, the term probabilistic algorithms may be used in two different meanings: The algorithm itself uses random bits or probabilistic data is input to some deterministic algorithms. In general, when we refer to randomized algorithms, we mean that we are considering the algorithms on a computational model that has some access to random bits. There is a random machine model that assumes that it can obtain one random bit of 0 or 1 uniformly at random in one step and another random machine model that can obtain one random real integer number in some range uniformly at random in one step. Using this feature neatly, we can design simple and powerful algorithms. In this chapter, we will touch on some of their charm.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 49.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Uniformly at random: The term uniformly at random is, of course, a technical term in mathematics, and we have an accurate definition. In this book, we do not discuss the definition of randomness. Intuitively, we can assume that each possible number appears with the same probability.

  2. 2.

    Linearity of expected value: As in the discussion in the proof of Theorem 15, we implicitly use the linearity of expected value.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ryuhei Uehara .

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Uehara, R. (2019). Randomized Algorithms. In: First Course in Algorithms Through Puzzles. Springer, Singapore. https://doi.org/10.1007/978-981-13-3188-6_6

Download citation

  • DOI: https://doi.org/10.1007/978-981-13-3188-6_6

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-13-3187-9

  • Online ISBN: 978-981-13-3188-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics