General Nth Derivative f(x)=x^x: Solving a Difficult Problem

  • Context: Undergrad 
  • Thread starter Thread starter Euler2718
  • Start date Start date
  • Tags Tags
    Derivative General
Click For Summary

Discussion Overview

The discussion revolves around the challenge of finding the nth derivative of the function f(x) = x^x, as well as related functions like f(x) = x^{x^{x}}. Participants explore various methods for differentiation, including direct differentiation, power series representation, and the use of mathematical software.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant presents the derivatives of f(x) = x^x up to the fourth derivative, noting the complexity and lack of a discernible pattern.
  • Another participant suggests using logarithmic differentiation to find the first derivative, questioning the approach taken by the original poster.
  • A different participant expresses interest in deriving a formula for the nth derivative, indicating a desire for a more systematic approach rather than manual differentiation.
  • One participant proposes plotting the derivatives to identify potential patterns and mentions the possibility of proving the absence of such patterns.
  • Another participant suggests that generalizing the nth derivative of f(x) = ln^n(x) could be a useful step toward solving the problem.
  • A later reply discusses using the general product rule for differentiation and suggests generating derivatives through a mathematical program.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method for finding the nth derivative, and multiple competing approaches are presented. The discussion remains unresolved regarding the most effective strategy.

Contextual Notes

Some methods proposed involve complex mathematical concepts that may not be fully resolved, and participants express uncertainty about the patterns in the derivatives. The discussion also highlights the limitations of manual differentiation for higher-order derivatives.

Euler2718
Messages
90
Reaction score
3
I'm very interesting in functions of the nature:

f(x) = x^{x}
f(x) = x^{x^{x}}
and so on. I believe these are called tetrations? Regardless, I sought to generalize the nth derivative of f(x)=x^x and it is proving to be difficult.

First I tried just repeatedly differentiating until I could see a pattern:

f'(x) = x^{x}\left(1+\ln(x)\right)
f''(x) = x^{x-1}\left(1+x+2x\ln(x) + x\ln^{x}(x)\right)
f'''(x) = x^{x-2}\left( -1+3x+x^{2} +3x(1+x)\ln(x)+3x^{2}\ln^{2}(x)+x^{2}\ln^{3}(x)\right)
f^{4}(x) = x^{x-3}\left( 2-x+6x^{2}+x^{3}+4x(-1+3x+x^{2})\ln(x)+6x^{2}(1+x)\ln^{2}(x)+4x^{3}\ln^{3}(x)+x^{3}\ln^{4}(x) \right)

I couldn't seem to find a pattern here. So I tried representing f(x)=x^{x} as a power series:

f(x) = x^{x} = e^{x\ln(x)} = \sum_{n=0}^{\infty} \frac{1}{n!}x^n\ln^{n}(x)

Then maybe taking the derivatives of the power series could lead me to an easier pattern. After I took the first derivative I felt that it wasn't the case as:

f'(x) = \sum_{n=0}^{\infty} \frac{1}{(n-1)!}\left(1+\ln(x)\right)x^{n-1}\ln^{n-1}(x)

Which looks to be at a first glance more complex. Putting it through mathematica kind of left me with the same feeling of getting no where.

Is there anything I should be considering? Any methods that I could employ to solve my problem? I don't know much about higher level maths (I'm currently doing Calc III) .
 
Physics news on Phys.org
Simon Bridge said:
what is wrong with:
##y=x^x##
##\ln |y| = x\ln |x|##
##\qquad##... and differentiating both side wrt x.

http://www.analyzemath.com/calculus/Differentiation/first_derivative.html

I'm interesting personally in a formula that would give me any derivative. Say I wanted the 10th derivative for instance. Of course you could manually take d/dx 10 times, but I think a formula would be a nice discovery.
 
Oh I getcha...
I'd try plotting the successive analytic derivatives to see if the curves show any patterns.
The alternative would be to prove there wasn't one.

You are getting ##f^{(n)} = x^{x-n+1}\left(\sum_{i=0}^n P_i^{n-1}(x) \ln^i|x|\right)## ... something... where ##P_i^j(k)## is the ith polynomial in k of degree j.
... except the pattern breaks for n=4 with P^3,P^6,P^3,P^6,P^3 ... but this may point to a way to find a pattern.

You may want to get a computer to generate a lot of derivatives.
Good luck.
 
  • Like
Likes   Reactions: Euler2718
I've gotten to a point to where if I could generalize the nth derivative of

f(x) = \ln^{n}(x)

I might be on a good path. This generalization looks messy though.
 
Using the general product rule:

## D^{m} f(x)=D^{m}\left(\sum_{n=0}^{\infty}\frac{1}{n!}x^{n}\ln^{n}{x}\right)=\sum_{n=0}^{\infty}\frac{1}{n!}D^{m}\left(x^{n}\ln^{n}{x}\right)=##

##=\sum_{n=0}^{\infty}\frac{1}{n!}\sum_{i=0}^{m}\binom{m}{i}D^{i}(x^{n})D^{m-i}(\ln^{n}{x})##

put it into a math program and it generates the ##m##-derivatives ...
 
  • Like
Likes   Reactions: Euler2718

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K