How can I solve this integral involving cosine and sine functions?

  • Thread starter Thread starter lukatwo
  • Start date Start date
  • Tags Tags
    Integral
lukatwo
Messages
24
Reaction score
0

Homework Statement



I've been trying to integrate the following: ∫[STRIKE]\frac{cos^3(x)}{\sqrt{sin(x)}}[/STRIKE]dx

Homework Equations


The Attempt at a Solution



First, I substituted sin(x) with t, and got dt=cos(x)dx => dx=\frac{dt}{cos(x)}.
After that I got ∫[STRIKE]\frac{cos^2(x)}{\sqrt{t}}[/STRIKE]dt
Then i transformed cos^2(x) into 1-sin^2(x), and finally got to ∫[STRIKE]\frac{1-t^2}{\sqrt{t}}[/STRIKE]dt

I thought I could just disintegrate them into two smaller integrals like ∫[STRIKE]\frac{1}{\sqrt{t}}[/STRIKE]dt - ∫[STRIKE]\frac{t^2}{\sqrt{t}}[/STRIKE]dt , and solve them easily, and then reverse the substitution.

Wolfram proposes that i cannot(?) do that, or rather prefers that I do another substitution.

I even tried to make it a defined integral, and calculate the values between the Wolfram solution, and my own. They differ by 0.1 or something similar.

Can someone explain what is the right way to do it?
 
Physics news on Phys.org
Both are correct. Wolfram just does another substitution which isn't really too necessary. Both give the same correct integral.
 
Thank you very much for your help!
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top