CMSC 250 Fall 2001 Homework 6 solutions
  1. The truth set for the situations will be:
    1. Proof (by contradiction): Assume: $(\frac{1}{r})^2 \leq \frac{1}{r}$
      $(\frac{1}{r})^2 \leq \frac{1}{r}$
      $\frac{1}{r^2} \leq \frac{1}{r}$
      $r^2 \cdot \frac{1}{r^2} \leq r^2 \cdot \frac{1}{r}$
      $ 1 \leq r $
      This is a contradiction to the original statement that $0< r < 1$.
      Since r can't be both $<1$ and $\geq 1$, the assumption that $(\frac{1}{r})^2 \leq \frac{1}{r}$ must be false.
      This means that it must be true that $(\frac{1}{r})^2 > \frac{1}{r}$.
    2. Counterexample: Let r be 1 and let s be an irrational number such as $\sqrt{2}$. Then, $rs = s$ which is irrational.
    1. Want to show that $a\vert c$. In other words, $c = ak$ for some $k\in{\bf {Z}}$. Proof: Since $a\vert b$, $b=ar$ for some $r\in{\bf {Z}}$. Since $b\vert c$, $c =bs$ for some $s\in{\bf {Z}}$. Hence, $c = (ar)s = a(rs)$, so $a\vert c$ because $rs \in Z$.
    2. Counterexample: Let $a=16$, $b=2$. Then, $a\not \vert 8$ and $a \vert 8b$, but $a\not \vert b$.
  2. Using div and mod notation, $h$,$m$, and $s$ are defined by: h=num_seconds div 3600 m=(num_seconds div 60) mod 60 s=num_seconds mod 60
  3. Floor and Ceiling Questions
    1. Counterexample: Let $x=1.2$. Then $\lceil x^3 \rceil = \lceil 1.728 \rceil = 2$, and $(\lceil 1.2 \rceil)^3 = 2^{3} = 8$,
    2. Counterexample: Let $x=0.1,\,\,y=1.2,\,\,z=2.4.$ Then $\lfloor x+y+z \rfloor = \lfloor 3.7\rfloor = 3$, and $\lfloor .1 \rfloor + \lfloor 1.2 \rfloor + \lfloor 2.4 \rfloor = 0 + 1 + 2 = 6$.
    1. Proof by contraposition: We show that if $n$ is even, then $n^{3}+n^{2}+n$ is even. Proof: Let n=2k, for some $k\in{\bf {Z}}$. Then, $(n^{3}+n^{2}+n) = (2k)^3+(2k)^2+(2k) = 8k^3+4k^2+2k = 2(4k^3+2k^2+k)$. And $(4k^3+2k^2+k) \in Z$ because of closure over the integers. This means that $(n^{3}+n^{2}+n)$ can be written in the form $2j$ for some $j\in{\bf {Z}}$, so it is even.
    2. By the Prime Factorization Theorem,
      $ a = p^{e_a}a_1 $ where $p \not \vert a_1$ and $e_a \in Z$ and $e_a \geq 0$
      $ b = p^{e_b}b_1 $ where $p \not \vert b_1$ and $e_b \in Z$ and $e_b \geq 0$
      Multiplying $a$ and $b$ as defined above we get
      $ab = (p^{e_a}a_1)(p^{e_b}b_1)$
      $ab = p^{e_a+e_b}a_1b_1$
      And $p\vert ab$ means $e_a+e_b >0$

      ASSUME: $p \not \vert a \wedge p \not \vert b$
      $p\not \vert a$ means $e_a = 0$
      $p\not \vert b$ means $e_b = 0$
      This means that $e_a + e_b = 0$.
      That $e_a + e_b = 0$ is a contradition to $e_a+e_b >0$.
      THEREFORE the opposite of the assumption must be true which is that $p \vert a \vee p\vert b$.
    3. We want to show that $a-b = ml$ for some $l\in{\bf {Z}}$. Proof: Since $a\equiv b\hbox{ mod }n$, $a-b = nq$ for some $q\in{\bf {Z}}$. Since $m\vert n$, $mk=n$ for some $k\in{\bf {Z}}$. Hence, $a-b=(mk)q$, so $a-b=m(kq)$. Since $kq$ is an integer, by the definition of congruence mod $m$, $a\equiv b\hbox{ mod } m$.
  4. We want to determine all possible values for $p$. Since $p\vert a$, $a=pr$ for some $r\in{\bf {Z}}$. Since $p\vert a+q$, $a+q=ps$ for some $s\in{\bf {Z}}$. Therefore, $pr = ps -q$, which means that $p(r-s)=q$. Hence, $p\vert q$. Since $q$ is prime, this means that $p$ must be 1 or $q$. Since $p$ is prime, $p$ cannot be $1$, so $p=q$.
  5. Proof by contradiction: Suppose that $s$ is an irriational number and $\sqrt[3]{s}$ is rational. Then, $\sqrt[3]{s}=\frac{a}{b}$ for some integers $a$ and $b$ with $b\neq 0$. Hence, $(\sqrt[3]{s})^{3}=\frac{a^{3}}{b^{3}}$. Since $a^{3}\in{\bf {Z}}$ and $b^{3}\in{\bf {Z}}$ and $b^{3}\neq 0$ since $b\neq 0$, $s$ is a rational number. This is a contradiction, so $\sqrt[3]{s}$ is irrational.
  6. Proof by contradiction: Suppose that $\sqrt{5}$ is rational. Then $\sqrt{5} = \frac{a}{b}$ for some integers $a$ and $b$, where $b\neq 0$. Then, $5 =\frac{a^{2}}{b^{2}}$, which means that $5b^{2} =a^{2}$. By the unique factorization theorem, $b=5^{k}b_{1}$ for some $k, b_{1}\in{\bf {Z}}$, where $k\geq 0$ and $5\not \vert b_{1}$, and $a=5^{l}a_{1}$ for some $l,a_{1}\in{\bf {Z}}$, where $l\geq 0$ and $5\not \vert a_{1}$. Hence, $5(5^{k}b_{1})^{2}=(5^{l}a_{1})^{2}$, and $5^{2k+1}b_{1}^{2}=5^{2l}a_{1}^{2}$, which means that $2k+1=2l$ because there is a unique factorization of the integer on the left and the right into a product of nonnegative powers of primes. Hence, $2(k-l)=1$, which means that $(k-l) = \frac{1}{2}$. This is a contradiction because $k-l$ is an integer and $\frac{1}{2}$ is not an integer. Therefore, $\sqrt{5}$ is not a rational number.

About this document ...

This document was generated using the LaTeX2HTML translator Version 99.1 release (March 30, 1999)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -show_section_numbers -split 0 -no_navigation -no_footnode h6ans

The translation was initiated by John Arras on 2001-10-10


John Arras
2001-10-10