/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Free solutions & answers for Applied Discrete Structures Chapter 8 - (Page 3) [step by step] | 91Ó°ÊÓ

91Ó°ÊÓ

Problem 5

What is wrong with the following definition of \(f: \mathbb{R} \rightarrow \mathbb{R} ? f(0)=1\) and \(f(x)=f(x / 2) / 2\) if \(x \neq 0\).

Problem 6

Use the substitution \(G(n)=T(n)^{2}\) to solve \(T(n)^{2}-T(n-1)^{2}=1\) for \(n \geq 1,\) with \(T(0)=10\).

Problem 6

Solve the following sets of recurrence relations and initial conditions: $$ S(k)-S(k-1)-6 S(k-2)=-30, S(0)=7, S(1)=10 $$

Problem 7

Prove by induction that if \(n \geq 0, \sum_{k=0}^{n}\left(\begin{array}{c}n \\\ k\end{array}\right)=2^{n}\).

Problem 7

Solve the following sets of recurrence relations and initial conditions: $$ S(k)-5 S(k-1)=5^{k}, S(0)=3 $$

Problem 7

Solve as completely as possible: (a) \(Q(n)=1+Q(\lfloor\sqrt{n}\rfloor), n \geq 2, Q(1)=0\). (b) \(R(n)=n+R(\lfloor n / 2\rfloor), n \geq 1, R(0)=0 .\)

Problem 8

Suppose Step 1 of the merge sort algorithm did take a significant amount of time. Assume it takes 0.1 time unit, independent of the value of \(n\). (a) Write out a new recurrence relation for \(T(n)\) that takes this factor into account. (b) Solve for \(T\left(2^{r}\right), r \geq 0\) (c) Assuming the solution for powers of 2 is a good estimate for all \(n\), compare your result to the solution in the text. As gets large, is there really much difference?

Problem 8

Solve the following sets of recurrence relations and initial conditions: $$ S(k)-5 S(k-1)+6 S(k-2)=2, S(0)=-1, S(1)=0 $$

Problem 9

Solve the following sets of recurrence relations and initial conditions: $$ S(k)-4 S(k-1)+4 S(k-2)=3 k+2^{k}, S(0)=1, S(1)=1 $$

Problem 9

A game is played by rolling a die five times. For the \(k^{\text {th }}\) roll, one point is added to your score if you roll a number higher than \(k .\) Otherwise, your score is zero for that roll. For example, the sequence of rolls 2,3,4,1,2 gives you a total score of three; while a sequence of 1.2,3,4,5 gives you a score of zero. Of the \(6^{5}=7776\) possible sequences of rolls, how many give you a score of zero? of one? ... of five?

Access millions of textbook solutions in one place

  • Access over 3 million high quality textbook solutions
  • Access our popular flashcard, quiz, mock-exam and notes features
  • Access our smart AI features to upgrade your learning
Access millions of textbook solutions in one place

Recommended explanations on Math Textbooks