How Do You Derive y=2^x Using the Definition of Derivative?

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

Discussion Overview

The discussion revolves around deriving the derivative of the function y=2^x using the definition of the derivative. Participants explore various methods, including first principles, logarithmic differentiation, and series expansions, while addressing the challenges and nuances involved in the derivation process.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants suggest using the definition of the derivative directly, starting with the difference quotient for y=2^x.
  • Others propose using logarithmic differentiation, noting that if y=a^x, then ln(y)=x ln(a) leads to dy/dx=y ln(a).
  • A participant mentions that the derivative can be derived from the equation 2^x=exp(x ln(2)), leading to the derivative being ln(2) * 2^x.
  • Some participants discuss the use of series expansions, with one suggesting that the limit of (2^h - 1)/h as h approaches 0 equals ln(2).
  • There is mention of the binomial theorem and its historical use in calculus, with participants debating its relevance to the current problem.
  • One participant raises the idea of proving the limit inductively, questioning its applicability to non-integer bases.
  • Several participants express confusion over the various methods presented, indicating a need for clearer explanations.
  • There are discussions about the nth derivative of 2^x, with one participant providing a formula for it based on the first derivative.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method to derive the derivative of y=2^x. Multiple competing views and approaches remain, with some participants expressing confusion over the explanations provided.

Contextual Notes

Some methods rely on assumptions about the continuity and differentiability of the functions involved. The discussions also highlight the dependence on definitions, such as the properties of logarithms and the binomial theorem, which may not be universally accepted without further clarification.

hackensack
Messages
2
Reaction score
0
Hey, I've been tiring over this problem for a while...how do you get the derivative of y=2^x using the definition of derivative? Any help would be greatly appreciated.

-Hackensack-
 
Physics news on Phys.org
hackensack said:
Hey, I've been tiring over this problem for a while...how do you get the derivative of y=2^x using the definition of derivative? Any help would be greatly appreciated.

-Hackensack-
Hmm... You mean from first principles?

In case you don't already have it, there is a general rule for functions of the form:

[tex]f(x)\ =\ a^{u(x)}[/tex]. That rule is:

[tex]f'(x)\ =\ (a^{u(x)})[\ln(a)][u'(x)][/tex].

I'll have to think about how one would go about doing this from first principles. See http://library.thinkquest.org/C0110248/calculus/difnexp.htm?tqskip1=1&tqtime=0827 for proof of the exponential derivative rule.
 
Last edited by a moderator:
The simplest way to get the derivative is to use the equation:
2x=exln2
The derivative of the r.h.s is:
ln2.exln2=ln2.2x

To get the same result from first principles, expand the r.h.s. of the first equation in a power series, with x replaced by a (a=deltax), when you work on the difference quotient:
(2x+a-2x)/a
 
I realize this has been posted up two times but they actually both confused me so I'd like to see if I can help make it a little clearer. (a is a constant)

[tex]y = a^x[/tex]

[tex]\ln y = \ln \left( a^x \right)[/tex]

[tex]\ln y = x \ln (a)[/tex]

[tex]\frac{dy}{dx} \left( \frac{1}{y} \right) = \ln (a)[/tex]

[tex]\frac{dy}{dx} = y \ln(a)[/tex]

[tex]\frac{dy}{dx} = a^x \ln(a)[/tex]


Hope that helps, whenever differentiating [itex]f(x)^{g(x)}[/itex] it can be tackled in the same way.
 
hackensack said:
Hey, I've been tiring over this problem for a while...how do you get the derivative of y=2^x using the definition of derivative? Any help would be greatly appreciated.

-Hackensack-

If you really mean "using the definitionof the derivative then you would start this way:

y(x+h)- y(x)= 2x+h- 2x= 2x(2h-1) so

(y(x+h)- y(x))/h= 2x((2h- 1)/h)

The derivative is the limit of that as h->0.

Notice that the "2x" factor does not involve h while the "(2h-1)/h" factor does not involve x. The limit will be C2x where the constant C is the limit of (2h-1)/h. The hard part is proving that that limit is ln(2).
 
:wink: (2^x) Lim ((1+1)^h -1)/h =
h-->0
=(2^x)Lim(1+h+h(h-1)/2!+h(h-1)(h-2)/3!+ - - - +(-1))/h=
h-->0
=(2^x)Lim(h+h(h-1)/2!+h(h-1)(h-2)/3!+ - - - -)/h =
h-->0
=(2^x)Lim(1+(h-1)/2!+(h-1)(h-2)/3!+ - - - -)
h-->0
=(2^x)(1-1/2!+2!/3!-3!/4!+ - + - + -)= (2^x)(1-1/2+1/3-1/4+1/5- + - +)

=(2^x)(ln2). I've just finished HallsofIvy's work.
 
Last edited:
implicit diffy.
 
I imagine that using a series expansion would involve the derivative anyway. May as well use L'Hospital's if you can do that...

cookiemonster
 
cookiemonster said:
I imagine that using a series expansion would involve the derivative anyway. May as well use L'Hospital's if you can do that...

cookiemonster

If you were referring to wisky40's work, that was just an expansion using the binomial theorem, known long before calculus itself (and regularly used to find derivatives in the early days of calculus).
 
  • #10
I haven't tried this but i imagine this {lim(2^h - 1)/h = ln(2), as h -->0} can also be proven inductively.
 
  • #11
Gokul43201 said:
I haven't tried this but i imagine this {lim(2^h - 1)/h = ln(2), as h -->0} can also be proven inductively.

What is the statement P(n)? Is it this:

P(n): d(nx)/dx=(ln n)n2 for all integer n.

If so, then the proof (if it can be done inductively) will only be good for integer bases, and therefore won't apply to, say, base e. Zurtex's post, on the other hand, covers all real bases.
 
  • #12
HallsofIvy said:
If you were referring to wisky40's work, that was just an expansion using the binomial theorem, known long before calculus itself (and regularly used to find derivatives in the early days of calculus).

The binomial expansion is simply the taylor series of (x + 1)^n, is it not?

cookiemonster
 
  • #13
cookiemonster said:
The binomial expansion is simply the taylor series of (x + 1)^n, is it not?

cookiemonster

Therefore what? A power series expansion of any function is its Taylor series. My point was that it doesn't necessarily "involve the derivative". The fact that the coefficients are related to the derivative means that, if one has another way of finding a power series, one can use that to find the derivative- the whole point of this thread.

For example, it is easy to see that the Taylor's series (strictly speaking "McLaurin series") for f(x)= 1/(1- x) is 1+ x+ x2+ ... by using the sum of a geometric series (known long before the calculus) and from that deduce that f '(0)= 1, f"(0)= 2, and, in general, f(n)(0)= n!.
 
  • #14
the derivative of 2^x(ln2)

Can somebody explain how to find the n'th derivative of f(x)=2^x. After getting the first derivative finding the second derivative is giving me a lot of trouble.
 
  • #15
[tex]\frac {d} {dx} 2^x (ln2) = (ln2) \frac {d} {dx} 2^x = (ln2)^2 2^x= \frac {d^2} {dx^2} 2^x[/tex]

since ln2 is a constant, independent of x.

This can be repeated any number of times to give :

[tex]\frac {d^n} {dx^n} 2^x = (ln2)^n 2^x[/tex]
 
  • #16
Zurtex said:
[tex]\frac{dy}{dx} \left( \frac{1}{y} \right) = \ln (a)[/tex]

[tex]\frac{dy}{dx} = y \ln(a)[/tex]


you can do that?
 
  • #17
cair0

Perhaps you misunderstood what Zurtex wrote:

(dy/dx) * (1/y) = ln(a)
dy/dx = y*ln(a)
 
  • #18
let y=2 ^ x
then log y = log 2^x
log y= x . log2

now, u can easily do this
 
  • #19
I posted a complete answer to this question today in the thead "introducing logarithms"
 

Similar threads

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