Try It Now
Site: | Saylor Academy |
Course: | CS202: Discrete Structures |
Book: | Try It Now |
Printed by: | Guest user |
Date: | Monday, 19 May 2025, 6:27 PM |
Description
Work these exercises to see how well you understand this material.
Exercises
- By the recursive definition of binomial coefficients, \(\binom{7}{2} = \binom{6}{2} + \binom{6}{1}\). Continue expanding \(\binom{7}{2}\) to express it in terms of quantities defined by the basis. Check your result by applying the factorial definition of \(\binom{n}{k}\).
- Let p(x) = x5 + 3x4− 15x3 + x − 10.
- Write p(x) in telescoping form.
- Use a calculator to compute p(3) using the original form of p(x).
- Use a calculator to compute p(3) using the telescoping form of p(x).
- Compare your speed in parts b and c.
- What is wrong with the following definition of f : ℝ → ℝ? f (0) = 1 and f(x) = f(x/2)/2 if x ≠ 0.
Source: Al Doerr and Ken Levasseur, http://faculty.uml.edu/klevasseur/ads-latex/ads.pdf This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.
Solutions
- Answer:
\(\begin{align*} \binom{7}{2} &= \binom{6}{2} + \binom{6}{1}\\ &= \binom{5}{2} + \binom{5}{1} + \binom{5}{1} + \binom{5}{0} \\ &= \binom{5}{2} + 2\binom{5}{1} + 1\\ &= \binom{4}{2} + \binom{4}{1} + 2(\binom{4}{1} + \binom{4}{0}) + 1\\ &= \binom{4}{2} + 3(\binom{4}{1}) + 3 \\ &= \binom{3}{2} + \binom{3}{1} + 3(\binom{3}{1} + \binom{3}{0}) + 3\\ &= \binom{3}{2} + 4\binom{3}{1} + 6 \\ &= \binom{2}{2} + \binom{2}{1} + 4(\binom{2}{1} + \binom{2}{0}) + 6 \\ &= 5\binom{2}{1} + 11\\ &= 5(\binom{1}{1} + \binom{1}{0}) + 11\\ &= 21 \end{align*}\) - Answer:
- p(x) in telescoping form: (((( x + 3)x − 15)x + 0)x + 1)x − 10
- p(3) = ((((3 + 3)3 − 15)3 − 0)3 + 1)3 − 10 = 74
- Answer: The basis is not reached in a finite number of steps if you try to compute f (x) for a nonzero value of x.