#differential
48 messages · Page 1 of 1 (latest)
you found the derivative of 2^(-x) wrong
2^(-x) can be viewed as a composition of two functions
f(g(x)) = 2^(-x)
f(x) = 2^x
g(x) = -x
then we can apply the chain rule to find the derivative
d/dx [f(g(x))] = f'(g(x))g'(x)
you can also use quotient rule because 2^(-x) = 1/(2^x), so it is a quotient of f(x) = 1 and f(x) = 2^x
but i think its easier to apply chain rule
does this work?
sorry thats how i got taught to do the chain rule :p
i mean
all good, nothing wrong here
just
i'll need to redo the work myself to verify it
in a different way
ok no problem
yeah thats why i pinged yoavmal
$\dv{2^{-x}}{2^x}$ is the part that confuses me
yoavmal
you can write it as $f(x)=\frac{1}{x}$ and $g(x)=2^x$
yoavmal
but you can also write it as $f(x)=2^x$ and $g(x)=-x$
yoavmal
which seems generally easier to me
yeh thats what cosmic said, i have just never done it like that so i wasnt sure
try it this way
it's the same technique
at least
that'd be my recommendation since it's easier to work on
moreso, to calculate this, i'd need to calculate the derivative of 2^-x and the derivative of 2^x
not f'(x)g(x)g'(x), f'(g(x))g'(x)
ah i see
f(x) = 2^x, g(x) = -x
f'(x) = ln(2)2^x, g'(x) = -1
f'(g(x)) = ln(2)2^(-x)
f'(g(x))g'(x) = ln(2)2^(-x) * (-1) = -ln(2)2^(-x)
you're welcome