Question:

Suppose that f(x)=7 if x is rational and f(x)=3 if x is irrational on the interval [1,3]. Let P be a partition of [1,3].

What is the lower sum: I have that the lower sum is 0.

What is the upper sum: I have that the upper sum is 4.

What is sup L(f,P) over all partitions: 7

What is inf U(f,P) over all partitions: 3

And that the function is integrable over [1,3]

Am I on the right track with this?