For f(x) = x^n, I have to prove f'(x) = 1/n x^{n-1}

  • Context: Undergrad 
  • Thread starter Thread starter mathusers
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the proof of the derivative of the function f(x) = x^n, specifically addressing whether f'(x) = nx^{n-1} holds true. Participants explore various aspects of this proof, including its correctness, the application of the binomial theorem, and the conditions under which the proof is valid.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant claims to have a proof that f'(x) = nx^{n-1} using the definition of the derivative and the binomial expansion.
  • Another participant points out a typo in the proof and questions the equality of the limit expressions.
  • Some participants discuss the binomial expansion of a^n - b^n and its relevance to the proof, with differing views on its application.
  • There is a suggestion that the proof is only valid for integer values of n, while others propose using a more general form of the binomial expansion for non-integer n.
  • Participants inquire about the epsilon-delta definition of differentiability and express uncertainty about its application in this context.
  • One participant suggests using induction and the product rule as an alternative proof method for the derivative of x^n.
  • Another participant mentions logarithmic differentiation for non-integer powers.

Areas of Agreement / Disagreement

Participants express differing opinions on the validity of the original proof, particularly regarding its applicability to non-integer values of n. There is no consensus on whether the proof adequately demonstrates differentiability or if alternative methods are required.

Contextual Notes

Some participants note that the proof's validity may depend on the assumptions made about n, particularly whether it is an integer or not. The discussion includes references to the binomial theorem and its limitations in certain cases.

Who May Find This Useful

This discussion may be useful for students and individuals interested in calculus, particularly those exploring the differentiation of polynomial functions and the underlying proofs and concepts involved.

mathusers
Messages
47
Reaction score
0
consider: [tex]f:R \rightarrow R[/tex], [tex]f(x) = x^n[/tex] for some [tex]n \epsilon N[/tex]. I have the proof that [tex]f'(x) = nx^{n-1}[/tex].

PROOF:
-----------------------------------------
We choose an arbitary [tex]x[/tex] so,
[tex]f(x) = x^n[/tex]

[tex]f'(x) = \lim_{h \to 0} \frac {f(x + h) - f(x)}{h} = \lim_{h \to 0} \frac {(x + h)^n - (x)^n}{h}[/tex]

Now using the fact that [tex]a^n - b^n = (a-b)(a^{n-1} + a^{n-2}b + ... + ab^{n-2} + b^{n-1})[/tex], we get

= [tex]\lim_{h \to 0} \frac {(x + h)^n - (x)^n}{h} = \lim_{h \to 0} [ (x+h)^{n-1} + (x+h)^{n-2}x + ... + (x+h)x^{n-2} + x^{n-1} ] = nx^{n-1}.[/tex].

However I need explaining on a few things here:
1) is this proof entirely correct

2) I don't fully understand the line about [tex]a^n - b^n = (a-b)(a^{n-1} + a^{n-2}b + ... + ab^{n-2} + b^{n-1})[/tex]. Where does this a and b come from and how do u explain the expansion of [tex]a^n - b^n[/tex].

3) Although we are using the definition of the derivative to prove that if f(x) = [tex]x^n[/tex] then [tex]f'(x) = nx^{n-1}[/tex], does this proof actually directly show that the function f is differentiable? or do u have to use another individual proof? e.g. using limits etc?

4) Do you have an easier proof that [tex]f'(x) = nx^{n-1}[/tex]?

Cheers :)
 
Last edited:
Physics news on Phys.org
1) No, you made a typo, but it occurred several times so I don't know. When you compute your limit expressions, its just (x+h)^n. Once you apply the power of n, the f disappears. Also, how do you explain why the last limit and nx^(n-1) are equal?

2) That expansion is easy to show. Just expand the RHS, you will see that maybe of the terms will cancel out, so your left with only the 2 on the LHS. "a" and "b" are just any numbers, in this case you can let them equal x and h respectively.

3) To properly show differentiability, you must use "epsilon delta" proofs.

4) Yes.
[tex]\lim_{h \to 0} \frac {(x + h)^n - (x)^n}{h} = \lim_{h\to 0} \frac{ \left( \left(\begin{array}{c}n\\0\end{array}\right)x^n +\left(\begin{array}{c}n\\1\end{array}\right)x^{n-1}h + \left(\begin{array}{c}n\\2\end{array}\right)x^{n-2}h^2 + \left(\begin{array}{c}n\\3\end{array}\right)x^{n-3}h^3 \cdots +\left(\begin{array}{c}n\\n\end{array}\right)h^n \right) -x^n}{h}[/tex][tex]= \lim_{h\to 0} \left( nx^{n-1} + \left(\begin{array}{c}n\\2\end{array}\right)x^{n-2}h^1 + \left(\begin{array}{c}n\\3\end{array}\right)x^{n-3}h^2...\right) = nx^{n-1}[/tex]
 
This is correct if n is an integer, right? If n is a non-integer, you can't set [tex](\begin{array}{c}n\\2\end{array}\right)[/tex]

Anyway, just set a the constants [tex]c_0, c_1 ... c_n[/tex] instead of the [tex](\begin{array}{c}n\\c\end{array}\right)[/tex] Because these constants will be canceled anyway.
 
Well if you really want to be like that Jarle :P, then replace the factorials in the definitions of n choose k with Gamma functions.
 
1) sorry my bad. the f wasnt meant to be there when i computed the limit expresisons. glad you noticed.

2) how is that expansion done though.. it looks like binomial theorem to me? is that correct?

3) I've never come across an "epsilon /delta" proof for differentiation. I've seen it for continuity but for differentiation I've only got the one about ... [ f(x) - f(x0) / x - x0 ],... ? could you please show me a link or any other material that teaches you about the epsilon/delta way for differentiation..

4) is that method just the same as the expansion of a^n - b^n ?

cheers :)
 
1) No problem.
2)Yes its binomial theorem.
3)Just search epsilon delta differentiation in google.
4) No. Binomial expansions can deal with [itex](a-b)^n[/itex], but not a^n - b^n.
 
4) if binomial expansions can't deal with a^n - b^n then how come (2) is binomally expanded (lol if that's the correct term) .. since we are afterall expanding a^n - b^n?
 
I used binomial theorem only to expand the first term, (x+h)^n. I later note that the first term in the expansion cancels out with the 2nd term of the original limit.
 
For the epsilon delta proof, you should show that for any [itex]\epsilon > 0[/itex] there exists a [itex]\delta > 0[/itex] such that for all [itex]h, |h| < \delta[/itex]
[tex]\left| \frac{f(x + h) - f(x)}{h} - n x^{n - 1} \right| < \epsilon[/tex].

You probably don't want to do this, especially if you have no experience with this sort of proofs (I recall my first analysis class when I didn't even see how to prove [tex]\lim_{x \to a} x = a[/tex] this way :smile:).
 
  • #10
Gib Z said:
Well if you really want to be like that Jarle :P, then replace the factorials in the definitions of n choose k with Gamma functions.

Heh, I just thought of that after i posted :-p
 
  • #11
Jarle said:
This is correct if n is an integer, right? If n is a non-integer, you can't set [tex](\begin{array}{c}n\\2\end{array}\right)[/tex]

Actually the original posters proof (when typo's are corrected) is also only valid for integer n.
Well if you really want to be like that Jarle :P, then replace the factorials in the definitions of n choose k with Gamma functions
No Gibz. The correct way to "fix" it for not necessarily integer n is to use the more general form of the binomal expansion given below.

[tex](x+h)^a = x^a \, + \, \frac{a}{1!} x^{a-1} h^1 \, + \, \frac{a(a-1)}{2!} x^{a-2} h^2 \,+\, \frac{a(a-1)(a-2)}{3!} x^{a-3} h^3 \, + \, ...[/tex]

Note that this series only terminates if "a" is integer, in which case it reduces to the more familiar binomial series you posted above.
 
Last edited:
  • #12
mathusers said:
consider: [tex]f:R \rightarrow R[/tex], [tex]f(x) = x^n[/tex] for some [tex]n \epsilon N[/tex]. I have the proof that [tex]f'(x) = nx^{n-1}[/tex].

PROOF:
-----------------------------------------
We choose an arbitary [tex]x[/tex] so,
[tex]f(x) = x^n[/tex]

[tex]f'(x) = \lim_{h \to 0} \frac {f(x + h) - f(x)}{h} = \lim_{h \to 0} \frac {(x + h)^n - (x)^n}{h}[/tex]

Now using the fact that [tex]a^n - b^n = (a-b)(a^{n-1} + a^{n-2}b + ... + ab^{n-2} + b^{n-1})[/tex], we get

= [tex]\lim_{h \to 0} \frac {(x + h)^n - (x)^n}{h} = \lim_{h \to 0} [ (x+h)^{n-1} + (x+h)^{n-2}x + ... + (x+h)x^{n-2} + x^{n-1} ] = nx^{n-1}.[/tex].

However I need explaining on a few things here:
1) is this proof entirely correct

2) I don't fully understand the line about [tex]a^n - b^n = (a-b)(a^{n-1} + a^{n-2}b + ... + ab^{n-2} + b^{n-1})[/tex]. Where does this a and b come from and how do u explain the expansion of [tex]a^n - b^n[/tex].

3) Although we are using the definition of the derivative to prove that if f(x) = [tex]x^n[/tex] then [tex]f'(x) = nx^{n-1}[/tex], does this proof actually directly show that the function f is differentiable? or do u have to use another individual proof? e.g. using limits etc?

4) Do you have an easier proof that [tex]f'(x) = nx^{n-1}[/tex]?

Cheers :)
To answer the last question (the others have been dealt with), for n a positive integer, you can use the product rule and induction:
If n= 1, then f(x)= x so f'(x)= 1= 1*x0= nxn-1
so the statement is true for n= 1.

Assume the statement is true for n= k: If g(x)= xk then g'(x)= kxk-1. Now, let f(x)= xk+1= x(xk)= xg(x). By the product rule, f'(x)= (x)'g(x)+ x(g'(x))= 1(xk)+ x(kxk-1= xk+ kxk= (k+1)xk which is the correct formula for xk+1.

By induction, then, if f(x)= xn, f'(x)= nxn-1 for any positive integer n

It is easy to see that the derivative of x0 is 0(x-1)= 0 since x0= 1 is a constant.

To find the derivative of x-n, write it as 1/xn and use the quotient rule.

To find the derivative of xr where r is not an integer, use logarithmic differentiation. (You could use the product and quotient rules for r rational and reserve logarithmic differentiation for irrational powers.)

Putting all of that together, if f(x)= xr, then f'(x)= r xr-1 for r any real number.
 
  • #13
uart said:
Actually the original posters proof (when typo's are corrected) is also only valid for integer n.



No Gibz. The correct way to "fix" it for not necessarily integer n is to use the more general form of the binomal expansion given below.

[tex](x+h)^a = x^a \, + \, \frac{a}{1!} x^{a-1} h^1 \, + \, \frac{a(a-1)}{2!} x^{a-2} h^2 \,+\, \frac{a(a-1)(a-2)}{3!} x^{a-3} h^3 \, + \, ...[/tex]

Note that this series only terminates if "a" is integer, in which case it reduces to the more familiar binomial series you posted above.

Nice, uart :) I was thinking about that and revisited the thread and whoosh, an answer!
But is the binomial expansion defined for numbers that are not integers?
 
Last edited:
  • #14
uart said:
No Gibz. The correct way to "fix" it for not necessarily integer n is to use the more general form of the binomal expansion given below.

[tex](x+h)^a = x^a \, + \, \frac{a}{1!} x^{a-1} h^1 \, + \, \frac{a(a-1)}{2!} x^{a-2} h^2 \,+\, \frac{a(a-1)(a-2)}{3!} x^{a-3} h^3 \, + \, ...[/tex]

Note that this series only terminates if "a" is integer, in which case it reduces to the more familiar binomial series you posted above.

Yup sorry I only accounted for non negative reals, forgot about negative numbers :P
 
Last edited:
  • #15
Jarle said:
...
But is the binomial expansion defined for numbers that are not integers?

Sure it is. For an example of it's use for non-integer powers consider sqrt(1-x), for |x| <= 1,

[tex](1-x)^{1/2} = 1 \, - \, \frac{1}{2} x \, - \, \frac{1}{8} x^2 \, - \, \frac{1}{16} x^3 \, - \, \frac{1\times 1 \times 3 \times 5} {2^4 \times 4!} x^4 \, + \, ...[/tex]
 
  • #16
Gib Z said:
Yup sorry I only accounted for non negative reals, forgot about negative numbers :P

What you said about replacing factorial(") with Gamma("+1) in calculating the binomial coefficients is also a valid way to generalize it. The thing I was picking on is that this by itself isn't enough, you also have to make it an infinite series instead of terminating at [tex]\left(^n_n\right)[/tex], that's all.It's quite interesting that when you do generalize the binomial coefficients using Gamma() to replace factorial() that you can use the recurrance relation of Gamma to cancel out all references to Gamma. You can actually evaluate

[tex]\left(\begin{array}{c}v\\k\end{array}\right) = \frac {\Gamma(v+1)} {k! \, \Gamma(v+1-k)}[/tex]

without ever evaluting Gamma. (And of course you just end up with the more explicit form of the expansion that I posted).
 
Last edited:
  • #17
when will the serie of [tex](1-x)^{\frac{1}{2}[/tex] end? is it an infinite serie?
 
  • #18
Yes it is an infinite series, and its binomial series is identical to its taylor series.
 
  • #19
Regarding the proof of the differential of a power function, using a proof by induction is far more succinct. If the derivative of [tex]x^{k-1}[/tex] gives [tex](k - 1)x^{k-2}[/tex], then, using the product rule, the derivative of [tex]x^{k}[/itex] can be written as [tex](k - 1)x^{k-1} + x^{k-1}[/tex], which in turn simplifies to [tex]kx^{k-1}[/tex]. The derivative of [tex]f(x) = x^0[/tex] is [tex]f'(x) = 0*x^{0-1}[/tex]; the proof is complete.[/tex]
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K