I am dealing with the symbolic operation of taking the antiderivative, e.g., Integrate[f, x] (where $f$ represents a complicated function which cannot return integral value directly)
I want to change the integral variable $x \mapsto x+a$,so I simply % /. x-> y + a. The result was that the form of integral seemly change to Integrate[f, y + a]
But this produces the error:
Invalid integration variable or limit(s) in y + a.
So I have two questions:
- How do I tell Mathematica to deal with the change of integral variable automatically? That is, how produce the change of $d(y + a)$ to $dy$.
- In a definite integral, is there some ways to change the integral upper and lower limits automatically in the same way as I want to change the integral variable?