« first day (3993 days earlier)      last day (1324 days later) » 
00:00 - 19:0019:00 - 00:00

00:22
@TedShifrin I think that depends on how nice the answer turns out to be.
00:35
Keep me posted.
so... I've been at this for an hour: what would you guys use to show that the integral over a size 1 interval [a,b] of a monotone function is between the values f(a) and f(b)?
do I have no choice but to work it out from the Riemann integral definition?
seems like this is quicker with the Darboux integral
use monotonicity of the integral
I always use Darboux as opposed to Riemann unless I'm doing certain applications (like cylindrical shells).
But here it's totally stupid. Just use the stupidest possible partition.
@Thorgott ah neat property hadn't seen it
@TedShifrin right what was bothering me is that I was thinking i'd need to show additional partitions only get closer to the integral, or at least never vary beyond f(a) or f(b)
00:51
Not if you’ve proved the result that all monotonic functions are integrable!.
which is not entirely trivial
Yes it is
ted stop saying stuff that i agree with
Well, at least Thor gets to disagree. That will make him younger.
how come rudin doesn't speak of the darboux integral
i thought he was everything
01:04
Isn’t his definition the Darboux integral?
he gives the darboux definition but calls it the riemann integral.
oh you're right
he calls it the Riemann-Stieltjes integral
No, that’s different.
right but he gives wikipedia's Darboux definition of equality between upper and lower sums
he doesn't allow for the choice of arbitrary points within parititions, he chooses the sup or inf for the upper or lower sums.
he might as a lemma or corollary equate it to the riemann integral.
01:06
Don’t say sloppy wrong stuff, shin.
the Riemann-Stieltjes integral lol
why does he even do that
can't be wrong if it is ambiguous sunglasses
he must have had some publicity deal with the stieltjes family.
I'm under the impression that's completely useless outside of probability
No, wrong, shin.
01:08
i was using the pixellated sunglasses zoom filter a lot on work calls and then someone phoned me and told me to stop.
i was like, you can't change the rules because you don't like how i'm doing it. you licensed this software, not me.
i also stopped doing it
If you’re Republican, you can always change rules at whim.
well that's one thing i'll never be. i get GOP fundraising emails because i contributed to a republican city council campaign. the guy is not remotely related to the GOP but suddenly i got on a bunch of mailing lists.
We may need to riot for democracy.
the email i get is always at the edge of sanity. it's really bizarre how far things have gone.
shuts up before flag
01:11
it can't happen here, they said.
i contributed to his campaign because he was a spouse of a friend of mine and when someone told him to say anti-X stuff, where X is a common target of GOP rhetoric, as part of his campaign he told them to f- right off.
i'd vote for him a million times. i don't see him running in a national race.
he's too sane.
so... if I go around using rudin's definition of the riemann integral
no one is going to tell me i'm actually using the darboux integral, right?
it's the kind of distinction that wouldn't be drawn among analysts. it is a pedagogically important distinction.
calculus books always give the riemann definition.
I always taught Darboux and never once called it that.
i was using it for a few years before i realized there was a difference.
Spivak is not a calculus book. Apostol is not a calculus book.
01:17
the difference between these integrals is negligible anyhow
calculus books and others may give the riemann definition. it is more natural for things like numerical simulation.
and as thorgott says the distinction is not really a difference.
great, i will cite the authority of this chat whenever asked for proof
it's important that you mention 'leslie townes' when you do that and ask people to upvote every one of my posts.
noted
TBH, in my book, I don’t call the integral anything other than the integral.
01:20
i don't know why we associate things with names. i always ran into this in functional analysis, people would ask about so-and-so's theorem and i'd say what are you actually talking about.
Yup, show-offs all.
my advisor had a result and i learned while studying for my qualification exam that most textbooks included his name in their name for the formulation of the result, but he didn't, so i didn't. and don't.
Sorta like how it took Chern decades to utter “Chern classes.”
jones always called the jones index the "index."
And the Jones polynomial the polynomial?
01:23
i forget how he handled that, i'll have to check my notes.
he doesn't name it at all.
that's so new zealander of him. they denied him tenure at his first university and he comes up with a new invariant and won't even take credit for it.
he was a very kind man. he wrote notes of encouragement on my wrong answers in exams in his von neumann algebras class.
that stuff was very minor but the fact that he took the time to do it meant a lot to me
i also ripped off about half of his course notes for my thesis, so thanks, dude.
I never knew him.
did you know bill at all?
Yes, interacted casually in teas, etc. Never took a class from him.
I told you Dana Williams wAs his student.
he was one of the funniest people i ever met. and i consider myself to be very funny.
I’m glad you do. We don’t.
01:33
i met him at a conference. he worked with one of my collaborators, paul muhly.
who is also one of the nicest people on earth
Iowa. Yeah.
i was disappointed to learn that academics are not all carbon copies of bill and paul.
That would be exceedingly boring!
I am me.
i'll add you to the list of people that academics are not carbon copies of.
i think there are some people who would be mathematicians even if the job category did not exist, and there are other people who would be [random academic X] even if mathematics did not exist.
there's a value judgment implicit in that separation but i won't make it explicit or name names.
I would have been a chef if not a mathematician.
Although French lit was a second choice.
01:39
i started college as an english literature major but my instructors were stoned out of their minds and poor role models.
I truly loved teaching.
this is clear in your books. not to be dismissive of other people but you see actual thought instead of lazy crap.
which i guess is pretty dismissive of other people.
Well, thank you.
It was cute. Chern thought I should lecture H1 (the Spivak course) at Berkeley. I had to explain to him things didn’t work that way.
oh i'm finally noticing how additional partitions on monotonic functions behave nicely
Think in particular about uniform partitions, shin.
01:47
yeah more obvious on uniform partitions
the proof that additional partitions get closer to the integral is through induction, right?
we can tell the upper sum gets smaller and the lower sum gets bigger
What you just said is always true.
No induction.
Do the explicit algebra with a uniform partition.
Throw out Rudin, really. It’s worthless.
those chain rule proofs fixed analysis for me though
Apparently dubious.
ah here we go: since adding an additional section to the partition of the upper sum implies breaking up a section into two, the resulting two sections will be in total smaller than the initial one by virtue of taking an upper sum
bam
Nothing to do with the monotone case, but yes.
Again, I say. Dump Rudin and read Spivak.
02:51
I learned from Rudin, but I gather it's not for everyone.
of course, I already knew the basics of analysis, so maybe I am not a good test case
ki
idk why i love this
You also ultimately earned a Ph.D. in analysis, @robjohn. That puts you in the 99th percentile.
I too learned from Rudin, but that doesn't make it the perfect book for most people.
For "self-learning" the fact that there are literally zero pictures makes a big impediment unless the self-learner is very gifted.
@TedShifrin I visualize very easily, maybe that helped with Rudin. It's also why I make a lot of images for my answers.
03:21
Me too, of course, @robjohn.
wouldn't that put you @TedShifrin in the 90th-ish percentile? :-)
::waits to be smacked::
How so?
whelp, it's a difficult book
How is that relevant to your comment?
03:37
just malong convo, I guess
in 13 hrs this got 1.5 M views
i'm not going to click through but that's a very common misconception, perpetuated largely by ed schools. that there are 'types' of learners and some will be ill suited to types of education. rudin is an extreme example but most people can learn from most things.
there's a lot of right-brain, left-brain pseudoscience in ed schools too.
i am sure rudin taught geometry to his kids without any pics
probably his parents forbade him to have any picture books when he was young
someone told me in middle school that i was a 'graphological' learner meaning that i had to write whatever it was i was supposed to learn. ed school horseshit.
pardon my french.
i liked drawing which i think helped with some stuff.
well your high school was founded by a horse. they gave awards in finding the best chestnuts.
03:44
we used to play conkers.
only realised recently that horse chestnuts are not, apparently, real chestnuts.
we did that too although we called it something else.
i forget what we called it.
i thought it was pretty boring, but i liked collecting them and peeling off the outside.
we had chestnut battles.
a friend of mine and i used to pick up acorns that butterflies had laid eggs in and 'farm' them a little bit by storing them under the steps of the school. we also threw chestnuts at people.
for some reason i was paranoid about dying in a car accident in elementary school, and i was almost over my fear and then that friend was run over by a car and killed.
i loved nature and all its little surprised. my fave was playing near water (marsh or rives).
they planted a tree in his honor at my elementary school and you can see it on google maps.
03:47
sorry to hear that.
have you seen lonely water? as ably narrated by donald pleasence?
i'll save people the trip to google. youtube.com/watch?v=xZWD2sDRESk
ireland's version, the one we joke about is at 1:04: youtube.com/watch?v=NjWHrjCG1LQ
2
obviously very dated.
i almost just pissed myself laughing. thanks for that.
says something about my family that we all thought it was funny
03:52
the still image of someone's feet out of a kiddie pool.
god, that's funny.
my wife understood me better when she first met my mom and her first story was my mom (who was a nurse) talking about the person and then the person dying unexpectedly and my mom just laughing her ass off about it.
she didn't run?
my wife said, i kind of understand this now.
my mom also told weird stories about seeing ghosts in the hospital. i don't think she ran those by the church before she shared them.
i had a very weird mother, i guess that's all i'm saying.
my mom insists that she's seen ghosts. she did wake up the minute her mother died and bother all of us about it before we'd known her mother had actually died.
i try not to think too much about it
we told her to calm down and call her sister and when she got through to her sister she said "our mom's just died." which didn't calm anybody down.
i've paused the youtube video on the still of someone's feet out of a kiddie pool. that's incredibly funny.
i've fallen into a reminisce
04:00
around 2:10 in the video.
it's very funny. something must be wrong with me.
very tempted to make this image my avatar.
:-). my mum was scared of the water. even though we lived beside the 2nd largest natural harbour in the world (with some irrelevant qualification) my mum forbade us (twice today i've used this word) from sailing, etc. (not that it stopped us.)
that would be an interesting avatar :-)
that or the hallucinogenic rainbow image of my lovely horse from the song for ireland episode of father ted.
until then i'll use this automatically generated byte thing.
mine reminds me of better days.
it looks dismal, so i can only imagine what today is like.
:)
:-). helen 'lake' on mt shasta
04:05
beautiful country.
the following day i was near the top but there were storms coming from both sides (which seems impossible, but i was not going to argue with 0 vis) and then lightning nearby which was truly truly awesome.
i missed the top that time, but it was still incredible
time for my cuppa
 
1 hour later…
05:50
i recommend it
marzu cheese is very nice
lol
06:07
it is very hard to find. but this probably belongs on the food se site
Who dafuq would eat it
yuck
06:54
perhaps, this may help
07:06
@trollbot you aren't a real troll
like I am
kindergarten is out
and trolls are in
anything interesting to add, or just trolling?
yes, why is every even integer number greater than 2 the sum of two prime numbers?
07:15
that is a conjecture
but do you think it's true?
to some extent, yes.
then prove it.
à montrer
prove what? that there exists an $N$ such that...
in any event, i am not a performing monkey.
i am a non performing monkey
prove that every even integer number greater than 2 is the sum of two prime numbers
you are a monkey?
07:22
a non performing monkey. in some universe.
why would i attempt to prove the goldbach conjecture at midnight?
why not?
Ramanujan would have done it
did Ramanujan attempt to prove it?
let me google that for you
did you know that G.H. Hardy fell in love with Ramanujan?
Maybe Soborno Isaac Bari will prove Goldbach's conjecture when he grows up
who knows.
 
2 hours later…
10:17
i am a spy, rather than a troll
und i dont think it would be very nice to name myself spybot
 
2 hours later…
12:12
spy troll?
 
2 hours later…
13:47
so it turns out $<\mathbb{N},x |\rightarrow x^3>$ and $<\mathbb{N},x |\rightarrow x^2>$ really are elementarily equivalent, in fact they're even isomorphic, send $0\rightarrow 0$ and $1 \rightarrow 1$, fix a bijection $b $ between all nonsquares and noncubes, and then there is a unique isomorphism that restricts to $b$ and sends $0$ and $1$ to themselves
mmh mathb.in has denied the connection :(
so is it now formulated correctly: "For all $x \in \mathbb Z$ this holds true: if there is no $n\in Z$ such that $x=n^2$, $\sqrt{x}$ is irrational."
?
14:28
yeah that works
too tired to determine if it is true, but i can at least see it has a truth value
15:22
looks OK to me and i think it's also true. sometimes people doing elementary number theory avoid explicit reference to the square root function, but that is a style thing.
 
2 hours later…
17:24
@SAJW this says that $\sqrt{-1}$ is irrational.
Who is a mathematician? One who practices high level mathematics only?
i only do low level mathematics
what's the intuition for why the hyperbolic functions are the "nice" parametrizations of the hyperbola?
interesting question. it reminds me of how holders of some jobs retain their titles after quitting. i think a former president is still mr. president.
i do not identify as a mathematician although i did at one point. many mathematicians did not have advanced degrees or necessarily do 'high level' mathematics. you are what you do.
For example, why when integrating $\int\sqrt{x^2+1}$, the substitution $x=\cosh(u)$ works easily but the other parametrization by $x=\frac{2u}{1-u^2}$ is hard(you have to do partial fractions on a denominator of degree 6)?
17:29
that's my view, anyway.
i don't have any intuition for that, it's all symbol pushing to me.
Also, is there an easy way of calculating the partial fraction expansion of $\frac{(1+t^2)^2}{(1-t^2)^3}$?
@Derivative Not sure if this answer, or any of the other answers to the same question might be helpful.
start with a division, obviously, but does wolfram alpha do that? i thought it did.
it does, but I wanted to do it by hand
@Derivative $x=\tan(u)$ might be useful
17:34
partial fraction decomposition is a classical example of something that i do not think should be done by hand. it's linear algebra with often 4+ unknowns. let a calculator or computer do that.
@leslietownes The Heaviside method doesn't need the solution of simultaneous equations all the time.
@robjohn then how do you find $\int\frac 1{\cos^3(u)}du$?
you're right, of course, i forgot about that.
Can I say a child doing basic algebra is a mathematician?
if they're getting the right answers, i'd say yes.
17:42
The Free Dictionary says "a person skilled or learned in mathematics". So it depends on your standards. I'd say a child doing algebra is quite skilled for their age (of course depending on said age and what algebra they're doing).
i only bristle when the mainstream media reports on the doings of people who are clearly credentialed in other fields and ignorant of mathematics as 'mathematicians' because there is an equation somewhere.
@Derivative $\int\sec^3x\,dx$ is an important integral. Trig identity and int by parts.
@Wolgwang I would not.
Too hard. The professor just wanted us to do the hyperbolic substitution and I'm gonna give her that. I need the grade
I don’t see where that integral comes from in your problem. Hyperbolic functions are good.
Rob's suggestion. That's what comes out after you substitute and simplify
17:45
Really?
Oh, I was looking at a different one. Yes, that integral classically gives the sec^3 integral.
i just watched my cat stalk my wife and did not say anything when the cat ran up and lightly attacked my wife by swatting her legs and biting her without breaking the skin. i didn't offer any warning. my wife was not pleased. what was i going to say? she knows she's in a cat's territory.
I always made my students do this one. Arclength of a parabola.
That’s every hour with my kitten, leslie.
Leslie and Ted disagree, that's rare :-) Thanks for the replies. :-D
17:48
enjoy those moments. sometimes cats grow up and stop doing that. olivia is an exception to the rule.
Oh goody. We disagree!
$$
\begin{align}
\int\sec^3(\theta)\,\mathrm{d}\theta
&=\int\sec(\theta)\,\mathrm{d}\tan(\theta)\tag1\\
&=\sec(\theta)\tan(\theta)-\int\tan(\theta)\,\mathrm{d}\sec(\theta)\tag2\\
&=\sec(\theta)\tan(\theta)-\int\tan^2(\theta)\sec(\theta)\,\mathrm{d}\theta\tag3\\
&=\frac12\sec(\theta)\tan(\theta)-\frac12\int\sec(\theta)\,\mathrm{d}\theta\tag4\\
&=\frac12\sec(\theta)\tan(\theta)-\frac12\int\frac1{1-\sin^2(\theta)}\,\mathrm{d}\sin(\theta)\tag5\\
&=\frac12\sec(\theta)\tan(\theta)-\frac14\int\left(\frac1{1-\sin(\theta)}+\frac1{1+\sin(\theta)}\right)\,\mathrm{d}\sin(\theta)\tag6\\
so we did a partial fractions, but a pretty simple one
Most students just memorize the sec integral, but I used to show this to my honors students in calc theory.
@TedShifrin kittens are for climbing pant legs as you're walking and hanging on while you make breakfast. They are also for attacking anything that moves under the covers in bed.
That’s part of the list, yes.
18:02
I just learned of "Halley's method" and "Newton's method" for finding the inverse of a function by inverting a function. Can I use a similar approach for $\frac{x}{y} = z$ given $z$ and either $x$ or $y$?
Huh?
2
"To compute the natural logarithm with many digits of precision, the Taylor series approach is not efficient since the convergence is slow. Especially if $x$ is near $1$" What?!
What does this have to do with inverse functions?
Or perhaps that is just the name of a related algorithm that is used in the inversion.
18:05
They are possibly inverting the exponential function using Newton's method?
I don’t understand why you’d use Newton’s method to multiply two numbers.
or divide
Yes @robjohn … It’s the follow-up I!m not getting.
I'm not talking about using Newton's method to multiply two numbers. I'm talking about finding a quotient using a product. I'm just asking how I would invert this using the method shown here, or if there is something better, what is it if I don't have the ability to compute $1/x$?
But you need that ability to execute Newton’s method!
18:08
If I can divide by perfect powers of two for values of x, then it isn't an issue.
I do not understand at all.
But I need to leave anyhow.
Well the question I had yesterday regarding sums of reciprocals is related to this. I learned that it isn't useful except in the case where the product of the denominators is a perfect power of two unless I allow extending to rational exponents of two.
I'm still continuing my search for an efficient implementation of integer division.
I'm just throwing ideas out there more or less for myself, and looking for possible leads.
The current idea which is the best that I have so far would use the identity $\frac{x}{y} = 2^{\log_2(x)-\log_2(y)}$
you think integer division is inefficient?
Compared to integer multiply? It's incredibly inefficient.
41c for a single 64-bit divide compared to 3c for a 64-bit multiply.
Where c is short for cycle(s)
And even the 64-bit multiply I might be able to work some magic with to get it to 2c in software, but that's another matter.
no. i mean existing methods of integer division.
18:20
Such as?
The one that I always see referenced is long division which is slow.
So please, enlighten me. I'm very interested.
@robjohn nice
but I prefer my method. Hope you can read portuguese
@AMDG its been a while, but context is important. if you are doing 32 bit divides you can often use a 64 bit fp divide which is fast.
is this a theoretical question or are you trying to do fast divides?
FDIV is 15c which is obviously much faster than 41c, but for my applications, that won't do in terms of accuracy since it works based on approximations using purely sums of reciprocal powers of two. My encoding has a reciprocal bit with fixed point to allow representing fractions with infinite decimal expansions exactly.
For example, instead of trying to approximate 2/3 in fixed point for 8-bit exponent and mantissa, I can instead represent it in terms of its reciprocal, 3/2 which yields the terminating decimal expansion 1.5, and then I can set the reciprocal bit to say "interpret this fixed-point number as 1/1.5".
Yes, I'm trying to do fast divides.
@AMDG Also with regards to speed. It should be on par with hardware integer multiply.
18:38
this is getting into specialist domain, so i will bow out. i am still not sure what you are trying to do. you want fast exact integer divides in finite precision??
Something along those lines.
this seems less mathematical and more dependent on hardware software implementation considerations. although maybe there is some bright idea from math that gets at this issue.
i think it is a bit like the old ic design line, "power, area, speed? pick two".
it would surprise me if one algorithm was optimal across a range of hardware for this outcome.
@copper.hat Hah, yes, well, if it were implemented in hardware, it would fit in an ALU, and it could easily be reconfigured for a multiply mode.
That's because it involves taking a constant perfect power of two and dividing it by an arbitrary integer, then computing the sum. It would be fast to implement except that you need to know how many bits to shift, and to compute that, you need lzcnt or tzcnt, and that isn't available in SSE, MMX, etc.
18:42
no comment on current company, but such things tend attract the same fervour as the riemann hypothesis.
putting a u into fervor like a european. you're in california now.
i am multicontinental. almost incontinent.
fervahour
that made me laugh out loud. many thanks
I mean it isn't like this is so far away that it is beyond grasp. It is more or less certain. If I knew of a way to just quickly divide a 16-bit integer in one cycle, then I'd be content.
It's not exactly the RH... it's just integer divide lol
I can use a simple, generic algorithm that knows how to compute the quotient of two simple integers in plain binary format and adapt it to my encoding. The problem is knowing about them.
18:46
well, many problems are of that form, if only i could...
I think they're all of that form...
if only i was a billionaire...
If only I could compute log_2 with SSE, MMX, etc., then I could divide with the latency I desire.
(it used to be millionaire, but that's inflation for you.)
Indeed
Yeah if I was a billionaire I could just hire a whole team to dedicate their lives to finding these algorithms for me LOL
18:49
@robjohn good point, so I should change it to $\mathbb N$ I guess, thanks
But nah, I like a challenge. These are challenges that I like and I want to solve them. Unfortunately, with my limited knowledge, it appears that I cannot get what I want right now until I make my own hardware to do so. Still, I could use some insights, though...
That's mostly why I'm here. I'm hoping I might hear about something that I can use based on existing info or algorithms that I'm not aware of.
00:00 - 19:0019:00 - 00:00

« first day (3993 days earlier)      last day (1324 days later) »