Real Analysis: Continuity and discontinuity

In summary, for the first example, the given function fails to be continuous at 0 and 1. To make it continuous, the function can be defined as f(x) = x on irrationals and 1-q on rationals in (1/2, 1). For the second example, the function fails to be continuous at 0. To make it continuous, the function can be defined as f(x) = 0 on irrationals and 1/n on rationals in (1/2, 1).
  • #1
Askhwhelp
86
0
1) For the following choice of A, construct a function f: R → R that has discontinuities at every point x in A and is continuous on the complement of A.

A = { x : 0 < x < 1} My function is f(x) = 10 if x in (0,1) and Q and f(x) = 20, if x in (0,1) and irrational number, f(x) = 30, elsewhere. By the way, this is piece wise function.

Does this example work?

Also for A = {1/n: n is natural number) Does f(n) = 10 if 1/n is natural number and f(n) = 0, elsewhere work?
 
Physics news on Phys.org
  • #2
Askhwhelp said:
1) For the following choice of A, construct a function f: R → R that has discontinuities at every point x in A and is continuous on the complement of A.

A = { x : 0 < x < 1} My function is f(x) = 10 if x in (0,1) and Q and f(x) = 20, if x in (0,1) and irrational number, f(x) = 30, elsewhere. By the way, this is piece wise function.

Does this example work?

That will also be discontinuous in ##0## and ##1##.

Also for A = {1/n: n is natural number) Does f(n) = 10 if 1/n is natural number and f(n) = 0, elsewhere work?

That will be discontinuous in ##0##.
 
  • #3
R136a1 said:
That will also be discontinuous in ##0## and ##1##.



That will be discontinuous in ##0##.

For the first one does make 10 elsewhere work?

For second one, does f(n) = 1/n where n is natural number and 0 elsewhere work?
 
Last edited:
  • #4
Askhwhelp said:
1) For the following choice of A, construct a function f: R → R that has discontinuities at every point x in A and is continuous on the complement of A.

A = { x : 0 < x < 1} My function is f(x) = 10 if x in (0,1) and Q and f(x) = 20, if x in (0,1) and irrational number, f(x) = 30, elsewhere. By the way, this is piece wise function.

Does this example work?

That fails to be continuous at 0 and 1.

You need [itex]\displaystyle\lim_{x \to 0} f(x) = f(0)[/itex] and [itex]\displaystyle\lim_{x \to 1} f(x) = f(1)[/itex]. If you just assign different constants to rational and irrational numbers then those limits will not exist and your function will not be continuous at 0 and 1.

Also for A = {1/n: n is natural number) Does f(n) = 10 if 1/n is natural number and f(n) = 0, elsewhere work?

For f to be continuous at 0, you must have [itex]\displaystyle\lim_{n \to \infty} f(1/n) = f(0)[/itex].
 
Last edited:
  • #5
  • #6
For the first one, you need f to be continuous at 0 and 1. This is a problem for x in (0,1), where you need both rationals and irrationals to be heading towards the same limit.

So, how can you do that?

Suppose, for example, f(0) = 0 and f(1) = 1. And f(x) = x on the irrationals in (0, 1) and everything outside (0, 1).

Then, how can you define f on the rationals within (0,1)?

You need lim q -> 0 f(q) = 0 and lim q -> 1 f(q) = 1.
 
  • #7
Here's an idea for the first part:

Split (1/2, 1) into a countable number of subintervals. Specifically, (1/2, 3/4), (3/4, 7/8), (7/8, 15/16), etc. Let the functional value for all the irrationals in (1/2, 1) be zero. Let the functional value for the rationals in each subinterval be (1/n), i.e. the functional value for the rationals in (1/2, 3/4) is 1/1, the functional value for the rationals in (3/4, 7/8) is 1/2, etc.
 
  • #8
shortydeb said:
Here's an idea for the first part:

Split (1/2, 1) into a countable number of subintervals. Specifically, (1/2, 3/4), (3/4, 7/8), (7/8, 15/16), etc. Let the functional value for all the irrationals in (1/2, 1) be zero. Let the functional value for the rationals in each subinterval be (1/n), i.e. the functional value for the rationals in (1/2, 3/4) is 1/1, the functional value for the rationals in (3/4, 7/8) is 1/2, etc.

That would work, but you don't need to do anything so complicated. 1-q on the rationals in (1/2, 1) would do in this case!
 

1. What is the definition of continuity in real analysis?

In real analysis, continuity is defined as the property of a function where small changes in the input result in small changes in the output. Formally, a function is continuous at a point if the limit of the function at that point exists and is equal to the value of the function at that point.

2. What is the difference between pointwise and uniform continuity?

Pointwise continuity refers to the continuity of a function at a single point, while uniform continuity refers to the continuity of a function across an entire interval. Pointwise continuity requires the limit of the function to exist at each point, while uniform continuity requires the limit to exist at every point within the interval.

3. How can you determine if a function is discontinuous?

A function is discontinuous if it has a break or a jump in its graph or if the limit of the function at a particular point does not exist or is not equal to the value of the function at that point. Another way to determine discontinuity is by looking at the domain of the function - if there are any points of discontinuity in the domain, the function is discontinuous.

4. Can a function be continuous but not differentiable?

Yes, it is possible for a function to be continuous but not differentiable. This can occur when a function has a sharp corner or a cusp, which results in a discontinuous derivative. An example of such a function is the absolute value function.

5. How does continuity relate to the Intermediate Value Theorem?

The Intermediate Value Theorem states that if a function is continuous over a closed interval, then it takes on every value between the function values at the endpoints of the interval. In other words, the function must be continuous over the entire interval in order for the Intermediate Value Theorem to hold.

Similar threads

  • Calculus and Beyond Homework Help
Replies
21
Views
495
  • Calculus and Beyond Homework Help
Replies
3
Views
302
  • Calculus and Beyond Homework Help
Replies
6
Views
406
  • Calculus and Beyond Homework Help
Replies
3
Views
426
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
564
  • Calculus and Beyond Homework Help
Replies
5
Views
631
  • Calculus and Beyond Homework Help
Replies
1
Views
516
Replies
1
Views
578
  • Calculus and Beyond Homework Help
Replies
4
Views
662
Back
Top