Integral using Lebesgue Measure

  • Thread starter Thread starter lmedin02
  • Start date Start date
  • Tags Tags
    Integral Measure
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
lmedin02
Messages
52
Reaction score
0

Homework Statement


Find the integral of the function f(x)=3 when x is rational and 2 when x is irrational on the interval [0,1].

Homework Equations





The Attempt at a Solution


So I partition [0,1] into two disjoint sets A and B. [tex]A=[0,1] \cap Q[/tex] and [tex]B=[0,1] \cap Q^{c}[/tex].
Now the integral should be equal to 3 length(A) + 2 length(B). Since A is a countable set then its measure is zero. But I do not understand how to calculate the measure of B since it is uncountable.
 
Physics news on Phys.org
But you know what the measure of [0,1] is...
 
Thanks for the hint. So 1=len([0,1])=len(A)+len(B)=len(B).