Logo/

Functions and relations flashcard set

Log in

Made with ScholarlyMake flashcards like these from your own notes

Functions and relations flashcard set

Questions and answers

142 cards
  1. Question:What is a function from set A to set B?

    Answer:An assignment of exactly one element of B to each element of A.

  2. Question:How is a function denoted from A to B?

    Answer:f: A → B

  3. Question:What is a relation from set A to set B?

    Answer:A subset R of the Cartesian product A × B consisting of ordered pairs.

  4. Question:What are the elements of a relation?

    Answer:Ordered pairs (a, b) where a ∈ A and b ∈ B.

  5. Question:Give an example of a relation from {a, b, c} to {0, 1, 2, 3}.

    Answer:R = {(a, 0), (a, 1), (a, 3), (b, 1), (b, 2), (c, 0), (c, 3)}

  6. Question:What is a relation from a set A to itself called?

    Answer:A relation on A.

  7. Question:What ordered pairs are in the ≤ relation on {0, 1, 2, 3}?

    Answer:All (a, b) where a ≤ b, like (0,0), (0,1), (0,2), (0,3), (1,1), etc.

  8. Question:How does a relation define a function from A to B?

    Answer:If it contains exactly one ordered pair (a, b) for every a ∈ A.

  9. Question:What is the domain of a function f: A → B?

    Answer:Set A.

  10. Question:What is the codomain of a function f: A → B?

    Answer:Set B.

  11. Question:If f(a) = b, what is b called relative to a?

    Answer:The image of a.

  12. Question:What is a preimage of b under f?

    Answer:An a such that f(a) = b.

  13. Question:What is the range or image of a function f?

    Answer:The set of all images of elements of the domain.

  14. Question:What does it mean for f to map A to B?

    Answer:f is a function from A to B.

  15. Question:What is a one-to-one function?

    Answer:f(a) = f(b) implies a = b for all a, b in domain.

  16. Question:What is another term for one-to-one function?

    Answer:Injective.

  17. Question:How is one-to-one formally defined with quantifiers?

    Answer:∀a∀b (f(a) = f(b) → a = b), universe is domain.

  18. Question:Equivalent logical statement for one-to-one?

    Answer:∀a∀b (a ≠ b → f(a) ≠ f(b))

  19. Question:Is f(x) = x² from integers to integers one-to-one?

    Answer:No, because f(1) = f(-1) = 1 but 1 ≠ -1.

  20. Question:Is f(x) = x + 1 from reals to reals one-to-one?

    Answer:Yes, because if x + 1 = y + 1 then x = y.

  21. Question:What is an increasing function?

    Answer:∀x∀y (x < y → f(x) ≤ f(y)), universe domain.

  22. Question:What is a strictly increasing function?

    Answer:∀x∀y (x < y → f(x) < f(y))

  23. Question:What is a decreasing function?

    Answer:∀x∀y (x < y → f(x) ≥ f(y))

  24. Question:What is a strictly decreasing function?

    Answer:∀x∀y (x < y → f(x) > f(y))

  25. Question:What is an onto function from A to B?

    Answer:For every b ∈ B, there is a ∈ A with f(a) = b.

  26. Question:Another term for onto function?

    Answer:Surjective.

  27. Question:Formal definition of onto with quantifiers?

    Answer:∀y ∃x (f(x) = y), x in domain, y in codomain.

  28. Question:In the example f(a)=3, f(b)=2, f(c)=1, f(d)=3 to {1,2,3}, is it onto?

    Answer:Yes, because 1,2,3 are all images.

  29. Question:If codomain is {1,2,3,4} for that f, is it onto?

    Answer:No, because 4 has no preimage.

  30. Question:Is f(x) = x² from integers to integers onto?

    Answer:No, because negative numbers like -1 have no integer preimage.

  31. Question:Is f(x) = x + 1 from integers to integers onto?

    Answer:Yes, for any y, x = y - 1 works.

  32. Question:What is a one-to-one correspondence?

    Answer:A function that is both one-to-one and onto.

  33. Question:Another term for one-to-one correspondence?

    Answer:Bijection or bijective function.

  34. Question:To show f is injective, what do you do?

    Answer:Assume f(x) = f(y), show x = y for x ≠ y initially.

  35. Question:To show f is not injective?

    Answer:Find x ≠ y with f(x) = f(y).

  36. Question:To show f is surjective?

    Answer:For arbitrary y in B, find x in A with f(x) = y.

  37. Question:To show f is not surjective?

    Answer:Find y in B such that no x with f(x) = y.

  38. Question:What distinguishes a function from a general relation?

    Answer:Exactly one output per input.

  39. Question:Why is the image subset of the codomain?

    Answer:Only elements actually reached are in the image.

  40. Question:In one-to-one functions, what logical equivalence holds?

    Answer:Different inputs imply different outputs.

  41. Question:How do strictly increasing functions relate to one-to-one?

    Answer:They are one-to-one because x < y implies f(x) < f(y).

  42. Question:What makes a function surjective?

    Answer:Range equals codomain.

  43. Question:In bijections, what unique property exists?

    Answer:Each element in B has exactly one preimage in A.

  44. Question:Why isn't f(x)=x² onto from integers?

    Answer:No integer x satisfies x² = -1.

  45. Question:How does domain affect injectivity of f(x)=x+1?

    Answer:Works for reals or integers as it's linear.

  46. Question:What is the role of ordered pairs in functions?

    Answer:They specify the mapping f(a)=b.

  47. Question:Difference between relation on A and from A to B?

    Answer:On A: A to A; from A to B: different sets.

  48. Question:In increasing functions, can f(x) stay the same?

    Answer:Yes, ≤ allows plateaus.

  49. Question:Why change codomain to test surjectivity?

    Answer:Larger codomain may exclude elements.

  50. Question:To prove bijection, what two properties?

    Answer:Injective and surjective.

  51. Question:What is a preimage in function terms?

    Answer:Input that produces a given output.

  52. Question:How to test one-to-one with examples?

    Answer:Check if any two distinct inputs map same.

  53. Question:Formal universe for function quantifiers?

    Answer:Domain for variables in domain.

  54. Question:What if a relation misses an input?

    Answer:Not a function, needs one pair per input.

  55. Question:Range vs codomain key idea?

    Answer:Range ⊆ codomain, equals if surjective.

  56. Question:Strictly decreasing implies what?

    Answer:One-to-one, since outputs differ for different inputs.

  57. Question:Example of non-onto polynomial?

    Answer:x² misses negatives.

  58. Question:Bijection allows what set operation?

    Answer:Cardinality comparison, same size.

  59. Question:How to disprove surjectivity?

    Answer:Show exists y not in range.

  60. Question:Injective functions preserve what?

    Answer:Distinctions between elements.

  61. Question:In f(x)=x+1, why onto integers?

    Answer:Every integer is one more than another.

  62. Question:What is Cartesian product A × B?

    Answer:Set of all ordered pairs (a,b) with a∈A, b∈B.

  63. Question:Nonempty sets requirement for functions?

    Answer:Yes, to assign to each element.

  64. Question:≤ relation example pairs for {0,1,2}?

    Answer:(0,0),(0,1),(0,2),(1,1),(1,2),(2,2).

  65. Question:Unique ordered pair in function relation?

    Answer:One per domain element.

  66. Question:Image of a under f?

    Answer:f(a).

  67. Question:Maps A to B means?

    Answer:Domain A, codomain B.

  68. Question:One-to-one iff no collisions in outputs.

    Answer:Yes, distinct inputs distinct outputs.

  69. Question:f(x)=x² integers: why not injective?

    Answer:Positive and negative square to same.

  70. Question:Increasing allows equals?

    Answer:Yes, ≤ not <.

  71. Question:Onto requires what for codomain?

    Answer:Every element has preimage.

  72. Question:f(a)=3, f(d)=3: affects what?

    Answer:Not one-to-one, same output different inputs.

  73. Question:x+1 onto integers?

    Answer:Yes, surjective.

  74. Question:To show injective: assume equal images, deduce equal domains.

    Answer:Yes.

  75. Question:Non-surjective: exhibit orphan in codomain.

    Answer:Yes.

  76. Question:Relation can be function if singleton outputs.

    Answer:Yes, exactly one per input.

  77. Question:Self-relation example?

    Answer:≤ on numbers.

  78. Question:Preimage can be multiple if not injective.

    Answer:Yes, many a for one b.

  79. Question:Range is subset of codomain always.

    Answer:Yes.

  80. Question:Injective synonym injection.

    Answer:Yes, one-to-one.

  81. Question:f(x)=x+1 reals: injective why?

    Answer:Monotonic increasing.

  82. Question:Strictly increasing: stronger than increasing.

    Answer:Uses < not ≤.

  83. Question:Surjective formal: existential for each y.

    Answer:∃x ∀y.

  84. Question:x² not onto integers: odds? Wait, negatives main.

    Answer:Negatives missed.

  85. Question:Bijection: invertible function.

    Answer:Yes, has inverse.

  86. Question:Prove not injective: counterexample pair.

    Answer:x≠y, f(x)=f(y).

  87. Question:Domain nonempty for functions: why?

    Answer:To have elements to assign.

  88. Question:Cartesian product basis for relations.

    Answer:All possible pairs.

  89. Question:Function as special relation.

    Answer:Functional relation.

  90. Question:Codomain vs range: potential vs actual.

    Answer:Yes.

  91. Question:One-to-one: horizontal line test idea.

    Answer:No more than one intersection.

  92. Question:Example non-one-to-one: quadratic.

    Answer:x².

  93. Question:Decreasing functions: reverse order.

    Answer:≥ for x<y.

  94. Question:Onto example with repeat: still onto if covers.

    Answer:Yes, like f(a)=f(d)=3 but all hit.

  95. Question:x+1 surjective integers: preimage y-1.

    Answer:Always integer.

  96. Question:Bijective: if and only if one-to-one and onto.

    Answer:Yes.

  97. Question:Show surjective: construct preimage.

    Answer:For given y, solve x.

  98. Question:Relations can have zero or many for input.

    Answer:Yes, not function if so.

  99. Question:Example relation with multiples: like R with a to 0,1,3.

    Answer:Not function.

  100. Question:≤ on {0,1,2,3}: how many pairs?

    Answer:10 pairs.

  101. Question:Image set notation: {f(a) | a in A}.

    Answer:Yes.

  102. Question:Preimage of b: f^{-1}(b).

    Answer:Set of a with f(a)=b.

  103. Question:Injective: left-cancellative in composition.

    Answer:Idea, but not stated.

  104. Question:f(x)=x² integers not injective: 1 and -1.

    Answer:Both to 1.

  105. Question:Strictly increasing implies injective.

    Answer:Yes.

  106. Question:Surjective: codomain = range.

    Answer:Equivalent.

  107. Question:Example onto with codomain {1,2,3}: hits all.

    Answer:Yes.

  108. Question:x² onto? No for negatives.

    Answer:Key idea.

  109. Question:To disprove injective: find collision.

    Answer:Yes.

  110. Question:Function assignment: unique b for each a.

    Answer:Core definition.

  111. Question:Relation subset of A×B.

    Answer:Fundamental.

  112. Question:Function from relation: unique pair per a.

    Answer:Yes.

  113. Question:Domain: source set.

    Answer:A in f:A→B.

  114. Question:Codomain: target set.

    Answer:B.

  115. Question:Range: actual outputs.

    Answer:Image set.

  116. Question:One-to-one: no repeats in outputs.

    Answer:For distinct inputs.

  117. Question:Quantifier for injective: ∀a∀b.

    Answer:Implication.

  118. Question:Example injective: linear f(x)=x+1.

    Answer:Yes.

  119. Question:Increasing: non-decreasing.

    Answer:≤.

  120. Question:Onto: every b hit.

    Answer:Surjective.

  121. Question:Quantifier onto: ∀y∃x.

    Answer:Yes.

  122. Question:Non-onto if larger codomain.

    Answer:Like adding 4.

  123. Question:x+1 onto integers.

    Answer:Yes.

  124. Question:Bijection: perfect match.

    Answer:One-to-one and onto.

  125. Question:Prove injective: contradiction if assume x≠y but f equal.

    Answer:Show leads to x=y.

  126. Question:Non-injective: exhibit x,y distinct same f.

    Answer:Yes.

  127. Question:Prove surjective: for any y, give x=...

    Answer:Yes.

  128. Question:Non-surjective: y with ∀x f(x)≠y.

    Answer:Yes.

  129. Question:Key idea: functions as relations with property.

    Answer:Unique output.

  130. Question:Preimage concept: backward mapping.

    Answer:From output to input(s).

  131. Question:Image forward: from input to output.

    Answer:f(a).

  132. Question:One-to-one tests equality preservation.

    Answer:f(a)=f(b) iff a=b.

  133. Question:Contrapositive for one-to-one.

    Answer:a≠b implies f(a)≠f(b).

  134. Question:Why x² not one-to-one integers?

    Answer:f(-x)=f(x) for x>0.

  135. Question:f(x)=x+1 one-to-one reals.

    Answer:Yes, subtract 1 both sides.

  136. Question:Monotonic functions and injectivity.

    Answer:Strictly monotonic are injective.

  137. Question:Onto depends on codomain choice.

    Answer:Yes, can change.

  138. Question:For onto, repeats ok if all covered.

    Answer:Yes.

  139. Question:x² onto integers? No.

    Answer:Can't hit -1.

  140. Question:x+1 onto: yes, because integers closed.

    Answer:Under addition inverse.

  141. Question:Bijection implies same cardinality.

    Answer:Yes.

  142. Question:Methods to prove function properties.

    Answer:Direct, contradiction, counterexample.