Integrating Tricky Functions: Solving and Proving Integrals

  • Thread starter Thread starter MathematicalPhysicist
  • Start date Start date
  • Tags Tags
    Computation Integrals
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
19 replies · 3K views
Messages
4,662
Reaction score
372
i need to solve/prove the next two integrals:
[tex]\int\frac{dx}{u^2+u+4}[/tex]
and i need to show that:
[tex]\int_{0}^{\pi}\sqrt{1+sinx}dx=4[/tex]
the problem is that i have a clue to substitute u=sinx and then sin(pi)=0=sin0 so the integral should be equal zero, is it not?
ofcourse the integrand becomes: sqrt(1+u)/sqrt(1-u^2)
 
Physics news on Phys.org
For the first you can use the method of partial fractions.

You're right about the second. With the given limits, the integral is equal to zero.
 
substitute u = 1 + sin x. Are you sure the integral is equal to 4, not -4?
 
But the plot (area) of the function sqrt(1+sin(x)) from 0 to pi seems to be non-zero!
 
complete the square.
 
More like (u +0.5)^2 + 15/4
 
u^2+u+4= (u + 0.5)^2 + 15/4.

edit: too slow, the second integral should equal minus -4, I guess they're defining is it as area so you just need the modulus.
 
Not -4. I just put the function through the Integrator and substituted the values, and I got 4. This graph is completely above the x-axis.
 
Btw, you will need to know what the derivative of the inverse tangent is.
 
Oops, I'm missing/added a minus somewhere. Didn't have the common senese to think about the graph :).
 
If you let u= sin(x) then du= cos(x)dx so your integral will involve something like [itex]\frac{du}{cos(x)}[/itex] (with the cos(x) converted to u of course) but [itex]cos(\pi/2)= 0[/itex] so that is not a valid substitution.
 
[tex]\int_{0}^{\pi}\sqrt{1+sinx}dx=4[/tex]
the problem is that i have a clue to substitute u=sinx and then sin(pi)=0=sin0 so the integral should be equal zero, is it not?
ofcourse the integrand becomes: sqrt(1+u)/sqrt(1-u^2)

You need to be careful about which square root you're using: The integrand should be:
[tex]\frac{\sqrt{1+u}}{\pm \sqrt{1-u^2}}[/tex]
The trick is that you'll be using one square root from [itex]x=0[/itex] to [itex]x=\frac{\pi}{2}[/itex] and the other root from [itex]x=\frac{\pi}{2}[/itex] to [itex]x=0[/itex].
 
Last edited: