Introduction to Logic and Proofs - Solved Assignment | MATH 347, Assignments of Algebra

Material Type: Assignment; Class: Fundamental Mathematics; Subject: Mathematics; University: University of Illinois - Urbana-Champaign; Term: Summer 2008;

Typology: Assignments

Pre 2010

Uploaded on 03/10/2009

koofers-user-4gn
koofers-user-4gn 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Mee Seong Im Introduction to Logic and Proofs Wednesday July 2, 2008
Problem 5.29 [page 119]. Count the solutions in positive integers x1, ..., xk
to x1+x2+... +xk=n.
Solution.The formula in the text is the number of ways to write n as a sum
of k NONNEGATIVE integers. The problem here asks for the ways to write n
as a sum of k POSITIVE integers. If you remember the proof of the theorem
that involves circles and bars, and translate this to a sum of integers, we can’t
have two bars next to each other because that represents a zero. In other words
think of a list of n circles (each circle represents the integer 1) and then count
how many ways there are to place k-1 bars between the circles so that no two
bars are adjacent. If we number the circles with 1, 2, 3, ..., n, then the spaces
in between them can be represented by the ordered pairs (1, 2), (2, 3), and so
on. Then we can ask how many ways can we choose k-1 of these ordered pairs.
Since there are n-1 such pairs altogether, there are (n-1 choose k-1) such pairs
and each one represents a different way (the order counts) of writing n as a sum
of k positive integers.
Solution by Dr. Paul Weichsel.
1

Partial preview of the text

Download Introduction to Logic and Proofs - Solved Assignment | MATH 347 and more Assignments Algebra in PDF only on Docsity!

Mee Seong Im Introduction to Logic and Proofs Wednesday July 2, 2008

Problem 5.29 [page 119]. Count the solutions in positive integers x 1 , ..., xk to x 1 + x 2 + ... + xk = n.

Solution. The formula in the text is the number of ways to write n as a sum of k NONNEGATIVE integers. The problem here asks for the ways to write n as a sum of k POSITIVE integers. If you remember the proof of the theorem that involves circles and bars, and translate this to a sum of integers, we can’t have two bars next to each other because that represents a zero. In other words think of a list of n circles (each circle represents the integer 1) and then count how many ways there are to place k-1 bars between the circles so that no two bars are adjacent. If we number the circles with 1, 2, 3, ..., n, then the spaces in between them can be represented by the ordered pairs (1, 2), (2, 3), and so on. Then we can ask how many ways can we choose k-1 of these ordered pairs. Since there are n-1 such pairs altogether, there are (n-1 choose k-1) such pairs and each one represents a different way (the order counts) of writing n as a sum of k positive integers.

Solution by Dr. Paul Weichsel.