How do you differentiate logarithms with different bases and exponents?

In summary, differentiating the function 2^(n/2) is not as simple as using the power rule because it's an exponential function with a constant base and a variable exponent. The correct answer is 2^(n/2) (ln^2) 1/2. For the function lg^2 x n, it is unclear what the "x" represents and it's important to remember that logarithms are functions and not to be multiplied with variables. Differentiating log2(n) can be done by changing to a different base and using the chain rule.
  • #1
DorumonSg
64
0
How do you differentiate :

2^n/2?

You can't you just use the power rule?

The correct answer is 2^n/2 (In^2) 1/2

lg^2 x n

Where lg is log base 2.

The correct answer is 2lgn 1/n^2 . 1/n

Why is this so? Isn't lg^2 = 1? And differentiate n and we get 1?

Sorry if I sound lacking in maths, its not the main scope of my course, I just need it to process some algorithms.
 
Physics news on Phys.org
  • #2
DorumonSg said:
How do you differentiate :

2^n/2?

You can't you just use the power rule?
No, because the power rule doesn't apply. The power rule applies to functions for which the base is the variable and the exponent is a constant. Some examples include x2, x5, and x-1.

The function you're working with is an exponential function, one in which the base is constant but the exponent contains the variable.

I can't tell what your function is exactly. Is it
[tex]2^{n/2}[/tex]

or

[tex]\frac{2^n}{2}[/tex]
DorumonSg said:
The correct answer is 2^n/2 (In^2) 1/2
Minor point: there is no such thing as "In" -- it's ln, "ell" "en" short for logarithmus naturalis, Latin for natural logarithm.
DorumonSg said:
lg^2 x n
I have no idea what this is supposed to mean.
DorumonSg said:
Where lg is log base 2.

The correct answer is 2lgn 1/n^2 . 1/n

Why is this so? Isn't lg^2 = 1? And differentiate n and we get 1?

Sorry if I sound lacking in maths, its not the main scope of my course, I just need it to process some algorithms.
 
  • #3
Its [tex]2^{n/2}[/tex]

And oops my bad, I meant how do I differentiate lg^2 x n where lg is log base 2.

Since lg is log base 2 and its to the power of 2 wouldn't it be be 1? and if we differentiate n its 1?
 
  • #4
DorumonSg said:
Its [tex]2^{n/2}[/tex]

And oops my bad, I meant how do I differentiate lg^2 x n where lg is log base 2.
What does lg^2 x n mean? That "x" is throwing me off. If it means multiplication, then you are misunderstanding that logarithms are functions - log n does NOT mean that you multiply log times n.

Do you mean log2(n)?

Here's the LaTeX for this function:
[tex]log_2(n)[/tex]

Assuming that's what you meant, it's probably easiest to change to a different base.
[tex]log_2(n) = \frac{ln(n)}{ln(2)}[/tex]

Differentiating both sides gives
[tex]d/dn(log_2(n)) = d/dn(\frac{ln(n)}{ln(2)}) = \frac{1}{n} \cdot \frac{1}{ln(2)}[/tex]


Now, if you meant
[tex](log_2(n))^2[/tex]

you need to use the chain rule to differentiate this.
DorumonSg said:
Since lg is log base 2 and its to the power of 2 wouldn't it be be 1? and if we differentiate n its 1?
 

FAQ: How do you differentiate logarithms with different bases and exponents?

What is logarithm differentiation?

Logarithm differentiation is a method used in calculus to find the derivative of a function containing logarithmic expressions. It is particularly useful for solving problems involving exponential growth or decay.

How do I differentiate logarithmic functions?

To differentiate logarithmic functions, you can use the following formula: d/dx(ln(u)) = u'/u, where u is the argument of the logarithm. This means that to find the derivative of a logarithmic function, you simply need to take the derivative of the argument and divide it by the original function.

What is the purpose of logarithm differentiation?

The purpose of logarithm differentiation is to make it easier to find the derivative of a function that contains logarithmic expressions. It can also be used to solve problems where the growth or decay rate is proportional to the amount present.

Can logarithm differentiation be used with other differentiation techniques?

Yes, logarithm differentiation can be used in conjunction with other differentiation techniques, such as the product rule, quotient rule, and chain rule. It can also be used to simplify complex functions before applying other differentiation techniques.

Are there any limitations to logarithm differentiation?

While logarithm differentiation is a useful tool, it does have some limitations. It may not work for all types of functions, and it may not always produce the most efficient way to find the derivative. In some cases, it may be more beneficial to use other differentiation techniques.

Back
Top