Integration by substitution for sin/cos products

Click For Summary

Discussion Overview

The discussion revolves around the integral of the function sin(x) * (cos(x))^3, specifically exploring the method of integration by substitution. Participants examine the results obtained from two different substitution choices: u = cos(x) and u = sin(x). The focus is on understanding why different approaches appear to yield different results.

Discussion Character

  • Mathematical reasoning
  • Exploratory
  • Technical explanation

Main Points Raised

  • One participant expresses confusion over obtaining different results when using u = cos(x) versus u = sin(x) for the integral.
  • Another participant clarifies that the integral results are not actually different, as they differ only by an arbitrary constant of integration.
  • A further explanation is provided that shows how the two results can be transformed into one another by substituting (sin(x))^2 with (1 - (cos(x))^2).
  • Participants discuss the importance of including the constant of integration in indefinite integrals.

Areas of Agreement / Disagreement

Participants generally agree that the two approaches yield equivalent results when the constant of integration is considered. However, initial confusion about the apparent differences in results indicates that some uncertainty remains regarding the interpretation of the integral.

Contextual Notes

The discussion highlights the significance of the constant of integration in indefinite integrals and the potential for confusion when different substitution methods are applied without careful consideration of this constant.

phoneketchup
Messages
9
Reaction score
0
Ok so I might be doing something silly but I just don't understand what is going on here. So the integral:

i = ∫ sin x (cos x)^3 dx

First I say u = cos x. So du = - sin x dx.

So now I have i = ∫ - u^3 du. Which gives: i = -(1/4)u^4 or -(1/4)(cos x)^4. Easy.

But if I say u = sin x instead, this is what happens:

So du = cos x dx. And I say i = ∫ sin x (cos x)^2 cos x dx.

So I have i = ∫ u(1 - u^2) du or i = ∫ (u - u^3) du. WHAT.

Why am I getting two different answers?? Which one is right and why?

Thanks!
 
Physics news on Phys.org
phoneketchup said:
Ok so I might be doing something silly but I just don't understand what is going on here. So the integral:

i = ∫ sin x (cos x)^3 dx

First I say u = cos x. So du = - sin x dx.

So now I have i = ∫ - u^3 du. Which gives: i = -(1/4)u^4 or -(1/4)(cos x)^4. Easy.
Actually, it doesn't. It gives -(1/4)(cos x)^4+ C for any constant C.

But if I say u = sin x instead, this is what happens:

So du = cos x dx. And I say i = ∫ sin x (cos x)^2 cos x dx.

So I have i = ∫ u(1 - u^2) du or i = ∫ (u - u^3) du. WHAT.

Why am I getting two different answers?? Which one is right and why?

Thanks!
You are not getting two different answers. The integral of "u- u^3" is (1/2)u^2- (1/4)u^4+ c which is equal to (1/2)(sin x)^2- (1/4)(sin x)^4+ c.

See what happens if you replace (sin x)^2 by 1- (cos x)^2 in that last formula.
 
Actually you get the same answer. In fact when you put [itex]u=\sin(x)[/itex] you get [tex] \int u-u^3\,du=\frac{u^2}{2}-\frac{u^4}{4}+c=\frac{\sin(x)^2}{2}-\frac{\sin(x)^4}{4}+c[/tex]
now, if you work on the first result you got, you'll see that: [tex] -\frac{\cos(x)^4}{4}+c=-\frac{(\cos(x)^2)^2}{4}+c=-\frac{(1-\sin(x)^2)^2}{4}+c=\frac{\sin(x)^2}{2}-\frac{\sin(x)^4}{4}+\frac{1}{4}+c[/tex]
The two results are the same because it is an indefinite integral and they differ by an arbitrary constant. It could also have been solved without substitution noticing that [itex]\cos(x)^2=1-\sin(x)^2[/itex] and that [itex]D[f(g(x)]=f'(g(x)) g'(x)[/itex]


Didn't realize we replied at the same time, sorry
 
Oops! I forgot to put the constant of integration. And yeah I see now.. it was pretty silly haha. Thanks! :)
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 17 ·
Replies
17
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K