∫(sinx)^3(cosx)^3dx different answers depending on U-sub?

  • Thread starter Thread starter LearninDaMath
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
LearninDaMath
Messages
295
Reaction score
0

Homework Statement



I expanded (sinx)^3 into ∫[(sinx)^2(sinx)(cosx)^3]dx then to ∫[(1-cosx^2)(sinx)(cosx)^3]dx

so then u = sinx

However the official solution for this problem expands (cosx)^3 to get ∫[(cosx)^2(cos)(sinx)^3]dx then to ∫[(1-sinx^2)(cosx)(sinx)^3]dx

so then u = cosx

So the final answer is almost the same for each method except for the fact that the first answer is in terms of sinx and the second final answer is in terms of cosx (and contains an extra negative sign due to derivative of cosx producing a negative).

So the question is, are these two answers equal even though they consist of completely different functions in the final answer?
 
Physics news on Phys.org
LearninDaMath said:

Homework Statement



I expanded (sinx)^3 into ∫[(sinx)^2(sinx)(cosx)^3]dx then to ∫[(1-cosx^2)(sinx)(cosx)^3]dx

so then u = sinx

However the official solution for this problem expands (cosx)^3 to get ∫[(cosx)^2(cos)(sinx)^3]dx then to ∫[(1-sinx^2)(cosx)(sinx)^3]dx

so then u = cosx

So the final answer is almost the same for each method except for the fact that the first answer is in terms of sinx and the second final answer is in terms of cosx (and contains an extra negative sign due to derivative of cosx producing a negative).

So the question is, are these two answers equal even though they consist of completely different functions in the final answer?
Subtract one answer from the other.

They only differ by a constant.
 
Ah interesting, thanks.