Is there a Continuous Function f:R-->R Discontinuous at All Other Numbers?

In summary, the classic example of a function that is both continuous and discontinuous at all other numbers is the Dirichlet function. This function is continuous at only one point (x = 0) and discontinuous at all other numbers. It is possible for a function to be continuous at only one point and discontinuous at all other numbers, as demonstrated by the Dirichlet function. To prove that a function is discontinuous at all other numbers, we can use the definition of continuity and show that the limit of the function at those numbers does not exist or is not equal to the function value. These concepts have real-world applications in fields such as economics, physics, and engineering. While a function cannot be both continuous and discontinuous
  • #1
nikolany
4
0
Is there a function f:R-->R that is continuous at π and discontinuous at all other numbers?

Thx

 
Physics news on Phys.org
  • #2
Consider the function f(x)=0 for x irrational and f(x)=x for x rational. Where is that continuous? Can you modify that for your purposes?
 
  • #3
Dick said:
Consider the function f(x)=0 for x irrational and f(x)=x for x rational. Where is that continuous? Can you modify that for your purposes?

So f(x)=(x-π)^18 for x rational and 0 otherwise should work I think!

Thank you very much
 

1. Is there a specific function that is both continuous and discontinuous at all other numbers?

Yes, the classic example is the Dirichlet function, defined as f(x) = 1 for rational numbers and f(x) = 0 for irrational numbers. This function is continuous at only one point (x = 0) and discontinuous at all other numbers.

2. Can a function be continuous at only one point and discontinuous at all other numbers?

Yes, this is possible as shown by the Dirichlet function. A function can also be continuous at a finite number of points and discontinuous at all other numbers.

3. How do we prove that a function is discontinuous at all other numbers?

To prove that a function is discontinuous at all other numbers, we can use the definition of continuity. 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. Therefore, to prove discontinuity at all other numbers, we need to show that the limit of the function at those numbers does not exist or is not equal to the function value.

4. Are there any real-world applications of continuous and discontinuous functions at all other numbers?

Yes, these concepts are used in various fields such as economics, physics, and engineering. For example, in economics, the concept of a discontinuous function is used to model market crashes or unexpected changes in demand. In physics, the concept of a continuous function is used to model the smooth motion of objects, while discontinuous functions are used to model collisions or sudden changes in velocity.

5. Can a function be both continuous and discontinuous at the same time?

No, a function cannot be both continuous and discontinuous at the same time. By definition, a function is either continuous or discontinuous at a point, but not both. However, a function can be continuous at one point and discontinuous at all other numbers.

Similar threads

  • Calculus and Beyond Homework Help
Replies
27
Views
730
  • Calculus and Beyond Homework Help
Replies
13
Views
962
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
889
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
17
Views
1K
  • Calculus and Beyond Homework Help
Replies
13
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
578
Back
Top