Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Earlier, I asked a similar question, but this one's getting me confused, as well. Why does $\frac{a}{\frac{b}{x}} = x \times \frac{a}{b}$, but the following expression holds true?

$$ \frac{f(x)}{\frac{f(y)}{h}} = \frac{f(x)}{hf(y)} $$

share|cite|improve this question
You did not use parentheses, and Alpha interpreted your question as $\dfrac{\frac{f(x)}{f(y)}}{h}$. Note the thicker "fraction line" in Alpha. Generally, if you don't use parentheses, Alpha reads from left to right. If you want Alpha to operate correctly, use $f(x)/(f(y)/h)$. – André Nicolas Dec 5 '12 at 6:28
up vote 4 down vote accepted

Wolfram Alpha took it as $\frac{\frac{f(x)}{f(y)}}{h}$ instead of $\frac{f(x)}{\frac{f(y)}{h}}$. You need to see which line is longer more carefully. The longer line represents the division performed later.

share|cite|improve this answer
It's not just Wolfram Alpha, though. My prof had a similar expression to the one my question. – skizeey Dec 5 '12 at 6:29

$$\frac{f(x)}{\frac{f(y)}{h}}\cdot \frac{h}{h}=\frac{f(x)\cdot h}{\frac{f(y)}{h}\cdot h}=\frac{f(x)h}{f(y)}.$$

What Jasper Loy said too.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.