Simplifying expressions -- What exactly does it mean to simplify an expression?

Click For Summary

Discussion Overview

The discussion revolves around the concept of simplifying mathematical expressions, exploring what it means to simplify, the criteria involved, and the subjective nature of determining simplicity. Participants consider both theoretical and practical aspects, including programming implications.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants propose that combining like terms is a primary method of simplification, but they question what other conditions might apply.
  • There is uncertainty about whether expressions like x(5x+1) and 5x^2 + x are equally simple, with some suggesting that it may depend on context or personal preference.
  • One participant mentions that simplifying expressions can involve canceling terms in fractions, assuming those terms are not zero.
  • A reference to Mathematica's "Simplify" operation indicates that determining the simplest form of an expression can be subjective, as it may depend on the number of parts in the expression.
  • Some participants discuss the computational efficiency of expressions, noting that the number of operations required to evaluate an expression can influence which form is considered simpler.
  • There is a comparison made between optimizations in programming languages and SQL Server, with some participants expressing uncertainty about the extent of optimizations available in different contexts.

Areas of Agreement / Disagreement

Participants express varying opinions on what constitutes a simpler expression, indicating that there is no clear consensus on the criteria for simplicity. The discussion remains unresolved regarding the subjective nature of simplification.

Contextual Notes

Participants acknowledge that the definition of simplicity may depend on context, such as numerical evaluation or programming considerations, and that there may be multiple valid approaches to simplification.

Fascheue
What exactly does it mean to simplify an expression. I understand that an expression becomes more simple when you combine like terms but what other conditions are there? Is x(5x+1) more or less simple than 5x^2 +x? Do square roots need to be moved to the numerator?
 
Mathematics news on Phys.org
It is not always unambiguous which expression is the easiest, but typically there are not many options.
 
  • Like
Likes   Reactions: FactChecker
Fascheue said:
What exactly does it mean to simplify an expression. I understand that an expression becomes more simple when you combine like terms but what other conditions are there? Is x(5x+1) more or less simple than 5x^2 +x? Do square roots need to be moved to the numerator?
You also often cancel terms in a fraction when you know ( or assume) they are not zero.
 
One way to look at it is to see how people have implemented it in a computer program. When programming a computer, one generally needs to be unambiguous. Mathematica has a "Simplify" operation, and here's what the Wolfram website has to say about this:

"Simplifying Algebraic Expressions
There are many situations where you want to write a particular algebraic expression in the simplest possible form. Although it is difficult to know exactly what one means in all cases by the "simplest form", a worthwhile practical procedure is to look at many different forms of an expression, and pick out the one that involves the smallest number of parts."

Mathematica appears to regard your two cases of x(5x+1) and 5x^2 +x as equally simple (they each contain 3 "parts"), so it is a matter of taste.
 
As a side note, from the point of view of evaluating the expression numerically (on a computer) the first expression might be better. The reason is that the first one requires 4 operations (2 multiplications and 1 addition) but the second one 5 (3 multiplications and 1 addition). Many compilers are doing this kind of optimizations but it could have importance for script languages, if this sort of expressions are evaluated many times.
 
  • Like
Likes   Reactions: WWGD
eys_physics said:
As a side note, from the point of view of evaluating the expression numerically (on a computer) the first expression might be better. The reason is that the first one requires 4 operations (2 multiplications and 1 addition) but the second one 5 (3 multiplications and 1 addition). Many compilers are doing this kind of optimizations but it could have importance for script languages, if this sort of expressions are evaluated many times.
Do these compiler contain optimizers in the way SQL Server does? Optimizer in SQL Server looks at query format, usage statistics, indexes and decides on best way of running query. Would be nice to have similar for other software.
 
The compilers I referred were the ones for programming languages such as e.g. C/C++, Fortran, etc. SQL Server on the other hand more dedicated mainly for selecting entries in Tables (in a database). The ones I referred to are for more general purpose. I don't think they contain the sort of the optimizations you mentioned and if even is possible. But, I'm not an expert on compilers.
 
  • Like
Likes   Reactions: WWGD
mfb said:
It is not always unambiguous which expression is the easiest, but typically there are not many options.
It's like art -- you know it when you see it.
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 35 ·
2
Replies
35
Views
5K
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
7
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K