Give a proof by contradiction of the following: : If x,y are integers and y is...
Assignment 6 1. Prove by contradiction that: there are no integers a and b for which 18a+6b = 1. 2. Prove by contradiction that: if a,b ∈ Z, then a2 −4b ≠ 2 3. Prove by contrapositive that: If x and y are two integers whose product is even, then at least one of the two must be even. Make sure that you clearly state the contrapositive of the above statement at the beginning of your proof. 4. Prove that...
1. What is wrong with the following proof that shows all integers are equal? (Please explain which step in this proof is incorrect and why is it so.) Let P(n) be the proposition that all the numbers in any set of size n are equal. 1) Base case: P(1) is clearly true. 2) Now assume that P(n) is true. That is for any set of size n all the numbers are the same. Consider any set of n + 1...
9. For a fuzzy system with double inputs and single output, x and y are the inputs, z is the output. Assume that the elements of the inputs and output in fuzzy domains are X-fa1,a2,a3), Y={b1,b2,b3}, Z-(c1,c2,c3}, respectively. The relation between inputs and output can be described by the following fuzzy rules: Ifx is A1 and y is B1, then z is C1, where A1 and C1 B2 0.7 0.5 0.2 + a3 0.3 0.4 0.9 0.6 0.8 0.1 b1...
3) [3 marks] Use a proof by cases that for all real number x, xs]x]. You may need this definition. For any real numbers x, [x]= x, if x2 0, -x, otherwise. 4) [3 marks] Give a direct proof that If x is an odd integer and y is an even integer, then x + y is odd. 5) [3 marks] Give a proof by contradiction for the proposition in Q4, above. That is, give a proof by contraction for...
MATLAB: Do the following with the provided .m file (b) Now on the MATLAB prompt, let us create any two 3 × 3 matrices and you can do the following: X=magic(3); Y=magic(3); X*Y matrixMultiplication3by3(X,Y) (c) Now write a new function in MATLAB called matrixMultiplication that can multiply any two n × n matrix. You can safely assume that we will not test your program with matrices that do not have their inner dimensions matched up CODE: function [C] = matrixMultiplicationFor3by3(A,B)...
Proof by contradiction that the product of any nonzero rational number and any irrational number is irrational (Must use the method of contradiction). Which of the following options shows an accurate start of the proof. Proof. Let X+0 and y be two real numbers such that their product xy=- is a rational number where c, d are integers with d 0. Proof. Let x0 and y be two real numbers such that their product xy is an irrational number (that...
Given three relational schemas R(AB), S(A), and T(B), and let r(R), s(S), and t(T) be the relations (relation table or relation instance) corresponding to R, S, and T respectively as the following: AB A B ______ ___ ___ a1 b1 a1 b2 a2 b1 a3 b4 a3 b1 a1 b2 a2 b2 a3 b2 a1 b4 a2 b4 r(R) s(S) t(T) 1. Please give the result of table R divideby table S. 2. Please give...
Course: Theory of computation please answer the following questions using proof by construction, proof by contradiction and proof by induction 1) Show that the set of all integers is a countable set. 2) Show that mod 7 is an equivalence relation.
please answer questions #7-13
7. Use a direct proof to show every odd integer is the difference of two squares. [Hint: Find the difference of squares ofk+1 and k where k is a positive integer. Prove or disprove that the products of two irrational numbers is irrational. Use proof by contraposition to show that ifx ty 22 where x and y are real numbers then x 21ory 21 8. 9. 10. Prove that if n is an integer and 3n...
Please solve the all the questions below. Thanks.
Especially pay attention to 2nd question.
t, which type of proof is being used in each case to prove the theorem (A → C)? Last Line 겨 (p A -p) 겨 First Line a C b. C d. (some inference) C Construct a contrapositive proof of the following theorem. Indicate your assumptions and conclusion clearly 2. If you select three balls at random from a bag containing red balls and white balls,...