Why Discrete Math Is Important
artofproblemsolving.com
artofproblemsolving.com
Once I wrapped my mind around this, I started to understand something. Manifolds are just graphs with many vertices. Fourier analysis studies the eigen-decomposition of the laplacian on a graph, and is used to solve heat, wave and dispersion equations. Stokes theorem (which in a discrete setting amounts to matrix associativity) is a self-evident fact. Most of applied math is thus reduced to a few lines of octave code.
Only when you lose discreteness or compactness things start to get nasty. But this is just a flaw in our current definition of real numbers.
(I wondered about the sort of discrete differential geometry found e.g. here https://www.cs.cmu.edu/~kmcrane/Projects/DDG/paper.pdf and here https://arxiv.org/pdf/math/0508341.pdf but in that setting the situation seems to be more "Stokes' theorem is true by definition".)
Lol, this is not the first time that I am mocked here :)
How does Stokes' theorem in a discrete setting just amount to associativity?
Manifolds are modeled by graphs, and calculus on manifolds becomes linear algebra using the matrices naturally associated to these graphs.
Consider a graph with n vertices and m edges.
The most important matrix is the oriented incidence matrix B, of size mxn, that has a single +1 and a single -1 on each row, indicating the vertices connected by the corresponding edge.
Scalar fields := functions defined over the vertices = vectors of R^n
Vector fields := functions defined over the edges = vectors of R^m
When you interpret matrices as linear operators:
B : R^n -> R^m is the gradient operator
-B' : R^m -> R^n is the divergence operator
-B'.B : R^n -> R^n is the laplacian
A subset of the vertices is given by a binary vector M \in R^n. The integral of a scalar field f over M is M'.fThe outwards boundary of a subset M is -B.M. The flux of a vector field F through this boundary is (-B.M)'.F
Stokes theorem is thus the trivial identity (-B.M)'.F = M'.(-B'.F)
(I use a dot for matrix products because the star breaks the formatting. You can also define the divergence without the minus sign, but I like my laplacians to be negative-definite, it feels weird otherwise.)
I think this is in fact the same thing as the "true by definition" found in the second of my links above -- but I hadn't thought hard enough about how that cashes out concretely to see that you can express it as the associativity of a three-way product. Nice.
< dM, F > = < M, dF >
(the adjoint of the boundary operator is the exterior derivative). In the discrete case, these integrals are actually products of matrices. There is nothing too deep here.Edit: regarding the "true by definition" issue, you can do one of two things. (1) Build the definition of the boundary and exterior derivative independently and then verify that Stokes theorem holds. Or (2) build the definition of only one of these two operators, and then define the other one as its adjoint. In that second case, Stokes theorem is true by definition. But it doesn't matter too much, these are just two different ways to write the same thing.
The continuous models are an ad-hoc, purely mental, construction. When you have to solve a PDE, you actually build a discrete model (using finite elements), and solve the discrete thing. Except in very simple toy problems, you can never "solve" anything using only continuous tools.
I'm often interested in the opposite: Solving continuous problems by going to the discrete domain.
I'm not a mathematician, but I did enjoy taking math courses and dabbling a little.
My personal highlight was when I was struggling for months to solve a continuous variable problem, but then one day I decided to "pixelate" it and converted it to a discrete problem. I solved the discrete problem, and got the answer to the continuous problem by taking the limit of the solution.
The problem was: If you choose n numbers at random (uniformly) in the interval (0,1), what is the expected value of the maximum?
I showed this problem to a number of people (including math professors) who struggled with it. Finally, one day, a colleague solved the problem in 5 minutes and 3 lines using continuous math. (It's not a clever solution either - surprising so many people missed it).
Still, I feel content with my discrete proof (which was about 2 pages). Since then I've often thought I should collect interesting continuous problems solved this way and put them on a web site, but never did. :-(
Really simple solution. Problem is simple enough that this could be a standard HW problem in a probability course. Yet so many people (including myself) did not see it. We kept doing multiple integrals (n integrals for n points) and tried using induction on it.
This was actually a subproblem of the real problem. The real problem was: Given n points chosen randomly on a circle, construct the n-sided polygon. What is the probability that the center of the circle is inside the polygon? Since I worked on it, the problem has shown up on the Internet in various places (usually for the special case of n=3 - triangles, but I think I've seen the general one posted here and there). I don't recall if anyone came up with the same solution I did for the general case - I think one site had it.
Many aspects of the universe are not known to be discrete, such as space, time, energy, and much, much more. It's not unreasonable that there are discrete and continuous aspects to the universe.
Many things that pop science treats as discrete, such as an electron, are most accurately described as interactions of a continuous fields via topological quantum field theories. Treating the electron as a discrete thing only works for some experiments. Treating it as a field works for all experiments.
The Standard Model, which models everything else, is continuous. A specific part of it, QED, is the most accurate theory known, agreeing with experiment to better than 10 parts in a billion.
There is no known violation of these two theories, which explain all of the observable universe. There is an issue on how to glue them together, and one of the leading methods, string theory, is also continuous. I am unaware of any theory that can replace these that has no continuous parts, such as symmetries.
> it is not known that anything is continuous either
Every physics theory that we use to explain the universe is continuous, and not a single one is not, so I'm betting that there are continuous things in reality.
> Every physics theory that we use to explain the universe is continuous
Are you suggesting thete are no discrete models?
Any discrete model may be similar to leading continuous models, so the explanatory power of both isn't relevant unless it can only be produced by continuous models.
Which theories discretize all variables? I'm well aware people make models all the time, but they usually fail to explain all we observe or are toy models, like 2D TQFT models, not designed to mirror reality, but to fiddle with to see if they extend.
LQG, for example, treats space as quantized at the Plank length, but this has already been disproven experimentally [1,2], forcing LQG to reassess. LQG still has continuous parameters, such as symmetry, and is based on the same continuous math as GR and TQFTs. It's simply trying to discretize (somewhat) spacetime, but it certainly has not yet succeeded at that.
Hogan's holometer experiment [3] also has shown that the scales LQG wanted to discretize spacetime at are incorrect.
So there is at least 2 different experiments invalidating a central piece of LQG. Of course LQG can simply retrench and claim scales are smaller than the Plank length.
There is no experimental evidence pointing to LGQ as reality. It has not even been shown to reproduce GR in the semi-classical limit, so it may end up simply being mathematical fantasy. LQG also has lots of other technical problems that may in the end throw it on the heap of failed theories, of which there have been many. It makes no prediction not already covered under GR.
So, yes, I realize there are people trying to discretize the universe, but so far none of these theories have reproduced what we observe in experiment, and the only theories that have reproduced all we observe in experiment are continuous.
>Any discrete model may be similar to leading continuous models, so the explanatory power of both isn't relevant unless it can only be produced by continuous models.
Which model using only discrete variables can make the same predictions of GR or SM? I cannot think of one, I cannot find one, so it may be that so far the only models that work are continuous.
Heck, even going simpler - what discrete model can reproduce only GR? LQG so far cannot, despite significant effort trying to make it do so. So that surely puts the burden of proof on showing discrete models as equivalent to continuous ones.
So I'm game for something to break current models, because that would be cool. However, nothing has, and no theories is really even close to replacing SM and/or GR.
[1] https://arxiv.org/abs/1102.2784
The claim here is actual "continuous" objects likely exist. How can you demonstrate this?
All continuous models can be reproduced in discrete models up to the resolution of "all current observations", How are discrete models inherently unable to match continuous ones?
You cannot demonstrate either continuous or discrete beyond what a model shows. All of knowledge in science is from models, nothing more.
For example, all objects that you perceive as discrete are modeled as waves in QM (more specifically TQFT). Given that it seems everything behaves as a wave, how can you prove discrete items exist to the level of proof you seem to require? I doubt it's possible to do so. Your perception of discrete is wrong, according to QM. What was once wave/particle duality in the early 1900s got replaced with larger and larger systems and TQFT until now everything in QM is a field, including you, including marbles, including particles, including everything. And this view allows the theory to accurately predict all relevant experiments. Discrete you, marbles, electrons, fails experimentally.
>All continuous models can be reproduced in discrete models up to the resolution of "all current observations"
This is not true. If I recall my QCD correctly, some calculations spit out infinities if the underlying space is not continuous. I suspect there are other places that add divergences if you discretize things.
Roughly - if you perform calculations in QCD (or QED), you basically add up an infinite number of terms, each with smaller and smaller probability, to get a finite answer (which, for QED, is astoundingly accurate). If you force this infinite sum to not be allowed to go to zero spatially, then you get infinite terms that cannot shrink, and you get an infinity. If you try to fix this by only including a finite number of terms, you get other issues, such as not getting the right answer when tested experimentally.
I also seem to recall that in QED if you do not have continuous space, then the self-interaction of an electron again spits out infinities, which of course is one major impetus for developing QED to begin with.
So no, you cannot simply discretize math and get all calculations to still given the same answers you see experimentally. It's not that simple.
For example, you mentioned LQG - researchers have tried for a long, long time, with much effort, to get it to reproduce continuous GR with a discrete model, and they so far have failed. It is not as simple as simply making the discreteness smaller. There are fundamental issues in getting such things to match the continuous theories.
So, despite it being a really useful thing to do, and despite there being lots of work trying to get a discrete model to match GR or SM, I am unaware of anyone ever making it work.
Interestingly, trying to find a better way to explain it to you, I found this [1] question about the inability of anyone to make a discrete model match current continuous ones (which backs my view that it has not been done, and perhaps will be found impossible). He makes the interesting point that your view of LQG making space(time) discrete is not correct. The reason is that this would violate Lorenz invariance (which is also the thing those experiments listed) are looking at, and so far Lorenz has never been broken experimentally, to the point of pushing it below the plank limit. So the "discreteness" of LQG is much more subtle than a naïve view.
I asked for an example of a discrete theory that matches some significant piece of physics - do you have one or not? Your claim that it can be done is not matched by any evidence you have put forth, nor any that I have ever encountered.
[1] https://math.stackexchange.com/questions/186076/is-there-suc...
Could you explain how these experiments disprove that?
A key quote from the article "And given that some quantum gravity frameworks predict that effects should be showing up at that point, perhaps those models are simply wrong, and there is no changing speed of light."
AFAIK, later experiments have even lowered the threshold, making LQG less and less likely, in the same way the LHC results have pushed back supersymmetry arguments by invalidating some versions predictions.
[1] https://www.symmetrymagazine.org/breaking/2009/10/28/gamma-r...
This is not true. There are "things" in the universe that are discrete (for example: matter). But whether the universe itself is discrete is something we don't know.
What is the smallest discrete measurable length in the universe? We don't know.
Here's an article on the subject:
https://www.quora.com/Is-there-anything-smaller-than-a-Planc...
Edit: To be more clear: Is there a theoretical reason why the Planck length would approximate the smallest measurable length?
The distance between discrete infinite sets (countable) and continuous infinite sets (uncountable) is a pretty large gap. Are you saying that there is no gap? There are pretty well studied proofs showing that uncountable sets are much bigger than countable.
What's your take on this? Got a counter proof to Cantor?
As much as I am a fan of all things about cardinals, measure and category (Oxtoby's booklet on this stuff has been on my nightstand for several months, to a great pleasure), I still fail to recognize its technological and physical implications.
My take on this is modelled after the famous article "The dawning of the age of stochasticity" by David Mumford, where he argues that the current definition of real numbers leads to infuriating contradictions, especially in the light of probability theory. This article left me with the impression that in a near future, we will see a clever definition of "real-valued random variable" that does not depend on the definition of real numbers and avoids all kind of disgusting paradoxes.
Is time discrete?
Or, am I mistaken?
https://www.amazon.com/Concrete-Mathematics-Foundation-Compu...
Okay, I'll bite. How? What is the definition of the tangent space? Dimension?
The tangent space can be defined in terms of derivations, as soon as you define what a smooth function on the 'discrete' manifold should look like (you may have to define the derivative at a face, rather than a vertex, or have the function take values on faces rather than vertices).
vector fields (sections of the tangent bundle) correspond to real-valued functions defined on edges
dimension is always 2 ;)
if you want higher dimension you have to consider higher-dimensional cliques beyond edges (that are 2-cliques): triangles, tetrahedra, and so on. But very often this is not necessary, even when discretizing 3d stuff. For example, for Poisson equation, and the associated classical pde, you only need the laplacian, which acts on functions, regardless of the dimension.
What "flaw" are you referring to? Also you're certainly free to use other definitions for real numbers, if you feel they better capture "reality".
That means that almost every real number, all but a vanishingly small subset, cannot be represented by any means whatsoever. No formulas, no algorithms, nothing. On top of which, they're surprisingly complicated to construct. There's several different ways of doing it, and they're all complicated.
At some point you've got to ask yourself, "are they really even there?" (Of course, those who already have non-Platonic leanings will find that question amusing.) I start to think that maybe we'd be better served by dropping all the non-computable numbers and start doing almost everything in the field of computables.
That was me. I grew up believing I hated math. Struggled all the way through middle & high school to AP calc and just found it incredibly boring and tedious. Ended up opting out of doing engineering/science in undergrad because I just couldn't stand doing all the math.
Long story short, years later ended up going back to school for CS and took discrete math as one of my first courses, and remember being blown away by how cool it was. All this time thinking I hated math!
Hard to say exactly what the difference is. Partially I think my brain just groks discrete concepts more easily.
But also the class had a heavy emphasis on proofs, which I think was really important. At a certain level this type of problem-solving can start to resemble philosophy. Chugging through a proof, figuring out just the right way to construct it and slapping a triumphant "Q.E.D." at the end is an empowering experience, especially the first time. There's a world of difference between "you throw a ball, solve for its velocity at time x" and "prove that there must be a ball" (I'm embellishing of course). It's a difference between obtaining an answer for a specific instance of a situation, and shedding light on some fundamental/universal property of the world. To me that feels profound in a sense, which makes it exciting.
Proofs don't belong solely to the domain of discrete math, of course, so this probably isn't as much a testament to the subject as it is to the general problem-solving approach. It would be nice if students could get exposed to this a bit earlier, I think there are many folks like myself who would realize that they can love math too.
* It's kind of a stupid way to put it, but by anti-ADHD I mean sufficiently controlled behavior combined with the ability to focus on any rote task until it is completely learned (basically, whatever traits or life conditions you need to have the opposite of ADHD). No matter what, you're not allowed to fail that group.
awkward way to put it (although i dunno how else to describe them), but i think everyone knows the students you are talking about. these people are the reason why highschool math/science is hell, and you can't get away from them by taken honors or AP courses.
Calculus is totally based on the teacher. I had an awesome Calculus teacher (He actually was a Physicians Assistant and had degrees from Yale and Harvard but volunteered at my small Christian School). He taught me first class why calculus was awesome by challenging use that everything else in math was fake numbers. Showed us the difference between 1/3 and 0.33333 and studying the speed of two trains word problem was always wrong. He than stated that with Calculus you could see the world as we see it. We than used functions all semester long that would eventually get "exact" and it was an awesome ride. To bad we had 3 students and the other 2 were total math geniuses and got perfect math scores on their SATs. They always made me feel like an idiot.
They're also completely different questions in the sense of what you mean when you say "this result is correct."
The ball velocity is really a simplified model that gives you a correspondence truth (you verify by running the experiment and taking a measurement.) The exidtence proof gives you a coherence truth, i.e. there are no unknown factors and ur statement is absolutely true.
Just giving terminology to your intuition: coherence truth vs correspondence truth.
Sports is a good example of why I don't think this is easy. What exactly is the point of statistics in sports? Predicting what teams are going to win or what strategies are superior. Most children in school are not interested in sports because they're into strategy or because they're predicting who's going to win. They're interested in it for social reasons. Which team do their parents or friends want to win. Telling everyone at thanksgiving that the family team is going to lose the game will probably not go well for them. And as far as strategy goes ... I thought the statistical analysis of the extra point kick in football indicates that you should never do it. Teams rarely make use of this at the professional level. Also didn't they make a movie about how nobody pays attention to the math in baseball (Moneyball?). Anyway, if adults who have money and fame on the line can't be bothered to care about statistics in sports, then I don't see how children are going to be much different.
Of course that's where you come in. You say it's easy. Personally, I would love to see why you think this because it looks hard to me. I look forward to a more in depth response from you.
If you don't believe math can be made interesting I would checkout websites like FiveThirtyEight or youtube channels like numberphile. It's definitely possible to describe statistics or math problems in interesting ways. It's hard to make any class interesting, but any teacher can do it if they work at it hard enough.
Also your moneyball comment makes no sense. All teams operate like the 2002 Oakland A's now, if anything the the movie shows the triump of statistics over bad heuristics.
It's particularly relevant to computer science because, in CS, we're dealing with discrete structures almost exclusively. The rise of computers and of CS is both what led to the current interest in discrete math subjects as a research field and what led to the development of university curricula in the topic.
So, really, discrete math (as a university course) exists mostly to teach some CS-relevant topics that don't necessarily get much dedicated time in the "standard" algebra->geometry->calc progression, because they're more concerned with continuous phenomena. It's sort of a parallel and independent track from the "standard" math sequence.
In particular, one problem with discrete mathematics as it's taught, is that it doesn't separate the methods of counting from the set of objects that you need to count.
There are a couple of ways around this. One good way is to look at all combinatoric identities as referring to the number of ways you can connect some set to some other set. Sometimes they're called "choices", "mappings", functions, whatever. You can talk about the function and sets separate from the numbers, and the numbers drop out of properties of the set. Doing this removes a layer of interpretation and guesswork even if it ups the abstraction a bit.
Additionally, discrete math just looked at as the math of algorithms also gets you far. Sedgewick's Analysis of Algorithms book is actually a discrete math book in disguise, since it gives a system of notation that can describe basically any combinatorical object separate from the counting method -- and then maps it to the counting method.
https://www.amazon.com/Introduction-Analysis-Algorithms-2nd-...
I disagree. The concept of infinite objects are essentially object sets with an unknown limit. This represents a general case from which we can draw important concepts.
It may not matter much in practice except for numerical precision issues, but it is useful to understand the foundations and occasionally throw away abstractions for performance/other requirements.
Graphs are sometimes useful in a narrow set of CS problems, as are similar structures. However, these are often not taught at discrete maths courses.
I also think numerical analysis is a much better choice than real analysis for CS majors, but that's a different topic...
As someone who participated in these contests, this isn't the entire story. Competitions such as these all require numerical answers, and as such skew extremely heavily towards counting and probability (as in, there's no other discrete math topics but these two). It's only when you get into proof based contents that the real meat of discrete math, namely recurrence, cardinality, graphs, etc. start showing up.
The vast majority who didn't take statistics courses in college will still try to use the limited understanding they have of statistics to assess statistical claims or draw conclusions from reported figures. The vast majority of people who never took discrete mathematics courses will still face problems of figuring out the difference of combinations and permutations at some points in their life.
I love calculus and I'm very happy I know it but I would be lying if I said it even approaches the importance of discrete mathematics and statistics in today's world.
I think Knuth’s concrete mathematics might have been an attempt at this, but I’ve never found time to dig into it in depth. Perhaps I should try again...
Sets -> Naturals -> Rationals -> Reals
I don't understand how you could reformulate study of continuous structures into discrete math in any sense other than the above.
However this is irrelevant to, say, analysis, you could define the real numbers as the unique (up to isomorphism) complete, ordered, archimedean field and do analysis just as well, so I'd say that you are right in some sense and some formulation, but it's a bit of a stretch to consider analysis as starting from discrete maths.
I also don't see how set theory fits into discrete maths, apart from the basics it seems pretty far from the common structures studied in discrete maths.
[0] https://en.wikipedia.org/wiki/Tarski–Grothendieck_set_theory
I'm not familiar with TG, what's the relation between it and ZFC+some large cardinal axiom?
See my last sentence. It's not clear to me how you could reformulate analysis, which in many ways is the study of the infinite, into discrete maths in any way other than the very loose sense of starting with ZFC.
I would be excited to see someone try that.
https://www-cs-staff.stanford.edu/~knuth/calc
Now, how do I TeXify it on an iPad?
2) who can't love a class that teaches you how to understand the math behind poker :)
[1] https://www.coursera.org/specializations/discrete-mathematic...
That seems a terribly weak reason for anything to be important.
My daughter is in 6th Grade and she has no Science or Social Studies this year. Reason: She has her Math and Science testing this year.
When did science become the enemy of math?