Docsity

Homework 4 for Math4023 - Applied Algebra, Spring 2006, Assignments of Algebra

Toggle sidebar
bg1
Math4023 — Applied algebra, Spring 2006
Homework 4, due Monday 13 February
A. Proof by induction:
The key to proof by induction is to relate the nth case to the n−1th case. This is shown in pictures in some examples
on a sheet printed in black and red, to go with exercises 2-5.
1. (similar to 2.1 and 2.2, page 16).
Prove that for n≥1, n
X
k=1
k2=1
6n(n+ 1)(2n+ 1)
(See http://mathworld.wolfram.com/PowerSum.html for many similar examples.)
2. Prove that it takes 2n−1 moves to move all n≥1 discs from one pile to another in the tower of Hanoi (see red/black
sheet for picture and hint).
3. Show that it’s possible to tile a 2n×2nrectangle with one 1 ×1 square removed with Lshaped tiles made of three
squares. (see picture). (n≥1)
4. Atriangulation of a polygon means a division of the polygon into triangles, by adding lines to the picture of the
polygon, in such a way that all new lines add go between vertices of the polygon, and none of these lines cross each
other. (see red/black sheet for picture). The resulting polygon is called triangulated.
Athree coloring of a triangulated polygon is a choice of color for each vertex, chosen from three colors, so that if two
vertices are joined by a line, they have different colors.
Use induction to prove that it’s always possible to find a three coloring of a triangulated n-gon. (n≥3)
5. Work through some examples to guess how many breaks are needed to break an n×mchocolate bar into 1 ×1
pieces. (see red/black sheet for picture)
Proof your guess is correct using induction. (This is not the only way to prove this result, but use induction to practice
using this method.) (n≥1)
B. number theory question:
6. Find some examples to show that in the set of integers {1,6,11, . . . }={5n+ 1 : n= 0,1,2, . . . }, we don’t have
unique prime factorization. (A prime in this set is a number in this set which is not a product of two other numbers in
the set. E.g., 6 is prime for arithmetic with this set of numbers. There are some numbers a, b, c, d in this set which are
all prime (as elements of this set), and all different, and with ab =cd. Find such an example.)
(Note, this is similar, but not the same as a one of the board work questions).
C. Make up your own questions:
This is a chance to choose your own questions related to topics we’ve covered so far, for next exam. (17 February).
Make up questions that could be used in an exam. Not too easy, and not far too difficult, or I can not use it.
you can also give an additional questions you are interested in, or ask a question about this section of the book, if you
want, but make it clear this is not for an exam.
If you want, say how many minutes you think it would take people to complete your question in an exam.
You do not need to provide solutions. The questions must make sense: you can’t ask to prove something which is false.
To make up a similar question to those in the book or on board work or homework, you can change numbers, or various
other things about a question.
As long as your questions are close enough to the topics covered, and make sense, it will be graded correctly, but it
would be nice if you think about what you think students should have learned so far, and what you feel you have learned
so far from these sections, or already know about these topics.
7. Make up at least one question similar to questions on pages 6 – 7 of the text book.
8. Make up at least one question similar to questions on pages 16 – 18 of the text book.
9. Make up at least one question similar to questions on pages 26 – 27 of the text book.
D. Finite State Machines:
10. Do one question of your choice from pages 26 – 27, on finite state machines.
Don’t forget:
Homework Due Monday February 6:
Write a program, which given integers a, b will find g, u, v, where gis the GCD of aand b, and au +bv =g
Board work for Friday 10 February: Students will do the examples on finite state machines, page 26 – 27.
1
pf3
pf4
pf5

Partial preview of the text

Download Homework 4 for Math4023 - Applied Algebra, Spring 2006 and more Assignments Algebra in PDF only on Docsity!

Math4023 — Applied algebra, Spring 2006

Homework 4, due Monday 13 February

A. Proof by induction: The key to proof by induction is to relate the nth case to the n − 1th case. This is shown in pictures in some examples on a sheet printed in black and red, to go with exercises 2-5.

  1. (similar to 2.1 and 2.2, page 16). Prove that for n ≥ 1, ∑n

k=

k^2 =

n(n + 1)(2n + 1)

(See http://mathworld.wolfram.com/PowerSum.html for many similar examples.)

  1. Prove that it takes 2n^ − 1 moves to move all n ≥ 1 discs from one pile to another in the tower of Hanoi (see red/black sheet for picture and hint).
  2. Show that it’s possible to tile a 2n^ × 2 n^ rectangle with one 1 × 1 square removed with L shaped tiles made of three squares. (see picture). (n ≥ 1)
  3. A triangulation of a polygon means a division of the polygon into triangles, by adding lines to the picture of the polygon, in such a way that all new lines add go between vertices of the polygon, and none of these lines cross each other. (see red/black sheet for picture). The resulting polygon is called triangulated. A three coloring of a triangulated polygon is a choice of color for each vertex, chosen from three colors, so that if two vertices are joined by a line, they have different colors. Use induction to prove that it’s always possible to find a three coloring of a triangulated n-gon. (n ≥ 3)
  4. Work through some examples to guess how many breaks are needed to break an n × m chocolate bar into 1 × 1 pieces. (see red/black sheet for picture) Proof your guess is correct using induction. (This is not the only way to prove this result, but use induction to practice using this method.) (n ≥ 1)

B. number theory question:

  1. Find some examples to show that in the set of integers { 1 , 6 , 11 ,... } = { 5 n + 1 : n = 0, 1 , 2 ,... }, we don’t have unique prime factorization. (A prime in this set is a number in this set which is not a product of two other numbers in the set. E.g., 6 is prime for arithmetic with this set of numbers. There are some numbers a, b, c, d in this set which are all prime (as elements of this set), and all different, and with ab = cd. Find such an example.) (Note, this is similar, but not the same as a one of the board work questions).

C. Make up your own questions:

This is a chance to choose your own questions related to topics we’ve covered so far, for next exam. (17 February). Make up questions that could be used in an exam. Not too easy, and not far too difficult, or I can not use it. you can also give an additional questions you are interested in, or ask a question about this section of the book, if you want, but make it clear this is not for an exam. If you want, say how many minutes you think it would take people to complete your question in an exam. You do not need to provide solutions. The questions must make sense: you can’t ask to prove something which is false. To make up a similar question to those in the book or on board work or homework, you can change numbers, or various other things about a question. As long as your questions are close enough to the topics covered, and make sense, it will be graded correctly, but it would be nice if you think about what you think students should have learned so far, and what you feel you have learned so far from these sections, or already know about these topics.

  1. Make up at least one question similar to questions on pages 6 – 7 of the text book.
  2. Make up at least one question similar to questions on pages 16 – 18 of the text book.
  3. Make up at least one question similar to questions on pages 26 – 27 of the text book.

D. Finite State Machines:

  1. Do one question of your choice from pages 26 – 27, on finite state machines.

Don’t forget:

Homework Due Monday February 6: Write a program, which given integers a, b will find g, u, v, where g is the GCD of a and b, and au + bv = g Board work for Friday 10 February: Students will do the examples on finite state machines, page 26 – 27.

Tower of Hanoi:

You can not place a disc onto a smaller disc

Only one disc moves at each move, from one

Move the discs from the first pole to the last

How many moves does it take to get all the

discs from the first pole to the last?

pole to another pole.

But this is not the triangulation of a polygon

vertices are "adjacent" if they are connected by a line. A triangulation divides a polygon into triangles, but does not add any new vertices

three colors are not enough in this example.

The example on the right shows a "triangulated" polygon, with vertices colored with three colors, and no two adjacent vertices having the same color.

Can you do the same for the next two examples?

Can you find any triangulations where three colors are not enough?

Draw your own triangulations

vertices have the same color

and color them in so no adjacent

What’s the least number of

breaks needed to break a n × m bar of chocolate

into individual 1 × 1 pieces?

3 breaks 4 × 4 = 16 breaks

E.g., for 4 × 5, we cen do it in

19 steps as below. Can you do it in any less? How many?