My Math Forum  

Go Back   My Math Forum > High School Math Forum > Elementary Math

Elementary Math Fractions, Percentages, Word Problems, Equations, Inequations, Factorization, Expansion


Reply
 
LinkBack Thread Tools Display Modes
July 26th, 2019, 01:36 PM   #11
Senior Member
 
Joined: Aug 2012

Posts: 2,355
Thanks: 737

Quote:
Originally Posted by DarnItJimImAnEngineer View Post
Dogma and principles aside, I think we can all agree with that one, no?
My reply got a little longwinded. tl;dr: I realize that I always over-paren when I'm coding. I never realized before today that I have to over-paren when I'm writing ASCII math. It's a shock to my system. Original post follows.

Say I'm on a nice site like this that supports $\LaTeX$. When I write $a^{b^c}$, it is universally recognized (according to Wiki) that this is "right-associative" as they call it. We interpret it right to left.

On the other hand, say I'm on a site that doesn't support $\LaTeX$; or, to be precise, MathJax, which is the gizmo that makes $\LaTeX$ work on websites.

So I revert to ASCII and I write a^b^c.

That should not make any difference. But it does. It's not that I was unaware of some programming language exceptions. I just never regarded the exceptions as truly legitimate before today. I over-parenthesize whenever I program in a language I'm not super familiar with. Perhaps I've internalized that lesson without thinking about it.

But for me it's the MATLAB thing. MATLAB is a serious computational system. Professional scientists use it. If someone left-associates exponentiation, I can no longer regard them as wrong or ignorant. The usage is regarded as legitimate when the ^ symbol is involved.

And yet there's Wolfram Alpha, the gold standard for all things computational. Wolfram right-associates.

And I was surprised at the number of programming languages that interpret $-4^2$ as $16$. That seems deeply wrong to me. But again, I admit that when I'm coding, I do over-parenthesize just in case. Even if I'm familiar with the language's conventions, I can't be sure a reader of the code agrees.

But that issue is different. The exceptions are only for programming languages and spreadsheets (and calculators). But with exponentiation, the exceptions can occur even when discussing math in ASCII. I do find that disturbing and never before today regarded that as remotely legitimate.

When I'm emperor, this is going to get fixed. Left-associativity will be abolished. Till then ... "Today I learned."

Last edited by Maschke; July 26th, 2019 at 02:07 PM.
Maschke is online now  
 
Reply

  My Math Forum > High School Math Forum > Elementary Math

Tags
exponent, negative, power



Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Log with negative exponent on TI-84 Plus Calculator Angus Math Software 9 July 23rd, 2017 04:07 AM
Negative of an exponent Abhimanyu Elementary Math 4 October 4th, 2015 10:06 PM
How to get rid of a negative exponent on logs... Toyboy Algebra 4 July 30th, 2013 04:16 AM
Index or Power or Exponent Operations. prashantakerkar Algebra 13 November 16th, 2011 08:14 AM
Difference bewteen this with negative exponent rule? cytotoxictcell Algebra 1 November 1st, 2011 11:43 AM





Copyright © 2019 My Math Forum. All rights reserved.