News for hackers. Stuff that matters.
Re:How I faced my fears and learned to be good at math by ChuckMcM on Wednesday November 13, 2013 @03:30PM (#6728238)
You have hit upon my biggest gripe with mathematicians, their love of 'notation', or more precisely their love of writing in symbology that makes mathematics seem more arcane than it actually is.

When ever I've run up against "impenetrable" math I often ask "So how would you use this?" and connecting it to the real world helped tremendously.

Re:How I faced my fears and learned to be good at math by SiVal on Wednesday November 13, 2013 @06:47PM (#6729473)
Mathematical notation is a must. Math in "plain English" would be as big a nightmare as programming in plain English. Natural language is so ambiguous that your "plain English" would turn into legalese every time you had to explain something unambiguously to someone who didn't already know it.

The problem isn't the notation per se, it's that teachers don't spend nearly enough time explaining the notation itself. It's a foreign language that they are so skilled at that they don't understand how unfamiliar it is to their students.

I was well into a physics major before I really stopped and carefully considered the many different notations used to represent derivatives (dx/dy, f'(x), y', y-dot, Dsub-yX, etc.) I realized that I had developed separate context-specific bodies of calculus knowledge/skill from different fields with different notations and approaches, and that these were all the same thing. Different techniques in different contexts were an artifact of different styles of notation, not differences in the actual math.

I can understand Italian to some extent as a side-effect of my study of Spanish. If I took an electronics class in Italian, I would understand some of the concepts and misunderstand others. Would my troubles to understand certain electronics concepts be due to trouble with electronics or trouble with Italian? Who knows? Both types of misunderstanding would compound each other.

If teachers spent more time carefully teaching this foreign math language before (and while, and after) using it to teach math, I'd guess a lot of students' "math problems" would magically disappear.

Re:How I faced my fears and learned to be good at math by jacques_chester on Wednesday November 13, 2013 @08:57PM (#6730042)
The problem isn't with using notation. Lots of people on HN are programmers, we understand the value and necessity of unambiguous artificial languages.

The first problem is that the notation is usually "the first symbol that popped into some random genius's head 200 years ago". And once the notation is set, it's set, no matter how poor it is, or how many other places it's already in use etc etc. Then, as you note, sometimes there are multiple notations. Ugh.

The second problem is closely related to the first. Mathematical notation is write-optimised. This makes sense because of the long history. But that doesn't change that write-optimised languages are harder to read and understand, even for experts, than read-optimised languages.

In a programming context if you today reduce all your variable names to single latin letters and all your function names to single greek letters, you will be widely mocked and reviled. In maths it's Just How Things Are Done.

I guess what I'm saying is: the curse of mathematical notation is pen and paper. The boundaries of QWERTY liberated (almost all) programming languages from the curse.

Re:How I faced my fears and learned to be good at math by epsylon on Thursday November 14, 2013 @09:28AM (#6732436)
Good maths proofs proceed step by step, with intermediate goals written in clear English (or French, for me). And to go from step to step, you don't need explicitly long names, just like you don't name your index loops "index_over_collection" but just i. Because your function will only be a few lines long.

I actually really like mathematical notation. Once you get used to it, the terseness can make things a lot clearer than natural language.

(If you've ever tried to read old mathematical articles / books that are a few centuries old, you'll understand the power of mathematical notation. Check out "God Created The Integers" or "On the Shoulders Of Giants" by Stephen Hawking if you're curious: these are two books that provide excerpts of highly influential works from earlier mathematicians and physicists, respectively)

Re:How I faced my fears and learned to be good at math by Dn_Ab on Wednesday November 13, 2013 @11:44PM (#6730574)
> In a programming context if you today reduce all your variable names to single latin letters and all your function names to single greek letters, you will be widely mocked and reviled.

Serious question. What do you think is the general impression of APL programmers? =)

Re:How I faced my fears and learned to be good at math by jacques_chester on Wednesday November 13, 2013 @11:50PM (#6730591)
I thought about mentioning APL, but sometimes the correctness of an argument is best served by inexactitude.

I already compromised by adding "today" and "almost all" as qualifiers.

Re:How I faced my fears and learned to be good at math by dbaupp on Wednesday November 13, 2013 @05:24PM (#6729092)
What would you use other than symbols? Describing everything with words? For example:

When given two numbers, if one wishes to find the quantities that give 0 when the second of the numbers is added to the product of the quantity and the first number and the quantity multiplied by itself, one should negate the first number and then either add or subtract the square root of the sum of the square of the first number minus four times the second number, and divide this summation by two.

That's just the quadratic formula in disguise:

Let b and c be real [or complex] numbers, then

   x^2 + b x + c = 0
implies

   x = (-b +- sqrt(b^2 - 4c)) / 2
Clearly the latter is easier to understand and digest; the same holds for higher mathematics. In fact, there are multiple interpretations of the text (admittedly I just wrote that now, and I'm not the best writer), while the symbolic mathematics itself is essentially entirely non-ambiguous (given some background in symbolic algebra).

(Saying "let's do maths without the symbols" is a little like saying "let's do programming without special languages"... it is very very hard to make it work.)

Re:How I faced my fears and learned to be good at math by thetwiceler on Wednesday November 13, 2013 @08:05PM (#6729845)
Pictures are worth a thousand words! Now let me put the quadratic formula in disguise as well.

Suppose we wish to make a rectangle with a given area and perimeter. This is an interesting problem! Does the number of possible answers depend on the specific area and perimeter? Certainly! It all comes down to thinking about squares, since squares maximize the area given a fixed perimeter. If the area of a square with the given perimeter is LESS than the desired area, then there's no way we can make such a rectangle. If the area of the square is equal to the desired area, then that's our only answer! Now, how about if our square's area is larger than the desired area? We'll get two possible different lengths of a given side of the rectangle - one representing the rectangle's width, and the other representing it's height. Or we could also think of them as two different rectangles - a tall one, and its rotation by a quarter turn (which makes it wide). By symmetry, we know that the difference between the square's side length and the shorter side will be the same as the difference between the square's side length and the longer side. How large is that difference? Exactly enough to diminish our shape's area from the square's area to the desired area. And that difference in length is simply the square root of the difference between the square's area and the desired area!

It would have been better with pictures :). Anyway, the quadratic formula is probably the greatest mistake in all of mathematics education. Somehow we use the word "quadratic" and even the phrase "complete the square," but never have I ever seen someone draw the said square!

While I think notation is often great for expressing ideas concisely and precisely, I think an excess of notation not a good way to communicate concepts. Nobody should memorize the quadratic formula! We should understand instead how to think about areas and lengths, and then we solve the problems in quadrature that we want.

Re:How I faced my fears and learned to be good at math by dbaupp on Wednesday November 13, 2013 @08:36PM (#6729968)
I agree with you, but not everything can be done pictorially.

FWIW, an animation of the quadratic formula/completing the square: http://en.wikipedia.org/wiki/File:Completing_the_square.gif

Re:How I faced my fears and learned to be good at math by aidos on Wednesday November 13, 2013 @06:20PM (#6729367)
Ah yes - I used to love reading Euclid's proofs [1]. Wonderful descriptions. He used such poetic phrases too - things like describing a line as 'a length without breadth.'

As wonderful as it is, mathematics needs notation, and lots of it. You can express incredibly complex ideas in mathematics, totally unambiguously, through a collection of symbols. Not to mention that they're universally recognised.

The reality is that mathematics is 100% about thought. You'll struggle to put together the concepts in your mind long before the notation is the real issue. Once you have a clear picture of the abstract space you can use the notation you've learned to communicate the world you've created to others. What could be more wonderful?

[1] http://aleph0.clarku.edu/~djoyce/java/elements/bookVI/propVI...

Re:How I faced my fears and learned to be good at math by upquark on Wednesday November 13, 2013 @08:00PM (#6729826)
Agreed. Plus, the current notation is a result of multiple iterations by some brilliant people. If you look at older attempts at formal mathematical notation, some of it is laughably bad in comparison. We are standing on the shoulder of giants :)
Re:How I faced my fears and learned to be good at math by hmrmaxwell on Wednesday November 13, 2013 @11:30PM (#6730522)
With more notation, some readability is lost again:

Let x, b, c \epsilon C:

x^2 + b x + c = 0 => x = (-b +- sqrt(b^2 - 4c)) / 2

Re:How I faced my fears and learned to be good at math by ReidZB on Thursday November 14, 2013 @01:35AM (#6730949)
Well, this is highly tangential, but if you're talking about LaTeX formatting, \epsilon is not generally what you want for the "element of" symbol. Instead, use \in. The biggest difference is that \in is a binary operator and has the appropriate spacing.

Example of the difference: http://i.imgur.com/gwAqirx.png

generated by code:

  \textbackslash{}epsilon: $\epsilon$ \\ 
  Example: $x \epsilon \mathbb{R}$
  
  \textbackslash{}in: $\in$ \\ 
  Example: $x \in \mathbb{R}$
If you use \mathbin{\epsilon} instead, you'll get proper binary operator spacing, but you'll still get odd looks from people who are accustomed to \in. Admittedly, the symbol did historically begin as an epsilon, but that notation died off a while ago.
Re:How I faced my fears and learned to be good at math by zenbowman on Wednesday November 13, 2013 @03:58PM (#6728455)
Notation is not a bad thing. What is bad is an inconsistent, ethereal form of notation.

Computer science is also essentially about notation and vocabulary, but we have to make our notation understandable to the computer, which is a much higher standard than what mathematicians have to adhere to.

We are in a field that demands a much higher level of rigor than mathematicians are accustomed to, as much as they'd hate to hear it.

Re:How I faced my fears and learned to be good at math by jeffasinger on Wednesday November 13, 2013 @05:44PM (#6729203)
Mathematicians have a relatively fluid relationship with notation. Since higher math is constantly introducing new abstractions, or applying new techniques to old abstractions, new notation is introduced, or old notation reused in a slightly different way in a large percent of papers that are influential. I think mathematicians would happily admit that.

That said, it does bring me back to a math class where a professor, after realizing he needed to introduce a subscript, to a subscript, to a subscript of something that had both a subscript and superscript already, made a comment along the lines of "please excuse my poor notation."

Re:How I faced my fears and learned to be good at math by ChuckMcM on Wednesday November 13, 2013 @06:53PM (#6729503)
I certainly agree with this that it is inconsistency. With a straight up notation handbook and agreed upon "language" I would have been happy to get over the hump once, maybe twice, but when I spend 15 minutes re-assuring yourself that the notation in this proof/formula/paper is just a variation of another equivalent notation, it makes me irritated and that interferes with my appreciation of the concepts being presented. Do it enough and I just throw the paper out.
Re:How I faced my fears and learned to be good at math by krakensden on Wednesday November 13, 2013 @05:10PM (#6729000)
There was some point in my education where I was taking three classes, each with their own definition of phi. It drove me nuts.

Coq notation, lisp-style notation, even python-style notation- anything would be better.

Re:How I faced my fears and learned to be good at math by drivers99 on Wednesday November 13, 2013 @06:49PM (#6729482)
I remember taking three classes: informal logic (philosophy) which ended up talking about formal logic anyway, electrical engineering, and a math class. It make the logic class really easy, already knowing it from EE. They all had different notation for 'implies', 'not', 'and', 'or', etc. You could argue that the computer languages have a 4th notation, but I won't.
Re:How I faced my fears and learned to be good at math by velis_vel on Thursday November 14, 2013 @10:25AM (#6732785)
You're confusing pedantry with rigor. The fact that a compiler will complain at you if you misspell 'continue' but a mathematical proof will keep going just fine doesn't mean that programming is more 'rigorous' than mathematics.
Re:How I faced my fears and learned to be good at math by saidajigumi on Wednesday November 13, 2013 @06:52PM (#6729498)
I'll disagree that it's the use or non-use of notation. I had the great joy of taking an Intro to (mathematical) Logic class with Dr. Richard Vesley (who had Kleene as his Ph.D. advisor!) By that point, I'd had many math classes with instructors all over the bell curve.

Dr. Vesley blew them all away. There was notation, but the real clincher was his absolute clarity of communication. He covered a lot of material, but the pace never felt rushed. In fact, it was so calm and so clear it was refreshing, more like meditation by a babbling brook. I wasn't the only one to feel that way -- the whole class seemed to have a similar experience.

Related to the story in TFA, a friend of mine with a towering math background said a few years ago, "I remember when math was easy -- back when I had time." Math that we've learned and mastered is "easy", but new areas of math can require a LOT of mental energy to gain traction in.

Re:How I faced my fears and learned to be good at math by overgryphon on Wednesday November 13, 2013 @05:05PM (#6728960)
University math departments really should reconsider their approach to real world applications. Most math professors don't seem to consider it a part of the curriculum, and that can be really detrimental.

My largest college regret was blowing off linear algebra- it was an annoying class taught in an annoying way (handwritten homework showing your work for each step of matrix multiplication, no proofs, ect). I blew it off because there were no applications of it in anything I cared about.

A semester later, it showed up somewhere in every single advanced computer science class. Really wish there had been a proof-based linear algebra class that showed up later in the curriculum so by the time we reached it we knew it had value.

Re:How I faced my fears and learned to be good at math by aidos on Wednesday November 13, 2013 @06:24PM (#6729388)
I think you need to go through that with linear algebra, though. There's a stage early on where you just have to multiply matrix after matrix until it's second nature. Shame your course wasn't taught in a compelling way and it put you off. Having said that though - I had no idea how useful linear algebra was until much later in life.
Re:How I faced my fears and learned to be good at math by wfunction on Wednesday November 13, 2013 @07:06PM (#6729563)
Same exact story here. Linear algebra seemed like a tautology, I was ranting about it until I started using it in CS...
Re:How I faced my fears and learned to be good at math by mneary on Wednesday November 13, 2013 @04:40PM (#6728759)
There are plenty of worthwhile subjects in Math which have no concrete application to the real world. One needs to be able to understand these abstract ideas for what they are, not merely formality surrounding a simple real life phenomenon.
Re:How I faced my fears and learned to be good at math by wdewind on Wednesday November 13, 2013 @03:47PM (#6728362)
Yeah I totally agree. I took one of the car programming classes online and found that while the instructor was (obviously) really smart, he sucked at programming. He tried to write out mathematical equations in python rather than structure the code in a way that simply described what was going on. At the end of each mini lesson I'd refactor his code so that it made sense (mostly doing small stuff like changing variable names from their corresponding mathematical symbols to the word of what they actually were, or factoring blocks into methods). Eventually I gave up not because I couldn't understand the domain of self driving cars (he was great at explaining that stuff), but because I couldn't keep up with the mathematical syntax (and the online course kept wiping my code and resetting with his, which was extremely frustrating).
Re:How I faced my fears and learned to be good at math by nightski on Wednesday November 13, 2013 @05:24PM (#6729090)
If you do not learn the mathematical structure it is going to be hard to do anything further in the field after the course. Why not just bite the bullet and properly learn the pre-reqs?

With a basic course in linear algebra (such as Gilbert Strang's on MIT OpenCourseWare) and potentially some intro calculus you should fly through that course.

Re:How I faced my fears and learned to be good at math by nemesisrobot on Wednesday November 13, 2013 @04:33PM (#6728723)
Are you talking about Sebastian Thrun's AI class on Udacity [1]? I haven't yet taken it, but I have on my todo list.

[1] https://www.udacity.com/course/cs373

Re:How I faced my fears and learned to be good at math by chattoraj on Wednesday November 13, 2013 @09:24PM (#6730134)
Yes, he is.
Re:How I faced my fears and learned to be good at math by huherto on Thursday November 14, 2013 @09:44AM (#6732538)
Reminds me of my friend who once said. "I understand calculus but whenever I see the little snake (integral symbol) I don't know what to do"

But following up on your comment, the difficulty of math is that it is build on foundations. If you miss something because you were distracted, that hole is going to be an impediment over and over and it will create more holes until it is very difficult to make progress.

Re:How I faced my fears and learned to be good at math by varoun on Thursday November 14, 2013 @01:42AM (#6730972)
Structure and Interpretation of Classical Mechanics by Sussman and Wisdom explores some of the issues surrounding mathematical notation. Their primary thesis seems to be that by using uniform notation, s-expressions in this case, we can better understand and reason about mathematical concepts than what using standard math notation permits.
Re:How I faced my fears and learned to be good at math by ivan_ah on Thursday November 14, 2013 @01:30PM (#6734297)
> Sussman explores some of the issues surrounding mathematical notation

see this video, starting at 8mins: http://www.infoq.com/presentations/Expression-of-Ideas