# Question Video: Finding the Integration of a Function Involving a Root in Its Denominator by Completing the Square

Evaluate ∫ d𝑥/√(2𝑥 − 𝑥²).

03:10

### Video Transcript

Evaluate the integral of one divided by the square root of two 𝑥 minus 𝑥 squared with respect to 𝑥.

The question is asking us to evaluate the integral. This is the integral of one divided by the square root of two 𝑥 minus 𝑥 squared with respect to 𝑥. And it’s hard to see how to evaluate this integral. For example, by inspection, our integrand is not in the form 𝑓 prime of 𝑥 divided by 𝑓 of 𝑥 or 𝑔 prime of 𝑥 times 𝑓 of 𝑔 of 𝑥. Our integrand is not the product of two functions. And even if we did try integration by parts, this would not help us evaluate this integral. So none of our standard tools for evaluating integrals seem to help us in this case. This means we should try manipulating our integrand into a form which we can evaluate.

To do this, we’re going to complete the square on the quadratic inside of the square root of our denominator. When we do this, we divide our coefficient of 𝑥 by two. We get negative one times 𝑥 minus one squared plus one. And this is because negative one times negative one squared gives us an extra negative one. So we need to add one to get rid of this.

So by completing the square, we can now rewrite the inner function of the denominator of our integrand. This gives us the integral of one divided by the square root of negative one times 𝑥 minus one squared plus one with respect to 𝑥. And at first, it might not seem like this has helped us to evaluate our integral. However, we can see that this resembles one of our integral rules for the inverse trigonometric functions.

We know for a constant 𝑎 not equal to zero, the integral of one divided by the square root of 𝑎 squared minus 𝜃 squared is equal to the inverse sin of 𝜃 over 𝑎 plus a constant of integration 𝐶. And we can see that our integrand is very similar to this one. We have one divided by the square root of a constant minus some function of our variable squared.

So we’ll try to write our integral in this form. We’ll do this by using a 𝑢 substitution. We’ll use 𝑢 is equal to 𝑥 minus one. So if we have 𝑢 is equal to 𝑥 minus one, we’ll differentiate both sides with respect to 𝑥. We get d𝑢 by d𝑥 is equal to one. And we know d𝑢 by d𝑥 is not a fraction. However, when we’re using integration by substitution, we can treat it a little bit like a fraction. This gives us the equivalent statement d𝑢 is equal to d𝑥.

Now, we can rewrite our integral by using our 𝑢 substitution. We’ll replace 𝑥 minus one with 𝑢 and d𝑥 with d𝑢. This gives us the integral of one divided by the square root of one minus 𝑢 squared with respect to 𝑢. And now this is exactly in the form for our integral rule. So we can just apply this to find the integral. In this case, our constant 𝑎 is equal to one. So this gives us the inverse sin of 𝑢 plus our constant of integration 𝐶.

But remember, our original integral was in terms of 𝑥. So we want to give our answer in terms of 𝑥. We’ll do this by using our substitution 𝑢 is equal to 𝑥 minus one. And this gives us our final answer. The integral of one divided by the square root of two 𝑥 minus 𝑥 squared with respect to 𝑥 is equal to the inverse sin of 𝑥 minus one plus 𝐶.