2

What does it mean rigorously for two functions $f: \mathbb{R} \to \mathbb{R}$ and $g: \mathbb{R} \to \mathbb{R}$ to be equivalent? Does $f = g$ if and only if $\forall x \in \mathbb{R} \ \ f(x) = g(x)$?

1 Answers1

5

It means three things. First, the domains of the two functions must be the same. Secondly, the ranges (as apposed to images) of the functions must be the same. Thirdly, for each element of the domain, the rule of the two functions must yield the same result.

ncmathsadist
  • 49,383
  • 1
    I am discussing equality of functions. – ncmathsadist Jan 24 '14 at 02:21
  • 1
    Wouldn't the first and third statements imply the second? After all, if for all $x$, $f(x) = g(x)$, then it follows that every element of the range of $f$ is also in the range of $g$, and conversely. –  Jan 24 '14 at 03:59
  • 4
    @Strants I'm thinking ncmathsadist meant codomain instead of range. – Cameron Williams Jan 24 '14 at 04:03
  • I make a distinction. There is the image of a function; this is $f(D)$, where $D$ is the domain of $f$. The range of a function is the set you are specifying it takes values in. If $f:[0,\infty)\to \mathbb{R}$ is defined by $f(x) = x$ and $g:[0,\infty)\to [0,\infty)$ is defined by $g(x) = x$, I see these as different functions. – ncmathsadist Jan 24 '14 at 23:01