• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 20:12
CET 02:12
KST 10:12
  • 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
Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3
Community News
$5,000+ WardiTV 2025 Championship4[BSL21] RO32 Group Stage3Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win92025 RSL Offline Finals Dates + Ticket Sales!10
StarCraft 2
General
Starcraft, SC2, HoTS, WC3, returning to Blizzcon! RotterdaM "Serral is the GOAT, and it's not close" Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win 5.0.15 Patch Balance Hotfix (2025-10-8) TL.net Map Contest #21: Voting
Tourneys
$5,000+ WardiTV 2025 Championship Sea Duckling Open (Global, Bronze-Diamond) $3,500 WardiTV Korean Royale S4 WardiTV Mondays Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
SnOw's ASL S20 Finals Review [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ Practice Partners (Official) [ASL20] Ask the mapmakers — Drop your questions
Tourneys
BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION [ASL20] Grand Finals Small VOD Thread 2.0 The Casual Games of the Week Thread
Strategy
Current Meta How to stay on top of macro? PvZ map balance Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread ZeroSpace Megathread General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Dating: How's your luck? Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Why we need SC3
Hildegard
Career Paths and Skills for …
TrAiDoS
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1584 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
Calgary25987 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
OSC
23:00
OSC Elite Rising Star #17
CranKy Ducklings120
Liquipedia
LAN Event
18:00
Merivale 8: Swiss Groups Day 2
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SpeCial 138
Nathanias 53
CosmosSc2 45
Vindicta 2
StarCraft: Brood War
Artosis 636
Shuttle 602
NaDa 69
Dota 2
monkeys_forever9
Super Smash Bros
hungrybox877
Mew2King91
AZ_Axe66
Other Games
tarik_tv5902
Grubby1889
shahzam494
Day[9].tv432
C9.Mang0249
Maynarde125
WinterStarcraft125
ViBE43
Organizations
Other Games
gamesdonequick718
Counter-Strike
PGL156
Other Games
BasetradeTV120
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Hupsaiya 65
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki5
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21120
Other Games
• imaqtpie1136
• Scarra612
• Day9tv432
Upcoming Events
The PondCast
8h 48m
LAN Event
13h 48m
Replay Cast
21h 48m
OSC
1d 10h
LAN Event
1d 13h
Korean StarCraft League
2 days
CranKy Ducklings
2 days
WardiTV Korean Royale
2 days
LAN Event
2 days
IPSL
2 days
dxtr13 vs OldBoy
Napoleon vs Doodle
[ Show More ]
BSL 21
2 days
Gosudark vs Kyrie
Gypsy vs Sterling
UltrA vs Radley
Dandy vs Ptak
Replay Cast
2 days
Sparkling Tuna Cup
3 days
WardiTV Korean Royale
3 days
LAN Event
3 days
IPSL
3 days
JDConan vs WIZARD
WolFix vs Cross
BSL 21
3 days
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
4 days
Wardi Open
4 days
WardiTV Korean Royale
5 days
Replay Cast
6 days
Kung Fu Cup
6 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025

Upcoming

BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
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 © 2025 TLnet. All Rights Reserved.