Basic Algebra Problem: Solving a/b/c=?

  • Thread starter Thread starter adjacent
  • Start date Start date
  • Tags Tags
    Algebra
Click For Summary
SUMMARY

The discussion centers on the mathematical expression a/b/c and its ambiguous interpretation. Participants agree that it can be interpreted as either (a/b)/c or a/(b/c), leading to different results. The consensus is to avoid writing a/b/c without parentheses to ensure clarity. The conversation also touches on the differences in operator precedence and associativity in programming languages like C and their implications for mathematical notation.

PREREQUISITES
  • Understanding of basic algebraic expressions
  • Familiarity with operator precedence and associativity
  • Knowledge of programming languages like C that influence mathematical notation
  • Awareness of mathematical conventions regarding parentheses and brackets
NEXT STEPS
  • Research the rules of operator precedence in programming languages like C, C++, and Java
  • Study the significance of parentheses in mathematical expressions
  • Explore the differences between mathematical and programming conventions for expressions
  • Learn about the implications of ambiguous notation in algebra and programming
USEFUL FOR

Students, educators, and programmers who seek clarity in mathematical expressions and want to understand the implications of notation in both mathematics and programming contexts.

  • #31
BruceW said:
Interesting, an example of right-to-left parsing for a/b/c. So, in the new Maple worksheet, it gives a/b/c = a/(b/(c)) = a/(b/c) ? I'll try to remember that, if I ever need to use Maple.

edit: well, I guess I don't need to remember anything, since it draws the solidus on-screen as you're typing.

Right, but it does need a right arrow to get get out of the fraction, or to get out of an exponent x^n or a subscript x_n.
 
Physics news on Phys.org
  • #32
BruceW said:
Interesting, an example of right-to-left parsing for a/b/c. So, in the new Maple worksheet, it gives a/b/c = a/(b/(c)) = a/(b/c) ? I'll try to remember that, if I ever need to use Maple.

edit: well, I guess I don't need to remember anything, since it draws the solidus on-screen as you're typing.

Right, but it does need a keyboard right arrow to get get out of the fraction, or to get out of an exponent x^n or a subscript x_n. However, to compensate, one can enter many types of fractions without using brackets (parentheses?), such as a/(b + c*e + f), which is entered as a/b+c*e+f→, etc, and displays on screen exactly as you finally want it exactly when you type it.
 
  • #33
Everyone!I have got a nice solution to this fraction thing.
Let's simplify a/b/c/d/e/f/g/h/i/j/k ...z
First take the ##\frac{a}{b}## and divide c by it.
That gives ##\frac{a}{b}*\frac{1}{c}## by taking the reciprocal.
So it's very simple.
##\frac{a}{b}*\frac{1}{c}*\frac{1}{d} ...\frac{1}{z}##
Which is same as:
##\frac{a}{bcdefghijklmnopqrstuvwxyz}##

No mess.Simple Gr.5 division.
Ah,I'm so relieved.
 

Similar threads

Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
18
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 11 ·
Replies
11
Views
4K
Replies
6
Views
2K