Why do the rules for derivatives in calculus sometimes contradict themselves?

  • Thread starter Thread starter Robokapp
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on the complexities of differentiating the function y=x^(ln x) using various calculus rules, particularly the chain rule and logarithmic differentiation. The user, Robokapp, initially attempts to apply the chain rule but encounters inconsistencies in results. The conversation highlights the importance of correctly applying the power rule for non-constant exponents and clarifies that all differentiation rules are consistent when applied correctly. The final consensus is that the derivative can be accurately derived using the formula (u^v)'=v*u^(v-1)*u'+u^v*log(u)*v', which encompasses both constant and variable exponents.

PREREQUISITES
  • Understanding of basic calculus concepts, including derivatives and differentiation rules.
  • Familiarity with logarithmic differentiation techniques.
  • Knowledge of the chain rule and power rule in calculus.
  • Ability to manipulate exponential functions and logarithms.
NEXT STEPS
  • Study the application of logarithmic differentiation in various contexts.
  • Learn the derivation and application of the formula (u^v)'=v*u^(v-1)*u'+u^v*log(u)*v' in detail.
  • Practice differentiating functions with variable exponents to solidify understanding of the power rule.
  • Explore common pitfalls in calculus differentiation to avoid confusion in future problems.
USEFUL FOR

Students of calculus, mathematics educators, and anyone seeking to deepen their understanding of differentiation techniques, particularly in handling complex functions with variable exponents.

Robokapp
Messages
218
Reaction score
0
Well, yesterday while doing homework i came across the following:

y=x^(ln x) asking for dy/dx

now...it looked simple. in fact it caused me severe collisions between the desk and my head...and here's why!

First chapter: Being lazy i figured why not use the chain rule. so...

dy/dx=(Ln x)*x^[(Ln x)-1]*1/x because derivative of Ln x=1/x

let's work it out. Ln x *x^(Ln x)*x^-1 * 1/x or simply by moving x on bottom

Ln x * x^Ln (x) *x^-2

okay...that is one answer. Now...the book has a formula for exponential derivatives that looks like dy/dx (a^b)= a^b *1/[b ln(a)] * b'

i don't think I'm right so i will not post what i did next becasue I'm not sure on the formula. anyway, skipping to chapter 3:

The book suggests logaritmic differentiation ( i think they call it that)

so: Chapter 3:

y=x^ Ln x
Ln y=Ln[x^(ln x)]
Ln y= Ln (x)^2 by log properties where ln x^2= 2 ln x
getting derivative:
1/y*dy/dx= 2Ln (x) *1/x and we know y=x^ ln x

dy/dx = 2Ln x * x^-1 * x^(ln x)

this is almoust what i got in first try...but not quite it.
The second one, which i got on papaer but not with me is also very close, i think it only has one less x on the bottom, but it's not the smae thing

can someone straighten this mess for me please?

Natural logs are always doing this to me...

i'm looking for a reason why it doesn't work...and which one is correct. I'm sure that if i try again in a different way i'll get a different answer :D

Thank you
~Robokapp
 
Physics news on Phys.org
Robokapp said:
...
y=x^(ln x) asking for dy/dx
...
i figured why not use the chain rule. so...
dy/dx=(Ln x)*x^[(Ln x)-1]*1/x because derivative of Ln x=1/x
...
The chain rule is used on a composition of functions, ie. to find the derivative of f(g(x)) with respect to x. What did you use for f and g such that f(g(x)) = x^(ln(x)) ? Note that if f(u) = u^n and g(x) = ln(x) as you seem to have used in your derivative, you only get f(g(x)) = ln(x)^n, not x^(ln(x)) as is required.
Robokapp said:
...

The book suggests logaritmic differentiation ( i think they call it that)

so: Chapter 3:

y=x^ Ln x
Ln y=Ln[x^(ln x)]...
You should justify this step, as ln carries a limited domain. Show that y is always positive, and thus the domains of the two functions are the same.
Robokapp said:
...
Ln y= Ln (x)^2
by log properties where ln x^2= 2 ln x
...
Be careful! ln(x^2) = 2*ln(x), but you only have [ln(x)]^2. No further simplification is possible. The result of this differentiation is the correct one.
 
Last edited:
Use the power rule
\frac{d}{dx} \ u^v=v \ u^{v-1} \ \frac{du}{dx}+u^v \ \log(u) \ \frac{dv}{dx}
(u^v)'=v*u^(v-1)*u'+u^v*log(u)*v'
 
lurflurf said:
Use the power rule
\frac{d}{dx} \ u^v=v \ u^{v-1} \ \frac{du}{dx}+u^v \ \log(u) \ \frac{dv}{dx}
(u^v)'=v*u^(v-1)*u'+u^v*log(u)*v'

Ln x *x^(Ln x)*x^-1 * 1/x

i did. well i said it's chain rule...i can't tell the difference between the two. i can do derivatives, but i can't tell what rule I'm using...i just...do it!

For some reason the power rule won't work if the power is not constant i think.

let's try.

x^2 => 2X right?
10^2 => 2*10^1*0, and that equals zero.

e^x=> e^x*x' so e^x=> e^x
but e^2 => 2e^1 * 0 => 0 which is not right. derivative of e^2 is not zero...but the exponential rule would make it be zero becasue of the * derivative of power.

i don't know...these rules contradict themselves depnding on scenario.

let's look at sin(xy)=0

cos(xy)*(y+x*dy/dx)=0 by chain rule

by product/power whatever rule:

consider (Sin (xy))^1

sin(xy)^-1*cos(xy)*(y+x*dy/dx)=0

so cot(xy)*(y+x*dy/dx)=0...and it's clearly wrong.

I'm getting dizzy...LOL
 
Robokapp said:
Ln x *x^(Ln x)*x^-1 * 1/x
i did. well i said it's chain rule...i can't tell the difference between the two. i can do derivatives, but i can't tell what rule I'm using...i just...do it!
For some reason the power rule won't work if the power is not constant i think.
let's try.
x^2 => 2X right?
10^2 => 2*10^1*0, and that equals zero.
e^x=> e^x*x' so e^x=> e^x
but e^2 => 2e^1 * 0 => 0 which is not right. derivative of e^2 is not zero...but the exponential rule would make it be zero becasue of the * derivative of power.
i don't know...these rules contradict themselves depnding on scenario.
let's look at sin(xy)=0
cos(xy)*(y+x*dy/dx)=0 by chain rule
by product/power whatever rule:
consider (Sin (xy))^1
sin(xy)^-1*cos(xy)*(y+x*dy/dx)=0
so cot(xy)*(y+x*dy/dx)=0...and it's clearly wrong.
I'm getting dizzy...LOL
All the rules are consistent.
x^2 => 2X right?
yes
10^2 => 2*10^1*0, and that equals zero.
yes
e^x=> e^x*x' so e^x=> e^x
yes
but e^2 => 2e^1 * 0 => 0 which is not right. derivative of e^2 is not zero...but the exponential rule would make it be zero becasue of the * derivative of power.
(e^2)'=0 as it is a constant
i don't know...these rules contradict themselves depnding on scenario.
let's look at sin(xy)=0
cos(xy)*(y+x*dy/dx)=0 by chain rule
by product/power whatever rule:
consider (Sin (xy))^1
sin(xy)^-1*cos(xy)*(y+x*dy/dx)=0
so cot(xy)*(y+x*dy/dx)=0...and it's clearly wrong.
should be
sin(xy)^(1-1)*cos(xy)*(y+x*dy/dx)=0
cos(xy)*(y+x*dy/dx)=0
since sin(xy)^0=1

I gave the power rule in a form that allows the base and exponent to both be nonconstant if needed.
Many calculus books are confusing in that they give many rules for the different cases

(u^a)'=a*u^(a-1)*u' (a constant)
and
(a^v)'=a^v*log(a)*v' (a constant)
are both special cases of
(u^v)'=v*u^(v-1)*u'+u^v*log(u)*v'

which is easily derived from
u^v=exp(v*log(u))
given derivatives of exp and log and the product rule
(u^v)=(exp(v*log(u)))'
derivative exp and chain rule
=exp(v*log(u))(v*log(u))'
product rule and u^v=exp(v*log(u))
=u^v(v(log(u))'+log(u)v')
derivative log
=u^v(vu'/u+log(u)v')
rearanging to final form
u^v=v*u^(v-1)*u'+u^v*log(u)*v'
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
2
Views
1K