Which is the correct solution: -1/2*cos^2(x) or 1/2*sin^2(x)?

  • Thread starter Thread starter echy5555
  • Start date Start date
  • Tags Tags
    Integral
echy5555
Messages
3
Reaction score
0

Homework Statement


The integral of sin(x)*cos(x) either equals -1/2*cos^2(x) or 1/2*sin^2(x). Which is it? It can't be both, right?

Homework Equations


\intudv=u*v-\intvdu

The Attempt at a Solution


integration by parts:
u=cos(x) dv=sin(x)dx
du=-sin(x)dx v=-cos(x)

-cos^2(x)-\intsin(x)*cos(x)
so:
2*\intsin(x)*cos(x)=cos^2(x)

but can't it also be done this way?

u=sin(x) dv=cos(x)dx
du=cos(x)dx v=sin(x)

sin^2(x)-\intsin(x)*cos(x)
so:
2*\intsin(x)*cos(x)=sin^2(x)
 
Physics news on Phys.org
Actually, it can. Antiderivatives are unique only up to additive constant, and
\frac{1}{2}\sin^2 x = \frac{1}{2}(1-\cos^2 x)=\frac{1}{2} - \frac{1}{2}\cos^2 x
and so, derivatives of this two functions are equal.
 
Okay, I get it. If you put the limits of integration into the integral then you get the same answer, but if you leave it as an indefinite integral, the constants of integration are different. Right?
 
the constant is arbitrary, so a fixed constant plus an arbitrary constant is still arbitrary. think of indefinite integration as generating a stack of vertically identical antiderivatives two of which are the same minus some constant from each. but what happens when you find the total indefinite integration of a multiple integral?
 
It all makes sense now. Thank you.

To answer your question,

When you find the total indefinite integration of a multiple integral, then the "constants of integration" are not actually constants, but function of the other independent variable.
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top