Injective and Continuity of split functions

Click For Summary

Homework Help Overview

The problem involves a function defined on the interval I:=[0,1], where the function takes different forms based on whether the input is rational or irrational. Participants are tasked with demonstrating that the function is injective, that applying the function twice returns the original input, and that the function is continuous only at a specific point, x = 1/2.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the injectivity of the function by considering cases for rational and irrational inputs, with some suggesting a need for clearer arguments. There are attempts to show continuity using limits and the ε-δ criterion, with questions about the clarity and relevance of certain arguments presented.

Discussion Status

Some participants have provided guidance on how to approach the proof of injectivity and continuity, while others express confusion about specific arguments and seek clarification. Multiple interpretations of the function's properties are being explored, particularly regarding continuity at points other than x = 1/2.

Contextual Notes

Participants note the challenges of proving continuity and injectivity, with references to the definitions of piecewise functions and the need for rigorous arguments. There is also mention of the potential confusion surrounding terminology and the requirements of the homework assignment.

kingstrick
Messages
107
Reaction score
0

Homework Statement



Let I:=[0,1], let f: I→ℝ defined by f(x):= x when x is rational and 1-x when x is irrational. Show that f is injective on I and that f(fx) =x for all x in I. Show that f is continuous only at the point x =1/2

**I think i addressed all of these questions but I am unsure how to build all three elements into one formal proof.

The Attempt at a Solution



proof: Let I:=[0,1], f:I→ℝ defined by f(x):= {f(x) = x if x in Q, f(x) = 1-x if x is not in Q,} Now the lim f(x) = f(x0) as x →x0, lim x ≠ 1 as x →+1 (since there is an irrational going away from the limit), lim x ≠ 1 as x→-1 (since there is an irrational going away from the limit)

Injective:
There exists, a & b in [0,1], where a ≠ b, if a or b are rational then a ≠ 1 - a and b ≠ 1 - b. If a and b are irrational then 1-a ≠1-b → -a ≠-b → a ≠ b. Since a and b are in the interval [0,1], and a ≠ b then WLOG [a,b] must be an interval contained in [0,1].

show f(f(x) = x
If x is rational then f(f(x)) = (x) = x
If x is irrational then f(f(x)) = 1 - (1-x) = 1-1+x=x
Therefore f(f(x)) =x

show that f is continuous only at the point x =1/2
To be continuous at a point, the function must have a limit at that point and since this is a split function each of its equations must be able to exist at the same point. Therefore, 1-x = x, 1 = 2x, 1/2 = x is the only solution that meets these requirements.
 
Physics news on Phys.org
kingstrick said:
proof: Let I:=[0,1], f:I→ℝ defined by f(x):= {f(x) = x if x in Q, f(x) = 1-x if x is not in Q,} Now the lim f(x) = f(x0) as x →x0, lim x ≠ 1 as x →+1 (since there is an irrational going away from the limit), lim x ≠ 1 as x→-1 (since there is an irrational going away from the limit)

What is the point of this argument?

Injective:
There exists, a & b in [0,1], where a ≠ b, if a or b are rational then a ≠ 1 - a and b ≠ 1 - b. If a and b are irrational then 1-a ≠1-b → -a ≠-b → a ≠ b. Since a and b are in the interval [0,1], and a ≠ b then WLOG [a,b] must be an interval contained in [0,1].

What you wrote here doesn't make any sense. Start with the assumption that f(x) = f(y) and show that x = y.

show f(f(x) = x
If x is rational then f(f(x)) = (x) = x
If x is irrational then f(f(x)) = 1 - (1-x) = 1-1+x=x
Therefore f(f(x)) =x

This is correct. You might want an argument showing that 1-x is irrational if x is irrational, but that depends on what your instructor wants for the course.

show that f is continuous only at the point x =1/2
To be continuous at a point, the function must have a limit at that point and since this is a split function each of its equations must be able to exist at the same point. Therefore, 1-x = x, 1 = 2x, 1/2 = x is the only solution that meets these requirements.

I am not familiar with the term "split function" but I assume you mean it to be the same thing as a piece-wise function. To prove that f is continuous at x = 2-1 just use the ε-δ criterion for continuity at x = 2-1. To prove that f is discontinuous everywhere else, just show that the ε-δ criterion fails everywhere else.
 
jgens said:
What is the point of this argument?

I don't really know. I thought I needed to show that the function wasn't continuous for some reason... I'll remove that part

What you wrote here doesn't make any sense. Start with the assumption that f(x) = f(y) and show that x = y.

I will try, but isn't an alternative way of showing injective to show that if x ≠ y then f(x)≠f(y). That's what I was going for.
 
I don't see how to prove that f(x) is not continuous anywhere else. i tried making that argument in the beginning of my proof but that obviously failed to make sense. I've seen the argument made using sequences against Dirichelt's function but that was arguing that the whole thing was discontinuous. Would I need to prove that it is not continuous above and below 1/2 or is there one broad argument that can be made for anything other than 1/2?
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
2K