Define a relation rf by the rule

Assignment Help C/C++ Programming
Reference no: EM13939034

1. Let f be any function from R to R. Define a relation Rf by the rule: x Rf y if and only if f(x) = f(y). Show that Rf is an equivalence relation. (Hint 1: first consider a simple specific case, such as f(x) = x2. That is, x and y are related if and only if x2 = y2. Then consider the general case. Hint 2: Think about contour lines on a map.)

2: For the special case f(x) = x2 of Problem 2, what are the equivalence classes? (Hint: Check out some special cases. Which numbers are related to 0? Which numbers are related to 7? Which numbers are related to -5?)

3: Consider three sets A, B, and C, where A has 7 elements, B has 5 elements, and C has 2 elements. How many (ternary) relations are there on the sets A, B, C?

4. Suppose that the directed graph below were the reduced graph of a partial order relation. What edges would you have to add to this graph to create the full graph of the partial order relation? (You will probably want to sketch this on paper, but in responding, you don't have to provide an illustration, just list the edges to be added.)

162_arr.png

5. Define a relation on the squares of a chessboard by saying that two squares are related if an only if a bishop can get from one square to the other by a sequence of legal moves? This is clearly an equivalence relation. How many equivalence classes are there?

Describe them.
(Info for non-chess players: a chessboard is the same thing as a checkerboard and is 8 x 8. A bishop can only move diagonally.)

Question for discussion: You may have noticed that I have freely batted around the word counterexample. What does this word mean? Can you give some examples of counterexamples from everyday life?

Reference no: EM13939034

Questions Cloud

Show pressure distribution related to velocity and vorticity : Using Navier-Stokes equation and the above result, show that the pressure distribution can be related to the velocity and vorticity by
Why are the symptoms of a cold similar every time : Why are the symptoms of a cold similar every time? What is the role of the mast cells? How is it that a person becomes immune to a particular infection once she or he has recovered?
How is the villus the functional unit of the small intestine : How is the villus the functional unit of the small intestine? What is the structure and function and the enzymes found there.
What attributes would you include in each of the reports : Discuss in your submission - The type of reports you will produce from Cognos; What attributes would you include in each of the reports; and Explain why a particular re..
Define a relation rf by the rule : Consider three sets A, B, and C, where A has 7 elements, B has 5 elements, and C has 2 elements. How many (ternary) relations are there on the sets A, B, C?
How many molecules of co2 are produced : For each turn of the Kreb's cycle, how much ATP is produced? How many molecules of CO2 are produced? What is the significance of stripping off high-energy electrons from the pyruvate?
How critical thinking help in international business : Remember the client will have to implement the plan and your goal is to demonstrate how application of a critical thinking framework like 7Cs can help guide them on their international business journey.
How are micturation and defecation reflexes different : Using the negative feedback system, explain how osmoreceptors and CO2 receptors maintain water balance and respiratory rates. Include a diagram.
Conduct a strategic marketing analysis : Conduct a strategic marketing analysis, similar to the one that Melissa would prepare, for Radiance. Based on this information, thoroughly answer the following questions:What marketing strategies should Radiance pursue in the next five years? Explain..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Demonstrate your code compiles and runs for a test case

Use a For loop to iterate through the array and input the values. Demonstrate your code compiles and runs for a test case of your choice.

  Generates a random number and asks the user

Write a program in c++ that generates a random number and asks the user to guess what the number is. If the user's guess is higher than the random number

  Program reads a number and prints all of its binary digit

Write a program that reads a number and prints all of its binary digits. Print the remainder number % 2, thenreplace the number with number / 2. Keep going until the number is 0.

  Algorithm and create a flowchart

Write an algorithm and create a flowchart which simulate the testing for cell phone PIN. If the user entered the correct pin code, display "Welcome to DLM Telecom".

  Question 1 what basic differences exist between the

question 1 what fundamental differences exist between object-oriented and relational database systems?question 2

  What is the output of the following function call after main

What is the output of the following function call, given the function shown after main?

  Add the correct code to fill the matrix array with the value

Use the file below code and add the correct code to fill the matr2 array with the values that make it the matrix transpose of matr1. There are many examples on the Internet that show how to do this in C++ and what it should look like when it is corre..

  Write a program to calculate a person''s net pay

Write a program to calculate a person's net pay after subtracting federal income tax.The program should ask the user to enter the person's name, social security number, gross pay, and the number of dependents.

  One function shows the user how to use the program

Declare two functions One function shows the user how to use the program. Other function is use to calculate power and square root of variables.

  Program that asks the user for two integers and a character

Write a program that asks the user for two integers and a character, 'A', 'S', or 'M'. Call one of three functions that adds, substracts, or multiplies the user's integers, based on the character input.

  Write programme that allows a user to enter distinct words

Write a programme that allows a user to enter three distinct words and returns them as a single string

  Reduce the numerator and denominator

Write the function  in C ++ to reduce the numerator and denominator in the Rat class to lowest terms.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd