Discrete Math Exam Proofs: Senioritis & Graduation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
Shackleford
Messages
1,649
Reaction score
2
These are potential proofs for the discrete math exam on Tuesday. I haven't been able to find proofs online. I have senioritis, and I'm graduating in a few weeks.

If h ∪ g is a function, then h and g are functions.

Is a proof by contraposition the best way to prove this? If you assume h is not a function or g is not a function, then that would imply that h ∪ g is not a function.

Let h and g be functions. If Dom(h) = A, Dom(g) = B, and A ∩B = ∅, then h ∪ g is a function.

I understand why the domains have to be disjoint. You could run into a problem where an element that appears in both domains is not well-defined.
 
Physics news on Phys.org
For the first one what you wrote is correct, assuming you understand why the implication is true.

Your remark on the second one is accurate. Are you confused as to why it's always true when the domains are disjoint?

These problems are essentially solved by just writing down the definition of a function, writing down the definition of union and putting the two together
 
Office_Shredder said:
For the first one what you wrote is correct, assuming you understand why the implication is true.

Your remark on the second one is accurate. Are you confused as to why it's always true when the domains are disjoint?

These problems are essentially solved by just writing down the definition of a function, writing down the definition of union and putting the two together

To show something is a function, the professor wants us to show that (in this case) h ∪ g is a relation, Dom(h ∪ g) = A ∪ B, and it is well-defined. I suppose the most direct way is considering the functions as relations and just using the definitions of functions and unions.
 
What Office Shredder said really, I don't know if you're used to using first order logic but it'll simplify things a whole lot, I'd use some of that. I'd also use the notion of a graph of a function too

I remember my first experience with doing functiony proofs... they were a pain -.-
 
Last edited: