Made with ScholarlyMake flashcards like these from your own notes
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.
Question:How is a function denoted from A to B?
Answer:f: A → B
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.
Question:What are the elements of a relation?
Answer:Ordered pairs (a, b) where a ∈ A and b ∈ B.
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)}
Question:What is a relation from a set A to itself called?
Answer:A relation on A.
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.
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.
Question:What is the domain of a function f: A → B?
Answer:Set A.
Question:What is the codomain of a function f: A → B?
Answer:Set B.
Question:If f(a) = b, what is b called relative to a?
Answer:The image of a.
Question:What is a preimage of b under f?
Answer:An a such that f(a) = b.
Question:What is the range or image of a function f?
Answer:The set of all images of elements of the domain.
Question:What does it mean for f to map A to B?
Answer:f is a function from A to B.
Question:What is a one-to-one function?
Answer:f(a) = f(b) implies a = b for all a, b in domain.
Question:What is another term for one-to-one function?
Answer:Injective.
Question:How is one-to-one formally defined with quantifiers?
Answer:∀a∀b (f(a) = f(b) → a = b), universe is domain.
Question:Equivalent logical statement for one-to-one?
Answer:∀a∀b (a ≠ b → f(a) ≠ f(b))
Question:Is f(x) = x² from integers to integers one-to-one?
Answer:No, because f(1) = f(-1) = 1 but 1 ≠ -1.
Question:Is f(x) = x + 1 from reals to reals one-to-one?
Answer:Yes, because if x + 1 = y + 1 then x = y.
Question:What is an increasing function?
Answer:∀x∀y (x < y → f(x) ≤ f(y)), universe domain.
Question:What is a strictly increasing function?
Answer:∀x∀y (x < y → f(x) < f(y))
Question:What is a decreasing function?
Answer:∀x∀y (x < y → f(x) ≥ f(y))
Question:What is a strictly decreasing function?
Answer:∀x∀y (x < y → f(x) > f(y))
Question:What is an onto function from A to B?
Answer:For every b ∈ B, there is a ∈ A with f(a) = b.
Question:Another term for onto function?
Answer:Surjective.
Question:Formal definition of onto with quantifiers?
Answer:∀y ∃x (f(x) = y), x in domain, y in codomain.
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.
Question:If codomain is {1,2,3,4} for that f, is it onto?
Answer:No, because 4 has no preimage.
Question:Is f(x) = x² from integers to integers onto?
Answer:No, because negative numbers like -1 have no integer preimage.
Question:Is f(x) = x + 1 from integers to integers onto?
Answer:Yes, for any y, x = y - 1 works.
Question:What is a one-to-one correspondence?
Answer:A function that is both one-to-one and onto.
Question:Another term for one-to-one correspondence?
Answer:Bijection or bijective function.
Question:To show f is injective, what do you do?
Answer:Assume f(x) = f(y), show x = y for x ≠ y initially.
Question:To show f is not injective?
Answer:Find x ≠ y with f(x) = f(y).
Question:To show f is surjective?
Answer:For arbitrary y in B, find x in A with f(x) = y.
Question:To show f is not surjective?
Answer:Find y in B such that no x with f(x) = y.
Question:What distinguishes a function from a general relation?
Answer:Exactly one output per input.
Question:Why is the image subset of the codomain?
Answer:Only elements actually reached are in the image.
Question:In one-to-one functions, what logical equivalence holds?
Answer:Different inputs imply different outputs.
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).
Question:What makes a function surjective?
Answer:Range equals codomain.
Question:In bijections, what unique property exists?
Answer:Each element in B has exactly one preimage in A.
Question:Why isn't f(x)=x² onto from integers?
Answer:No integer x satisfies x² = -1.
Question:How does domain affect injectivity of f(x)=x+1?
Answer:Works for reals or integers as it's linear.
Question:What is the role of ordered pairs in functions?
Answer:They specify the mapping f(a)=b.
Question:Difference between relation on A and from A to B?
Answer:On A: A to A; from A to B: different sets.
Question:In increasing functions, can f(x) stay the same?
Answer:Yes, ≤ allows plateaus.
Question:Why change codomain to test surjectivity?
Answer:Larger codomain may exclude elements.
Question:To prove bijection, what two properties?
Answer:Injective and surjective.
Question:What is a preimage in function terms?
Answer:Input that produces a given output.
Question:How to test one-to-one with examples?
Answer:Check if any two distinct inputs map same.
Question:Formal universe for function quantifiers?
Answer:Domain for variables in domain.
Question:What if a relation misses an input?
Answer:Not a function, needs one pair per input.
Question:Range vs codomain key idea?
Answer:Range ⊆ codomain, equals if surjective.
Question:Strictly decreasing implies what?
Answer:One-to-one, since outputs differ for different inputs.
Question:Example of non-onto polynomial?
Answer:x² misses negatives.
Question:Bijection allows what set operation?
Answer:Cardinality comparison, same size.
Question:How to disprove surjectivity?
Answer:Show exists y not in range.
Question:Injective functions preserve what?
Answer:Distinctions between elements.
Question:In f(x)=x+1, why onto integers?
Answer:Every integer is one more than another.
Question:What is Cartesian product A × B?
Answer:Set of all ordered pairs (a,b) with a∈A, b∈B.
Question:Nonempty sets requirement for functions?
Answer:Yes, to assign to each element.
Question:≤ relation example pairs for {0,1,2}?
Answer:(0,0),(0,1),(0,2),(1,1),(1,2),(2,2).
Question:Unique ordered pair in function relation?
Answer:One per domain element.
Question:Image of a under f?
Answer:f(a).
Question:Maps A to B means?
Answer:Domain A, codomain B.
Question:One-to-one iff no collisions in outputs.
Answer:Yes, distinct inputs distinct outputs.
Question:f(x)=x² integers: why not injective?
Answer:Positive and negative square to same.
Question:Increasing allows equals?
Answer:Yes, ≤ not <.
Question:Onto requires what for codomain?
Answer:Every element has preimage.
Question:f(a)=3, f(d)=3: affects what?
Answer:Not one-to-one, same output different inputs.
Question:x+1 onto integers?
Answer:Yes, surjective.
Question:To show injective: assume equal images, deduce equal domains.
Answer:Yes.
Question:Non-surjective: exhibit orphan in codomain.
Answer:Yes.
Question:Relation can be function if singleton outputs.
Answer:Yes, exactly one per input.
Question:Self-relation example?
Answer:≤ on numbers.
Question:Preimage can be multiple if not injective.
Answer:Yes, many a for one b.
Question:Range is subset of codomain always.
Answer:Yes.
Question:Injective synonym injection.
Answer:Yes, one-to-one.
Question:f(x)=x+1 reals: injective why?
Answer:Monotonic increasing.
Question:Strictly increasing: stronger than increasing.
Answer:Uses < not ≤.
Question:Surjective formal: existential for each y.
Answer:∃x ∀y.
Question:x² not onto integers: odds? Wait, negatives main.
Answer:Negatives missed.
Question:Bijection: invertible function.
Answer:Yes, has inverse.
Question:Prove not injective: counterexample pair.
Answer:x≠y, f(x)=f(y).
Question:Domain nonempty for functions: why?
Answer:To have elements to assign.
Question:Cartesian product basis for relations.
Answer:All possible pairs.
Question:Function as special relation.
Answer:Functional relation.
Question:Codomain vs range: potential vs actual.
Answer:Yes.
Question:One-to-one: horizontal line test idea.
Answer:No more than one intersection.
Question:Example non-one-to-one: quadratic.
Answer:x².
Question:Decreasing functions: reverse order.
Answer:≥ for x<y.
Question:Onto example with repeat: still onto if covers.
Answer:Yes, like f(a)=f(d)=3 but all hit.
Question:x+1 surjective integers: preimage y-1.
Answer:Always integer.
Question:Bijective: if and only if one-to-one and onto.
Answer:Yes.
Question:Show surjective: construct preimage.
Answer:For given y, solve x.
Question:Relations can have zero or many for input.
Answer:Yes, not function if so.
Question:Example relation with multiples: like R with a to 0,1,3.
Answer:Not function.
Question:≤ on {0,1,2,3}: how many pairs?
Answer:10 pairs.
Question:Image set notation: {f(a) | a in A}.
Answer:Yes.
Question:Preimage of b: f^{-1}(b).
Answer:Set of a with f(a)=b.
Question:Injective: left-cancellative in composition.
Answer:Idea, but not stated.
Question:f(x)=x² integers not injective: 1 and -1.
Answer:Both to 1.
Question:Strictly increasing implies injective.
Answer:Yes.
Question:Surjective: codomain = range.
Answer:Equivalent.
Question:Example onto with codomain {1,2,3}: hits all.
Answer:Yes.
Question:x² onto? No for negatives.
Answer:Key idea.
Question:To disprove injective: find collision.
Answer:Yes.
Question:Function assignment: unique b for each a.
Answer:Core definition.
Question:Relation subset of A×B.
Answer:Fundamental.
Question:Function from relation: unique pair per a.
Answer:Yes.
Question:Domain: source set.
Answer:A in f:A→B.
Question:Codomain: target set.
Answer:B.
Question:Range: actual outputs.
Answer:Image set.
Question:One-to-one: no repeats in outputs.
Answer:For distinct inputs.
Question:Quantifier for injective: ∀a∀b.
Answer:Implication.
Question:Example injective: linear f(x)=x+1.
Answer:Yes.
Question:Increasing: non-decreasing.
Answer:≤.
Question:Onto: every b hit.
Answer:Surjective.
Question:Quantifier onto: ∀y∃x.
Answer:Yes.
Question:Non-onto if larger codomain.
Answer:Like adding 4.
Question:x+1 onto integers.
Answer:Yes.
Question:Bijection: perfect match.
Answer:One-to-one and onto.
Question:Prove injective: contradiction if assume x≠y but f equal.
Answer:Show leads to x=y.
Question:Non-injective: exhibit x,y distinct same f.
Answer:Yes.
Question:Prove surjective: for any y, give x=...
Answer:Yes.
Question:Non-surjective: y with ∀x f(x)≠y.
Answer:Yes.
Question:Key idea: functions as relations with property.
Answer:Unique output.
Question:Preimage concept: backward mapping.
Answer:From output to input(s).
Question:Image forward: from input to output.
Answer:f(a).
Question:One-to-one tests equality preservation.
Answer:f(a)=f(b) iff a=b.
Question:Contrapositive for one-to-one.
Answer:a≠b implies f(a)≠f(b).
Question:Why x² not one-to-one integers?
Answer:f(-x)=f(x) for x>0.
Question:f(x)=x+1 one-to-one reals.
Answer:Yes, subtract 1 both sides.
Question:Monotonic functions and injectivity.
Answer:Strictly monotonic are injective.
Question:Onto depends on codomain choice.
Answer:Yes, can change.
Question:For onto, repeats ok if all covered.
Answer:Yes.
Question:x² onto integers? No.
Answer:Can't hit -1.
Question:x+1 onto: yes, because integers closed.
Answer:Under addition inverse.
Question:Bijection implies same cardinality.
Answer:Yes.
Question:Methods to prove function properties.
Answer:Direct, contradiction, counterexample.