Frustrated Geek
Mar. 25th, 2004 02:23 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I've just spent more than two weeks trying to solve a mathematical problem that looked simple but wasn't. (Basically, "smooth an arbitrary region so it matches the bits around it"). I sat down and tried to solve it myself, no luck. Then I asked friends, some promising leads, but nothing worked out. Then I went looking on the Internet, and again no luck.
So I pulled out the big guns and asked my father. He gave me a solution and... well, theoretically it's valid. But in practice, it doesn't work, because it ends up being smooth only in the same way that the tip of a needle is rounded when you look at it with an electron microscope. And it's slow, too.
So yesterday I sat down again, and mucked around with ideas like "eigenfunction" and "damping high-order terms" and whatnot. I thought to myself: "If there *was* a solution, it would have to look something like this... and it would have to do certain things, so let's build one that does those things and try it."
And, what do you know? I came up with a filtering method that works. It's not quite perfect - there are ways to breka it - but it's more than sufficient for what I'm doing; it creates a nice smooth function, and it does it in a reasonable timeframe.
But, big 'but', I don't actually understand *how* it works. I have a fuzzy notion of the basic principles, but no real grasp of the detail of it. I designed it by intuition, and I can't rigorously show _why_ it does what it's supposed to do.
All of which is immensely frustrating to this mathematician.
So I pulled out the big guns and asked my father. He gave me a solution and... well, theoretically it's valid. But in practice, it doesn't work, because it ends up being smooth only in the same way that the tip of a needle is rounded when you look at it with an electron microscope. And it's slow, too.
So yesterday I sat down again, and mucked around with ideas like "eigenfunction" and "damping high-order terms" and whatnot. I thought to myself: "If there *was* a solution, it would have to look something like this... and it would have to do certain things, so let's build one that does those things and try it."
And, what do you know? I came up with a filtering method that works. It's not quite perfect - there are ways to breka it - but it's more than sufficient for what I'm doing; it creates a nice smooth function, and it does it in a reasonable timeframe.
But, big 'but', I don't actually understand *how* it works. I have a fuzzy notion of the basic principles, but no real grasp of the detail of it. I designed it by intuition, and I can't rigorously show _why_ it does what it's supposed to do.
All of which is immensely frustrating to this mathematician.
no subject
Date: 2004-03-24 08:31 pm (UTC)no subject
Date: 2004-03-24 08:45 pm (UTC)sol.
.
no subject
Date: 2004-03-25 08:14 am (UTC)Or since you worked it out backwards, you have the answer but one of the steps is alluding you because you don't fully know it yet. Show your stuff around. I'll bet someone can fill in the blanks.
-m
no subject
Date: 2004-03-25 03:20 pm (UTC)no subject
Date: 2004-03-25 03:47 pm (UTC)Will post more detailed writeup of the problem and the filtering method later. And no, it doesn't seem to work for absolutely all inputs, but it still seems to work on 'nice' inputs, and I ought to be able to quantify why.
no subject
Date: 2004-03-27 07:34 pm (UTC)