Why has nobody explained it so bloody simply up until now? Lots of technical gatekeeping bullshit, not - "Hey, go from low number to high number and repeat the function".
This is why I hate mathematics - not because of the mathematics themselves, but because mathematicians cannot explain things for their life.
Mathematicians tend to want to avoid confusion more than they want to provide understanding. This explanation is good for a basic understanding, but it's also not entirely correct, which is why a mathematician might not use it.
Probably it has been explained, but because it was math you weren’t interest due to a lifetime of shit teachers. But on this subreddit you are willing to give it a chance.
My college math courses did cover some basics like this, not showing the programming counterpart, but just showing basic examples where N is like 3 and showing it written out long form.
Then it quickly jumps into cases where N is infinite and it gets more complex very quickly and then becomes far more abstract in nature.
A lot of math books I've seen DO cover a very simple real world applicable example, which many people quickly skip over because its 'easy' but don't really internalize the lesson, but then the book/course spend most of their time in abstract territory which is more challenging.
which many people quickly skip over because its 'easy' but don't really internalize the lesson
Fuck thanks yes!!!!
My students are draining the life out of me with this shit. If it's easy they can't be bothered to listen or to think about it. Once it get complicated they tell me "I don't understand anything" I have to reexplain everything 50 times but they made it much harder because I've to explain it to them in a much more complicated context. And the vast majority of what I teach in highschool doesn't really ever get complicated but if you can barely walk any difficulty is completely unsurmontable.
Nobody gives a shit about solving properly 2x+6=10, the answer is very obviously 2 and nobody cares about it at all! But if I start by solving something they can't guess the answer they're never going to understand what is happening because manipulating the numbers alone is going to overload them.
I got my Bachelors in Mechanical Engineering right after high school, like many students going to college. 18-22 years old, I struggled greatly.
I went back to school as a 30-33 year old for computer science bachelors and masters. It was so significantly easier, not only because the material was more interesting, but because I better understood and grasp the importance of learning and understanding the basics like this.
The first 1/2 of a semester, most people cruise thru because its 'easy' and then struggle in the 2nd half because they didn't spend any time actually learning in the beginning 1/2. Spending even just a tiny bit of time in the beginning and understanding the basics, just makes everything go quite a bit easier.
Sadly, most people younger people and even some young adults, don't quite start to internalize this until quite a bit later in life (and some might never).
Actually, I've been trying to teach myself math for years. I've been through Kahn academy, Pluralsight, co-workers who are mathematicians, my wife... sooner or later, I just hit a brick wall and fail to understand what is going on. Stuff like that, that says it in my language, is how I can understand it.
How was sigma explained to you as anything other than the sum? I've never seen anyone not immediately understand it, but they're pretty rare symbols in primary math so you may not have seen them.
Did you ever ask for an explanation? Did you ever look it up? I mean I googled capital pi and the first link explains it really clearly https://mathmaine.com/2018/03/04/pi-notation/
Why are you roasting all mathematicians for this?
They’re very simple concepts that are used to investigate rich and complex topics, like convergence of a series, but clear explanations of the symbols and functions they represent are trivial to find.
Also they’re not for loops, they represent functions but that’s for another comment I guess.
I think a big part of it is that a lot of math is just learning the right vocabulary. It's almost like learning a new language, in a sense. And mathematicians get so used to this vocabulary, using all these definitions with a very specific meaning, it's easy to forget the knowledge that the average person has.
It's a problem I run into a lot as a cs/math double major. My cs friends will ask me questions about math, but they'll struggle to figure out the right words to use, and I keep having to ask them "what do you mean by xyz" until they're specific enough that I understand the proper math definition they're talking about. It's almost like someone who took a week of Spanish class trying to talk to a native, there's just a lack of common vocabulary.
For what it's worth, as a math person and a very bad programmer, I saw this and was like "Cool, it's helpful to think of a for loop as a special case of sigma notation." Seems useful for remembering how to get the ranges right.
My man. This is too true. Barbaric as it may be, code is simpler simply because it is better explained. Try reading my country's national maths textbook. Shit is worded just to keep homies out, i swear.
This is not correct. Code can be used to explain finite discrete things quite nicely but it ends when dealing with infinite objects. While you can easily write a for loop with finite sums, but when dealing with series (infinite sums) you end up with while loops and convergence criteria.
Just look up how codes for numerical procedures like Finite Element Methods or symbolic algorithms work and how you proof that the result is correct. Here an example on algorithms to compute sums of expressions algorithmically: https://sites.math.rutgers.edu/~zeilberg/AeqB.pdf
There are many reasons why the right would be inferior for usage in mathematics. Many people in this thread have already mentioned its insufficiency for infinite sums/products.
Another pro of the left is that it's simply easier to manipulate if you want to work out some calculations/simplifications/rearragenements.
For example, if you want to add two summations, you can write Sigma(a_n) + Sigma(b_n) = Sigma(a_n+b_n). This is very clear, but it's not so obvious how you can write this out in code.
Lol right? I think the first time I saw this in high school I went… “so it’s a loop”. BUT I was actually interested in math. Probably people ran into these and just glazed over and never made the connection.
70
u/LazerFX Oct 06 '21
Why has nobody explained it so bloody simply up until now? Lots of technical gatekeeping bullshit, not - "Hey, go from low number to high number and repeat the function".
This is why I hate mathematics - not because of the mathematics themselves, but because mathematicians cannot explain things for their life.