9

Generally, what are the rules for simplifying answers?

I had this question:

Given $f(x) = \frac{1}{x}$, evaluate $\frac{f(x) - f(a)}{x-a}$.

Why is the following a bad answer:

$$\frac{\frac{1}{x} - \frac{1}{a}}{x-a}$$

The better answer is:

$$\frac{-1}{xa}$$

Why is this? Is it generally just bad to leave fractions in either the numerator or denominator? So we should try to eliminate the fraction in the numerator by solving the equation first on the top by using a common denominator?

Mutantoe
  • 708
Jwan622
  • 5,704
  • 9
    In your expression, there are 6 symbols and 5 operators. In the other expression, there are 3 symbols and 2 operators (depending a bit on how you count). However, personally I'd prefer the minus sign before the fraction, not in the numerator. (You can even see that the area occupied on the paper is greater in your expression!) In addition, x and a both appear twice in your expression, and you have to think for a while to figure out how the value of the expression changes if x or a is increased (or decreased). In the other expression, this is obvious. – Andreas Rejbrand Jan 07 '18 at 21:08
  • 1
    LeafCount[(1/x - 1/a)/(x - a)]==17>8==LeafCount[-1/(x a)] – AccidentalFourierTransform Jan 07 '18 at 21:14
  • The first expression is better at showing where the expression comes from and what it means: a difference quotient to be used to find a derivative. The second algebraically equivalent expression is better (because simpler) when you want to evaluate the expression for $x$ close to $a$. So "better" depends on context. – Ethan Bolker Jan 08 '18 at 00:48
  • 2
    @AccidentalFourierTransform it might help to include some explanation, that this is, Mathematica (I think) code and that leaf count (I think) will be a measure for the size/complexity of the term, or something like this. – quid Jan 08 '18 at 01:34
  • @AndreasRejbrand: "personally I'd prefer the minus sign before the fraction, not in the numerator" - note that that is definitely a personal thing; I prefer the minus sign in the numerator, because if it's next to the fraction it can be too visually similar to the fraction line and so be easily missed (especially if you have handwriting like mine ;-) ) – psmears Jan 08 '18 at 08:29

3 Answers3

20

I like your bad answer better because $$\frac{\frac{1}{x}-\frac{1}{a}}{x-a}=-\frac{1}{ax}$$ is true only if $x\ne a.$

For $x=a$ the left hand side is undefined while the right hand side is defined unless $a=0$

  • 3
    Note that the OP didn't show us the original question but only shows us a pair of arithmetical expressions. This isn't even a sentence. So we can only imagine what is the original question. In the context of difference quotients one always assumes that x and a are different are valid arguments of the function f. So I think your objection is meaningless, If it is not clear from the question which values are excluded, then on should add this to the answer. – miracle173 Jan 07 '18 at 23:25
  • Thanks for the comment.I agree that the question was not well posed . normally we assume that mathematical expressions are meaningful. – Mohammad Riazi-Kermani Jan 08 '18 at 00:04
  • this was the question... I think it was an exercise about functions. – Jwan622 Jan 08 '18 at 04:06
  • This. Teacher asks sloppy question, then tries to penalize student for an answer that is technically correct. – Federico Poloni Jan 08 '18 at 09:51
  • if the left-hand side does not permit $x = a$, then there is a manner in which the right-hand side is not equal to the left-hand side. the left-hand side may reduce to the right-hand side over some number of transformations, but a constraint may get added or removed in the process. – Rob Jan 09 '18 at 02:05
  • 1
    Exactly my point. We need clarification to have equality. – Mohammad Riazi-Kermani Jan 09 '18 at 02:15
17

"Is it generally just bad to leave fractions in either the numerator or denominator?"

Yes, exactly. Intuitively, the simplified form of an expression is supposed to be the, well, simplest form. Exactly what constitutes "fully simplified" is subjective and can vary from person to person (is $\sqrt{2}\over 2$ simpler than $1\over\sqrt{2}$?), but some things are pretty much constant across the board, one being that "fractions inside fractions" are to be avoided unless getting rid of them would add significant complexity to the expression.

Noah Schweber
  • 245,398
  • 4
    A formula that is written usually with compound fractions is the formula of the Harmonic Mean. $$H=\frac n {\frac 1{x_1}+\cdots +\frac 1 {x_n} }$$ The representation of $H$ without compound statements is much more complex. A simple representation that does express $H$ implicitly and avoids compound fractions is $$\frac n H=\frac 1{x_1}+\cdots +\frac 1 {x_n} $$ – miracle173 Jan 08 '18 at 00:33
13

Suppose you want to compute this for a particular value of $x$ and $a$. In your first answer, you have to perform two divisions, a subtraction, another subtraction, and finally another division. In the second answer, you have to multiply once and divide once. Much easier, no?

It is precisely this decrease in complexity that makes the second answer "more simplified" than the first one.