Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

Sample term test

( \newcommand{\kernel}{\mathrm{null}\,}\)

These mock exams are provided to help you prepare for Term/Final tests. The best way to use these practice tests is to try the problems as if you were taking the test. Please don't look at the solution until you have attempted the question(s). Only reading through the answers or studying them, will typically not be helpful in preparing since it is too easy to convince yourself that you understand them.    

Exercise 1

For a,bZ, define an operation , by ab=(a+b)(a+b). Determine whether on Z.

  1. is closed,
  2. is commutative,
  3. is associative, and
  4. has an identity.
Answer
  1. is closed,

Proof:

Let a,bZ. 

Then ab=(a+b)(a+b)=a2+2ab+b2.

Since · is commutative on Z,a2,2ab,b2Z. Thus a2+2ab+b2Z.

Hence,abZ.

Thus, the binary operation is closed on Z.

  1. is commutative,

Proof:

Let a,bZ. 

Then ab=(a+b)(a+b)=a2+2ab+b2( since · is commutative onZ)=b2+2ba+a2( since ·, + are commutative on Z)=(b+a)(b+a).

Thus ab=ba.

Thus, the binary operation is commutative on Z. ⬜

 

3. is not associative,

Counterexample:

Choose a=2,b=3,c=4.

Then consider, (ab)c=[(2+3)(2+3)]4=254=(25+4)(25+4)=841.

Now consider a(bc)=2[(3+4)(3+4)]=249=(2+49)(2+49)=2601.

Since 8412601, the binary operation is not associative on Z. ⬜

4. Does not have an identity.

Proof by Contradiction:

Let e be the identity on (Z, ).

Then  ae=ea=a,aZ.

Now, a=ea.

=(e+a)(e+a).

=e(e+a)+a(e+a), since · is associative on Z

=e2+ea+ae+a2

a=e2+2ae+a2,aZ., since · is commutative onZ.

Then choose a=0.

Thus,e2=0e=0.

Hence a2=a, for all aZ

This is a contradiction.

Now choose, e0 then it won't work for a=0.

Thus, (Z, \otimes) has no identity.⬜

Exercise 2

For a,bZ,, the ominus of b from a is defined by ab=ab+ab. The oplus of a by b is defined by ab=a+b+ab. The oslash of a by b is defined by ab=(a+b)(ab). Answer the following:

(a) Determine whether is distributive over .

(b) Determine whether is distributive over .

Answer

(a)

Counter Example:

Choose a=2,b=3, and c=4.

Consider 2(34)=2(3+4+(3)(4))=219=(2+19)(219)=357.

Now consider (23)(24)=[(2+3)(23)][(2+4)(24)]=(5)(12)=(5)+(12)+[(5)(12)]=41.

Since 35741, is not distributive over .

(b)

Counter Example:

Choose a=2,b=3, and c=4.

Consider 2(34)=2[(3)(4)+34]=211=(2+11)(211)=117.

Next consider, (23)(24)=[(2+3)(23)][(2+4)(24)]=(5)(12)=(5)(12)+(5)(12)=67.

Since 11767, is not distributive over .

Exercise 3

Let mZ+. Let a,bZ, define the relation aRb iff m(ab).

 

1. Determine whether the relation is

a) reflexive,

b) symmetric

 c) antisymmetric

d) transitive.

2.  If R is an equivalence relation, describe the equivalence classes of Z.

Answer

(a) is reflexive,

Proof:

Let mZ+. 

Let aZ. 

Since aa=0=m(0),m(aa).

Hence, aRa. Thus R is reflexive.◻

 

(b) is symmetric,

Proof:

Let a,bZ, such that aRb. Thus m(ab).

We shall show that bRa.

Since m(ab),ab=m(k),kZ.

Now,(ba)=m(k),kZ.

Thus,m(ba)bRa., therefore, R is symmetric on Z.

 

(c) is antisymmetric,

Counter Example:

We shall show that m | (a - b) and m | (b - a) but a ≠ b.

Choose m = 2, a = 5 and b = 7.

Then 2  | (5 - 7) since -2 = 2(-1) and 2 | (7 - 5) since 2 = 2(1).

But, 5 ≠ 7, thus m | (a - b) is not antisymmetric on ℤ.◻

 

(d) is transitive.

Proof:

Let a, b, c, m ∈ ℤ+  s.t. m | (a - b) and m | (b - c).

We shall show that m | (a - c).

Since m | (a - b), (a - b) = m(k1), k1 ∈ ℤ.

Since m | (b - c), (b - c) = m(k2), k2 ∈ ℤ.

Now consider (a - b) + ( b - c) = mk1 + mk2.

Thus (a - c) = m(k1 + k2), k1 + k2 ∈ ℤ.

Hence m | (a - c), thus a R c, therefore R is transitive on ℤ.◻

 

 

Exercise 4

Find the remainder

(a) when 201×203×207×209 is divided by 13.

(b) when 73453 is divided by 8.

Answer

(a) 201 ≡ 6 (mod 13), 203 ≡ 8 (mod 13), 207 ≡ 12 (mod 13), 209 ≡ 1 (mod 13)

6*8*12*1 = 48*12*1 ≡ 9*12*1 (mod 13)

9*12 = 108 ≡ 4 (mod 13)

(b) 

71=7 (mod 8) Since 1453 is odd, 71453 ≡ 7 (mod 8)

72=1 (mod 8)

73=7 (mod 8)

74=1 (mod 8)

Exercise 5

(a) Let a and b be positive integers such that 7|(a+2b+5) and 7|(b-9).  Prove that 7|(a+b).

(b) Let a,bZ+. If a|b, is it necessarily true that a3|b4?

Answer

a) Let a, b ∈ ℤ_+ such that  7|(a+2b+5),  and 7|(b-9),

 Then 7|((a+2b+5)+(b-9), 7|(a+3b-4)

If 7|(a+b) then 7|(a+3b-4)-(a+b)), 7|(2b-4)

7|(a+b), such that a=7x+5, b=7x+9

 

  7|(a+2b+5)                                     7|(b-9)                             7|(a+b)

=>7|(7x+5 + 2(7x+9) +5)              =>7|(7x+9-9)                    =>7|(7x+5+7x+9)

=>7|(21x + 28)                                 =>7|(7x)                             =>7|(14x+14)

(Do not use equal sign for relations!!!!!!)

b) Proof:

Let a,b ∈ ℤ+ s.t. a | b.

Since a | b, ∃ k ∈ ℤ+ such that b=a(k).

Now consider b4 = (a(k))4,

   = a3(ak4).

Since ak4 ∈ ℤ+, a3 | b4.◻

 


This page titled Sample term test is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Pamini Thangarajah.

  • Was this article helpful?

Support Center

How can we help?