Are Functions Really Equal? Investigating the Criteria for Function Equality

  • Context: Undergrad 
  • Thread starter Thread starter DumpmeAdrenaline
  • Start date Start date
  • Tags Tags
    Functions Operations
Click For Summary

Discussion Overview

The discussion explores the criteria for function equality, particularly focusing on the domains of functions and the implications of function composition. Participants examine the conditions under which functions can be considered equal and the definitions that govern their operations.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • Some participants propose that the equality of two functions requires them to operate on the same domain and have identical images for corresponding elements.
  • It is suggested that if a function is not defined at a certain point, then the sum of two functions is also not defined at that point, necessitating the intersection of their domains.
  • One participant argues that even if two functions yield real numbers, their equality should consider the mapping of elements in their respective domains to the resulting sums.
  • Another participant introduces the concept of defining a new function on the Cartesian product of the domains of two functions, allowing for the addition of their outputs.
  • Discussion on function composition raises the point that for the composition of two functions to be valid, the range of the first function must be a subset of the domain of the second function.
  • Concerns are raised about whether equality between composed functions requires them to operate on the same domain and map the same elements to the same images.
  • Examples are provided to illustrate the well-defined nature of function compositions, questioning whether certain compositions are valid based on the types of outputs and inputs involved.

Areas of Agreement / Disagreement

Participants express differing views on the criteria for function equality and the implications of function composition, indicating that multiple competing perspectives remain unresolved.

Contextual Notes

Limitations include the dependence on specific definitions of function domains and outputs, as well as the unresolved nature of whether certain criteria for equality are appropriate.

Who May Find This Useful

This discussion may be of interest to those studying mathematics, particularly in the areas of functions, algebra, and composition of functions.

DumpmeAdrenaline
Messages
80
Reaction score
2
TL;DR
Why in combining functions to form other functions do we restrict the domain to the intersections of their domains?
For example:
h(x)=f(x)+g(x)
If f(x) and g(x) are real numbers and real numbers can be added, subtracted, multiplied and divided (except by 0). why do we insist that the x in f(x) and g(x) be {x: x∈ dom f ∩ dom g}?
My thoughts:
The equality of two functions requires two criteria:
1) They operate on the same domain
2) Images be the same, element for element
Criteria 1) is not satisfied if x does not belong to the intersection of the two sets
then f(x1)+g(x2)=h(x3, x2 or x1)
h is mapping a different element in the domain to that of f or g yielding the same image resulting from any operation we perform on f and g.
 
Physics news on Phys.org
If ##f(x)## is not defined at some point ##x_0##, then ##f(x) + g(x)## is not defined either. In other words, ##f(x) + g(x)## can only be defined on the intersection of the domains of ##f(x)## and ##g(x)##.
 
Yes I get that but I am discussing something else. Let f(x1)=y1 and g(x2)=y2. y1 and y2 are two real numbers which can be added, subtracted, multiplied and divided. f(x1)+g(x2)=y1+y2 can't we equate that to another function which maps some element in its domain to y1+y2 because h is mapping a different element in the domain to that of f or g yielding the same image resulting from any operation we perform on f and g.
 
DumpmeAdrenaline said:
Yes I get that but I am discussing something else. Let f(x1)=y1 and g(x2)=y2. y1 and y2 are two real numbers which can be added, subtracted, multiplied and divided. f(x1)+g(x2)=y1+y2 can't we equate that to another function which maps some element in its domain to y1+y2 because h is mapping a different element in the domain to that of f or g yielding the same image resulting from any operation we perform on f and g.
You can define a function on the Cartesian product of the domains of ##f## and ##g##:
$$h: Dom(f) \times Dom(g) \rightarrow \mathbb R$$$$h(x_1, x_2) = f(x_1) + g(x_2)$$
 
  • Like
Likes   Reactions: DumpmeAdrenaline
What about the composition of two functions?
Let f:A->B and g:B->C be given. Then by the composition of f and g we mean the function h:A->C such that for each a∈A, h(a)=g(f(a))
1) The domain of h is A whereas the domain of g is B. To form the composition above, f(a) must belong to B because g cannot map an element which is not part of its domain.
2) Should f(a)=a for equality to hold? Namely h and g operate on the same domain A=B and they map the same element to the same image.
 
The composition ##g(f(x))## is fine as long as the range of ##f(x)## is a subset of the domain of ##g(x)##. If not, then it's not always easy to work out what is the domain of ##g \circ f##. In fact, we get homework problems posted on here for this.
 
DumpmeAdrenaline said:
2) Should f(a)=a for equality to hold? Namely h and g operate on the same domain A=B and they map the same element to the same image.

It sometimes helps to remember that functions can operate on any set (not just numbers), and these statements have to hold for all sets. Sometimes when everything is numbers it's harder to figure out what fits together.

Here's a dumb example. Let ##\mathbb{N}## be the natural numbers, and ##\mathbb{A}## be the English alphabet (letters a,b,c,...,z). Let ##\mathbb{V}## be the set of vowels (a,e,i,o,u) and ##\mathbb{C}## the set of consonants (this is not standard notation! Usually it's the complex numbers)

##f:\mathbb{N} \to \mathbb{A}## takes a number and maps it to "o" if it's odd, "e" if it's even.

So for example f(2)="e", f(7)="o".

We will consider three functions to compose this with.

##g_1:\mathbb{N}\to \mathbb{N}## defined by ##g(n)=n^2##. Is ##g_1 \circ f## well defined?

##g_2: \mathbb{A} \to \mathbb{N}## that takes a letter and maps it to which position it is in the alphabet. So ##g_2("b")=2##, ##g_2(z)= 26##. Is ##g_2\circ f## well defined?

##g_3: \mathbb{C}\to \mathbb{A}## that maps each consonant to itself. So ##g_3('c') = 'c'##. Is ##g_3 \circ f## well defined?
 
Last edited by a moderator:
1) The composition g1.f is not well defined since the output of f is an alphabet and g1 operates rather on natural numbers.
2) g2(f(N))=5 (if N is even) or 15 (if N is odd)
3) g3f(N) is not well defined since E and O are not members of the consonant set.
Am I supplying a wrong criterion to check whether two functions are equal or not?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
6K
  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K