zorro
- 1,378
- 0
Homework Statement
I am getting the answer as -(pi)
The answer given is (pi). There might be a sign error. I checked it many times but cannot find my fault. I need some help.
The quantities in the two radicals are equal, so I don't see a problem there. One problem that I see that you might not have addressed is that the integral you started with is improper - the integrand is undefined at both x = a and x = b.Abdul Quadeer said:Homework Statement
![]()
Abdul Quadeer said:I am getting the answer as -(pi)
The answer given is (pi). There might be a sign error. I checked it many times but cannot find my fault. I need some help.
Mark44 said:One problem that I see that you might not have addressed is that the integral you started with is improper - the integrand is undefined at both x = a and x = b.
Not necessarily. You need to split the original integral into two integrals, and use limits to evaluate each.Abdul Quadeer said:Then that should lead to an indeterminable integral.
I have no way of knowing, since I don't know what you did.Abdul Quadeer said:Why there is only a difference in sign?
See above.Abdul Quadeer said:How do I proceed the correct way?
Mark44 said:\lim_{p \to a^+}\int_p^1 \frac{dx}{\sqrt{(x - a)(b - x)}} + \lim_{q \to b^-}\int_1^q \frac{dx}{\sqrt{(x - a)(b - x)}}
hunt_mat said:Okay, here is a simple explanation, take the domain of integration a<x<b, then everything will be fine and we're not changing the result.
Note
<br /> \int_{a}^{b}\frac{dx}{\sqrt{(x-a)(b-x)}}=\int_{a}^{b}\frac{dx}{\sqrt{\left(\frac{b-a}{2}\right)^{2} -\left( x-\frac{a+b}{2}\right)^{2}}}<br />
Use the substitution:
<br /> y=x-\frac{a+b}{2}<br />
To obtain the integral:
<br /> \int_{-\alpha}^{\alpha}\frac{dy}{\sqrt{\alpha^{2}-y^{2}}}<br />
Then use the substitution y=\alpha\sin z to get the answer quoted. I will leave you to fill in the details and find out what alpha is.
Mark44 said:How are you getting the sin-1 part? I used wolfram alfpha, and the indefinite integral involves the inverse tangent function.
When I evaluated the first integral I got -[sqrt(1-a)sqrt(b-1)tan^(-1)((a+b-2)/2sqrt(1-a)sqrt(b-1))] / [sqrt(1-a)(b-a)] + pi/2.
I suspect that the second integral ends up wiping out the first term above + another pi/2.
No, I didn't omit the square root. This is what I entered into wolframalpha:Abdul Quadeer said:Did you miss the root? How can you get an arctan function with a root?
It is often the case that integrating by two different techniques gives different antiderivatives, but they can differ at most by a constant.Abdul Quadeer said:I applied the formula I gave in the previous post and got arcsin.
At some point you are using the Fundamental Theorem of Calculus to find an antiderivative, which is then evaluated at the two endpoints of the interval. The FTC requires the integrand to be continuous on the closed interval [a, b], which means it must be also defined at all points in the interval, including the two endpoints. This is the reason for the need to work with limits at both endpoints in this problem. The fact that we're dealing with a set of measure zero is irrelevant.hunt_mat said:As the integral was from a to b, I made the assumption that b>a, and so the term (b-a).2>0.
Technically what we're doing is taking away what is known as a null set {a,b}, this will have no effect whatsoever on the value of the integral. The signs should all cancel out in the end.
Mark44 said:No, I didn't omit the square root. This is what I entered into wolframalpha:
integrate 1/sqrt((x-a)(b-x)) dx
The result was what I posted earlier in this thread.
It is often the case that integrating by two different techniques gives different antiderivatives, but they can differ at most by a constant.
I suspect the mistake you made was saying \sqrt{c^2}=c when you should actually say \sqrt{c^2}=|c|. It's not that calculus and algebra follow different rules. You just need to be more careful about simplifying expressions.Abdul Quadeer said:This is much better.
But I see no use of restricting the domain other than our own satisfaction. I mean we don't use that condition anywhere in the solution later.
I found out that there is a change in sign only because of taking {(a-b)^2}/2 as I did instead of {(b-a)^2}/2 as you did.
The formula for
![]()
Is there any change to be made in this formula such as applying mod. function so that I can use it in both the cases {(a-b)^2}/2 & {(b-a)^2}/2 which are equivalent algebraically but not in calculus?
Mark44 said:At some point you are using the Fundamental Theorem of Calculus to find an antiderivative, which is then evaluated at the two endpoints of the interval. The FTC requires the integrand to be continuous on the closed interval [a, b], which means it must be also defined at all points in the interval, including the two endpoints. This is the reason for the need to work with limits at both endpoints in this problem. The fact that we're dealing with a set of measure zero is irrelevant.
Mark44 said:It's not obvious to me that dividing numerator and denominator by cos^2(x) leads to an integral that can be evaluated easily, since the integrand becomes sec^2(x)/(sec^2(x) + 1).
Mark44 said:In any case, this 1/(1 + cos^2(x)) is defined on and continuous on [0, pi/2], so this is different from the integral in the OP.