Integration by special technique

  • Thread starter Thread starter PhyCalc
  • Start date Start date
  • Tags Tags
    Integration
PhyCalc
Messages
4
Reaction score
0
Mentor note: Thread was moved to homework section[/color]

Hello Folks
I have integral
0π/2 (sinx/sinx+cosx) dx

I have got the answer is π/4

I have even solved indefinite integral
[ln(tan^2(x/2)-2(tan(x/2))-1)]/2 + [tan-1(tan(x/2)) + [ln(1+tan^2(x/2))]/2]/2

my problem is I am not getting pi/4 as final answer

I have got (ln(-2))/2 + π/8 + (ln(2))/4

is there something I am missing?
 
Last edited by a moderator:
Physics news on Phys.org
PhyCalc said:
Hello Folks
I have integral
0π/2 (sinx/sinx+cosx) dx

I have got the answer is π/4

I have even solved indefinite integral
[ln(tan^2(x/2)-2(tan(x/2))-1)]/2 + [tan-1(tan(x/2)) + [ln(1+tan^2(x/2))]/2]/2

my problem is I am not getting pi/4 as final answer

I have got (ln(-2))/2 + π/8 + (ln(2))/4

is there something I am missing?

I'm not sure I believe that answer for the indefinite integral. You can use some trig identities to simplify things. Note that:

##sin(x) + cos(x) = \sqrt{2}sin(x + \frac{\pi}{4})##

Then tackle the numerator. Hint: ##x = x + \frac{\pi}{4} - \frac{\pi}{4}##
 
PhyCalc said:
I have even solved indefinite integral
How? The result is wrong.
 
PhyCalc said:
Mentor note: Thread was moved to homework section

Hello Folks
I have integral
0π/2 (sinx/sinx+cosx) dx

is there something I am missing?
Unless the integral is ##\int_0^{\pi/2} 1 + cos(x)dx##, then yes, there is something you're missing - parentheses.

If you meant ##\frac{sin(x)}{sin(x) + cos(x)}##, then you should have written it as sin(x)/(sin(x) + cos(x)).
 
Mark44 said:
Unless the integral is ##\int_0^{\pi/2} 1 + cos(x)dx##, then yes, there is something you're missing - parentheses.

If you meant ##\frac{sin(x)}{sin(x) + cos(x)}##, then you should have written it as sin(x)/(sin(x) + cos(x)).

Here's a hint. Try the substitution x=pi/2-u.
 
Last edited:
  • Like
Likes mfb and vela
PhyCalc said:
Mentor note: Thread was moved to homework section

Hello Folks
I have integral
0π/2 (sinx/sinx+cosx) dx

I have got the answer is π/4

I have even solved indefinite integral
[ln(tan^2(x/2)-2(tan(x/2))-1)]/2 + [tan-1(tan(x/2)) + [ln(1+tan^2(x/2))]/2]/2

my problem is I am not getting pi/4 as final answer

I have got (ln(-2))/2 + π/8 + (ln(2))/4

is there something I am missing?

The integrand is ##(\pi/2)[\sin x / \sin x + \cos x] = (\pi/2)[ 1 + \cos x]##, so your integral looks incorrect. Did you mean
\frac{\pi}{2} \frac{\sin x}{\sin x + \cos x}?
If so, use parentheses, like this: sin(x)/(sin(x) + cos(x)] or sin x /(sin x + cos x).
 
Ray Vickson said:
The integrand is ##(\pi/2)[\sin x / \sin x + \cos x] = (\pi/2)[ 1 + \cos x]##, so your integral looks incorrect. Did you mean
\frac{\pi}{2} \frac{\sin x}{\sin x + \cos x}?
If so, use parentheses, like this: sin(x)/(sin(x) + cos(x)] or sin x /(sin x + cos x).
That's what I said in post #4.
 
Mark44 said:
That's what I said in post #4.

Yes, but for some reason that post did not appear on my screen until well after I responded. I have seen this type of thing happen several times already (where several previous responses appear only after I make a response).
 
Sorry Guys for late reply
Thanks Mark I am not sure How you guys input those math expression

Here I have attached picture .
I have to use Karl Weierstrass method (http://en.wikipedia.org/wiki/Tangent_half-angle_substitution)
to solve this integral NO OTHER trig methods.
upload_2014-11-2_20-24-17.png
 
Last edited:
  • #10
PhyCalc said:
Sorry Guys for late reply
Thanks Mark I am not sure How you guys input those math expression

Here I have attached picture .
I have to use Karl Weierstrass method (http://en.wikipedia.org/wiki/Tangent_half-angle_substitution)
to solve this integral NO OTHER trig methods.
View attachment 75060

That's too bad. There's an easy elementary (if somewhat tricky) solution using the substitution I suggested before. Maybe you could show your work in setting up the Weierstrass substitution?
 
Back
Top