|
|
|
|
|
by salutis
995 days ago
|
|
I do not think mixing up 'f(x)' and 'f' is harmless, given mathematics is all about clarity. In any quality text, 'f(x)' denotes the value of 'f' at 'x', and 'f' denotes the function 'f' itself. Also, speaking of notation, I wonder why you used ':=' instead of '=' to define 'f'. There is no computation going on, right? |
|
Getting 'f' vs 'f(x)' right mostly is really important for programmers who deal with higher order functions in general all the time. Most mathematicians don't fall into that category.
You could say calculus deals with higher order functions, like the derivative. And that's a valid way to look at it. But most people get by just fine using special purpose notation for the derivative and not thinking about it as a function just like 'f'.)
I used := to emphasis that I am defining 'f' here, not just writing down any old equation. (Eg like like in the example "Find all functions f such that f(x + 1) = x * f (x).")
Though if you wanted to be pedantic about notation, I could have written that as with the x on the other side of the :=, like f := \x -> x + 3 (for Haskell inspired notation) or f := (x |-> x + 3) where |-> means the little arrow I draw by hand to denote a mapping when I'm writing math on a chalk board or piece of paper.
I'm not sure why := would denote a computation? At most you might want to use it to denote an assignment in a mutable context?