Does anybody know how to solve the limit of #(x^x-x^{x^2})/(1-x)^2# when #x->1# ?

1 Answer
Apr 2, 2018

-1
warning: long answer

Explanation:

plugging #x=1# directly gives: #(1^1-1^(1^2))/(1-1)^2=0/0#

since this is indeterminate form, you can find the derivative of the numerator and divide that by the derivative of the denominator and still have the same limit (L'hopital's rule)

limit is now: #lim_(xrarr1)(d/dx(x^x-x^(x^2)))/(d/dx((1-x)^2))#

#lim_(xrarr1)(x^x(lnx+1)-x^(x^2)(2xlnx+x))/(2(1-x)(-1)#

[SIDE NOTE: to find the derivatives of #x^x#, set #y=x^x#, then take the natural log of both sides:

#lny=ln(x^x)#
#lny=xlnx# (power rule for logarithms)

then use implicit differentiation:

#1/y(dy/dx)= 1(lnx)+x/x#
#dy/dx=y(lnx+1)#

substitute y back in: #dy/dx=x^x(lnx+1)#
do the same for #x^(x^2)#]

the limit simplifies to: #lim_(xrarr1)(x^x(lnx+1)-x^(x^2)(2xlnx+x))/(2x-2)#

plugging in #x=1# gives #0/0# so do l'hopitals rule again:

limit becomes:

#lim_(xrarr1)(-x^(x^2)(2xlnx+x)^2+x^x(lnx+1)^2-x^(x^2)(2lnx+3)+x^(x-1))/2#

(might want to check https://www.derivative-calculator.net/)

plugging in #x=1# gives #-2/2=-1#

check with this graph:
graph{(x^x-x^(x^2))/((1-x)^2) [-2.605, 6.165, -2.768, 1.617]}