User Portlet User Portlet

Discussions
For 2ab/(a+b). I would like to do a substitution, say I set z=a+b. I want the computer to know that a=z-b resulting in 2(z-b)b/z, then 2(bz-b^2)/z and so on. Thanks
I am looking for an alternative to f[n_]:=(n-1)^2 Thanks
...
I get(x+1/x)^3 = 1/x^3 + 3/x + 3 x + x^3by Expand Need to collect ALL POWERS of (x+1/x) and substitute for value (1 in this case) x^3+1/x^3+3(x+1/x) = x^3+1/x^3+3 Thanks