• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:08
CEST 21:08
KST 04:08
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL21] Ro24 Preview Pt2: News Flash8[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy12ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book20
Community News
Weekly Cups (March 23-29): herO takes triple5Aligulac acquired by REPLAYMAN.com/Stego Research3Weekly Cups (March 16-22): herO doubles, Cure surprises3Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool49Weekly Cups (March 9-15): herO, Clem, ByuN win4
StarCraft 2
General
What mix of new & old maps do you want in the next ladder pool? (SC2) herO wins SC2 All-Star Invitational Weekly Cups (March 23-29): herO takes triple Team Liquid Map Contest #22 - Presented by Monster Energy Aligulac acquired by REPLAYMAN.com/Stego Research
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament RSL Season 4 announced for March-April StarCraft Evolution League (SC Evo Biweekly) WardiTV Mondays World University TeamLeague (500$+) | Signups Open
Strategy
Custom Maps
[M] (2) Frigid Storage Publishing has been re-enabled! [Feb 24th 2026]
External Content
Mutation # 519 Inner Power The PondCast: SC2 News & Results Mutation # 518 Radiation Zone Mutation # 517 Distant Threat
Brood War
General
[ASL21] Ro24 Preview Pt2: News Flash BGH Auto Balance -> http://bghmmr.eu/ Pros React To: SoulKey vs Ample ASL21 General Discussion RepMastered™: replay sharing and analyzer site
Tourneys
🌍 Weekly Foreign Showmatches [ASL21] Ro24 Group E [Megathread] Daily Proleagues [ASL21] Ro24 Group D
Strategy
What's the deal with APM & what's its true value Fighting Spirit mining rates Simple Questions, Simple Answers
Other Games
General Games
Starcraft Tabletop Miniature Game Stormgate/Frost Giant Megathread Nintendo Switch Thread General RTS Discussion Thread Darkest Dungeon
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
League of Legends
G2 just beat GenG in First stand
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI European Politico-economics QA Mega-thread Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion Cricket [SPORT] Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2128 users

[H] Calculus (realy!)

Blogs > infinity21
Post a Reply
Normal
infinity21 *
Profile Blog Joined October 2006
Canada6683 Posts
October 18 2007 02:52 GMT
#1
I don't know where to start for this question:

Does there exist a function f:R -> R that is continuous at each rational but discontinuous at each irrational?

Does anyone have an idea of what to do? I swear math wasn't this hard in high school

Official Entusman #21
fight_or_flight
Profile Blog Joined June 2007
United States3988 Posts
October 18 2007 02:53 GMT
#2
what do you mean by f:R -> R ?
Do you really want chat rooms?
infinity21 *
Profile Blog Joined October 2006
Canada6683 Posts
Last Edited: 2007-10-18 02:54:33
October 18 2007 02:53 GMT
#3
a function that is mapped on a real plane to another real plane
R =
[image loading]
Official Entusman #21
infinity21 *
Profile Blog Joined October 2006
Canada6683 Posts
Last Edited: 2007-10-18 02:57:35
October 18 2007 02:57 GMT
#4
LOL i mispelled really ;;
speaking of which, can a mod change that? thanks x_x
Official Entusman #21
fight_or_flight
Profile Blog Joined June 2007
United States3988 Posts
Last Edited: 2007-10-18 03:15:54
October 18 2007 03:10 GMT
#5
Well, I'm not a math major, and don't know how to do this. However, copying your question into google gives the answer:

http://www.google.com/search?hl=en&q=continuous at each rational but discontinuous at each irrational?&btnG=Google Search

http://www.jstor.org/view/0025570x/di021166/02p0055m/0

The answer is no. However, if you switch the words "irrational" and "rational" then the answer is yes.

edit: btw this seems pretty bizarre, and interesting. What class is this?
Do you really want chat rooms?
Chill
Profile Blog Joined January 2005
Calgary25996 Posts
October 18 2007 03:49 GMT
#6
On October 18 2007 11:57 infinity21 wrote:
LOL i mispelled really ;;
speaking of which, can a mod change that? thanks x_x


Nope =]
Moderator
Kau *
Profile Joined March 2007
Canada3500 Posts
Last Edited: 2007-10-18 03:53:40
October 18 2007 03:51 GMT
#7
I think that theoretically you could have a function that is discontinuous at every irrational number, but it would require an infinite amount of polynomials. For example if you have the function 1/x, it is continuous at every number except 0. If you have the function 1/(x-pi), your function is continuous at every number except the irrational number pi. Now suppose you did that for every irrational number (we'll call an irrational number U). You'd have 1/(x-U_1)(x-U_2)...(x-U_n), thus being continuous at every rational number, but discontinuous at every irrational number. The only problem is that there are infinitely many irrational numbers.

Edit: So I guess I'd say that such a function doesn't exist.
Moderator
infinity21 *
Profile Blog Joined October 2006
Canada6683 Posts
October 18 2007 03:58 GMT
#8
I find it interesting that when my internet's down, the only things that still work are the university website, MSN, and teamliquid.net =/
Official Entusman #21
infinity21 *
Profile Blog Joined October 2006
Canada6683 Posts
October 18 2007 03:59 GMT
#9
This is 1st year advanced calculus for the person who asked.
Official Entusman #21
fight_or_flight
Profile Blog Joined June 2007
United States3988 Posts
October 18 2007 04:04 GMT
#10
On October 18 2007 12:58 infinity21 wrote:
I find it interesting that when my internet's down, the only things that still work are the university website, MSN, and teamliquid.net =/

Well that sucks. Maybe this will help:

+ Show Spoiler +

[image loading]

[image loading]

[image loading]

Do you really want chat rooms?
infinity21 *
Profile Blog Joined October 2006
Canada6683 Posts
October 18 2007 04:07 GMT
#11
On October 18 2007 13:04 fight_or_flight wrote:
Show nested quote +
On October 18 2007 12:58 infinity21 wrote:
I find it interesting that when my internet's down, the only things that still work are the university website, MSN, and teamliquid.net =/

Well that sucks. Maybe this will help:

+ Show Spoiler +

[image loading]

[image loading]

[image loading]


Thanks for trying but it's not working too well. I'll just take a look at it when my internet starts to work again. I'm not in a hurry -- this question is a bonus question and we are allowed to submit this at any time of the term.
Official Entusman #21
Ender
Profile Blog Joined October 2003
United States294 Posts
Last Edited: 2007-10-18 04:21:12
October 18 2007 04:10 GMT
#12
Ok to show a limit at a point we must show that lim as x approaches c of f(x) = L. Now in rigorous terms this means for any epsilon>0, there exists a delta>0 such that if 0<|x-c|<delta then |f(x)-L|<epsilon.

I'll work on your particular problem later, but let's say we had the function g(x) = xf(x) where f(x) was 1 for x rational and 0 for x irrational. Let's say we wanted to prove that the limit as x approaches 0 of xf(x) = 0. This means for |xf(x)-0|<epsilon, there exists a 0<|x|<delta. Note that since f(x) can be 1 at the most, then we can choose delta = epsilon and our limit is proved.

Now for continuity, we need to show that for each epsilon>0 there exists a delta>0 such that if 0<|x-c|<delta, then |f(x)-f(c)|<epsilon. Hope that starts you off a little.
The beatings will continue until the morale improves.
infinity21 *
Profile Blog Joined October 2006
Canada6683 Posts
Last Edited: 2007-10-18 04:35:11
October 18 2007 04:34 GMT
#13
On October 18 2007 13:10 Ender wrote:
Ok to show a limit at a point we must show that lim as x approaches c of f(x) = L. Now in rigorous terms this means for any epsilon>0, there exists a delta>0 such that if 0<|x-c|<delta then |f(x)-L|<epsilon.

I'll work on your particular problem later, but let's say we had the function g(x) = xf(x) where f(x) was 1 for x rational and 0 for x irrational. Let's say we wanted to prove that the limit as x approaches 0 of xf(x) = 0. This means for |xf(x)-0|<epsilon, there exists a 0<|x|<delta. Note that since f(x) can be 1 at the most, then we can choose delta = epsilon and our limit is proved.

Now for continuity, we need to show that for each epsilon>0 there exists a delta>0 such that if 0<|x-c|<delta, then |f(x)-f(c)|<epsilon. Hope that starts you off a little.

I'm not entirely sure I understood what you said. Does f(x) simply look like y = 1 and y = 0 and g(x) look like y = x and y = 0 when graphed? (albeit with infinitely many holes)

Would I have to come up with a function f(x) where f(a) is defined for all a in rationals and is not defined for all a in irrationals?
Official Entusman #21
Ender
Profile Blog Joined October 2003
United States294 Posts
October 18 2007 05:25 GMT
#14
OK now let's extend our use of xf(x) where f(x) is 1 for x rational and 0 for x irrational. Let's analyze continuity: if x approaches a rational number c, then for continuity, L = cf(c) = c. we need to show that for any epsilon, |xf(x)-c|<epsilon imples that |x-c|<delta. Note that at the most, xf(x) = 1 so |xf(x)-c|<|x-c| < delta. So, if we choose delta = epsilon, then |xf(x) -c|<epsilon and we have constricted the limit to whatever epsilon we choose.. Thus, xf(x) is continuous for rational numbers.

Now consider irrational numbers. Here, L = c(0) = 0. So, for any epsilon |xf(x)|<epsilon implies that |x-c|<delta. hmmm...this one's tricky...yeah according to the links other people have been giving, it seems that the irrational numbers must be continuous so there must be an epsilon that works here but i have an exam tomorrow so ill do more stuff later.
The beatings will continue until the morale improves.
oneofthem
Profile Blog Joined November 2005
Cayman Islands24199 Posts
October 18 2007 06:09 GMT
#15
function 0 when rational, 1/x when irrational. or soemthing liek that. then you do a bunch of episilon delta analysis or limit analysis, and i forgot. look at what ender did
We have fed the heart on fantasies, the heart's grown brutal from the fare, more substance in our enmities than in our love
r0ar
Profile Joined June 2005
Australia24 Posts
October 18 2007 06:26 GMT
#16
ok

there are no restrictions on the function

first of all
there is an irrational number between any two rational numbers
so i dont really get what they mean by continous on the rationals, maybe defined on the rationals
assuming that i would suggest

x if x is rational
x=
1/0 if x is irrational

have you been given a rigorous defn of continuity yet?
LxRogue
Profile Blog Joined March 2007
United States1415 Posts
October 18 2007 06:54 GMT
#17
2^x i think qualifies?
infinity21 *
Profile Blog Joined October 2006
Canada6683 Posts
October 18 2007 06:57 GMT
#18
On October 18 2007 15:26 r0ar wrote:
ok

there are no restrictions on the function

first of all
there is an irrational number between any two rational numbers
so i dont really get what they mean by continous on the rationals, maybe defined on the rationals
assuming that i would suggest

x if x is rational
x=
1/0 if x is irrational

have you been given a rigorous defn of continuity yet?

fairly rigorous, I'd say.
Official Entusman #21
infinity21 *
Profile Blog Joined October 2006
Canada6683 Posts
October 18 2007 07:00 GMT
#19
On October 18 2007 15:54 LxRogue wrote:
2^x i think qualifies?

How so? It's continuous for all real numbers, including the irrationals.
Official Entusman #21
LxRogue
Profile Blog Joined March 2007
United States1415 Posts
Last Edited: 2007-10-18 07:06:46
October 18 2007 07:06 GMT
#20
2^x doesn't exist at irrationals. The exponent must be expressed in terms of a ratio.

Well i guess that only means it doesn't exist at irrationals...not really saying anything about ccontinuity.
infinity21 *
Profile Blog Joined October 2006
Canada6683 Posts
October 18 2007 07:10 GMT
#21
if 2^x doesn't exist at irrationals, does 2^2^(1/2) exist?
Official Entusman #21
LxRogue
Profile Blog Joined March 2007
United States1415 Posts
October 18 2007 07:36 GMT
#22
No, it doesn't. How would you calculate that expression? If you put it into a calculator you probably get an answer, but thats only because the calculator rounds off root 2 and treats it as a rational number.

Say for simplicity it represents root 2 as 7/5. It then finds the 5th root of 2^7. The only way to calculate this is when the exponent can be expressed as a ratio of integers, meaning it's rational.
GeneralCash
Profile Joined December 2005
Croatia346 Posts
Last Edited: 2007-10-18 10:25:07
October 18 2007 10:18 GMT
#23
hmmmm. i'm a physics student and i'm not good at math but i might have an idea about getting the function you're looking for.

in mechanics, the phase space of 2 pendulums (or any oscilator with 2 degrees of freedom) in action/angle coordinates is represented by a torus where one pendulum's phase portret is the circle around the center of the torus and the other's is the outline of the vertical diametrical cross-section. representation, the pendulums orbit around the center of the torus and around the center of the cross-section forming a bent spiral. hope you understand what i'm saying, it seems my english sucks at this. anyway, it's easy to prove that if the ratio of the frequencies is rational, the trajectory in the phase space is closed, and it's not if the ratio is irrational. so a simple line itegral over the whole trajectory with both bondries at the same point should converge if the ratio is rational (divided by some system-dependant factor, it should give the number of periods it takes for for pendulums to end up in the same point of the phase space, it takes it infinite number of periods if the ratio irrational). simply put f(x)=i where i is the integral and x is the ratio of the frequencies. i have no idea how to calculate that integral or if it's even possible...

meh, forget the pendulums if it's confusing, simply imagine a line moving in a spiral motion over the surface of a torus, making A turns around the center of the torus and B turns around the center of the vertical cross-section. the function is a simple superposition of sinusoidal terms (sullutions for 2 different x"+kx=0 equasions). the line integral from a to a (a being the point on the spiral) repersents the lenght of the spiral before it reaches the same point in 3d space again. obviosly, disregard the sollution that is 0 and the ones representing more than one full circle. that integral should be your function as it infinite if the ratio is irrational and periodic if it's not.

hope i helped. this is the final extent of both my math and my english and i don't feel like i've helped a lot. fuck it. gonna ask around the colledge when i actualy manage to drag my ass there.

and 2^x is still continuous at irrational numbers. it's expand a(n), n being the order of expansion used is a cauchy sequence (<-- corect term??) that converges within rationals. it has no discontinuities.

ps. oh how i hate math. oh how i hate mechanics. man, this brought back a lot of painful memories. sure hope it was worth it...
betaben
Profile Blog Joined September 2007
681 Posts
Last Edited: 2007-10-18 11:12:27
October 18 2007 10:46 GMT
#24
I don't understand the question: "continuous" means that f(x+deltax)=f(x)+deltaf(x), i.e small changes in x result in small changes in the function. a small change in a rational number gives an irrational number- they're on the same scale, or real number line. the question of continuousness has to apply to a function for both irrational and rational numbers, because the definition of it requires you to compare the two.
Zanno
Profile Blog Joined February 2007
United States1484 Posts
Last Edited: 2007-10-18 16:41:49
October 18 2007 16:38 GMT
#25
i think the equation you're looking for is X^X for negative values
On October 18 2007 12:51 Kau wrote:
I think that theoretically you could have a function that is discontinuous at every irrational number, but it would require an infinite amount of polynomials. For example if you have the function 1/x, it is continuous at every number except 0. If you have the function 1/(x-pi), your function is continuous at every number except the irrational number pi. Now suppose you did that for every irrational number (we'll call an irrational number U). You'd have 1/(x-U_1)(x-U_2)...(x-U_n), thus being continuous at every rational number, but discontinuous at every irrational number. The only problem is that there are infinitely many irrational numbers.

Edit: So I guess I'd say that such a function doesn't exist.
an infinite number of polynomials is called a taylor series and those functions collapse into regular functions provided they can exist.
aaaaa
Muirhead
Profile Blog Joined October 2007
United States556 Posts
Last Edited: 2007-10-18 19:11:49
October 18 2007 18:40 GMT
#26
The answer is no... (and it is not so easy)

The standard proof involves first showing that the set of points at which f is continuous is a G_delta set (i.e. a countable intersection of open sets)

To do this, let K_n be the set of points x for which there exists some delta such that |f(x)-f(y)|<1/n whenever |x-y|<delta

Each K_n is open and the set of points where f is continuous is the intersection of the K_n

Now, you must show that the rationals are not a G_delta set.

First of all, notice that the set of irrationals is a G_delta set ( it is the intersection over all rational q of {all reals number except for q} )

The problem is reduced to the following general fact:
If the set of all real numbers is the disjoint union of X and Y, where both X and Y are dense, then at most one of X,Y is G_delta.

This follows directly from the Baire Category Theorem, which is very well-known and you can look up online.

I hope this helps... ask if you need any clarification
starleague.mit.edu
Normal
Please log in or register to reply.
Live Events Refresh
Next event in 4h 52m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
elazer 413
UpATreeSC 145
ProTech125
JuggernautJason73
MindelVK 46
trigger 41
StarCraft: Brood War
EffOrt 1234
ggaemo 267
Mini 200
Dewaltoss 133
hero 100
Aegong 79
IntoTheRainbow 17
Sexy 9
Dota 2
capcasts80
Counter-Strike
fl0m1430
Heroes of the Storm
Liquid`Hasu304
Other Games
FrodaN2957
Grubby2458
Beastyqt593
ceh9528
B2W.Neo495
RotterdaM116
QueenE92
Hui .92
C9.Mang088
Trikslyr60
Mew2King57
Organizations
StarCraft 2
angryscii 34
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Reevou 15
• intothetv
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• Migwel
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• 80smullet 22
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV1051
League of Legends
• Nemesis3555
• TFBlade1270
Other Games
• imaqtpie935
• Shiphtur208
Upcoming Events
PiGosaur Cup
4h 52m
Replay Cast
13h 52m
Afreeca Starleague
14h 52m
BeSt vs Leta
Queen vs Jaedong
Kung Fu Cup
15h 52m
Replay Cast
1d 4h
The PondCast
1d 14h
OSC
2 days
RSL Revival
2 days
TriGGeR vs Cure
ByuN vs Rogue
Replay Cast
3 days
RSL Revival
3 days
Maru vs MaxPax
[ Show More ]
BSL
3 days
RSL Revival
4 days
uThermal 2v2 Circuit
4 days
BSL
4 days
Replay Cast
6 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Acropolis #4 - TS6
WardiTV Winter 2026
NationLESS Cup

Ongoing

BSL Season 22
CSL Elite League 2026
CSL Season 20: Qualifier 1
ASL Season 21
RSL Revival: Season 4
Nations Cup 2026
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

CSL Season 20: Qualifier 2
Escore Tournament S2: W1
CSL 2026 SPRING (S20)
Acropolis #4
IPSL Spring 2026
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
StarCraft2 Community Team League 2026 Spring
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.