Lesson Video: Integrals Resulting in Logarithmic Functions | Nagwa Lesson Video: Integrals Resulting in Logarithmic Functions | Nagwa

Lesson Video: Integrals Resulting in Logarithmic Functions Mathematics • Third Year of Secondary School

Join Nagwa Classes

Attend live Mathematics sessions on Nagwa Classes to learn more about this topic from an expert teacher!

In this video, we will learn how to evaluate integrals of functions in the form 𝑓′(π‘₯)/𝑓(π‘₯), resulting in logarithmic functions.

16:41

Video Transcript

Integrals involving logarithmic functions. In this video, we will learn how to use integration by substitution on function of the form 𝑓 prime of π‘₯ over 𝑓 of π‘₯. We’ll be looking at some examples to see the kind of integrals we can use this method on. Now, let’s start by considering the following integral. And that’s the indefinite integral of 𝑓 prime of π‘₯ over 𝑓 of π‘₯ with respect to π‘₯. And we’re going to try to solve this integral. And we can in fact do this with a substitution. Let’s let 𝑒 equal 𝑓 of π‘₯. And we can differentiate 𝑒 with respect to π‘₯. And this gives us d𝑒 by dπ‘₯ is equal to 𝑓 prime of π‘₯. Where the prime denotes a differentiation with respect to π‘₯. And this tells us that d𝑒 is equal to 𝑓 prime of π‘₯ dπ‘₯.

Now we can rewrite our integral as the integral of one over 𝑓 of π‘₯ multiplied by 𝑓 prime of π‘₯ dπ‘₯. We’re now ready to perform our substitution. We will substitute in 𝑒 for 𝑓 of π‘₯ and d𝑒 for 𝑓 prime of π‘₯ dπ‘₯. So you obtain that our integral is equal to the integral of one over 𝑒 with respect to 𝑒. And this is an integral which we know how to solve. We know that the integral of one over π‘₯ with respect to π‘₯ is equal to the natural logarithm of the absolute value of π‘₯ plus 𝑐. Therefore, our integral is equal to the natural logarithm of the absolute value of 𝑒 plus our integration constant 𝑐. And here, we can substitute our value of 𝑒 back into our equation. And this leads us to our result, which is that the indefinite integral of 𝑓 prime of π‘₯ over 𝑓 of π‘₯ with respect to π‘₯ is equal to the natural logarithm of the absolute value of 𝑓 of π‘₯ plus 𝑐.

Let’s now look at an example of how this works.

Determine the indefinite integral of two π‘₯ plus one over π‘₯ squared plus π‘₯ minus seven with respect to π‘₯.

When we look at the integrand of this integral, we can notice that the numerator looks a lot like the derivative of the denominator. Let’s quickly check this. We can call the denominator 𝑓 of π‘₯. So 𝑓 of π‘₯ is equal to π‘₯ squared plus π‘₯ minus seven. And now we can differentiate this. Using the power rule on each term, we obtain that 𝑓 prime of π‘₯ is equal to two π‘₯ plus one. Which is equal to the numerator of our fraction. Therefore, our integrand is of the form 𝑓 prime of π‘₯ over 𝑓 of π‘₯. And we in fact have a rule for integrating functions of this form. It tells us that the integral of 𝑓 prime of π‘₯ over 𝑓 of π‘₯ with respect to π‘₯ is equal to the natural logarithm of the absolute value of 𝑓 of π‘₯ plus 𝑐. Using this rule, we obtain that the integral of two π‘₯ plus one over π‘₯ squared plus π‘₯ minus seven with respect to π‘₯ is equal to the natural logarithm of the absolute value of π‘₯ squared plus π‘₯ minus seven plus our constant of integration 𝑐.

In the next example, we will see how this method can be very useful when integrating certain trigonometric functions.

Determine the indefinite integral of cot π‘₯ with respect to π‘₯.

Now we know that cot π‘₯ can be written as cos of π‘₯ over sin of π‘₯. Therefore, we can rewrite our integral as the integral of cos π‘₯ over sin π‘₯ with respect to π‘₯. Next, we’ll be using the fact that the differential of sin π‘₯ with respect to π‘₯ is equal to cos π‘₯. And so if we let our denominator sin π‘₯ be equal to 𝑓 of π‘₯, then our numerator, cos of π‘₯, will be equal to 𝑓 prime of π‘₯. And here, we can see that our integral is of the form of the integral of 𝑓 prime of π‘₯ over 𝑓 of π‘₯ with respect to π‘₯.

And we know a formula for solving integrals of this form. And this formula tells us that the indefinite integral of 𝑓 prime of π‘₯ over 𝑓 of π‘₯ with respect to π‘₯ is equal to the natural logarithm of the absolute value of 𝑓 of π‘₯ plus 𝑐. If we apply this formula to our integral with 𝑓 of π‘₯ is equal to sin π‘₯, then we will reach our solution. Which is that the indefinite integral of cot π‘₯ with respect to π‘₯ is equal to the natural logarithm of the absolute value of sin π‘₯ plus 𝑐.

Now we can in fact take this method one step further. And consider when our numerator differs from the differential of the denominator by a constant factor. So if our integrand is equal to π‘Ž times 𝑓 prime of π‘₯ over 𝑓 of π‘₯, where π‘Ž is a real number. Now, this may appear very straightforward. Since we can use the fact that we can factor out a constant from inside an integral. This gives us that our integral is equal to π‘Ž multiplied by the natural logarithm of the absolute value of 𝑓 of π‘₯ plus 𝑐. And now this method seems very straightforward. It’s just a slight step up from what we we’re doing before. However, there are in fact two potentially quite difficult parts in setting up our integral. So we can apply this formula.

And the first of these two points is to actually spot that our integral can be in this form. Since it’s not always obvious that our numerator is some constant multiplied by the differential of the denominator. Sometimes we may be required to multiply our integrand by some function over itself, such as β„Ž of π‘₯ over β„Ž of π‘₯. In order to get it in the form to use this method. The second part, which is often slightly less tricky, is to find the value of our constant π‘Ž, since it’s not always immediately obvious.

Let’s now look at an example of how we can use this method.

Determine the indefinite integral of π‘₯ squared plus seven over π‘₯ cubed plus 21π‘₯ minus five with respect to π‘₯.

Now the first thing that we notice is that the numerator of our integrand looks a lot like the differential of the denominator. Let’s quickly check this. Let’s let 𝑓 of π‘₯ be our denominator. So 𝑓 of π‘₯ is equal to π‘₯ cubed plus 21π‘₯ minus five. And now we differentiate. And we get that 𝑓 prime of π‘₯ is equal to three π‘₯ squared plus 21, which is not equal to our numerator. However, we notice that it’s in fact out by a factor of three. If we divide 𝑓 prime of π‘₯ by three, then we obtain that one-third 𝑓 prime of π‘₯ is equal to π‘₯ squared plus seven. And this is now equal to the numerator of our integrand. We could write our integral in terms of 𝑓 of π‘₯. And we would obtain that it is equal to the integral of one-third 𝑓 prime of π‘₯ over 𝑓 of π‘₯ with respect to π‘₯.

Now we can use a rule which we know to integrate integrals of this form. It tells us that the integral of π‘Ž multiplied by 𝑓 prime of π‘₯ over 𝑓 of π‘₯ with respect to π‘₯ is equal to π‘Ž multiplied by the natural logarithm of the absolute value of 𝑓 of π‘₯ plus 𝑐. So we can apply this formula. Except in our case, π‘Ž is one-third. And 𝑓 of π‘₯ is equal to π‘₯ cubed plus 21π‘₯ minus five. In doing this, we reach our solution, which is that the indefinite integral of π‘₯ squared plus seven over π‘₯ cubed plus 21π‘₯ minus five with respect to π‘₯ is equal to one-third multiplied by the natural logarithm of the absolute value of π‘₯ cubed plus 21π‘₯ minus five plus 𝑐.

In this last example, we saw how we can find our constant π‘Ž by inspection. However, this is not always particularly obvious. Another way in which we can find it is by using substitution as we’ll see in the next example.

Determine the indefinite integral of 27 sin π‘₯ plus 21 cos π‘₯ all over seven sin π‘₯ minus nine cos π‘₯ with respect to π‘₯.

Here, we notice that the numerator of the integrand looks as though it could be the differential of the denominator. Since the differential of sin π‘₯ with respect to π‘₯ is equal to cos π‘₯ and the differential of negative cos π‘₯ with respect to π‘₯ is equal to sin π‘₯. Now it looks as though the numerator may differ from the differential of the denominator by a constant factor. However, we do not know what this factor is. We can try and find it by using a substitution. Let’s let 𝑒 be equal to the denominator of the integrand, so that seven sin π‘₯ minus nine cos π‘₯. Now we can differentiate 𝑒 with respect to π‘₯. Using the fact that sine differentiates to cos π‘₯ and negative cos π‘₯ differentiates to sin π‘₯. We obtain that d𝑒 by dπ‘₯ is equal to seven cos π‘₯ plus nine sin π‘₯. This gives us that d𝑒 is equal to nine sin π‘₯ plus seven cos π‘₯ dπ‘₯.

Now let’s rearrange our integral so we can apply this substitution. We notice that we can factor out a factor of three from our numerator. And this enables us to write our integral as the integral of three over seven sin π‘₯ minus nine cos π‘₯ multiplied by nine sin π‘₯ plus seven cos π‘₯ dπ‘₯. And so we can substitute 𝑒 into the denominator of our fraction. And we can substitute in d𝑒 for nine sin π‘₯ plus seven cos π‘₯ dπ‘₯. Giving us that it is equal to the integral of three over 𝑒 d𝑒, which can be integrated to three multiplied by the natural logarithm of the absolute value of 𝑒 plus 𝑐. For our final step, we simply substitute back in seven sin π‘₯ minus nine cos π‘₯ for 𝑒. This gives us our solution, which is three multiplied by the natural logarithm of the absolute value of seven sin π‘₯ minus nine cos π‘₯ plus 𝑐.

Now this method of integration can be used to integrate many different types of functions. In the next example, we’ll see an integration of a function involving a natural logarithm.

Determine the indefinite integral of negative three over π‘₯ multiplied by the natural logarithm of eight π‘₯ with respect to π‘₯.

Now, although this may look like a tricky integral to evaluate, it is in fact in a form which we know how to integrate. If we let 𝑓 of π‘₯ be equal to the natural logarithm of eight π‘₯, then we can differentiate 𝑓 of π‘₯ using the fact that the differential of the natural logarithm of π‘₯ is one over π‘₯ in order to find that 𝑓 prime of π‘₯ is equal to one over eight π‘₯. And then, since this is a composite function, we have eight π‘₯ inside the function of the natural logarithm. We mustn’t forget to multiply by the differential of eight π‘₯, which is just eight. This is because of the chain rule. Simplifying, we can obtain that 𝑓 prime of π‘₯ is equal to one over π‘₯.

Now let’s rewrite our integral. If we multiply the numerator and denominator of our fraction by one over π‘₯, then we can rewrite our integral as the integral of negative three over π‘₯ over the natural logarithm of eight π‘₯ with respect to π‘₯. And now we can factor the negative three in the numerator. And once we’ve reached this stage, we notice that this is in a form which we know how to integrate. Since it’s of the form the integral of π‘Ž multiplied by 𝑓 prime of π‘₯ over 𝑓 of π‘₯ dπ‘₯. Where our 𝑓 of π‘₯ is the natural logarithm of eight π‘₯. And our 𝑓 prime of π‘₯ is one over π‘₯. Therefore, our value of π‘Ž is negative three. Now we know that this integral evaluates to π‘Ž multiplied by the natural logarithm of the absolute value of 𝑓 of π‘₯ plus 𝑐. And we can simply substitute in the values of π‘Ž and 𝑓 of π‘₯ to find our solution. Which is negative three multiplied by the natural logarithm of the absolute value of the natural logarithm of eight π‘₯ plus 𝑐.

In our final example, we’ll be seeing an integration of a trigonometric function where we’re required to multiply our integrand by a fraction of a function over itself.

Determine the indefinite integral of two multiplied by csc of seven π‘₯ with respect to π‘₯.

Now, this is a really tricky function to integrate. It requires us to really know our derivatives of trigonometric functions. Now, since we’re trying to determine the indefinite integral of two csc of seven π‘₯, let’s write down what the derivative of csc of seven π‘₯ is. It is equal to negative seven csc of seven π‘₯ multiplied by cot of seven π‘₯. Now what we’re aiming to do at this stage is to try and get our integrand in the form of π‘Ž multiplied by 𝑓 prime of π‘₯ over 𝑓 of π‘₯. Since we know how to integrate this and in order to try and get our integral in this form. We’re going to try and multiply the integrand by a fraction consisting of a function over itself, which is of course equal to one. The difficult part is trying to find a function 𝑔 of π‘₯. So our integral will end up in the form which we know how to integrate.

Let’s see what happens if we let 𝑔 of π‘₯ be equal to csc of seven π‘₯. We multiply our integrand by csc of seven π‘₯ over csc of seven π‘₯. And we obtain the integral of two csc squared of seven π‘₯ over csc of seven π‘₯ with respect to π‘₯. However, this is clearly not in the form required. However, it does give us a hint since we have a csc squared of seven π‘₯ in the numerator. And we in fact know another trigonometric function which would differentiate to give us a multiple of csc squared of seven π‘₯. And this is cot of seven π‘₯. The derivative of cot of seven π‘₯ is negative seven csc squared of seven π‘₯.

Now it’s at this stage where we might start to be able to spot what our 𝑔 of π‘₯ is. When we multiply by 𝑔 of π‘₯ over 𝑔 of π‘₯ in our integrand, we are always gonna have that factor of csc of seven π‘₯, which is originally in the integrand. If we factor out a factor of csc of seven π‘₯ from our two differentials, then we’re left with a cot of seven π‘₯ multiplied by a constant and a csc of seven π‘₯ multiplied by the same constant. Now, this is very important since the functions which we’re differentiating are csc of seven π‘₯ and cot of seven π‘₯.

And so maybe, for our next 𝑔 of π‘₯, we can try adding these two functions together. But first, let’s make a quick note what the differential of the sum of these two functions is. Using the fact that the differential of a sum of functions is equal to the sum of the differentials of the functions. And by keeping the csc of seven π‘₯ term factored. We have that the differential of csc of seven π‘₯ plus cot of seven π‘₯ is equal to csc of seven π‘₯ multiplied by negative seven cot of seven π‘₯ minus seven csc of seven π‘₯.

So now we can try 𝑔 of π‘₯ being equal to csc of seven π‘₯ plus cot of seven π‘₯. We have the integral of two csc of seven π‘₯ multiplied by csc of seven π‘₯ plus cot of seven π‘₯ over csc of seven π‘₯ plus cot of seven π‘₯ with respect to π‘₯. And we can rewrite this with the two csc of seven π‘₯ in the numerator. Now we can notice that our integral is very nearly in the form which we require. If we let 𝑓 of π‘₯ be equal to 𝑔 of π‘₯, then we can see that the denominator of our integrand is 𝑔 of π‘₯. And if we compare the numerator with the differential of 𝑔 of π‘₯, then we can see that it’s very, very similar. The only two slight differences is that there’s this constant factor of two in the numerator of the integrand and a factor of negative seven in the differential. And so we can come to the conclusion that the numerator of our integrand is equal to two over negative seven times by 𝑔 prime of π‘₯.

We can now more clearly see that our integral is in fact of the form which we require. In our case, π‘Ž is equal to negative two over seven. And 𝑓 of π‘₯ is equal to csc of seven π‘₯ plus cot of seven π‘₯. And so we can apply the formula. Here, we reach our solution, which is that the indefinite integral of two csc of seven π‘₯ with respect to π‘₯ is equal to negative two-sevenths times the natural logarithm of the absolute value of csc of seven π‘₯ plus cot of seven π‘₯ plus 𝑐.

In this last example, we saw how we can sometimes find the integral of a difficult function using this method by multiplying by 𝑔 of π‘₯ over 𝑔 of π‘₯ for some function 𝑔 of π‘₯. And the most difficult part of this method is working out what 𝑔 of π‘₯ needs to be. Knowing the differentials of many different types of functions is certainly a very useful tool in doing this.

We have now covered a variety of examples in this video. Let’s recap some of the key points. Key points. The indefinite integral of π‘Ž multiplied by 𝑓 prime of π‘₯ over 𝑓 of π‘₯ with respect to π‘₯ is equal to π‘Ž multiplied by the natural logarithm of the absolute value of 𝑓 of π‘₯ plus 𝑐, where π‘Ž is a real number. This method can be used to find the integrals of many different types of functions, including trigonometric ones such as cot π‘₯, tan π‘₯, csc π‘₯, and so on. Sometimes it is not immediately obvious that we can use this method to integrate. But multiplying by 𝑔 of π‘₯ over 𝑔 of π‘₯ for some 𝑔 of π‘₯ may enable us to use it.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy