Integrating Using a Substituation

TyroneTheDino
Messages
46
Reaction score
1

Homework Statement


Use the substitution ##u=\frac{\pi} {2}-x## evaluate the integral ##\int_0^\frac {\pi}{2} \frac {\sin x}{\cos x + \sin x}dx##.

Homework Equations


[/B]
##\cos (\frac {\pi}{2}-x)=\sin x##

The Attempt at a Solution



[/B]I start by plugging "u" into the equation making the function become

##\int_0^\frac {\pi}{2} \frac {\sin( \frac{\pi} {2}-x)}{\cos(\frac{\pi} {2}-x) + \sin (\frac{\pi} {2}-x)}##.

I substitute the sin x for the ##\cos (\frac {\pi}{2}-x)## because I know they are equal.

Then i have

##\int_0^\frac {\pi}{2} \frac {\sin (\frac{\pi} {2}-x)}{\sin (x) + \sin (\frac{\pi} {2}-x)}##

What comes next is a mystery to me.
I feel maybe I did not use the substitution in a correct way which is why am puzzled about were to go next.

I know that the answer is pi/4, but I'm not sure how to actually get there with substitutions.
 

Attachments

  • Screen Shot 2015-03-01 at 8.16.23 PM.png
    Screen Shot 2015-03-01 at 8.16.23 PM.png
    13.9 KB · Views: 457
Last edited:
Physics news on Phys.org
TyroneTheDino said:

Homework Statement


Use the substitution ##u=\frac{\pi} {2}-x## evaluate the integral ##\int_0^\frac {\pi}{2} \frac {\sin x}{\cos x + \sin x}##.
I see two mistakes:
1) You are missing dx in the integral above. With your substitution, what is du?
2) It doesn't look like you have changed the limits of integration to account for the substtitution.
TyroneTheDino said:

Homework Equations


[/B]
##\cos (\frac {\pi}{2}-x)=\sin x##

The Attempt at a Solution



[/B]I start by plugging "u" into the equation making the function become

##\int_0^\frac {\pi}{2} \frac {\sin \frac{\pi} {2}-x}{\cos(\frac{\pi} {2}-x) + \sin (\frac{\pi} {2}-x)}##.

I substitute the sin x for the ##\cos (\frac {\pi}{2}-x)## because I know they are equal.

Then i have

##\int_0^\frac {\pi}{2} \frac {\sin (\frac{\pi} {2}-x)}{\sin (x) + \sin (\frac{\pi} {2}-x)}##

What comes next is a mystery to me.
I feel maybe I did not use the substitution in a correct way which is why am puzzled about were to go next.

I know that the answer is pi/4, but I'm not sure how to actually get there with substitutions.
 
I haven't worked out the problem, but you might try the Sum-to-Product identity for sin(a) + sin(b).
 
Mark44 said:
It doesn't look like you have changed the limits of integration to account for the substtitution.

Mark, the limits actually flip, but there's a negative from du. Flipping the limits back eliminates the negative.
 
ElijahRockers said:
Mark, the limits actually flip, but there's a negative from du. Flipping the limits back eliminates the negative.
I'm aware of that, but I'm not convinced that the OP is.
 
  • Like
Likes ElijahRockers
Mark44 said:
I'm aware of that, but I'm not convinced that the OP is.

I incidentally made that choice to leave those bounds. I now know that now though.
 
ElijahRockers said:
I haven't worked out the problem, but you might try the Sum-to-Product identity for sin(a) + sin(b).

so for
 
What I have is
## \sin x+\sin (\frac{\pi}{2}-x)##

using the Sum to Product Identity

= ##\sqrt{ 2}\cos \frac {(\frac{\pi}{2}-x)}{2}##

Putting that into our integral would be:

##\int \frac {\sin (\frac {\pi}{2}-x)}{\sqrt{ 2}\cos \frac {(\frac{\pi}{2}-x)}{2}}\ dx##

=##\int \frac {\cos x}{\sqrt{ 2}\cos \frac {(\frac{\pi}{2}-x)}{2}}\ dx##

but then I am not sure about what my next substitution is...
 
Try to use the identity ## \sin(x)+\cos(x)= \sqrt{2}\sin(x+\pi/4)## and substitute u=x+pi/4. You get an easy integral in terms of u.
 
  • #10
TyroneTheDino said:

Homework Statement


Use the substitution ##u=\frac{\pi} {2}-x## evaluate the integral ##\int_0^\frac {\pi}{2} \frac {\sin x}{\cos x + \sin x}dx##.
...

The Attempt at a Solution


...

I substitute the sin x for the ##\cos (\frac {\pi}{2}-x)## because I know they are equal.
...
Why stop there.

It's also true that ##\displaystyle \cos(x) = \sin(\frac {\pi}{2}-x)\ ## .

Make that substitution also.(It's integration by trickery.)
 
  • Like
Likes ElijahRockers
  • #11
ElijahRockers said:
I haven't worked out the problem, but you might try the Sum-to-Product identity for sin(a) + sin(b).

ehild said:
Try to use the identity ## \sin(x)+\cos(x)= \sqrt{2}\sin(x+\pi/4)## and substitute u=x+pi/4. You get an easy integral in terms of u.
I was doubtful regarding how clear I was in my previous post, even though Elijah "Liked" the post.

The above quoted posts both address evaluating the given definite integral in the usual way; that is, by using the Fund. Thm. of Calc. I , find an anti-derivative, then evaluate that at the upper lower limits of integration.

The hint given, to use the substitution, ##\ u=\frac{\pi} {2}-x \ ##, doesn't particularly aid in that regard.

What the instructor, or whomever posed the question, likely had in mind was the following.
Using that substitution to gives the following result:$$ \int_0^\frac {\pi}{2} \frac {\sin x}{\cos x + \sin x}dx=\int_0^\frac {\pi}{2} \frac {\cos x}{\cos x + \sin x}dx \ $$​
Adding the integral on the left with that on the right results in a very simple integrand as well as giving twice the desired result.
 
  • #12
SammyS said:
Using that substitution to gives the following result:$$ \int_0^\frac {\pi}{2} \frac {\sin x}{\cos x + \sin x}dx=\int_0^\frac {\pi}{2} \frac {\cos x}{\cos x + \sin x}dx \ $$​
Adding the integral on the left with that on the right results in a very simple integrand as well as giving twice the desired result.
Ingenious !
 
Back
Top