working my way through the first few pages of James Stewart's' Essential Calculus and came across some notation I'm trying to decode in plain English. In this section he talks about ordered pairs and graphs:
“ If $f$ is a function with domain $A$, then its graph is the set of ordered pairs $$ \{ (x,f(x)) \mid x \in A \} ” $$
So I'm trying to decode that into plain English.
I know the { } indicate a set and that $ \{ x\mid \ldots \} \to$ The set of all $x$ such that...
My take is that the original line is:
If $f$ is a function with domain $A$, then its graph is, The set of all $x$, $f(x)$ pairs such that $x$ is an element of $A$?
Is that correct? Does anyone have a better way of saying this?
Definitions:
A relation is a set of ordered pairs $(x, y)$ and is usually defined by some property or rule. For example, the general equation $y = mx + c$ is a rule that defines the set of ordered pairs $(x, y)$ to be linear, because the rule is the linear relationship described by multiplying the $x$-value by the gradient and adding a constant $c$ to that result.
The domain of a relation is the set of all first elements of the ordered pairs, namely $x$. For example, let $X = \{(x, f(x))\mid x\in A\}$ then since $X$ is a relation and $A$ is the set of all elements $x$, we define $A$ as the domain of $X$.
The range of a relation is the set of all second elements of the ordered pairs, namely $y$. In the set of ordered pairs $(x, f(x))$, we define $y$ as $f(x)$.
The Cartesian Product is the set of all possible pairs of two sets $X$ and $Y$. In symbols, it is denoted as $X\times Y$. $$\begin{align} X\times Y &= \{(x, y) \mid x\in X, y\in Y\} \\ \Leftrightarrow X &= \text{the domain.} \\ \& \ \ Y &= \text{the range.}\end{align}$$ Any subset of a Cartesian product is a relation (since every set is a subset of itself) and in most cases the relation is defined by some rule, i.e. $y$ is related to $x$ in some way and is expressed thus: $$y \ R \ x.$$ A relation that is defined by the rule $y > x$ is sometimes referred to as a many-many correspon-dence because this relation can be represented graphically by a diagram and not just by plotting points on a plane.
Questions:
If $y$ can be defined as $f(x)$, can $x$ be defined as $f(y)$?
No. In the set of ordered pairs $(x, y)$, if we consider such a relation where no two pairs have the same first elements, this is known as a function. Since the first elements $x_1, x_2,\ldots$ cannot be the same, our input of this function is $x$ and our output is $y$. In symbols, $$f(x) = y$$ $***$
What happens when the domain of a relation is not mentioned?
When a domain is not mentioned, it is assumed that the domain is the set of all real numbers $\mathbb{R}$ which is the set of every number that is not expressed as a multiple of $\sqrt{-1} = i$. $$\mathbb{R} = \left\{\mathbb{Q}\cup \mathbb{K}\mid \mathbb{Q} = \text{the rationals}, \mathbb{K} =\text{the irrationals}\right\}.$$ Occasionally, you might see $\mathbb{K} = \mathbb{I}$ but generally $\mathbb{I} = [0, 1]$ and also $\mathbb{K} = \mathbb{P}$ but generally $\mathbb{P}$ is the set of all prime numbers. (Some people also write $\mathbb{K}=\mathbb{Q}'$.)
$***$
How can a function $f$ have a domain, for example $A$?
Because like mentioned in the foregoing, every function is a relation with the constraint that if $\{(x, y)\}\subset f(x)$ then no two subsets of ordered pairs can have the same first element. And since every relation can have a domain (and a range), then every function has a domain.
Since $y = f(x)$ then this entire set (or relation in particular) is a function of $x$. This is simply joining solutions $(x, y)$ of $y = f(x)$ as pairs into a set to construct a relation. With the domain defined as $A$, then $x\in A$, as asserted. We cannot state, however, that this function is the set of all ordered pairs $(x, f(x))$ because we do not know whether or not the domain $A$ is finite or infinite.