Message Boards Message Boards

0
|
5516 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

Is wolfram alpha giving me the right answer?

Posted 10 years ago

this is my input: "integral of 3/x + 2/(x-2) - 1/(x+2)"

all the steps look good until after the last step where it gives the answer. it changes 2log(x-2) to 2log(2-x)

POSTED BY: Jamie L

The easiest way to check this is probably to calculate the derivative of the solution that WolframAlpha gives:

D[2 Log[2 - x] + 3 Log[x] - Log[2 + x], x]

(*-(2/(2 - x)) + 3/x - 1/(2 + x)*)

This is identical to the integrand:

Simplify[3/x + 2/(x - 2) - 1/(x + 2)==-(2/(2 - x)) + 3/x - 1/(2 + x)]

(*True*)

Cheers,

M.

POSTED BY: Marco Thiel
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract