I have to evaluate: \int_0^{\pi/2}\frac{\sqrt{\sin x}}{\sqrt{\sin x}+\sqrt{\cos x}}dx

Zeenat Horn

Zeenat Horn

Answered question

2022-02-25

I have to evaluate:
0π2sinxsinx+cosxdx

Answer & Explanation

Jocelyn Harwood

Jocelyn Harwood

Beginner2022-02-26Added 8 answers

Let I denote the integral and consider the substitution u=π2x. Then
I=0π2cosucosu+sinudu and 2I=0π2cosu+sinucosu+sinudu=π2. Hence I=π4
In general, 0af(x)dx=0af(ax)dx whenever f is integrable, and
0π2cosaxcosax+sinaxdx=0π2sinaxcosax+sinax=π4 for a>0
greikkar5bu

greikkar5bu

Beginner2022-02-27Added 5 answers

Note that sin(π2x)=cosx and cos(π2x)=sinx. The answer will exploit the symmetry.
Break up the original integral into two parts, from 0 to π4 and from π4 to π2.
So our first integral is
x=0π4sinxsinx+cosxdx (1)
For the second integral, make the change of variable u=π2x. Using the fact that sinx=sin(π2u)=cosu and cosx=cos(π2u)=sinu, and the fact that dx=du, we get after not much work
u=π40cosucosu+sinudu
Change the dummy variable of integration variable to the name x. Also, do the integration in the "right" order, 0 to π4. That changes the sign, so our second integral is equal to
x=0π4cosxcosx+sinxdx (2)
Our original integral is the sum of the integrals (1) and (2). Add, and note the beautiful cancellation sinxsinx+cosx+cosxcosx+sinx=1. Thus our original integral is equal to
0π41dx
This is trivial to compute: the answer is π4

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?