Theorem. Let $f : Q\to \mathbb{R}$ be bounded. Then the statement that $f$ is integrable over $Q$, with $\int_{Q}f = A$, is equivalent to the statement that given $\epsilon>0$, there is a $\delta>0$ such that if $P$ is any partition of mesh less than $\delta$, and if, for each subrectangle $R$ determined by $P$, $x_R$ is a point of $R$, then $|\sum_{R}f(x_R)v(R) - A|<\epsilon$.
The exercise of which I am doing one is the following: Let $f : Q\to \mathbb{R}$ be bounded. Then $f$ is integrable over $Q$ if and only if given $\epsilon> 0$, there is a $\delta> 0$ such that that still has no answer and I would like to know how to demonstrate that too.
Suppose that $f$ is integrable with $\int_{Q}f$, then by the exercise, given $\epsilon>0$ there exists a $\delta>0$ such that if $P$ is a partition with a norm smaller than $\delta$, we have that $U(f,P)-L(f,P)<\epsilon$. Let $x_R\in R$ then we have the following inequalities $\sum_{R}f(x_R)v(R)\leq U(f,P)$ and $A\geq L(f,P)$ and so $\sum_{R}f(x_R)v(R)-A\leq U(f,P)-L(f,P)<\epsilon$, but I do not know how to prove this so I can keep the absolute value. Could anyone help me, please?
For the other direction, suppose the second part of the theorem, then we will have that $U(f,P)-L(f,P)\leq |U(f,P)-L(f,P)|\leq |U(f,P)-A|+|L(f,P)-A|<2\epsilon$ and thus $f$ is integrable.
You have correctly shown that for any partition $P$ with $\|P\| < \delta$ and for any Riemann sum $\sum_R f(x_R) v(R)$ correspnding to $P$, it is true that
$$\tag{1}\sum_R f(x_R) v(R)-A < \epsilon,$$
where $A = \int_Q f.$
Similarly, we have $A \leqslant U(f,P)$ and $L(f,P) \leqslant \sum_R f(x_R) v(R)$ and it follows that
$$A - \sum_R f(x_R) v(R) \leqslant U(f,P) - L(f,P) < \epsilon.$$
This implies $-\epsilon < \sum_R f(x_R) v(R) - A$ and along with (1) we have
$$\tag{2}-\epsilon < \sum_R f(x_R) v(R) - A< \epsilon.$$
Now (2) allows us to "keep the absolute value":
$$\left|\sum_R f(x_R) v(R) - A \right| < \epsilon$$