Originally posted by ToO LaZy ^*
and i think there was a mistake in the completing of the square bit.
it should be: 4 - (2-x)^2....i think
Actually, both 4 - (2 - x)<sup>2</sup> and 4 - (x - 2)<sup>2</sup> are correct.
Originally posted by kimmeh
i'm right
Apart from the fact that the question was a definite integral, and you left the inverse sine part as an indefinite integral.
And the answer is pi - 2.
Originally posted by Teoh
I so have no idea how this question has been solved...
It might be easier to follow if you break it up into steps and do the substitutions:
Start with int (from 0 to 2) sqrt(x / (4 - x)) dx
Convert to int (from 0 to 2) x / sqrt(4x - x<sup>2</sup>) dx
Complete square to int (from 0 to 2) x / sqrt(4 - (2 - x)<sup>2</sup>) dx
Use u = 2 - x to convert to int (from 2 to 0) (2 - u) / sqrt(4 - u<sup>2</sup>) * -1 du
which is int (from 0 to 2) (2 - u) / sqrt(4 - u<sup>2</sup>) du
Split into two as: 2 * int (from 0 to 2) 1 / sqrt(4 - u<sup>2</sup>) du + int (from 0 to 2) -u / sqrt(4 - u<sup>2</sup>) du
The first of these is 2 * [sin<sup>-1</sup>(u / 2)] (from 0 to 2), which is 2 * sin<sup>-1</sup>(1) = pi
The second is (1 / 2) * int (from 0 to 2) -2u / sqrt(4 - u<sup>2</sup>) du
This is (1 / 2) * [2 * sqrt(4 - u<sup>2</sup>)] (from 0 to 2), which is -2 (this can be confirmed by a v = 4 - u<sup>2</sup> substitution, if necessary).
Thus, the answer is pi - 2.