News for hackers. Stuff that matters.
Re:Tips for mathematical handwriting (2007) by paulluuk on Saturday February 08, 2025 @05:09PM (#42986618)
Mostly unrelated, but I wish the field of math would step away from greek letter notatation and just make variable and function names readable as programmers do. I know there are historic reasons, and I'm sure that mathematicians' time is so valuable that they can't be bothered to write more than 1 character, but it's a real barrier to entry in my opinion.

  def α(β, γ):
      δ = β ** 2 + γ ** 2
      ε = δ ** 0.5
      return ε
  
  ζ = α(3, 4)
  print(ζ)
Re:Tips for mathematical handwriting (2007) by fujinghg on Saturday February 08, 2025 @06:04PM (#42986964)
The use of the Greek alphabet is mostly driven by convention. You get used to it. They aren't just sprayed around randomly wherever you look.

As for your code, urgh. A mathematician would carefully define what the function and operands are and the domain of each. More, and I'm vasty simplifying here as I don't have LaTeX available. I don't know what your code does so I've invented some words.

Let f(x,y) represent the rate of change of doodads where x is the number of doodads and y is the amount of doodads per gronk.

    f(x,y) = ( x^2 + y^2 ) ^ (1/2)
That's pretty tight and clearer than the code is.
Re:Tips for mathematical handwriting (2007) by card_zero on Saturday February 08, 2025 @09:44PM (#42988011)
Maybe tight is harmful.

The code is unclear because it has single-letter variables instead of names, exacerbated by being in Greek, which mathematicians reached for because they were using single-letter variables, and ran out of them, and weren't bold or imaginative enough to break from convention. Then they used up the best of the Greek letters too and moved on to things like Gothic. This is stupid.

Re:Tips for mathematical handwriting (2007) by xigoi on Sunday February 09, 2025 @02:50AM (#42989203)
How would you name the variables in the code to make it clearer?
Re:Tips for mathematical handwriting (2007) by fujinghg on Sunday February 09, 2025 @04:22AM (#42989518)
No they didn't use them because they ran out. You know nothing about mathematics clearly. There are conventions to keep it concise. Some definitions of simple things would be unreadable if you used longer names. Consider the quotient rule:

    k'(x)=(g(x)f'(x)-f(x)g'(x))/(g(x)^2
Or in your world apparently

    quotient'(expression)=(left_expression(expression)right_expression'(expression)-right_expression(expression)left_expression'(expression))/(left_expression(expression)^2
Yeah, no.

Surprisingly I've just gone through the last 30 pages of mathematical work I've done and there's a couple of π in ∫ there and that's it.

Re:Tips for mathematical handwriting (2007) by BeetleB on Sunday February 09, 2025 @11:35AM (#42991690)
I'm sorry, but you used ' to denote differentiation.

To have it his way, you'd right:

(derivative(right_expression))(expression)

and so on.

Clear as mud!

Re:Tips for mathematical handwriting (2007) by fujinghg on Sunday February 09, 2025 @11:57AM (#42991831)
Good point. Urgh.

Perhaps he's a LISP programmer and has some spare brackets floating around :-)

Re:Tips for mathematical handwriting (2007) by The_suffocated on Saturday February 08, 2025 @08:01PM (#42987578)
Personally I don't find greek letters problematic. In contrast, I was traumatised by upper-case Fraktur font in older abstract algebra texts.
Re:Tips for mathematical handwriting (2007) by jks on Sunday February 09, 2025 @01:19AM (#42988876)
Fraktur is still used in model theory, but I don't believe that is easier to write than A' or  or something like that.

Set theory has aleph א and beth ℶ which are refreshingly not Greek but Hebrew letters.

Re:Tips for mathematical handwriting (2007) by jks on Sunday February 09, 2025 @04:11AM (#42989472)
Heh, U+1D504 MATHEMATICAL FRAKTUR CAPITAL A seems to have been filtered out of my comment, perhaps because it's outside the BMP.
Re:Tips for mathematical handwriting (2007) by xanderlewis on Saturday February 08, 2025 @07:13PM (#42987348)
It’s for the same reason that almost everything in Unix is like

ls, man, wc, ps, grep, …

instead of

list, manual, word count, process(es?), <actually, what the hell does that stand for again>, ….

You get used to it, and then it’s much quicker. And being able to write things down quickly is very important when you’re in flow.

Re:Tips for mathematical handwriting (2007) by alexjm on Monday February 10, 2025 @02:32PM (#43004246)
Grep is from an ed editor command: global (g) to apply a command to all lines that match a regular expression, a regex surrounded by slashes (/), and print (p) to display those lines. Or g/re/p for short. This proved a useful enough operation that they made it a separate command in the early days of Unix.
Re:Tips for mathematical handwriting (2007) by xanderlewis on Sunday February 16, 2025 @08:11AM (#43067709)
Yeah! I've heard this many times, but it never sticks in my mind.
Re:Tips for mathematical handwriting (2007) by fxwin on Saturday February 08, 2025 @05:34PM (#42986775)
the vast majority of mathematical equations/terms would become completely unreadable if you replaced single symbols with descriptive terms. You are going to have to internalize what the symbols refer to anyways to understand the formula, and once that is accomplished any additional description is a waste of space and cognitive bandwidth.
Re:Tips for mathematical handwriting (2007) by card_zero on Saturday February 08, 2025 @09:53PM (#42988052)
Nah, try it, you'll be fine.

The real problem is, everybody else will complain, because its unconventional. Then you look foolish.

Re:Tips for mathematical handwriting (2007) by jordigh on Saturday February 08, 2025 @11:02PM (#42988345)
We did try it. We tried it for a couple of millenia. It was much harder to understand and our collective mathematical output as a human species was much slower than it is now.

Shorthand is better.

Re:Tips for mathematical handwriting (2007) by card_zero on Sunday February 09, 2025 @01:19AM (#42988875)
No, I don't believe you. Mathematicians love inaccessibility.
Re:Tips for mathematical handwriting (2007) by fujinghg on Sunday February 09, 2025 @04:30AM (#42989544)
It's not that.

You know when you go to a foreign country, ask for a particular thing in a restaurant proudly in their language that you picked up on Duolingo the week before and the waiter starts talking to you quickly in their language and you lose it completely.

We are just that waiter. You didn't learn the language or get the prerequisite skills. So do that or don't bother. It's not easy and there are no shortcuts.

Re:Tips for mathematical handwriting (2007) by xigoi on Sunday February 09, 2025 @02:53AM (#42989214)
Consider the formula (a+b)² = a² + 2ab + b². How would you name the variables to make it more “readable”?
Re:Tips for mathematical handwriting (2007) by jordigh on Sunday February 09, 2025 @06:50PM (#42995383)
The square of the sum of two quantities equals the sum of the square of each quantity plus twice their product.

So much more readable! /s

Re:Tips for mathematical handwriting (2007) by fxwin on Sunday February 09, 2025 @04:25PM (#42994165)
Even if i agreed with you that full words/phrases were easier to parse, any gains made here are easily offset by how much harder and laborious it is to manipulate them on paper
Re:Tips for mathematical handwriting (2007) by queuebert on Saturday February 08, 2025 @06:06PM (#42986982)
It's only a small part of the barrier to entry, though. I could write Einstein's equations out in words, and most people still wouldn't be able to do GR.
Re:Tips for mathematical handwriting (2007) by layer8 on Saturday February 08, 2025 @09:23PM (#42987931)
Handwriting doesn’t have autocomplete.
Re:Tips for mathematical handwriting (2007) by jordigh on Saturday February 08, 2025 @11:00PM (#42988335)
> they can't be bothered to write more than 1 character

You try handwriting all of your code and let's see how long until you start abbreviating everything.

Mathematical notation is all abbreviations. We used to write mathematics without abbreviations. It was absolutely horrid. Try reading some 13th century mathematics, translated to your language (e.g. Fibonacci https://archive.org/details/laurence-sigler-fibonaccis-liber... ), and see how much of it you understand without the benefit of symbolic notation. We would even write aaa instead of a^3.

The point with mathematical notation is that it can all be sounded out and it's extremely general and abstract. Generally, x is not a measurement, a quantity with a unit, a meaningful anything. It's just a number, and x is a better name than front_server_count or whatever thing you're programming about.

Re:Tips for mathematical handwriting (2007) by annzabelle on Sunday February 09, 2025 @12:51AM (#42988778)
A massive amount of day to day pure mathematics work is still done by hand, on paper, whiteboard, or even chalkboard (and there's a preferred brand of chalk). Of course it will all be typeset before sharing, but mathematicians typically think by writing by hand, not think by typing.