Understanding the Derivative of 2^(x^2)

  • Thread starter Thread starter aguycalledwil
  • Start date Start date
  • Tags Tags
    Differentiating
Click For Summary
SUMMARY

The discussion centers on differentiating the function y = 2^(x^2). The user initially applied the power rule incorrectly, treating x as a constant, which led to an erroneous factor in their derivative calculation. The correct approach involves using the chain rule, where the derivative is calculated as (f(g(x)))' = f'(g(x))g'(x). The correct derivative results in 2x * 2^(x^2) * ln(2), which aligns with the expected gradient of 64ln(2) when x=2.

PREREQUISITES
  • Understanding of the chain rule in calculus
  • Familiarity with exponential functions and their derivatives
  • Knowledge of implicit differentiation techniques
  • Basic proficiency in LaTeX for mathematical expressions
NEXT STEPS
  • Study the chain rule in calculus in detail
  • Practice differentiating composite functions
  • Learn about implicit differentiation and its applications
  • Explore LaTeX for formatting mathematical equations
USEFUL FOR

Students and educators in mathematics, particularly those studying calculus, as well as anyone looking to improve their skills in differentiating complex functions.

aguycalledwil
Messages
36
Reaction score
0
I'm trying to differentiate 2^(x^2), but I'm getting a factor of two out and can't figure out why. I approached the question as follows..

y=2^(x^2) , so y=(2^x)^x
u=2^x y=u^x

du/dx = (2^x)ln2
dy/du = xu^(x-1)
= x(2^x)^(x-1)
= x(2)^((x^2)-x)

So dy/dx =
[x(2)^((x^2)-x)]*[(2^x)Ln2]

However, on the mark scheme it says when x=2, the gradient should be 64ln2. Using my derivative, at x=2 the gradient comes out at 32ln2. Can anyone help me find where I've gone wrong? Much appreciated!
 
Physics news on Phys.org
2^{x^2} is a composition of functions f(x) = 2^x and g(x) = x^2. You know that f'(x) = 2^x \ln 2 and g'(x) = 2x

There is a formula for derivative of composite functions. (f \circ g)'(x) = f'(g(x))g'(x). This is just another form of the chain rule. After blindly pasting the functions we already have, we get 2x \cdot 2^{x^2} \ln 2

I can't see what error you made as those formulas are not very readable. Try using latex.
 
aguycalledwil said:
I'm trying to differentiate 2^(x^2), but I'm getting a factor of two out and can't figure out why. I approached the question as follows..

y=2^(x^2) , so y=(2^x)^x
u=2^x y=u^x

du/dx = (2^x)ln2
dy/du = xu^(x-1)

That's wrong right there. The rule \frac{d}{dx}x^n = nx^{n-1} ONLY applies when n is a constant. If n is a variable like x or a function of x, the rule simply does not work.

Your best bet here is to use Chain Rule as hamsterman mentioned.
 
Another approach is to take the (natural) log of both sides of y = 2x2 and differentiate implicitly.
 
Thanks guys, got it!
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
3K
Replies
19
Views
2K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 24 ·
Replies
24
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K