Professional Documents
Culture Documents
AALGEBRE1
AALGEBRE1
AALGEBRE1
Algebra
Worksheet 1
Logic
1. 3 + 3 = 19.
2. It is cold today.
6. 23 = 8.
7. 2 is a rational number.
Exercise 2 Give the negation of the following compound statements and determine which one
is true:
1. (2 + 9 = 11) ∧ (2 + 9 = 13).
2. (2 + 3 = 5) ∨ (3 + 4 = 9).
4. 0 < x ⩽ 5.
5. ∀x ∈ R, x ∈ [1, 2] ⇔ x > 2.
6. ∀x ∈ N, x2 = 1 ⇒ x = 1.
Exercise 3 Let P, Q and R be three propositions. Using the truth table, show that we have
the following equivalences :
1. P ∧ Q ⇔ Q ∧ P .
2. P ∨ Q ⇔ Q ∨ P .
3. ¬(¬P ) ⇔ P .
4. ¬ (P ∧ Q) ⇔ (¬ P ) ∨ (¬ Q).
5. ¬ (P ∨ Q) ⇔ (¬ P ) ∧ (¬ Q).
1
7. (P ∨ (Q ∨ R)) ⇔ ((P ∨ Q) ∨ R).
8. P ∧ (Q ∨ R) ⇔ (P ∧ Q) ∨ (P ∧ R).
9. P ∨ (Q ∧ R) ⇔ (P ∨ Q) ∧ (P ∨ R).
Exercise 4 On the Island of Knights and Knaves, Knights always tell the truth and Knaves
always lie. In each of the following cases, decide what are A and B.
1. You meet two islanders A and B. A says: I am a knave but he is not.
Exercise 5 Replace the dotted lines with the right logical operator: ⇔, ⇒, ⇐.
1. ∀x ∈ R, x2 = 4 · · · x = 2.
2. ∀z ∈ C, z = z · · · z ∈ R.
3. ∀x ∈ R, x = π · · · exp(2ix) = 1.
Exercise 6 Let f be a real function. Translate the following expressions in terms of quantifiers
and then give their negations.
1. f is an increasing function.
2. f is an even function.
3. f is an odd function.
4. f is a decreasing function.
6. f is strictly monotonic.
2. ∀ x ∈ R, ∃ y ∈ R, x + y > 0.
3. ∀ x ∈ R, ∀ y ∈ R, x + y > 0.
4. ∃ x ∈ R, ∀ y ∈ R, y 2 > x.
Exercise 8 We define the logical operator ⊕, called exclusive or (xor), by : P ⊕ Q is true if,
and only if, exactly one of the propositions is true.
1. Give the truth table of ⊕.
Exercise 9 We want to prove by induction the following proposition : for any natural number
n and any real x ⩾ −1, we have (1 + x)n ⩾ 1 + nx.
2
1. Verify that (1 + nx)(1 + x) = 1 + (n + 1)x + nx2 .
∀n ∈ N, n2 + n + 41 is prime.
√ ln 2
Exercise 12 Show that 3 and are not rational numbers.
ln 3
Exercise 13 Let n ∈ N⋆ . Show that if n is a perfect square, then 2n is not a perfect square.
(Reminder : a natural number n is a perfect square if there exists a natural number k such
that n = k 2 .)
Exercise 14 [pigeonhole principle] Prove that if you put away (n + 1) pairs of socks in n
separate drawers, then there is at least one drawer containing at least 2 pairs of socks.
Application : show that it is impossible to place 9 rooks on a chessboard so that they all don’t
threaten each other.
2. Noting that an odd integer n is written in the form n = 4k + r, with k ∈ N and r ∈ {1, 3},
prove the contraposition and then conclude.