WEBVTT
00:00:00.720 --> 00:00:03.120
Integrals involving logarithmic functions.
00:00:03.890 --> 00:00:11.040
In this video, we will learn how to use integration by substitution on function of the form π prime of π₯ over π of π₯.
00:00:11.750 --> 00:00:16.200
Weβll be looking at some examples to see the kind of integrals we can use this method on.
00:00:17.120 --> 00:00:19.820
Now, letβs start by considering the following integral.
00:00:20.240 --> 00:00:25.220
And thatβs the indefinite integral of π prime of π₯ over π of π₯ with respect to π₯.
00:00:25.870 --> 00:00:27.970
And weβre going to try to solve this integral.
00:00:28.450 --> 00:00:30.720
And we can in fact do this with a substitution.
00:00:31.440 --> 00:00:33.720
Letβs let π’ equal π of π₯.
00:00:34.050 --> 00:00:36.620
And we can differentiate π’ with respect to π₯.
00:00:37.120 --> 00:00:40.910
And this gives us dπ’ by dπ₯ is equal to π prime of π₯.
00:00:41.420 --> 00:00:44.440
Where the prime denotes a differentiation with respect to π₯.
00:00:45.170 --> 00:00:49.300
And this tells us that dπ’ is equal to π prime of π₯ dπ₯.
00:00:49.950 --> 00:00:56.900
Now we can rewrite our integral as the integral of one over π of π₯ multiplied by π prime of π₯ dπ₯.
00:00:57.550 --> 00:00:59.670
Weβre now ready to perform our substitution.
00:01:00.120 --> 00:01:06.540
We will substitute in π’ for π of π₯ and dπ’ for π prime of π₯ dπ₯.
00:01:07.140 --> 00:01:11.640
So you obtain that our integral is equal to the integral of one over π’ with respect to π’.
00:01:12.340 --> 00:01:14.790
And this is an integral which we know how to solve.
00:01:15.220 --> 00:01:22.170
We know that the integral of one over π₯ with respect to π₯ is equal to the natural logarithm of the absolute value of π₯ plus π.
00:01:22.790 --> 00:01:29.510
Therefore, our integral is equal to the natural logarithm of the absolute value of π’ plus our integration constant π.
00:01:30.060 --> 00:01:34.360
And here, we can substitute our value of π’ back into our equation.
00:01:35.250 --> 00:01:48.390
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 π.
00:01:49.610 --> 00:01:52.470
Letβs now look at an example of how this works.
00:01:53.230 --> 00:02:00.330
Determine the indefinite integral of two π₯ plus one over π₯ squared plus π₯ minus seven with respect to π₯.
00:02:01.180 --> 00:02:08.000
When we look at the integrand of this integral, we can notice that the numerator looks a lot like the derivative of the denominator.
00:02:08.580 --> 00:02:09.860
Letβs quickly check this.
00:02:10.300 --> 00:02:12.380
We can call the denominator π of π₯.
00:02:12.860 --> 00:02:16.300
So π of π₯ is equal to π₯ squared plus π₯ minus seven.
00:02:16.800 --> 00:02:18.360
And now we can differentiate this.
00:02:18.810 --> 00:02:23.920
Using the power rule on each term, we obtain that π prime of π₯ is equal to two π₯ plus one.
00:02:24.580 --> 00:02:27.380
Which is equal to the numerator of our fraction.
00:02:27.800 --> 00:02:31.990
Therefore, our integrand is of the form π prime of π₯ over π of π₯.
00:02:32.520 --> 00:02:35.480
And we in fact have a rule for integrating functions of this form.
00:02:35.900 --> 00:02:45.570
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 π.
00:02:46.130 --> 00:03:00.710
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 π.
00:03:02.620 --> 00:03:08.790
In the next example, we will see how this method can be very useful when integrating certain trigonometric functions.
00:03:09.910 --> 00:03:13.600
Determine the indefinite integral of cot π₯ with respect to π₯.
00:03:14.360 --> 00:03:18.830
Now we know that cot π₯ can be written as cos of π₯ over sin of π₯.
00:03:19.540 --> 00:03:25.210
Therefore, we can rewrite our integral as the integral of cos π₯ over sin π₯ with respect to π₯.
00:03:25.900 --> 00:03:31.290
Next, weβll be using the fact that the differential of sin π₯ with respect to π₯ is equal to cos π₯.
00:03:32.010 --> 00:03:40.080
And so if we let our denominator sin π₯ be equal to π of π₯, then our numerator, cos of π₯, will be equal to π prime of π₯.
00:03:41.100 --> 00:03:47.250
And here, we can see that our integral is of the form of the integral of π prime of π₯ over π of π₯ with respect to π₯.
00:03:47.880 --> 00:03:51.030
And we know a formula for solving integrals of this form.
00:03:51.520 --> 00:04:00.940
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 π.
00:04:01.570 --> 00:04:07.990
If we apply this formula to our integral with π of π₯ is equal to sin π₯, then we will reach our solution.
00:04:08.150 --> 00:04:16.060
Which is that the indefinite integral of cot π₯ with respect to π₯ is equal to the natural logarithm of the absolute value of sin π₯ plus π.
00:04:18.030 --> 00:04:20.760
Now we can in fact take this method one step further.
00:04:21.040 --> 00:04:26.160
And consider when our numerator differs from the differential of the denominator by a constant factor.
00:04:26.960 --> 00:04:34.330
So if our integrand is equal to π times π prime of π₯ over π of π₯, where π is a real number.
00:04:34.950 --> 00:04:36.930
Now, this may appear very straightforward.
00:04:37.480 --> 00:04:41.890
Since we can use the fact that we can factor out a constant from inside an integral.
00:04:42.410 --> 00:04:49.260
This gives us that our integral is equal to π multiplied by the natural logarithm of the absolute value of π of π₯ plus π.
00:04:49.910 --> 00:04:52.130
And now this method seems very straightforward.
00:04:52.540 --> 00:04:54.960
Itβs just a slight step up from what we weβre doing before.
00:04:55.490 --> 00:05:00.510
However, there are in fact two potentially quite difficult parts in setting up our integral.
00:05:00.590 --> 00:05:02.110
So we can apply this formula.
00:05:02.800 --> 00:05:07.990
And the first of these two points is to actually spot that our integral can be in this form.
00:05:08.480 --> 00:05:14.380
Since itβs not always obvious that our numerator is some constant multiplied by the differential of the denominator.
00:05:14.890 --> 00:05:22.040
Sometimes we may be required to multiply our integrand by some function over itself, such as β of π₯ over β of π₯.
00:05:22.480 --> 00:05:24.940
In order to get it in the form to use this method.
00:05:25.470 --> 00:05:33.210
The second part, which is often slightly less tricky, is to find the value of our constant π, since itβs not always immediately obvious.
00:05:33.900 --> 00:05:37.280
Letβs now look at an example of how we can use this method.
00:05:38.290 --> 00:05:45.830
Determine the indefinite integral of π₯ squared plus seven over π₯ cubed plus 21π₯ minus five with respect to π₯.
00:05:46.490 --> 00:05:52.140
Now the first thing that we notice is that the numerator of our integrand looks a lot like the differential of the denominator.
00:05:52.820 --> 00:05:54.100
Letβs quickly check this.
00:05:54.570 --> 00:05:56.640
Letβs let π of π₯ be our denominator.
00:05:57.240 --> 00:06:00.890
So π of π₯ is equal to π₯ cubed plus 21π₯ minus five.
00:06:01.380 --> 00:06:02.640
And now we differentiate.
00:06:03.200 --> 00:06:10.170
And we get that π prime of π₯ is equal to three π₯ squared plus 21, which is not equal to our numerator.
00:06:11.220 --> 00:06:14.700
However, we notice that itβs in fact out by a factor of three.
00:06:15.230 --> 00:06:22.970
If we divide π prime of π₯ by three, then we obtain that one-third π prime of π₯ is equal to π₯ squared plus seven.
00:06:23.540 --> 00:06:26.530
And this is now equal to the numerator of our integrand.
00:06:26.990 --> 00:06:29.440
We could write our integral in terms of π of π₯.
00:06:29.960 --> 00:06:36.090
And we would obtain that it is equal to the integral of one-third π prime of π₯ over π of π₯ with respect to π₯.
00:06:36.720 --> 00:06:40.380
Now we can use a rule which we know to integrate integrals of this form.
00:06:40.900 --> 00:06:51.620
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 π.
00:06:52.310 --> 00:06:53.770
So we can apply this formula.
00:06:54.100 --> 00:06:56.430
Except in our case, π is one-third.
00:06:57.000 --> 00:07:00.770
And π of π₯ is equal to π₯ cubed plus 21π₯ minus five.
00:07:01.420 --> 00:07:18.710
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 π.
00:07:20.780 --> 00:07:25.100
In this last example, we saw how we can find our constant π by inspection.
00:07:25.700 --> 00:07:28.080
However, this is not always particularly obvious.
00:07:28.780 --> 00:07:34.120
Another way in which we can find it is by using substitution as weβll see in the next example.
00:07:34.610 --> 00:07:43.170
Determine the indefinite integral of 27 sin π₯ plus 21 cos π₯ all over seven sin π₯ minus nine cos π₯ with respect to π₯.
00:07:44.020 --> 00:07:49.220
Here, we notice that the numerator of the integrand looks as though it could be the differential of the denominator.
00:07:49.640 --> 00:07:56.760
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 π₯.
00:07:57.590 --> 00:08:02.780
Now it looks as though the numerator may differ from the differential of the denominator by a constant factor.
00:08:03.410 --> 00:08:05.670
However, we do not know what this factor is.
00:08:06.060 --> 00:08:08.460
We can try and find it by using a substitution.
00:08:09.000 --> 00:08:15.260
Letβs let π’ be equal to the denominator of the integrand, so that seven sin π₯ minus nine cos π₯.
00:08:15.850 --> 00:08:18.370
Now we can differentiate π’ with respect to π₯.
00:08:18.700 --> 00:08:23.330
Using the fact that sine differentiates to cos π₯ and negative cos π₯ differentiates to sin π₯.
00:08:23.780 --> 00:08:27.990
We obtain that dπ’ by dπ₯ is equal to seven cos π₯ plus nine sin π₯.
00:08:28.380 --> 00:08:32.790
This gives us that dπ’ is equal to nine sin π₯ plus seven cos π₯ dπ₯.
00:08:33.370 --> 00:08:36.520
Now letβs rearrange our integral so we can apply this substitution.
00:08:37.090 --> 00:08:40.740
We notice that we can factor out a factor of three from our numerator.
00:08:41.060 --> 00:08:51.130
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π₯.
00:08:51.440 --> 00:08:54.750
And so we can substitute π’ into the denominator of our fraction.
00:08:55.050 --> 00:08:59.210
And we can substitute in dπ’ for nine sin π₯ plus seven cos π₯ dπ₯.
00:08:59.650 --> 00:09:10.120
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 π.
00:09:10.650 --> 00:09:15.180
For our final step, we simply substitute back in seven sin π₯ minus nine cos π₯ for π’.
00:09:15.640 --> 00:09:23.780
This gives us our solution, which is three multiplied by the natural logarithm of the absolute value of seven sin π₯ minus nine cos π₯ plus π.
00:09:24.980 --> 00:09:29.240
Now this method of integration can be used to integrate many different types of functions.
00:09:29.700 --> 00:09:33.960
In the next example, weβll see an integration of a function involving a natural logarithm.
00:09:34.930 --> 00:09:42.200
Determine the indefinite integral of negative three over π₯ multiplied by the natural logarithm of eight π₯ with respect to π₯.
00:09:42.700 --> 00:09:48.550
Now, although this may look like a tricky integral to evaluate, it is in fact in a form which we know how to integrate.
00:09:49.070 --> 00:10:03.170
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 π₯.
00:10:03.610 --> 00:10:08.740
And then, since this is a composite function, we have eight π₯ inside the function of the natural logarithm.
00:10:08.880 --> 00:10:13.630
We mustnβt forget to multiply by the differential of eight π₯, which is just eight.
00:10:14.660 --> 00:10:16.080
This is because of the chain rule.
00:10:16.660 --> 00:10:20.990
Simplifying, we can obtain that π prime of π₯ is equal to one over π₯.
00:10:21.650 --> 00:10:23.580
Now letβs rewrite our integral.
00:10:24.050 --> 00:10:36.000
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 π₯.
00:10:36.500 --> 00:10:39.510
And now we can factor the negative three in the numerator.
00:10:40.350 --> 00:10:44.680
And once weβve reached this stage, we notice that this is in a form which we know how to integrate.
00:10:45.170 --> 00:10:50.570
Since itβs of the form the integral of π multiplied by π prime of π₯ over π of π₯ dπ₯.
00:10:51.180 --> 00:10:54.350
Where our π of π₯ is the natural logarithm of eight π₯.
00:10:54.610 --> 00:10:57.320
And our π prime of π₯ is one over π₯.
00:10:57.780 --> 00:11:00.370
Therefore, our value of π is negative three.
00:11:00.790 --> 00:11:07.920
Now we know that this integral evaluates to π multiplied by the natural logarithm of the absolute value of π of π₯ plus π.
00:11:08.380 --> 00:11:12.930
And we can simply substitute in the values of π and π of π₯ to find our solution.
00:11:13.410 --> 00:11:20.350
Which is negative three multiplied by the natural logarithm of the absolute value of the natural logarithm of eight π₯ plus π.
00:11:22.700 --> 00:11:31.600
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.
00:11:33.170 --> 00:11:38.680
Determine the indefinite integral of two multiplied by csc of seven π₯ with respect to π₯.
00:11:39.920 --> 00:11:42.480
Now, this is a really tricky function to integrate.
00:11:42.890 --> 00:11:46.450
It requires us to really know our derivatives of trigonometric functions.
00:11:47.350 --> 00:11:55.880
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.
00:11:56.220 --> 00:12:01.690
It is equal to negative seven csc of seven π₯ multiplied by cot of seven π₯.
00:12:02.420 --> 00:12:10.290
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 π₯.
00:12:10.910 --> 00:12:15.880
Since we know how to integrate this and in order to try and get our integral in this form.
00:12:16.260 --> 00:12:24.210
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.
00:12:24.640 --> 00:12:27.480
The difficult part is trying to find a function π of π₯.
00:12:27.830 --> 00:12:31.330
So our integral will end up in the form which we know how to integrate.
00:12:31.930 --> 00:12:35.850
Letβs see what happens if we let π of π₯ be equal to csc of seven π₯.
00:12:36.150 --> 00:12:40.030
We multiply our integrand by csc of seven π₯ over csc of seven π₯.
00:12:40.310 --> 00:12:46.490
And we obtain the integral of two csc squared of seven π₯ over csc of seven π₯ with respect to π₯.
00:12:47.320 --> 00:12:50.050
However, this is clearly not in the form required.
00:12:50.650 --> 00:12:55.760
However, it does give us a hint since we have a csc squared of seven π₯ in the numerator.
00:12:56.070 --> 00:13:02.740
And we in fact know another trigonometric function which would differentiate to give us a multiple of csc squared of seven π₯.
00:13:03.420 --> 00:13:05.300
And this is cot of seven π₯.
00:13:06.220 --> 00:13:11.400
The derivative of cot of seven π₯ is negative seven csc squared of seven π₯.
00:13:12.210 --> 00:13:16.530
Now itβs at this stage where we might start to be able to spot what our π of π₯ is.
00:13:17.020 --> 00:13:25.280
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.
00:13:25.650 --> 00:13:37.140
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.
00:13:37.760 --> 00:13:43.990
Now, this is very important since the functions which weβre differentiating are csc of seven π₯ and cot of seven π₯.
00:13:44.420 --> 00:13:48.770
And so maybe, for our next π of π₯, we can try adding these two functions together.
00:13:49.090 --> 00:13:53.180
But first, letβs make a quick note what the differential of the sum of these two functions is.
00:13:53.480 --> 00:13:59.510
Using the fact that the differential of a sum of functions is equal to the sum of the differentials of the functions.
00:13:59.940 --> 00:14:02.780
And by keeping the csc of seven π₯ term factored.
00:14:03.310 --> 00:14:12.770
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 π₯.
00:14:13.570 --> 00:14:18.200
So now we can try π of π₯ being equal to csc of seven π₯ plus cot of seven π₯.
00:14:19.690 --> 00:14:28.100
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 π₯.
00:14:28.670 --> 00:14:31.690
And we can rewrite this with the two csc of seven π₯ in the numerator.
00:14:32.200 --> 00:14:35.700
Now we can notice that our integral is very nearly in the form which we require.
00:14:36.120 --> 00:14:42.230
If we let π of π₯ be equal to π of π₯, then we can see that the denominator of our integrand is π of π₯.
00:14:42.550 --> 00:14:48.880
And if we compare the numerator with the differential of π of π₯, then we can see that itβs very, very similar.
00:14:49.240 --> 00:14:57.140
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.
00:14:57.390 --> 00:15:04.650
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 π₯.
00:15:05.550 --> 00:15:09.770
We can now more clearly see that our integral is in fact of the form which we require.
00:15:10.320 --> 00:15:13.470
In our case, π is equal to negative two over seven.
00:15:13.980 --> 00:15:18.210
And π of π₯ is equal to csc of seven π₯ plus cot of seven π₯.
00:15:18.890 --> 00:15:20.560
And so we can apply the formula.
00:15:21.030 --> 00:15:34.600
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 π.
00:15:37.030 --> 00:15:46.790
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 π₯.
00:15:47.420 --> 00:15:51.660
And the most difficult part of this method is working out what π of π₯ needs to be.
00:15:52.330 --> 00:15:58.090
Knowing the differentials of many different types of functions is certainly a very useful tool in doing this.
00:15:58.920 --> 00:16:01.560
We have now covered a variety of examples in this video.
00:16:02.050 --> 00:16:03.980
Letβs recap some of the key points.
00:16:05.240 --> 00:16:05.970
Key points.
00:16:06.200 --> 00:16:18.610
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.
00:16:19.330 --> 00:16:28.460
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.
00:16:29.120 --> 00:16:32.850
Sometimes it is not immediately obvious that we can use this method to integrate.
00:16:33.140 --> 00:16:37.900
But multiplying by π of π₯ over π of π₯ for some π of π₯ may enable us to use it.