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?
LeafCount[(1/x - 1/a)/(x - a)]==17>8==LeafCount[-1/(x a)]
– AccidentalFourierTransform Jan 07 '18 at 21:14