<< Chapter < Page Chapter >> Page >

Determine whether the relation R on the set of all people is reflexive,antireflexive, symmetric,antisymmetric, and/or transitive, where a b R if and only if …

  1. a is older than b .

  2. a is at least as old as b .

  3. a and b are exactly the same age.

  4. a and b have a common grandparent.

  5. a and b have a common grandchild.

Got questions? Get instant answers now!

For each of the following, if the statement is true, explain why, and if the statement is false, give a counter-example relation.

  1. If R is reflexive, then R is symmetric.

  2. If R is reflexive, then R is antisymmetric.

  3. If R is reflexive, then R is not symmetric.

  4. If R is reflexive, then R is not antisymmetric.

  5. If R is symmetric, then R is reflexive.

  6. If R is symmetric, then R is antireflexive.

  7. If R is symmetric, then R is not antireflexive.

Got questions? Get instant answers now!

Quantifiers

Let P x be the statement

has been to Prague
, where the domain consists of your classmates.

  1. Express each of these quantifications in English.

    • x P x
    • x P x
    • x P x
    • x P x
    • x P x
    • x P x
    • x P x
    • x P x

  2. Which of these mean the same thing?

Got questions? Get instant answers now!

Let C x be the statement

x has a cat
, let D x be the statement
x has a dog
, and let F x be the statement
x has a ferret
. Express each of these statements in first-order logic usingthese relations. Let the domain be your classmates.

  1. A classmate has a cat, a dog, and a ferret.

  2. All your classmates have a cat, a dog, or a ferret.

  3. At least one of your classmates has a cat and a ferret, but not a dog.

  4. None of your classmates has a cat, a dog, and a ferret.

  5. For each of the three animals, there is a classmate of yours that has one.

Got questions? Get instant answers now!

Determine the truth value of each of these statements ifthe domain is all real numbers. Where appropriate, give a witness.

  1. x x 2 2
  2. x x 2 -1
  3. x x 2 2 1
  4. x x 2 x
Got questions? Get instant answers now!

Interpreting first-order formulas

Let P x , Q x , R x , and S x be the statements

x is a duck
,
x is one of my poultry
,
x is an officer
, and
x is willing to waltz
, respectively.Express each of these statements using quantifiers, logical connectives, and the relations P x , Q x , R x , and S x .

  1. No ducks are willing to waltz.

  2. No officers ever decline to waltz.

  3. All my poultry are ducks.

  4. My poultry are not officers.

  5. Does the fourth item follow from the first three taken together? Argue informally; you don't need to use thealgebra or inference rules for first-order logic here.

Got questions? Get instant answers now!

You come home one evening to find your roommate exuberant becausethey have managed to prove that there is an even prime number bigger than two.More precisely, they have a correct proof of y P y y 2 E y , for the domain of natural numbers,with P interpreted as

is prime?
and E interpreted as
is even?
. While they are celebrating their imminent fame at thisamazing mathematical discovery, you ponder…

  1. …and realize the formula is indeed true for that interpretation.Briefly explain why. You don't need to give a formal proof using Boolean algebra orinference rules; just give a particular value for y and explain why it satisfies the body of

    y
    .

  2. Is the formula still true when restricted to the domain of natural numbers two or less?Briefly explain why or why not.

  3. Is the formula still true when restricted to the empty domain? Briefly explain why or why not.

  4. Give a formula that correctly captures the notion

    there is an even prime number bigger than 2
    .

Got questions? Get instant answers now!

Questions & Answers

how to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Intro to logic. OpenStax CNX. Jan 29, 2008 Download for free at http://cnx.org/content/col10154/1.20
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Intro to logic' conversation and receive update notifications?

Ask