Derivative of exponential and logarithmic function examples. Derivative of natural logarithm and base a logarithm

Examples of calculating derivatives using the logarithmic derivative are given.

Content

See also: Natural logarithm properties

Solution method

Let be
(1)
is a differentiable function of the variable x. First, we will consider it on the set of x values \u200b\u200bfor which y takes positive values:. In what follows, we will show that all the results obtained are applicable to negative values.

In some cases, in order to find the derivative of function (1), it is convenient to pre-logarithm it
,
and then calculate the derivative. Then, according to the rule of differentiation of a complex function,
.
From here
(2) .

The derivative of the logarithm of a function is called the logarithmic derivative:
.

The logarithmic derivative of the function y \u003d f (x) is the derivative of the natural logarithm of this function: (ln f (x)) ′.

The case of negative y values

Now let's consider the case when a variable can take both positive and negative values. In this case, we take the logarithm of the modulus and find its derivative:
.
From here
(3) .
That is, in the general case, you need to find the derivative of the logarithm of the modulus of the function.

Comparing (2) and (3) we have:
.
That is, the formal result of calculating the logarithmic derivative does not depend on whether we have taken modulo or not. Therefore, when calculating the logarithmic derivative, we need not worry about the sign of the function.

You can clarify this situation using complex numbers. Let, for some values \u200b\u200bof x, be negative:. If we consider only real numbers, then the function is undefined. However, if we introduce complex numbers into consideration, we get the following:
.
That is, the functions and differ by a complex constant:
.
Since the derivative of the constant is zero, then
.

Logarithmic derivative property

It follows from this consideration that the logarithmic derivative does not change if the function is multiplied by an arbitrary constant :
.
Indeed, applying logarithm properties , formulas derived sum and derivative of the constant , we have:

.

Application of the logarithmic derivative

It is convenient to use the logarithmic derivative in cases when the original function consists of a product of power or exponential functions. In this case, the operation of taking the logarithm turns the product of functions into their sum. This simplifies the calculation of the derivative.

Example 1

Find the derivative of a function:
.

Logarithm the original function:
.

We differentiate with respect to the variable x.
In the table of derivatives we find:
.
We apply the rule of differentiation of a complex function.
;
;
;
;
(A1.1) .
Multiply by:

.

So, we found the logarithmic derivative:
.
From here we find the derivative of the original function:
.

Note

If we want to use only real numbers, then we should take the logarithm from the modulus of the original function:
.
Then
;
.
And we got the formula (A1.1). Therefore, the result has not changed.

Example 2

Using the logarithmic derivative, find the derivative of the function
.

Logarithm:
(A2.1) .
We differentiate with respect to the variable x:
;
;

;
;
;
.

Multiply by:
.
From here we get the logarithmic derivative:
.

Derivative of the original function:
.

Note

Here the original function is non-negative:. It is defined at. If you do not assume that the logarithm can be determined for negative values \u200b\u200bof the argument, then the formula (A2.1) should be written as follows:
.
Insofar as

and
,
it will not affect the final result.

Example 3

Find the derivative
.

Differentiation is performed using the logarithmic derivative. Let's take the logarithm, considering that:
(A3.1) .

Differentiating, we get the logarithmic derivative.
;
;
;
(A3.2) .

Since, then

.

Note

Let's do the calculations without assuming that the logarithm can be determined for negative values \u200b\u200bof the argument. To do this, take the logarithm of the module of the original function:
.
Then instead of (A3.1) we have:
;

.
Comparing with (A3.2), we see that the result has not changed.

See also:

Complex derivatives. Logarithmic derivative.
The derivative of the exponential function

We continue to improve our differentiation technique. In this lesson, we will consolidate the material covered, consider more complex derivatives, and also get acquainted with new techniques and tricks for finding the derivative, in particular, with the logarithmic derivative.

Those readers with a low level of training should refer to the article How do I find the derivative? Solution examples, which will raise your skills from scratch. Next, you need to carefully study the page Derivative of a complex function, understand and solve everything the examples I gave. This lesson is logically the third in a row, and after mastering it you will confidently differentiate rather complex functions. It is undesirable to adhere to the position “Where else? And that's enough! ”, Because all examples and solutions are taken from real tests and are often found in practice.

Let's start with repetition. On the lesson Derivative of a complex functionwe looked at a number of examples with detailed comments. In the course of studying differential calculus and other branches of mathematical analysis, you will have to differentiate very often, and it is not always convenient (and not always necessary) to write examples in great detail. Therefore, we will practice in the oral finding of derivatives. The most suitable "candidates" for this are derivatives of the simplest of complex functions, for example:

By the rule of differentiation of a complex function :

When studying other topics of matan in the future, such a detailed record is often not required, it is assumed that the student is able to find similar derivatives on the automatic autopilot. Imagine that at 3 am the phone rang, and a pleasant voice asked: "What is the derivative of the tangent of two Xs?" This should be followed by an almost instant and polite response: .

The first example will be immediately intended for an independent solution.

Example 1

Find the following derivatives orally, in one step, for example:. To complete the task, you need to use only table of derivatives of elementary functions (if it is not remembered yet). If you have any difficulties, I recommend rereading the lesson. Derivative of a complex function.

, , ,
, , ,
, , ,

, , ,

, , ,

, , ,

, ,

Answers at the end of the lesson

Complex derivatives

After preliminary artillery preparation, examples with 3-4-5 function attachments will be less scary. Perhaps the following two examples will seem difficult to some, but if you understand them (someone will suffer), then almost everything else in the differential calculus will seem like a childish joke.

Example 2

Find the derivative of a function

As already noted, when finding the derivative of a complex function, first of all, it is necessary correctlyUNDERSTAND attachments. In cases where there are doubts, I remind you of a useful technique: we take the experimental value of "X", for example, and try (mentally or on a draft) to substitute this value in the "terrible expression".

1) First we need to calculate the expression, which means that the amount is the deepest investment.

2) Then you need to calculate the logarithm:

4) Then raise the cosine to a cube:

5) At the fifth step, the difference:

6) And finally, the outermost function is the square root:

Complex function differentiation formula are applied in reverse order, from the outermost function to the innermost. We decide:

It seems without mistakes….

(1) Take the derivative of the square root.

(2) We take the derivative of the difference using the rule

(3) The derivative of the triple is zero. In the second term, we take the derivative of the degree (cube).

(4) We take the derivative of the cosine.

(5) Take the derivative of the logarithm.

(6) Finally, we take the derivative of the deepest nesting.

It may sound too difficult, but this is not the most brutal example. Take, for example, Kuznetsov's collection and you will appreciate all the charm and simplicity of the analyzed derivative. I noticed that they like to give a similar thing on the exam to check whether the student understands how to find the derivative of a complex function, or does not understand.

The next example is for an independent solution.

Example 3

Find the derivative of a function

Hint: First we apply the linearity rules and the product differentiation rule

Complete solution and answer at the end of the tutorial.

Now is the time to move on to something more compact and cute.
It is not uncommon for an example to give a product of not two, but three functions. How to find the derivative of the product of three factors?

Example 4

Find the derivative of a function

First, let's see if the product of three functions can be turned into a product of two functions? For example, if we had two polynomials in the product, then we could expand the brackets. But in this example, all functions are different: degree, exponent and logarithm.

In such cases, it is necessary consistentlyapply product differentiation rule twice

The trick is that for "y" we denote the product of two functions:, and for "ve" - \u200b\u200bthe logarithm:. Why can this be done? Is it - this is not a product of two factors and the rule does not work ?! There is nothing complicated:

Now it remains to apply the rule a second time to the parenthesis:

You can still be perverted and put something outside the brackets, but in this case it is better to leave the answer in this form - it will be easier to check.

The considered example can be solved in the second way:

Both solutions are absolutely equivalent.

Example 5

Find the derivative of a function

This is an example for an independent solution, in the sample it is solved in the first way.

Let's look at similar examples with fractions.

Example 6

Find the derivative of a function

There are several ways to go here:

Or like this:

But the solution will be written more compactly if first of all we use the rule for differentiating the quotient , taking for the entire numerator:

In principle, the example is solved, and if you leave it as it is, it will not be an error. But if you have time, it is always advisable to check on a draft, but is it possible to simplify the answer? Let us reduce the expression of the numerator to a common denominator and get rid of the three-story fraction:

The disadvantage of additional simplifications is that there is a risk of making a mistake not when finding a derivative, but when it comes to banal school transformations. On the other hand, teachers often reject the assignment and ask to "bring to mind" the derivative.

A simpler example for a do-it-yourself solution:

Example 7

Find the derivative of a function

We continue to master the methods of finding the derivative, and now we will consider a typical case when the "terrible" logarithm is proposed for differentiation

Example 8

Find the derivative of a function

Here you can go a long way, using the rule of differentiating a complex function:

But the very first step immediately plunges you into despondency - you have to take an unpleasant derivative from a fractional degree, and then also from a fraction.

therefore before how to take the derivative of the "fancy" logarithm, it is preliminarily simplified using the well-known school properties:



! If you have a practice notebook on hand, copy these formulas right there. If you don't have a notebook, redraw them on a piece of paper, as the rest of the lesson examples will revolve around these formulas.

The solution itself can be structured like this:

Let's transform the function:

Find the derivative:

Preconfiguring the function itself has greatly simplified the solution. Thus, when such a logarithm is proposed for differentiation, it is always advisable to "break up" it.

And now a couple of simple examples for an independent solution:

Example 9

Find the derivative of a function

Example 10

Find the derivative of a function

All transformations and answers at the end of the lesson.

Logarithmic derivative

If the derivative of logarithms is such sweet music, then the question arises, is it possible in some cases to organize the logarithm artificially? Can! And even necessary.

Example 11

Find the derivative of a function

We have seen similar examples recently. What to do? You can consistently apply the rule for differentiating the quotient, and then the rule for differentiating the work. The disadvantage of this method is that you get a huge three-story fraction, which you don't want to deal with at all.

But in theory and practice, there is such a wonderful thing as the logarithmic derivative. Logarithms can be organized artificially by "hanging" them on both sides:

Note : since the function can take negative values, then, generally speaking, you need to use modules: that will disappear as a result of differentiation. However, the current design is also acceptable, where the defaults are taken into account complex values. But if with all the severity, then in both cases, a reservation should be made that.

Now you need to maximally "break up" the logarithm of the right side (formulas before your eyes?). I will describe this process in great detail:

Actually, we proceed to differentiation.
We enclose both parts under the stroke:

The derivative of the right-hand side is quite simple, I will not comment on it, because if you are reading this text, you must confidently cope with it.

What about the left side?

On the left we have complex function... I foresee the question: "Why, there is also one letter" igrek "under the logarithm?"

The fact is that this "one letter igrek" - ITSELF IS A FUNCTION (if not very clear, refer to the article Derived from an Implicit Function). Therefore, the logarithm is an external function, and the "game" is an internal function. And we use the rule of differentiating a complex function :

On the left side, as if by magic, we have a derivative. Further, according to the rule of proportion, we throw the "game" from the denominator of the left side to the top of the right side:

And now we recall what kind of "game" -function we discussed in differentiation? We look at the condition:

Final answer:

Example 12

Find the derivative of a function

This is an example for a do-it-yourself solution. A sample of the design of an example of this type at the end of the lesson.

With the help of the logarithmic derivative it was possible to solve any of the examples No. 4-7, another thing is that the functions there are simpler, and, perhaps, the use of the logarithmic derivative is not very justified.

The derivative of the exponential function

We have not considered this function yet. An exponential function is a function in which and the degree and base depend on "x"... A classic example that will be given to you in any textbook or in any lecture:

How to find the derivative of an exponential function?

It is necessary to use the trick just considered - the logarithmic derivative. We hang logarithms on both sides:

As a rule, the degree is taken out from under the logarithm on the right side:

As a result, on the right-hand side we have a product of two functions, which will be differentiated according to the standard formula .

Find the derivative, for this we enclose both parts under the strokes:

Further actions are simple:

Finally:

If any transformation is not entirely clear, please carefully re-read the explanations of Example # 11.

In practical tasks, the exponential function will always be more complicated than the considered lecture example.

Example 13

Find the derivative of a function

We use the logarithmic derivative.

On the right side we have a constant and the product of two factors - "x" and "logarithm of the logarithm x" (another logarithm is embedded under the logarithm). When differentiating the constant, as we remember, it is better to immediately take out the sign of the derivative so that it does not get in the way underfoot; and of course apply the familiar rule :


Proof and derivation of formulas for the derivative of the natural logarithm and the base a logarithm. Examples of calculating derivatives of ln 2x, ln 3x and ln nx. Proof of the formula for the derivative of the nth order logarithm by the method of mathematical induction.

Content

See also: Logarithm - properties, formulas, graph
Natural logarithm - properties, formulas, graph

Derivation of formulas for derivatives of the natural logarithm and the logarithm base a

The derivative of the natural logarithm of x is equal to one divided by x:
(1) (ln x) ′ \u003d.

The derivative of the logarithm base a is equal to one divided by the variable x multiplied by the natural logarithm of a:
(2) (log a x) ′ \u003d.

Evidence

Let there be some positive number not equal to one. Consider a function that depends on the variable x, which is the logarithm to the base:
.
This function is defined at. Let's find its derivative with respect to the variable x. By definition, the derivative is the following limit:
(3) .

We transform this expression to reduce it to the known mathematical properties and rules. To do this, we need to know the following facts:
AND) Logarithm properties. We need the following formulas:
(4) ;
(5) ;
(6) ;
B) Continuity of the logarithm and the property of limits for a continuous function:
(7) .
Here is some function that has a limit and this limit is positive.
IN) The meaning of the second remarkable limit:
(8) .

We apply these facts to our limit. First, we transform the algebraic expression
.
For this we apply properties (4) and (5).

.

Let us use property (7) and the second remarkable limit (8):
.

And finally, we apply property (6):
.
Logarithm base e called natural logarithm... It is designated as follows:
.
Then;
.

Thus, we have obtained formula (2) for the derivative of the logarithm.

Derivative of the natural logarithm

Once again, write out the formula for the derivative of the logarithm with respect to the base a:
.
This formula has the simplest form for the natural logarithm, for which,. Then
(1) .

Because of this simplicity, the natural logarithm is very widely used in mathematical analysis and in other branches of mathematics related to differential calculus. Logarithmic functions with other bases can be expressed in terms of the natural logarithm using property (6):
.

The base derivative of the logarithm can be found from formula (1), if the constant is taken out of the differentiation sign:
.

Other ways to prove the derivative of the logarithm

Here we assume that we know the formula for the derivative of the exponent:
(9) .
Then we can derive the formula for the derivative of the natural logarithm, given that the logarithm is the inverse function of the exponent.

Let us prove the formula for the derivative of the natural logarithm, applying the formula for the derivative of the inverse function:
.
In our case . The function inverse to the natural logarithm is the exponent:
.
Its derivative is determined by formula (9). Variables can be designated with any letter. In formula (9), replace the variable x with y:
.
Since, then
.
Then
.
The formula is proven.


Now we prove the formula for the derivative of the natural logarithm using complex function differentiation rules... Since the functions and are inverse to each other, then
.
We differentiate this equation with respect to the variable x:
(10) .
The derivative of x is equal to one:
.
We apply the rule of differentiating a complex function:
.
Here . Substitute in (10):
.
From here
.

Example

Find derivatives of ln 2x, ln 3x and ln nx.

The original functions are similar. Therefore, we will find the derivative of the function y \u003d ln nx ... Then substitute n \u003d 2 and n \u003d 3. And, thus, we obtain formulas for the derivatives of ln 2x and ln 3x .

So, we are looking for the derivative of the function
y \u003d ln nx .
Let's imagine this function as a complex function, consisting of two functions:
1) Variable-dependent functions:;
2) Variable-dependent functions:.
Then the original function is composed of functions and:
.

Find the derivative of the function with respect to the variable x:
.
Let's find the derivative of the function with respect to the variable:
.
We apply the formula for the derivative of a complex function.
.
Here we set up.

So, we found:
(11) .
We see that the derivative is independent of n. This result is quite natural if we transform the original function using the formula for the logarithm of the product:
.
is constant. Its derivative is zero. Then, according to the rule for differentiating the sum, we have:
.

; ; .

Derivative of the logarithm of the modulus x

Let's find the derivative of another very important function - the natural logarithm of the modulus x:
(12) .

Let's consider a case. Then the function has the form:
.
Its derivative is determined by the formula (1):
.

Now consider the case. Then the function has the form:
,
where.
But we also found the derivative of this function in the above example. It does not depend on n and is equal to
.
Then
.

We combine these two cases into one formula:
.

Accordingly, for the logarithm base a, we have:
.

Higher order derivatives of the natural logarithm

Consider the function
.
We found its first-order derivative:
(13) .

Find the second order derivative:
.
Find the third-order derivative:
.
Let's find the derivative of the fourth order:
.

It can be noted that the nth order derivative has the form:
(14) .
Let us prove this by the method of mathematical induction.

Evidence

Let us substitute the value n \u003d 1 into formula (14):
.
Since, then for n \u003d 1 , formula (14) is valid.

Suppose that formula (14) holds for n \u003d k. Let us prove that this implies that the formula is valid for n \u003d k + 1 .

Indeed, for n \u003d k we have:
.
We differentiate with respect to the variable x:

.
So we got:
.
This formula coincides with formula (14) for n \u003d k + 1 ... Thus, from the assumption that formula (14) is valid for n \u003d k it follows that formula (14) is valid for n \u003d k + 1 .

Therefore, formula (14), for the derivative of the nth order, is valid for any n.

Higher-order derivatives of the logarithm with the base a

To find the nth order derivative of the base a logarithm, you need to express it in terms of the natural logarithm:
.
Applying formula (14), we find the nth derivative:
.

See also:

When differentiating an exponential function or cumbersome fractional expressions, it is convenient to use the logarithmic derivative. In this article, we will look at examples of its use with detailed solutions.

Further presentation implies the ability to use the table of derivatives, the rules of differentiation and knowledge of the formula for the derivative of a complex function.


Derivation of the formula for the logarithmic derivative.

First, we make the logarithm to the base e, simplify the form of the function using the properties of the logarithm, and then find the derivative of the implicitly given function:

For example, let us find the derivative of the exponential function x to the power of x.

Taking the logarithm gives. By the properties of the logarithm. Differentiation of both sides of the equality leads to the result:

Answer: .

The same example can be solved without using the logarithmic derivative. You can carry out some transformations and go from differentiating an exponential function to finding the derivative of a complex function:

Example.

Find the derivative of a function .

Decision.

In this example, the function is a fraction and its derivative can be searched for using the rules of differentiation. But due to the cumbersome expression, this will require many transformations. In such cases, it is wiser to use the formula for the logarithmic derivative ... Why? You will understand now.

Let's find it first. In the transformations, we will use the properties of the logarithm (the logarithm of the fraction is equal to the difference between the logarithms, and the logarithm of the product is equal to the sum of the logarithms, and the degree of the expression under the logarithm sign can be taken out as a coefficient before the logarithm):

These transformations led us to a fairly simple expression, the derivative of which is easy to find:

We substitute the result obtained in the formula for the logarithmic derivative and get the answer:

To consolidate the material, we will give a couple more examples without detailed explanations.


Example.

Find the derivative of the exponential function

Do you think there is still a lot of time before the exam? Is it a month? Two? Year? Practice shows that the student copes best with the exam if he began to prepare for it in advance. There are many difficult tasks in the Unified State Exam that stand in the way of a student and a future applicant to the highest scores. You need to learn to overcome these obstacles, and besides, it is not difficult to do it. You need to understand how to work with various tasks from tickets. Then there will be no problems with new ones.

At first glance, logarithms seem incredibly complex, but detailed analysis makes the situation much simpler. If you want to pass the exam for the highest score, you should understand the concept in question, which we propose to do in this article.

Let's start by separating these definitions. What is the logarithm (log)? This is an indicator of the degree to which the base must be raised in order to obtain the indicated number. If it's not clear, let's look at an elementary example.

In this case, the base below must be raised to the second power to get the number 4.

Now let's deal with the second concept. The derivative of a function in any form is a concept that characterizes the change in a function at a reduced point. However, this is a school curriculum, and if you experience problems with these concepts separately, it is worth repeating the topic.

Derivative of the logarithm

In the tasks of the exam on this topic, several tasks can be cited as examples. To begin with, the simplest logarithmic derivative. It is necessary to find the derivative of the following function.

We need to find the following derivative

There is a special formula.

In this case x \u003d u, log3x \u003d v. Substitute the values \u200b\u200bfrom our function into the formula.

The derivative x will be equal to one. The logarithm is a little more difficult. But you will understand the principle if you just substitute the values. Recall that the derivative lg x is called the derivative of the decimal logarithm, and the derivative ln x is the derivative of the natural logorithm (base e).

Now just plug these values \u200b\u200binto the formula. Try it yourself, then check the answer.

What could be the problem here for some? We have introduced the concept of the natural logarithm. We will tell you about it, and at the same time we will figure out how to solve problems with it. You will not see anything complicated, especially when you understand how it works. You should get used to it, as it is often used in mathematics (even more so in higher education).

Derivative of the natural logarithm

At its core, it is the base e derivative of the logarithm (this is an irrational number that equals about 2.7). In fact, ln is very simple, so it is often used in mathematics in general. Actually, solving the problem with him will not be a problem either. It is worth remembering that the base e derivative of the natural logarithm will be equal to one divided by x. The most revealing solution will be the following example.

Let's imagine it as a complex function consisting of two simple ones.

Enough to convert

Looking for the derivative of u with respect to x

Let's continue with the second

We use the method for solving the derivative of a complex function by substituting u \u003d nx.

What happened in the end?

Now, let's remember what n meant in this example? It is any number that may appear in natural logarithm before x. It is important for you to understand that the answer does not depend on her. Substitute whatever you like, the answer will still be 1 / x.

As you can see, there is nothing complicated here, it is enough just to understand the principle in order to quickly and effectively solve problems on this topic. Now you know the theory, it remains to consolidate in practice. Practice solving problems to remember the principle of solving them for a long time. You may not need this knowledge after graduation, but in the exam it will be more relevant than ever. Good luck to you!