Answer
Answer
Answer:
Let p be the proposition "you can access the internet from campus", q be the
proposition "you are a current student", and r be the proposition "you are a
faculty".
Then the given sentence can be translated into propositional logic as:
p ⟶ (q ∨ r)
In words, the propositional statement is "If you can access the internet from
campus, then either you are a current student or you are a faculty."
2. Answer:
First, we will use De Morgan's laws to distribute the negation symbol ¬ over the
disjunction (p∨(¬p∧q)) as follows:
¬(p∨(¬p∧q)) ⟺ ¬p ∧ ¬(¬p∧q)
Next, we will apply De Morgan's laws again to the second term ¬(¬p∧q) as
follows:
¬(p∨(¬p∧q)) ⟺ ¬p ∧ (¬¬p∨¬q)
¬(p∨(¬p∧q)) ⟺ ¬p ∧ (p∨¬q)
¬(p∨(¬p∧q)) ⟺ ¬p ∧ ¬q
3. Answer:
Let p be the proposition "the Automated reply can be sent" and q be the
proposition "the file system is full".
¬p ⟶ q
4. Answer:
4. a
The system specification can be translated into English as follows:
If there exists a printer 'p' such that it is both out of service (F(p)) and busy (B(p)), then
there exists a print job 'J' that has been lost (L(J)). In other words, if there is at least one
printer that is not working properly and is also busy, it implies that there is a print job that
has been lost.
Additionally, the notation ∃p(F(p)∧B(p)) represents the existence of a printer 'p' that is
both out of service (F(p)) and busy (B(p)), while ∃J L(J) indicates the existence of a
print job 'J' that has been lost (L(J)).
4. b
The system specification can be translated into English as follows:
If all printers are busy (represented by the statement ∀pB(p)), then there exists at least
one print job 'J' that is queued (represented by the statement ∃J Q(J)). In other words, if
every printer in the domain is currently in use, then there must be at least one print job
that is waiting to be printed.
Here, the notation ∀pB(p) represents the condition that all printers are busy (B(p)), and
∃J Q(J) indicates the existence of a print job 'J' that is queued (Q(J)).
4. c
The system specification can be translated into English as follows:
If there exists a print job 'J' that is both queued (Q(J)) and lost (L(J)), then there exists a
printer 'p' that is out of service (F(p)). In other words, if there is at least one print job that
has been queued but has subsequently been lost, it implies that there must be a printer
that is currently not working.
Here, the notation ∃J(Q(J)∧L(J)) represents the existence of a print job 'J' that is both
queued (Q(J)) and lost (L(J)), while ∃pF(p) indicates the existence of a printer 'p' that is
out of service (F(p)).
Therefore, the system specification can be interpreted as a condition where if a print job
is queued but lost, it suggests that there may be a problem with the printer and it is
currently out of service.
4. d
The system specification can be translated into English as follows:
If all printers are busy (represented by the statement ∀pB(p)) and all print jobs are
queued (represented by the statement ∀JQ(J)), then there exists at least one print job
'J' that has been lost (represented by the statement ∃JL(J)). In other words, if every
printer in the domain is currently in use and all print jobs are waiting to be printed, then
there must be at least one print job that has been lost.
Here, the notation ∀pB(p) represents the condition that all printers are busy (B(p)),
∀JQ(J) indicates that all print jobs are queued (Q(J)), and ∃JL(J) indicates the
existence of a print job 'J' that has been lost (L(J)).
Therefore, the system specification can be interpreted as a condition where if all printers
are busy and all print jobs are queued, it implies that there may be an issue with the
printing system, and at least one print job has been lost.
5. Answer:
a. Let U(x) be the proposition "x is a user" and M(x) be the proposition "x has
access to an electronic mailbox".
b. Let G(x) be the proposition "x is a member of the group" and L be the
proposition "the file system is locked".
Let S(x) be the proposition "x can access the System box".
Then the given system specification "The System box can be accessed by
everyone in the group if the file system is locked" can be expressed using
universal quantification, implication, and conjunction as:
∀x(G(x) ⟶ (L ⟶ S(x)))
This can be read as "For all x, if x is a member of the group, then if the file
system is locked, x can access the System box." In other words, if the file
system is locked, then everyone in the group can access the System box.
∀x [(F(x) → P(x))]
This means that for all x (representing any possible state of the system), if
the firewall is in a diagnostic state (F(x)), then the proxy server must also
be in a diagnostic state (P(x)). In other words, if the firewall is not in a
diagnostic state, then the proxy server can be in any state. But if the
firewall is in a diagnostic state, the proxy server must also be in a
diagnostic state.
This means that there exists at least one x (representing a router in the
system) such that it is functioning normally (R(x)), the throughput is
between 100 kbps and 500 kbps (T(x)), and the proxy server is not in
diagnostic mode (P). In other words, if the throughput is not between 100
kbps and 500 kbps or the proxy server is in diagnostic mode, then none of
the routers need to be functioning normally. But if the throughput is
between 100 kbps and 500 kbps and the proxy server is not in diagnostic
mode, then there must be at least one router that is functioning normally.
6. Answer:
Using rules of influence, we can show that if the hypothesis "Alice studies well" is
true, then the conclusion "Alice will get the job" must also be true:
R→M
M_T ∨ M_Th
¬R_Th
where M is shorthand for "I watched a movie" and ¬R_Th means "It did not rain on
Thursday".
To obtain the conclusion "I did not watch a movie on Thursday", we can use the
following rules of inference:
p | q | r | p ∨ q | (p ∨ q) ∨ r | q ∨ r | p ∨ (q ∨ r) | (p ∨ q) ∨ r ≡ p ∨ (q ∨ r)
---------------------------------------------------------------------------------------------------------------------
T T T T T T T T
T T F T T T T T
T F T T T T T T
T F F T T F T T
F T T T T T T T
F T F T T T T T
F F T F T T T T
F F F F F F F T
As we can see from the truth table, both sides of the equation have the same truth
values for all possible combinations of p, q, and r. Therefore, we can conclude that
(p∨q)∨r ≡ p∨(q∨r) is a tautology, and the proposition is true for all possible truth
values of p, q, and r.
8. Answer:
(b)
To verify the proposition ¬(p∨q) ≡ ¬p∨¬q using truth tables, we need to consider all
possible truth values for p and q, and evaluate both sides of the equation for each
combination of truth values.
T T T F F F F T
T F T F F T T T
F T T F T F T T
F F F T T T T T
As we can see from the truth table, both sides of the equation have the same truth
values for all possible combinations of p and q. Therefore, we can conclude that ¬(p∨q)
≡ ¬p∨¬q is a tautology, and the proposition is true for all possible truth values of p and
q.
12. Answer:
a) The statement "∀x (x^2 >= x)" states that for all integers x, x squared is greater
than or equal to x.
This statement is true for all non-negative integers (0, 1, 2, 3, ...) since the square
of any non-negative integer is greater than or equal to the integer itself.
However, it is false for negative integers. For example, if x = -1, then x^2 = 1 which
is not greater than or equal to -1. Therefore, the statement is false for all negative
integers.
Thus, the counterexample to the statement is x = -1.
b) The statement "∀x (x > 0 ∨ x < 0)" states that for all integers x, either x is greater
than 0 or x is less than 0.
This statement is actually a tautology, meaning it is always true for any integer x.
Every integer is either greater than 0 or less than 0 (except for 0 itself, which is
not included in the domain of this statement). There are no counterexamples to
this statement.
c) The statement "∀x (x = 1)" states that for all integers x, x is equal to 1.
This statement is false, as there are many integers that are not equal to 1. For
example, 0, -1, and 2 are all integers that are not equal to 1. Therefore, the
counterexample to this statement is any integer that is not equal to 1.
14. Answer:
a) The statement "∀x (R(x) → H(x))" translated into English is "For all animals x, if x
is a rabbit, then x hops."
b) The statement "∀x (R(x) ∧ H(x))" translated into English is "For all animals x, x is
a rabbit and x hops."
c) The statement "∃x (R(x) → H(x))" translated into English is "There exists an
animal x such that if x is a rabbit, then x hops."
d) The statement "∃x (R(x) ∧ H(x))" translated into English is "There exists an
animal x such that x is a rabbit and x hops."
15. Answer:
The negation of the proposition "some drivers do not obey the speed limit" using
quantifiers is:
a) ¬(∃x)(Driver(x) ∧ ¬ObeysSpeedLimit(x))
In English, the negation is "It is not the case that there exists a driver who does
not obey the speed limit", or equivalently, "Every driver obeys the speed limit."
b) ¬(∀x)(AnimationMovie(x) → Funny(x))
In English, the negation is "It is not the case that every animation movie is funny",
or equivalently, "There exists an animation movie that is not funny."
c) ∃x (Person(x) ∧ CanKeepSecret(x))
In English, the negation is "There exists a person who can keep a secret", or
equivalently, "It is not true that no one can keep a secret."
d)
The proposition "there is someone in this class who does not have visited
Saint-Martin" can be expressed using quantifiers as:
In English, the negation is "Every person in this class has visited Saint-Martin", or
equivalently, "No one in this class has not visited Saint-Martin."