This should be a really simple question, but I just got confused.
Plot[Integrate[x, x], {x, -5, 5}]
Integrate::ilim: Invalid integration variable or limit(s) in -4.9998. >>
Integrate::ilim: Invalid integration variable or limit(s) in -4.79571. >>
Integrate::ilim: Invalid integration variable or limit(s) in -4.59163. >>
General::stop: Further output of Integrate::ilim will be suppressed during this calculation. >>
And it gives no graph of the function.
At first I was trying to plot a function that Mathematica is unable to integrate, but the problem exists with even simple functions.
By the way, Mathematica refuses to integrate Log[Abs[x]] while Wolfram|Alpha is able to give the result.
I apologize in advance if this is my stupid mistake.
Plot[Integrate[x, x] /. x -> u, {u, -5, 5}]. You can't Integrate on a variable that has been assigned a value. – Dr. belisarius Feb 24 '15 at 11:59Plot[Evaluate@Integrate[x, x], {x, -5, 5}]– Dr. belisarius Feb 24 '15 at 12:18HoldAllattributes ofPlot. – vapor Apr 17 '16 at 08:52