Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
If $f^2$ is Riemann Integrable is $f$ always Riemann Integrable?

Example of a function f such that $f^2$ is Riemann-Stieltjes integrable on [a,b] but f is not.

I was considering f=$(\chi_{\mathbb{Q}}-\chi_{\mathbb{I}})$ the difference of the characteristic functions for the rationals and irrationals respectively. I know that this is not Riemann Stieltjes integrable but I'm wondering if $f^2$ is.

$f^2$=$(\chi_{\mathbb{Q}}-\chi_{\mathbb{I}})^2$=$\chi_{\mathbb{Q}}^2 +\chi_{\mathbb{I}}^2 - 2\chi_{\mathbb{I}}\chi_{\mathbb{Q}}$ = $\chi_{\mathbb{Q}} + \chi_{\mathbb{I}}$ $\equiv 1$ on [a,b].

Is a correct way of viewing this?

share|cite|improve this question

marked as duplicate by Hans Lundmark, martini, m_t_, Willie Wong Nov 28 '12 at 13:10

This question was marked as an exact duplicate of an existing question.

Yes, that's perfect. It's the classical example for this.

share|cite|improve this answer
Thanks for your reply. I found it interesting that it doesn't depend on the $\alpha(t)$ that we integrate over. – jimmywho Nov 28 '12 at 5:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.