Hello,
In mathematica,
I tried to find
Integral of ln(1 + x)/(x^2 + 1) from 0 to 1
The answer is CLEARLY ln(2)pi/8
Mathematica computes the answer to be:
1/4 ln ([Pi] + Log[4])
Which is incorrect. Why is Mathematica computing this error??
A shame I can only give you one vote for this... I think that your "courtesy rules" should go on
http://community.wolfram.com/groups/-/m/t/270507
Cheers,
Marco
Capitalize log - should be Log.
Nice! Thanks
Notebook attached.
Need Log
ln[x+1]/(x^2+1)
Is what I enter, I cant type the code for this, but this is what I do next.
Then I press the definite x integral
definite x integral
That gives the incorrect answer.
f[x_] := Log[1+x]/(x^2+1); Integrate[ f[x], {x, 0, 1}]
Hi,
But how can this work if I want to FIRST input the function, and use the drop down integral option?
The correct syntax is Integrate[ Log[1+x]/(x^2+1), {x, 0, 1}]. The only problem here was that "Log" is the correct form of "ln". You may have received the incorrect answers based on some prior definitions. It is mostly a good idea to clear memory before starting fresh computations, with Clear["Global*"]or at leastClearAll[variablename]` if the variable name is known.
Integrate[ Log[1+x]/(x^2+1), {x, 0, 1}]
Clear["Global
or at least
Its still not working,
?ln
That is very weird. This is what I did.
EDIT: natural log is the same as your log in Mathematica, then what is the issue?
That is interesting. I typed in
Integrate[Log[(1 + x)]/(x^2 + 1), {x, 0, 1}]
which gives
which is as you state: CLEARLY correct. I tried a while and did not find what could make Mathematica produce the output you report.
M.