Function Equality: Proving Equality w/ Domain & Values

  • Thread starter Thread starter Elwin.Martin
  • Start date Start date
  • Tags Tags
    Function
AI Thread Summary
Two functions f and g are equal if they share the same domain and yield the same output for every input in that domain. The discussion emphasizes the need for rigor in proving this equality, particularly in demonstrating the 'if and only if' nature of the theorem. The initial approach correctly identifies that for f to equal g, each ordered pair in f must correspond to an ordered pair in g and vice versa. It is also noted that while the first part of the proof is solid, the second part requires more clarity and completeness. Overall, the participants highlight the importance of thoroughness in mathematical proofs, even when concepts seem self-evident.
Elwin.Martin
Messages
202
Reaction score
0

Homework Statement


Two functions f and g are equal iff
(a) f and g have the same domain, and
(b) f(x) = g(x) for every x in the domain of f.

Not actually hw, but I wanted to prove or at least see the elementary proof of this theorem.

Homework Equations


just the formal function definition:
A function f is a set of ordered pairs (x,y) [such that] no two of which have the same first member.

y = f(x), customarily is used over (x,y) is an element of f

The Attempt at a Solution


Alright, I just want to know if I'm over-simplifying here...but,

Since f is a set of ordered pairs and g is a set of ordered pairs, for f = g we must have that every ordered pair in f is an ordered pair in g and every ordered pair in g is an ordered pair in f (subsets of one another). For f and g to be equal then, they must contain the same first members and thus the same domain.

And then then something along the same lines for the second part.

Is this too cheap or incorrect somewhere? I'm kind of awful at rigor so any help would be greatly appreciated.
 
Physics news on Phys.org
Elwin.Martin said:

Homework Statement


Two functions f and g are equal iff
(a) f and g have the same domain, and
(b) f(x) = g(x) for every x in the domain of f.

Not actually hw, but I wanted to prove or at least see the elementary proof of this theorem.

Homework Equations


just the formal function definition:
A function f is a set of ordered pairs (x,y) [such that] no two of which have the same first member.

y = f(x), customarily is used over (x,y) is an element of f

The Attempt at a Solution


Alright, I just want to know if I'm over-simplifying here...but,

Since f is a set of ordered pairs and g is a set of ordered pairs, for f = g we must have that every ordered pair in f is an ordered pair in g and every ordered pair in g is an ordered pair in f (subsets of one another). For f and g to be equal then, they must contain the same first members and thus the same domain.

And then then something along the same lines for the second part.

Is this too cheap or incorrect somewhere? I'm kind of awful at rigor so any help would be greatly appreciated.
Yes, "And then then something along the same lines for the second part." does lack rigor.

What you have for the first part looks good. The non-rigorous second part may be OK.

... But, it's an 'if and only if ' theorem, so you're half done at best.
 
SammyS said:
Yes, "And then then something along the same lines for the second part." does lack rigor.

What you have for the first part looks good. The non-rigorous second part may be OK.

... But, it's an 'if and only if ' theorem, so you're half done at best.

^^; I wasn't proposing the second part as an actual part of a proof, haha. Thanks for reminding me about the need to proof the if and only if in both directions, though!


Since f is a set of ordered pairs and g is a set of ordered pairs, for f = g we must have that every ordered pair in f is an ordered pair in g and every ordered pair in g is an ordered pair in f (subsets of one another). For f and g to be equal then, they must contain the same first members and thus the same domain.
Since f is a set of ordered pairs and g is a set of ordered pairs, for f = g we must have that every ordered pair in f is an ordered pair in g and every ordered pair in g is an ordered pair in f (subsets of one another). For f and g to be equal then, they must contain the same pairing of y to each x in (x,y), i.e. they must have that for every x we have f(x)=g(x).

Suppose f and g are two sets of ordered pairs such that the first members of f are the same as the first members of g (same domain) and that for every x in the domain of f, f(x) = g(x). We would like to verify that f and g are equal, i.e. that they contain they are the same set of ordered pairs. Since f and g have the same first members, they share the same domain. To be functions then they must each have that (x,y) = (x,z) iff y=z; taking the fact that f(x) = g(x) for all x in the domain of f, and hence the domain of g, we have then that (x,f(x))=(x,g(x)) for all x in the domain of f and g. Thus, f(x)=g(x).

Is that complete? I feel like it's too wordy...the problem with these kind of proofs is that they feel self evident sometimes and it seems like so much effort explaining it, though I wouldn't doubt there's a small flaw in there.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top