

MathJax takes care of displaying it in the browser. This allows for quick feedback while typing by transforming the tree into LaTeX code. The parser is implemented in JavaScript, based on the Shunting-yard algorithm, and can run directly in the browser. The Derivative Calculator has to detect these cases and insert the multiplication sign. A specialty in mathematical expressions is that the multiplication sign can be left out sometimes, for example we write "5x" instead of "5*x". In doing this, the Derivative Calculator has to respect the order of operations.

It transforms it into a form that is better understandable by a computer, namely a tree (see figure below). If we differentiate 1/x we get an answer of (-1/x 2).For those with a technical background, the following section explains how the Derivative Calculator works.įirst, a parser analyzes the mathematical function. So to find the second derivative of ln(4x), we just need to differentiate 1/x To calculate the second derivative of a function, you just differentiate the first derivative.įrom above, we found that the first derivative of ln(4x) = 1/x. Ln4 is a constant, the derivative of a constant is 0
THE DERIVATIVE OF LOG HOW TO
How to find the derivative of ln(4x) using the product property of logs f(x) Since 4x is the product of 4 and x, we can use the product properties of logs to rewrite ln(4x): In other words taking the log of a product is equal to the summing the logs of each term of the product. The product property of logs states that ln(xy) = ln(x) + ln(y). Since ln is the natural logarithm, the usual properties of logs apply.

(Regardless of the value of the constant, the derivative of ln(ax) is always 1/x)įinding the derivative of ln(4x) using log properties It’s possible to generalize the derivative of expressions in the form ln(ax) (where a is a constant value): Just be aware that not all of the forms below are mathematically correct. Using the chain rule, we find that the derivative of ln(4x) is 1/xįinally, just a note on syntax and notation: ln(4x) is sometimes written in the forms below (with the derivative as per the calculations above). (The derivative of ln(4x) with respect to 4x is (1/4x)) How to find the derivative of ln(4x) using the Chain Rule: F'(x) We will use this fact as part of the chain rule to find the derivative of ln(4x) with respect to x. In a similar way, the derivative of ln(4x) with respect to 4x is (1/4x). The derivative of ln(s) with respect to s is (1/s) The derivative of ln(x) with respect to x is (1/x) But before we do that, just a quick recap on the derivative of the natural logarithm. Now we can just plug f(x) and g(x) into the chain rule. Then the derivative of F(x) is F'(x) = f’(g(x)).g’(x) We can find the derivative of ln(4x) (F'(x)) by making use of the chain rule.įor two differentiable functions f(x) and g(x) Let’s define this composite function as F(x): So if the function f(x) = ln(x) and the function g(x) = 4x, then the function ln(4x) can be written as a composite function. Let’s call the function in the argument g(x), which means: Ln(4x) is in the form of the standard natural log function ln(x), except it does not have x as an argument, instead it has another function of x (4x). Using the chain rule to find the derivative of ln(4x) To perform the differentiation, the chain rule says we must differentiate the expression as if it were just in terms of x as long as we then multiply that result by the derivative of what the expression was actually in terms of (in this case the derivative of 4x). This means the chain rule will allow us to perform the differentiation of the function ln(4x).
