Chapter 5: Q9E (page 358)
Let f be a function such that F(n) is the sum of the first n positive integers. Give a recursive definition of F(n).
Short Answer
The recursive function definition is
Chapter 5: Q9E (page 358)
Let f be a function such that F(n) is the sum of the first n positive integers. Give a recursive definition of F(n).
The recursive function definition is
All the tools & learning materials you need for study success - in one app.
Get started for freeLet be the statement that when nonintersecting diagonals are drawn inside a convex polygon with sides, at least two vertices of the polygon are not endpoints of any of these diagonals.
a) Show that when we attempt to prove for all integers n with using strong induction, the inductive step does not go through.
b) Show that we can prove that is true for all integers n with by proving by strong induction the stronger assertion , for , where states that whenever nonintersecting diagonals are drawn inside a convex polygon with sides, at least two nonadjacent vertices are not endpoints of any of these diagonals.
Give a recursive algorithm for finding a mode of a list of integers. (A mode is an element in the list that occurs at least as often as every other element.)
a) Find a formula for the sum of the firstneven positive
integers.
b) Prove the formula that you conjectured in part (a).
Let be the statement that in a triangulation of a simple polygon with sides, at least one of the triangles in the triangulation has two sides bordering the exterior of the polygon.
a) Explain where a proof using strong induction that is true for all integers runs into difficulties.
b) Show that we can prove that is true for all integers by proving by strong induction the stronger statement for all integers , which states that in every triangulation of a simple polygon, at least two of the triangles in the triangulation have two sides bordering the exterior of the polygon.
Prove that if and are sets such that , then
What do you think about this solution?
We value your feedback to improve our textbook solutions.