Questions tagged [functions]

For elementary questions about functions, notation, properties, and operations such as function composition. Consider also using the (graphing-functions) tag.

A function $f$ defined on a set $X$ is an assignment of an element in some set $Y$ to each element of $X$. The set $X$ is called the domain of the function and $Y$ is called the codomain. The elements of $X$ are the inputs to the function and the elements of $Y$ are the potential outputs. For some input $x \in X$, its corresponding output in $Y$ is denoted $f(x)$. Not every element of $Y$ needs to be the output corresponding to some input though: the subset of $Y$ containing the elements that are an output of the function is called the range of $f$. When a function $f$ has domain $X$ and codomain $Y$, this is signified by writing $f \colon X \to Y$, and the assignments of inputs to outputs is signified by writing $f\colon x \mapsto f(x)$.

If you have a function whose codomain is the domain of another function, you can compose those two functions. In symbols if you have a function $f\colon X \to Y$ and a function $g \colon Y \to Z$, their composite is a function $g\circ f\colon X\to Z$ defined by the assignment $g\circ f\colon x \mapsto g(f(x))$.

For many examples of functions, the domain and range of the function are topological spaces, meaning that they are equipped with some notion of geometry. In this case we like to think of the function $f\colon X\to Y$ geometrically as the subset of the points $(x,f(x))$ in the topological space $X \times Y$. This subset of all the input-output pairs is called the graph of $f$.

Often mathematics textbooks will define a function slightly more rigorously than this though. They'll say that a function $f \colon X \to Y$ is a relation $R$ on the set $X \times Y$ such that

  1. For each $x \in X$ there is some $y \in Y$ such that $xRy$. Each input needs an output.
  2. If $xRy$ and $xRz$, then $y=z$. Each input needs exactly one output.

Here are a bunch of examples of functions:

  • Many examples of functions covered in elementary and high school have as their domain and codomain the real numbers $\mathbf{R}$. A basic example is the function $f \colon \mathbf{R} \to \mathbf{R}$ defined by the rule $f(x) = x^2$. Thinking geometrically, the graph of $f$ is the set of all points $(x,x^2)$ in the plane $\mathbf{R}^2$, and this forms a parabola. Note that while the codomain of this function is $\mathbf{R}$, the range consists of only the non-negative real numbers.

  • Here's a silly example. For any set $X$ we can define an identity function $\mathbf{1}_X$ with domain and codomain $X$ such that $\mathbf{1}_X \colon x \mapsto x$.

  • Let $W$ denote the set of all strings of letters of the alphabet, so like $\text{npr}$ or $\text{asdfasdf}$ or $\text{butt}$ for example. And let $\mathbf{N}$ denote the set of natural numbers. We can define a function $\ell\colon W \to \mathbf{N}$ such that $\ell$ assigns to each word it's length. So $\ell(\text{defenestration}) = 14$. Also $\ell(\text{butt})=4$.

  • Using the same set $W$ in the last example, let's define another function $\tau\colon W \to W$ such that $\tau$ "reverses" a word. So $\tau(\text{defenestration}) = \text{noitartsenefed}$, and $\tau(\text{butt}) = \text{ttub}$. A few neat properties of $\tau$ that deserve to be pointed out, $\tau \circ \tau = \mathbf{1}_W$, and also $\ell\circ\tau = \ell$.

33723 questions
1
vote
0 answers

Upperbound of the minimum of the sum of two functions

Suppose you have two functions $f_1$ and $f_2$ and you know the minimum and the maximum values of each function. What's a good upperbound for the minimum value of $f_1+f_2$? I thought $\min(\min(f_1)+\max(f_2),\max(f_1)+\min(f_2))$, what do you…
1
vote
2 answers

How to find the range of $f(x) = {e^x \over x-1}$

I want to find the range of the following function : $$f(x) = {e^x \over x-1}$$ How do I find the range of the above function ? I have tried a lot , but do not have any idea to solve this.
1
vote
2 answers

Solution of $\phi \left( x \right) = f{\left( x \right)^{g\left( x \right)}}$

Find the solution of ${\left( {{x^2} - 7x + 11} \right)^{\left( {{x^2} - 13x + 42} \right)}} = 1$ My approach is as follow $\phi \left( x \right) = f{\left( x \right)^{g\left( x \right)}}$ Case 1: $f\left( x \right) = 1;x = 2,5$ Case 2: $f\left( x…
1
vote
0 answers

Funtion problem with a definition and proof about a set "S is smaller than T"

I have a small question about this problem, the problem says: Given 2 sets $S$ and $T$ we declare $S
Altaid
  • 65
1
vote
1 answer

Converting piecewise functions into single expressions

Is it possible to express the below piecewise defined function as a single expression? If not, why? In what cases is it possible? $$ e(x) := \begin{cases} 0, & x \in [0, 199] \\ 5, & x \in [200, 449] \\ 10, & x \in [450, 699] \\ …
1
vote
0 answers

Meaning of R on top of arrow in functions

I was reading some paper and I found out something of which I cannot find the correct meaning. What does $A\xleftarrow{R}B$ means in functions notation? The $R$ on top of the function throw me off, I really want to know what it really means EDIT:…
1
vote
3 answers

Is there a name for a function that produces this graph?

I am trying to find out if there is a name for the function that produces a graph like shown in the picture.
J. Doe
  • 249
1
vote
1 answer

Function $f(x;f(y;z))=k\cdot f(f(x;y);z)$

Is there function $f: \mathbb R^2 \rightarrow\mathbb R $ such that: $\forall a \in \mathbb R$ $\exists x, y \in \mathbb R$ such that $f(x;y)=a$ $\forall x, y \in \mathbb R$ $$f(x;y)=-f(y;x)$$ $\forall x, y, z \in \mathbb…
Roman83
  • 17,884
  • 3
  • 26
  • 70
1
vote
1 answer

How to find range of $f(x) = \frac{x^7 + x^5 + x^3 - x^2 - 1}{6}$

$f(x) = \dfrac{x^7 + x^5 + x^3 - x^2 - 1}{6}$ I'm not getting any idea how to find the range of this function. I know that to find the range of a function, we find the range of inverse function. But in the case of this function, that's quite not…
user983440
1
vote
0 answers

Functions with domain and codomain of the power set

I'm struggling on how to prove this statement: Let $X,Y$ two sets and $f : X \to Y$ and $g: P(X)\to P(Y)$ two functions s.t. $g(A) = f(A)$. Prove that $f$ is bijective $\iff$ $g$ is bijective. So what I did so far is proving that if one is…
lambdar
  • 11
1
vote
1 answer

Domain and Range in function composition

I just came out of an exam that included this question. Let $$g(x)=\sqrt{x^2-1}, ~|x|\geqslant1,$$$$f(x)=\sqrt{x^2+1},~x\in \mathbb{R}.$$ Find $gf$ and $fg$, stating their domain and range. My answer was…
Zugzwang14
  • 1,799
1
vote
1 answer

struggling with $\{(x, y) \in \mathbb Q \times \mathbb Q^+ \mid y = \frac1x\}$ is function or not?

I must say that the last time I have done math (badly) at school was 20 years ago, and I have been given this function but even with the answer I am struggling The anwer is: $\{(x, y) \in \mathbb Q \times \mathbb Q^+ \mid y = \frac1x\}$ is not a…
1
vote
0 answers

Funny Clebsch Gordan symbol properties

What you see here is the graph of the 6j symbol with all arguments being $n=1000$, except one as free variable $x$. This cries for numerous questions: Why the "split" $x \mod 3$? (I highlighted one branch in the second pic.) Why the sinusoid…
1
vote
1 answer

Translation of a function

Let's say I consider the function $f$ to be a "template" function, which I have to translate along the $x$-axis so that the integral $$\int f(x+a)dx = \mathcal{I}.$$ How can I find $a$ if $f$ is not a linear function?
Brian
  • 111
1
vote
1 answer

Is this sufficient to show that $f(p) \leq g(p)$ holds for all $p \geq 0$?

$f(p) = 1 - p, g(p) = e^{-p}$ I have shown that $f(0) = g(0)$ and $f'(p) \leq g'(p)$. Is this sufficient to show that $f(p) \leq g(p)$ holds for all $p \geq 0$? Is there a specific theorem that I need to state? Thanks!