{"id":258836,"date":"2026-07-13T16:32:24","date_gmt":"2026-07-13T13:32:24","guid":{"rendered":"https:\/\/1kitap1.com\/en\/discrete-mathematics-kenneth-rosens\/"},"modified":"2026-07-13T16:32:24","modified_gmt":"2026-07-13T13:32:24","slug":"discrete-mathematics-kenneth-rosens","status":"publish","type":"post","link":"https:\/\/1kitap1.com\/en\/discrete-mathematics-kenneth-rosens\/","title":{"rendered":"Discrete Mathematics &#8211; Kenneth Rosens"},"content":{"rendered":"<figure style=\"text-align:center;margin:0 auto 1.5em;\"><img decoding=\"async\" src=\"https:\/\/1kitap1.com\/en\/wp-content\/uploads\/2026\/07\/e5fc7088731065b0.jpg\" alt=\" - Unknown book cover\" style=\"max-width:300px;width:100%;height:auto;box-shadow:0 4px 12px rgba(0,0,0,.25);border-radius:4px;\"\/><\/figure>\n<p>The Birthday Problem A famous puzzle asks for the smallest number of people needed in a room so that it is more likely than not that at least two of them have the same day of the year as their birthday. Most people \ufb01nd the answer, which we determine in Example 13, to be surprisingly small.<\/p>\n<p>After we solve this famous problem, we will show how similar reasoning can be adapted to solve a question about hashing functions. The Birthday Problem What is the minimum number of people who need to be in a room so that the probability that at least two of them have the same birthday is greater than 1\/2? Solution: First, we state some assumptions. We assume that the birthdays of the people in the room are independent.<\/p>\n<p>Furthermore, we assume that each birthday is equally likely and that there are 366 days in the year. (In reality, more people are born on some days of the year than others, such as days nine months after some holidays including New Year\u2019s Eve, and only leap years have 366 days.) To \ufb01nd the probability that at least two of n people in a room have the same birthday, we \ufb01rst calculate the probability pn that these people all have different birthdays.<\/p>\n<p>Then, the probability that at least two people have the same birthday is 1\u2013 pn. To compute pn, we consider the birthdays of the n people in some \ufb01xed order. Imagine them entering the room one at a time; we will compute the probability that each successive person entering the room has a birthday different from those of the people already in the room.<\/p>\n<p>The birthday of the \ufb01rst person certainly does not match the birthday of someone already in the room. The probability that the birthday of the second person is different from that of the \ufb01rst person is 365\/366 because the second person has a different birthday when he or she was born on one of the 365 days of the year other than the day the \ufb01rst person was born. (The assumption that it is equally likely for someone to be born on any of the 366 days of the year enters into this and subsequent steps.)<\/p>\n<p>The probability that the third person has a birthday different from both the birthdays of the \ufb01rst and second people given that these two people have different birthdays is 364\/366. In general, the probability that the jth person, with 2 \u2264j \u2264366, has a birthday different from the 7 \/ Discrete Probability birthdays of the j \u22121 people already in the room given that these j \u22121 people have different birthdays is 366 \u2212( j \u22121) = 367 \u2212j .<\/p>\n<blockquote>\n<p>Published by McGraw-Hill, a business unit of The McGraw-Hill Companies, Inc., 1221 Avenue of the Americas, New York, NY 10020. Copyright \u00a9 2012 by The McGraw-Hill Companies, Inc. All rights reserved. Previous editions \u00a9 2007, 2003, and 1999. No part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written consent of The McGraw-Hill Companies, Inc., including, but not limited to, in any network or other electronic storage or transmission, or broadcast for distance learning.<\/p>\n<p>Some ancillaries, including electronic and print components, may not be available to customers outside the United States. This book is printed on acid-free paper. 1 2 3 4 5 6 7 8 9 0 DOW\/DOW 1 0 9 8 7 6 5 4 3 2 1 ISBN 978-0-07-338309-5 MHID 0-07-338309-0 Vice President &#038; Editor-in-Chief: Marty Lange Editorial Director: Michael Lange Global Publisher: Raghothaman Srinivasan Executive Editor: Bill Stenquist Development Editors: Lorraine K. Buczek\/Rose Kernan Senior Marketing Manager: Curt Reynolds Project Manager: Robin A. Reed Buyer: Sandy Ludovissy Design Coordinator: Brenda A.<\/p>\n<p>Rolwes Cover painting: Jasper Johns, Between the Clock and the Bed, 1981. Oil on Canvas (72 \u00d7 126 1\/4 inches) Collection of the artist. Photograph by Glenn Stiegelman. Cover Art \u00a9 Jasper Johns\/Licensed by VAGA, New York, NY Cover Designer: Studio Montage, St. Louis, Missouri Lead Photo Research Coordinator: Carrie K.<\/p>\n<p>Burger Media Project Manager: Tammy Juran Production Services\/Compositor: RPK Editorial Services\/PreTeX, Inc. Typeface: 10.5\/12 Times Roman Printer: R.R. Donnelley All credits appearing on this page or at the end of the book are considered to be an extension of the copyright page. Library of Congress Cataloging-in-Publication Data Rosen, Kenneth H. Discrete mathematics and its applications \/ Kenneth H. Rosen. \u2014 7th ed. p. cm. Includes index. ISBN 0\u201307\u2013338309\u20130 1. Mathematics. 2. Computer science\u2014Mathematics. I. Title. QA39.3.R67 2012 511\u2013dc22 2011011060 www.mhhe.com Contents About the Author vi Preface vii The Companion Website xvi To the Student xvii 1 The Foundations: Logic and Proofs .<\/p>\n<p>. . . . . . . . . . . . . . . . . . . . . . . .<\/p>\n<\/blockquote>\n<p><em>This is a short excerpt from the opening of &ldquo;&rdquo; by Unknown, quoted for review and introduction purposes. All rights belong to the copyright holders.<\/em><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/1kitap1.com\/en\/discrete-mathematics-kenneth-rosens\/#Book_Information\" >Book Information<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/1kitap1.com\/en\/discrete-mathematics-kenneth-rosens\/#Reading_Word_Statistics\" >Reading &amp; Word Statistics<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/1kitap1.com\/en\/discrete-mathematics-kenneth-rosens\/#Most_Frequent_Words\" >Most Frequent Words<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/1kitap1.com\/en\/discrete-mathematics-kenneth-rosens\/#PDF_Download\" >PDF Download<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Book_Information\"><\/span>Book Information<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>Unique ID:<\/strong> e5fc7088731065b0<\/li>\n<li><strong>File Extension:<\/strong> .pdf<\/li>\n<li><strong>File Size:<\/strong> 10,143,359 bytes (9.673 MB)<\/li>\n<li><strong>Title:<\/strong> &#8211;<\/li>\n<li><strong>Author:<\/strong> Unknown<\/li>\n<li><strong>ISBN:<\/strong> 9780073383095, 9780077353506, 9780077353490, 0073383090, 0077353501, 0077353498, 0110110110, 1111111111, 0000000000<\/li>\n<li><strong>Pages:<\/strong> 1072<\/li>\n<li><strong>Language:<\/strong> English (en)<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Reading_Word_Statistics\"><\/span>Reading &amp; Word Statistics<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>Estimated Reading Time:<\/strong> 3465.76 minutes<\/li>\n<li><strong>Total Words:<\/strong> 693,153<\/li>\n<li><strong>Total Characters:<\/strong> 3,572,087<\/li>\n<li><strong>Average Words per Page:<\/strong> 646.6<\/li>\n<li><strong>Average Characters per Page:<\/strong> 3332.17<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Most_Frequent_Words\"><\/span>Most Frequent Words<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>set (2801), number (2391), two (2225), show (1938), one (1839), example (1798), graph (1757), integers (1652), integer (1512), using (1499), use (1458), algorithm (1415), positive (1384), used (1384), true (1362), vertices (1203), \ufb01rst (1182), many (1108), relation (1101), let (1093), elements (1057), vertex (1038), function (988), solution (944), numbers (943), \ufb01nd (906), proof (887), every (884), theorem (883), mod (860), least (842), tree (831), suppose (817), three (811), step (805), section (760), edges (759), sets (750), also (749), bit (747), given (741), exercise (740), statement (740), figure (732), prove (713), element (706), find (690), string (665), sequence (663), different (654), functions (637), list (627), induction (621), problem (621), probability (617), strings (616), graphs (614), real (611), see (605), sum (604), follows (592), path (590), note (588), value (585), terms (580), form (579), computer (570), ways (562), whether (551), state (548), determine (541), edge (540), second (535), mathematical (533), called (529), boolean (520), between (517), length (513), mathematics (509), four (500), simple (499), exercises (496), possible (485), values (484), inductive (478), shown (473), recurrence (464), relations (464), hence (458), algorithms (454), circuit (454), new (452), order (448), input (445), table (442), time (435), de\ufb01nition (434), people (433), prime (428), machine (425).<\/p>\n<h2><span class=\"ez-toc-section\" id=\"PDF_Download\"><\/span>PDF Download<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align:center;\"><a href=\"https:\/\/1kitap1.com\/en\/wp-content\/uploads\/2026\/07\/discrete-mathematics-kenneth-rosens.pdf\" download rel=\"nofollow\" style=\"display:inline-block;background:#2271b1;color:#ffffff;padding:14px 36px;border-radius:6px;text-decoration:none;font-weight:bold;font-size:1.05em;\">&#11015;&#65039; PDF Download<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Birthday Problem A famous puzzle asks for the smallest number of people needed in a room so that it is more likely than not that at least two of them have the same day of the year as their birthday. Most people \ufb01nd the answer, which we determine in Example 13, to be surprisingly [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":258834,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-258836","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-english"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/posts\/258836","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/comments?post=258836"}],"version-history":[{"count":0,"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/posts\/258836\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/media\/258834"}],"wp:attachment":[{"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/media?parent=258836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/categories?post=258836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1kitap1.com\/en\/wp-json\/wp\/v2\/tags?post=258836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}