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.

as a newbie to Mathematica I wonder if someone can help...

I'm generating a puzzle worksheet for some students and wish to add linear rational expressions, three at a time from a pool of six.

a) -1/(2x+1)

b) -3/(x-1)

c) 2/(3x+2)

d) 2/(x-1)

e) -3/(2x+1)

f) -1/(3x+2)

I want to be able to swiftly add (a) + (b) + (d) for example, or (b) + (d) + (f)

Can I store the expressions and add them as I have done here. I've not had much success so far. I'd like to have a worksheet which I could tweak expressions a - f without then having to manually copy & paste endlessly into arithmetic expressions.

I'm then combining them with

ExpandNumerator@Together[%] ExpandDenominator[%] // TraditionalForm

And will give the output to the student for Partial Fraction Decomposition.

Thanks Rob

share|improve this question

closed as off-topic by Mr.Wizard Jun 24 '14 at 23:15

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Mr.Wizard
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 1 down vote accepted







-(1/(-1 + x)) - 1/(1 + 2 x)
share|improve this answer
Thanks. I'd been missing the semi-colon! –  Saxobob Jun 24 '14 at 23:13

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