Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

How do I recreate this problem with this answer in mathematica? And similar problems?

I tried: (4 ab^3)/(a^2)/(8 a^2 b)/(b^2) but that outputs ab^3/(2 a^4 b^3)

EDIT: I added a space '(4 a b^3)/(a^2)/(8 a^2 b)/(b^2)' but it now outputs 1/2a^3

share|improve this question

closed as too localized by Artes, Sjoerd C. de Vries, m_goldberg, rm -rf Mar 12 '13 at 3:52

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

You need to add a space between a and b in ab. Mathematica thinks you're referring to the multi-letter symbol ab rather than the expression a*b. Also, your parentheses are wrong and don't match the original formula. –  John Fultz Mar 11 '13 at 21:31
add comment

1 Answer 1

up vote 2 down vote accepted

You don't have a space between a and b in ab^3 so Mathematica thinks you have a variable called ab which you are trying to take the cube of rather than a*b^3 which is what you mean.

Also, you are missing some brackets

(4 a b^3)/(a^2)/((8 a^2 b)/(b^2))

will do the business for you

share|improve this answer
Ah, this is it! Thanks! –  Jack Stewart Mar 11 '13 at 21:39
add comment

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