• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:56
CEST 17:56
KST 00:56
  • 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
Power Rank - Esports World Cup 202541RSL Season 1 - Final Week9[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16
Community News
BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams4Weekly Cups (July 14-20): Final Check-up0Esports World Cup 2025 - Brackets Revealed19Weekly Cups (July 7-13): Classic continues to roll8Team TLMC #5 - Submission re-extension4
StarCraft 2
General
Power Rank - Esports World Cup 2025 RSL Revival patreon money discussion thread RSL Season 1 - Final Week The GOAT ranking of GOAT rankings Esports World Cup 2025 - Final Player Roster
Tourneys
Esports World Cup 2025 Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation #239 Bad Weather Mutation # 483 Kill Bot Wars Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava
Brood War
General
ASL20 Preliminary Maps BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ Flash Announces (and Retracts) Hiatus From ASL
Tourneys
CSL Xiamen International Invitational [Megathread] Daily Proleagues [CSLPRO] It's CSLAN Season! - Last Chance [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread [MMORPG] Tree of Savior (Successor of Ragnarok) Path of Exile CCLP - Command & Conquer League Project
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread The Games Industry And ATVI Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
[\m/] Heavy Metal Thread Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Ping To Win? Pings And Their…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Socialism Anyone?
GreenHorizons
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1051 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
Calgary25980 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
Esports World Cup
10:00
2025 - Day 2
herO vs CureLIVE!
Serral vs Classic
EWC_Arena11861
ComeBackTV 2259
TaKeTV 672
Hui .550
3DClanTV 315
EnkiAlexander 250
Rex210
CranKy Ducklings168
UpATreeSC135
Reynor114
mcanning107
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
EWC_Arena11861
Hui .550
Rex 210
UpATreeSC 135
Reynor 114
mcanning 107
StarCraft: Brood War
Bisu 4739
Flash 1865
Jaedong 1813
Barracks 1496
BeSt 1234
EffOrt 1035
Mini 727
Stork 600
ggaemo 461
Snow 351
[ Show more ]
Soulkey 346
Soma 269
GuemChi 216
ZerO 171
Rush 120
Dewaltoss 80
Hyun 71
Sea.KH 38
soO 29
scan(afreeca) 27
Sacsri 27
sas.Sziky 26
Aegong 24
Terrorterran 17
Bale 6
Dota 2
syndereN608
420jenkins421
XcaliburYe322
Counter-Strike
fl0m2021
sgares525
flusha238
byalli177
Super Smash Bros
Westballz33
Heroes of the Storm
Khaldor127
Other Games
hiko1061
crisheroes341
Fuzer 177
ArmadaUGS93
KnowMe79
QueenE59
ZerO(Twitch)19
FrodaN0
Organizations
StarCraft: Brood War
Kim Chul Min (afreeca) 6
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• Berry_CruncH224
• intothetv
• sooper7s
• Migwel
• AfreecaTV YouTube
• LaughNgamezSOOP
• IndyKCrew
• Kozan
StarCraft: Brood War
• FirePhoenix4
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 2705
• masondota21210
• WagamamaTV686
League of Legends
• Nemesis2509
• TFBlade1058
Other Games
• Shiphtur134
Upcoming Events
Esports World Cup
18h 4m
Reynor vs Zoun
Solar vs SHIN
TBD vs ShoWTimE
TBD vs Rogue
Esports World Cup
1d 19h
CranKy Ducklings
2 days
BSL20 Non-Korean Champi…
2 days
CSO Cup
3 days
BSL20 Non-Korean Champi…
3 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
FEL
3 days
BSL20 Non-Korean Champi…
3 days
BSL20 Non-Korean Champi…
4 days
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Sparkling Tuna Cup
5 days
[ Show More ]
Online Event
6 days
Liquipedia Results

Completed

CSL Xiamen Invitational
Championship of Russia 2025
Murky Cup #2

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
Esports World Cup 2025
CC Div. A S7
Underdog Cup #2
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
HCC Europe
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
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.