While I never failed a math class, I also never went last high school. When would your presumptions NOT be true?
Comment on I dunno
Truscape@lemmy.blahaj.zone 2 months ago
Presuming PEMDAS is our order of operations and the 5 next to the parentheses indicates multiplication…
2+5(8-5) -> 2+5(3) -> 2+15=17
Other than adding a multiplication indicator next to parentheses for clarification (I believe it’s * for programming and text chat purposes, a miniature “x” or dot for pen and paper/traditional calculators), this seems fine, yeah.
…I worry about how many people may not understand solving equations like these.
TheRedSpade@lemmy.world 2 months ago
Truscape@lemmy.blahaj.zone 2 months ago
Some forms of programming syntax, although there are the fringe cases where an equation is represented by a symbol in conjunction with a parentheses input.
For example:
y(x) = 2x+3
5+y(1) = 10, as 1 is substituted in for x in the prior equation.
TheBlackLounge@lemmy.zip 2 months ago
And in some languages a number can be used as a name of a variable or a function, so it can be anything really
SmartmanApps@programming.dev 1 month ago
And in some languages a number can be used as a name of a variable or a function
Not in Maths it can’t
so it can be anything really
No, it can only be a Factorised Term, ab+ac=a(b+c). You also can’t call a function by any letter that you’ve used as a pronumeral
MotoAsh@piefed.social 2 months ago
Not in most programming languages, though. You cannot start names with a number. Unless you’re using some strange character that merely looks like a number, anyways. Programming with unicode can get weird but generally works without issue these days.
moriquende@lemmy.world 2 months ago
Wouldn’t we just assume function expressions are always “in parenthesis”? Then it’s just a substitution and no rules were changed.
SmartmanApps@programming.dev 1 month ago
Wouldn’t we just assume function expressions are always “in parenthesis”?
No, because factorised Terms also are, ab+ac=a(b+c).
Alaknar@sopuli.xyz 2 months ago
Multiplication sign is not required in situations like this. Same with unknowns - you don’t have to write
2*x, you just write2x.DarkCloud@lemmy.world 2 months ago
I prefer BM-DAS, no one’s out here doing exponents, and no one calls brackets “parentheses”…
cobysev@lemmy.world 2 months ago
The way I was taught growing up, brackets are [these]. Parenthesis are (these).
Yes, technically the latter are also brackets. But they can also be called parenthesis, whereas the former is exclusively a bracket. So we were taught to call them separate words to differentiate while doing equations.
Droggelbecher@lemmy.world 2 months ago
I’m a theoretical physics grad student and a night school maths teacher, I have never heard this distinction. People in academia around me call them round and square brackets.
tigeruppercut@lemmy.zip 2 months ago
It’s a US vs UK (and probably others) distinction. The ( ) are almost never called brackets in the US, unless it’s a regional thing I’m not aware of. Also the [ ] didn’t get used in any math classes I was in the US up through calculus except for matrices.
DarkCloud@lemmy.world 2 months ago
Yeah, but as an adult it depends entirely on whether you’re in an industry or hobby that requires that level of bracket nuance/exponents.
Most of us are just trying to remember the basics.
SmartmanApps@programming.dev 1 month ago
The way I was taught growing up, brackets are [these]. Parenthesis are (these)
They’re all brackets. Parentheses is actually the part inside the ().
Deebster@infosec.pub 2 months ago
I learnt it as BODMAS (brackets, orders, division and multiplication, addition and subtraction).
SmartmanApps@programming.dev 1 month ago
the 5 next to the parentheses indicates multiplication
No, it indicates Distribution, a(b+c)=(ab+ac), 5(8-5)=(5x8+5x5).
ftbd@feddit.org 2 months ago
That’s not even an equation, just basic algebra
Cethin@lemmy.zip 2 months ago
Technically not algebra, right? Algebra is where you move things around and solve for variables, and that kind of thing. This is just arithmetic.
ftbd@feddit.org 2 months ago
You’re right, that’s what I meant. Fixed it, thanks!
SmartmanApps@programming.dev 1 month ago
No, it actually is Algebra. The Distributive Law isn’t taught to students until they start on Algebra.
There’s no a(b+c) in Arithmetic.
Cethin@lemmy.zip 1 month ago
I don’t think you’re right. The wiki page literally uses a similar equation as an example of “elementary arithmetic.” It also uses a similar one, but with variables, as an example in “elementary algebra.” That implies that yes, this is arithmetic, and the introduction of variables is what makes it algebra.
It doesn’t matter what course finally teaches it to you. That could be just out of convenience, not by definition part of that domain. It’s been ages since I took it, though I could swear I learned this in pre-algebra (meaning before algebra), or earlier. I could be wrong on this though. Again, it’s been a very long time.
Truscape@lemmy.blahaj.zone 2 months ago
Fair enough, I’ve heard “math problem” and “math equation” used interchangeably.
Also you would be surprised how many people do not know basic algebra, at least in the US rofl
upandatom@lemmy.world 2 months ago
You. You are one of them bc you do not know what an equation is.
There is no algebra here. This is arithmetic.
Truscape@lemmy.blahaj.zone 2 months ago
When I made my example, I used an algebraic expression, but yeah, the original question was arithmetic, sorry. Not very good at explaining things XD
SmartmanApps@programming.dev 1 month ago
You are one of the people who doesn’t know what a(b+c) is
Yes there is, 5(8-5).
There’s no a(b+c) in Arithmetic
SmartmanApps@programming.dev 1 month ago
Basic Algebra actually. Students aren’t taught the Distributive Law until they start on Algebra
MonkderVierte@lemmy.zip 2 months ago
Algebra has horrible syntax. Way too much implications.
Septimaeus@infosec.pub 2 months ago
Implications or assignment? They didn’t specify notation.
SmartmanApps@programming.dev 1 month ago
Umm, neither?? 😂
a(b+c)=(ab+ac) is taught in Algebra, The Distributive Law, it can’t mean anything else - it’s the reverse operation to Factorising ab+ac=a(b+c).