Message Boards Message Boards

0
|
8354 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Very short integration giving me wrong results, I am missing something?

Posted 10 years ago

This integral ?(cos^2(x)*cot(x))dx is not calculating right, I have tried two other websites and they do give me like I did in my notebook, but in this website its throwing log(sin(x)) + (cos^2(x))/2 instead of log(sin(x)) - (sin^2(x))/2, can you please look into it and tell me what is happening, I'm relying a lot on this website and have bought the Pro version, I have also tried giving any value for "x" on both answers and they have different results, thanks!

3 Replies
Posted 10 years ago

The integration constant can be any constant. For a definite integral it is determined by the boundary condition or initial value. But if g(x) is an antiderivative of f(x), then so is g(x) + c, with c being independent of x, since then dc(x)/dx = 0. And your quite welcome, Guillermo. Calculus is a lot of fun.

POSTED BY: David Keith

That makes sense!! So the integration constant that always comes after integrating, in this case would be the 1/2? I never would have thought of that haha, I definitely need a lot more practice if I want to pass Calculus :D

Thanks for the reply!

Posted 10 years ago

Take log(sin(x)) + (cos^2(x))/2 and substitute cos^2(x) = 1-sin^2(x) and you get log(sin(x)) - (sin^2(x))/2 + 1/2

The 1/2 disappears when you differentiate, so both are correct. Another way to look at it is the indefinite integral comes with an integration constant, which can consume the 1/2.

POSTED BY: David Keith
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