What Defines Function Equality?

  • Thread starter zenctheo
  • Start date
  • Tags
    Function
In summary, two functions are equal when their domain and codomain are the same, but two functions are not equal if their domain and codomain are different.
  • #1
zenctheo
4
0
Hello to every one!
I have a question that came up when I was talking with a fellow mathematician.
I used to say that two functions are equal when the have the same formula and the same domain and codomain.
We read in a book though that two functions are equal when they have the same domain and when the values of the function are equal for the same X.
For example
[tex]
f(x)=x^2
[/tex] and [tex]g(x)=x^3[/tex] are equal when their domain is only the points 0 and 1,[tex]x \in \{0,1\}[/tex]because f(0)=g(0)=0 and f(1)=g(1) even though their formula is different.
I thought that this definition of equality is incomplete because by saying that f(x)=g(x) then

[tex]
\frac{df}{dx}=\frac{dg}{dx}
[/tex] but on point x=1 [tex]\frac{df}{dx}=2[/tex] and [tex]\frac{dg}{dx}=3[/tex].

Thus we derive two different results from to equal quantities. Therefore two functions in order to be equal should also have the same formula.
Can you please give any insight on this?
Thanks a lot in advance.
Akis
 
Physics news on Phys.org
  • #2
The derivative is not defined on the domain given. It requires a continuous interval. Remember the limit definition of the derivative:

[tex]f'(x) = \lim_{\Delta x \rightarrow 0} \frac{f(x + \Delta x) - f(x)}{\Delta x}[/tex]

But for nearly all [itex]\Delta x[/itex], [itex]x + \Delta x[/itex] lies outside your domain. Therefore, you can't take the limit. :)

So, you are correct: Two functions are equal if and only if they have the same domain and their values are equal at every point within the domain.
 
  • #3
Thanks a lot for the reply.
You that I am wrong because I was the one saying that the functions should also have the same formula.
In order to get things straight: You mean that the above two functions are equal... or not?
 
  • #4
The functions are in fact equal. Also, as Ben said, those functions don't have derivatives because they're not defined on an open interval of the real numbers.

As another example, would you consider these to be the same function?
Let's say f and g are functions from the real numbers to the real numbers defined as

f(x) = x
g(x) = x when x^2 >= 0 and -x when x^2 < 0

Since the functions are only defined on the real numbers, there are no points where they'd differ.

On a related note: "Having the same formula" is not a well-defined concept. Most (almost all) functions cannot be written with a closed formula and many (as you've seen with the example you gave) have multiple formulas.
 
  • #5
Ok. It's nice to learn a new thing. Even if I am proven wrong :))

Thanks a lot.
 

FAQ: What Defines Function Equality?

What is function equality?

Function equality refers to the concept of two functions being equal in terms of their input and output. This means that both functions produce the same result when given the same input.

How is function equality determined?

Function equality is determined by comparing the definitions of two functions. If the two functions have the same definition, they are considered equal.

Can two functions with different names be equal?

Yes, two functions with different names can still be equal as long as they have the same definition and produce the same output for the same input.

Why is function equality important in mathematics?

Function equality is important in mathematics because it allows us to make statements and proofs about functions without having to refer to specific names or variables. It also helps us to understand the relationships between different functions.

How is function equality different from function equivalence?

Function equality and function equivalence are two different concepts. Function equality refers to two functions being equal in terms of their definition and output. Function equivalence, on the other hand, refers to two functions being equal in terms of their behavior or properties. Two functions can be equal but not equivalent, and vice versa.

Similar threads

Replies
1
Views
2K
Replies
6
Views
2K
Replies
4
Views
2K
Replies
6
Views
1K
Replies
2
Views
2K
Replies
2
Views
2K
Replies
1
Views
1K
Back
Top