MHB U-substitution, definite integral, trig function

NecroWinter
Messages
8
Reaction score
0
problem: sin(x)^2cos(x)
integrate from 0 to pi/2the way I tried this is by making u = sin, and then working with du to make cos cancel out
the next thing I did was check my new intervals by plugging in pi/2 and 0 into the u function (becomes 0 to 1)
next, I took the anti derivative of u, which came to (u^3)/3((u^3)/3))-((u^3)/3)
sin0=0
sin pi/2 = 1(0^3)/3 - (1^3)/3 = -1/3except, wolfram alpha gives me 1/3.What happened?
 
Physics news on Phys.org
Re: usubstitution, definite integral, trig function

You actually evaluate first 1 and later 0.

Cheap observation: we're integrating a non-negative function. How could have a negative integral?
 
Re: usubstitution, definite integral, trig function

NecroWinter said:
problem: sin(x)^2cos(x)
integrate from 0 to pi/2the way I tried this is by making u = sin, and then working with du to make cos cancel out
the next thing I did was check my new intervals by plugging in pi/2 and 0 into the u function (becomes 0 to 1)
next, I took the anti derivative of u, which came to (u^3)/3((u^3)/3))-((u^3)/3)
sin0=0
sin pi/2 = 1(0^3)/3 - (1^3)/3 = -1/3except, wolfram alpha gives me 1/3.What happened?

OK, first of all, $\displaystyle \int{u^2\,du}$ is NOT $\displaystyle \frac{u^3}{3} - \frac{u^3}{3}$, it's just $\displaystyle \frac{u^3}{3} + C$.

Second, Krizalid is correct in stating that the definite integral is evaluated by subtracting the lower limit from the upper limit, not the other way around as you have done.
 
Re: usubstitution, definite integral, trig function

Prove It said:
OK, first of all, $\displaystyle \int{u^2\,du}$ is NOT $\displaystyle \frac{u^3}{3} - \frac{u^3}{3}$, it's just $\displaystyle \frac{u^3}{3} + C$.

Second, Krizalid is correct in stating that the definite integral is evaluated by subtracting the lower limit from the upper limit, not the other way around as you have done.
im aware that the antiderivative is that, but what you are citing is me skipping a step and applying the fundamental theorem of calculus before entering the numbers.
 
Re: usubstitution, definite integral, trig function

NecroWinter said:
im aware that the antiderivative is that, but what you are citing is me skipping a step and applying the fundamental theorem of calculus before entering the numbers.

Skipping steps is one thing, writing something that is incorrect is another thing entirely.

What you should have written is this...

\[ \displaystyle \begin{align*} \int_0^1{u^2\,du} &= \left[\frac{u^3}{3}\right]_0^1 \\ &= \frac{1^3}{3} - \frac{0^3}{3} \end{align*} \]
 
Re: usubstitution, definite integral, trig function

NecroWinter said:
problem: sin(x)^2cos(x)
integrate from 0 to pi/2the way I tried this is by making u = sin, and then working with du to make cos cancel out
the next thing I did was check my new intervals by plugging in pi/2 and 0 into the u function (becomes 0 to 1)
next, I took the anti derivative of u, which came to (u^3)/3((u^3)/3))-((u^3)/3)
sin0=0
sin pi/2 = 1(0^3)/3 - (1^3)/3 = -1/3except, wolfram alpha gives me 1/3.What happened?

Unrelated to what everyone else has posted, but you should always look at the integrand to see if it is an obvious derivative. In this case the integrand is obviously the derivative of \( \frac{1}{3}\sin^3(x) \).

CB
 
Re: usubstitution, definite integral, trig function

Just in case a picture helps...

View attachment 43

... where (key in spoiler) ...

View attachment 46

... is the chain rule. Straight continuous lines differentiate downwards (integrate up) with respect to the main variable (in this case x), and the straight dashed line similarly but with respect to the dashed balloon expression (the inner function of the composite which is subject to the chain rule).

The general drift is...

View attachment 45

________________________________________________________

Don't integrate - balloontegrate!

Hi guys - most grateful for your toleration if it still extends... any chance of enabling links? Or a way to enlarge pics? And is there a spoiler code?
 

Attachments

  • twentyseven.jpg
    twentyseven.jpg
    12.1 KB · Views: 72
  • twentyseven.jpg
    twentyseven.jpg
    14.1 KB · Views: 79
  • twentyseven.jpg
    twentyseven.jpg
    14.1 KB · Views: 73
  • intChain.jpg
    intChain.jpg
    9.2 KB · Views: 74
  • chain.png
    chain.png
    2.3 KB · Views: 80
Re: usubstitution, definite integral, trig function

Prove It said:
Skipping steps is one thing, writing something that is incorrect is another thing entirely.

What you should have written is this...

\[ \displaystyle \begin{align*} \int_0^1{u^2\,du} &= \left[\frac{u^3}{3}\right]_0^1 \\ &= \frac{1^3}{3} - \frac{0^3}{3} \end{align*} \]
I wrote:
"I took the anti derivative of u, which came to (u^3)/3"

the part you are quoting is being misunderstood.

thanks everyone
 
Re: usubstitution, definite integral, trig function

I wrote:
"I took the anti derivative of u, which came to (u^3)/3"

the part you are quoting is being misunderstood.

thanks everyone
Yes, and the part that was quoted was $\frac{u^3}{3}- \frac{u^3}{3}$.
I hope you understand that that is very bad notation that is easily misunderstood.
What did you mean by that?
In any case, if F is an anti-derivative of f, then
$\int_a^b f(x)dx= F(b)- F(a)$, not F(a)- F(b).
 
Back
Top