News for hackers. Stuff that matters.
Re:Math education: It’s not about numbers, it’s about learni... by Chris2048 on Tuesday July 11, 2017 @12:23PM (#14745450)
There's a nuance here too.

in programming, y = f(x) = x^2 is one way; 'y' is a label for a function of one variable.

But in math there is no fixed typing, or distinctions. The symbolic equation represents a relationship.

Hence:

y(x) = x^2 <=> x(y) = (+/-) sqrt(y)

the domain and domain can be switched and the entire equation rearrange so that a 'variable' becomes a 'function'.

Re:Math education: It’s not about numbers, it’s about learni... by yequalsx on Tuesday July 11, 2017 @12:41PM (#14745636)
Here is an interesting observation on what you wrote:

x(y) = (+/-) sqrt(y)

is not valid notation. On the left hand side you are stating that x is a function of y. But on the right hand side your usage of (+/-) indicates that y can go to two different values. Hence x is not a function of y. To be a function one must have each input going to a distinct output.

Re:Math education: It’s not about numbers, it’s about learni... by Chris2048 on Tuesday July 11, 2017 @08:17PM (#14749189)
Yep, that was on purpose somewhat. A choice of +/- will essentially make a restricted codomain, to positives say.

That means switching the variables around switched domain/codomain.

An example where they are both the same:

y(x) = x + 1 <=> x(y) = y - 1