steffen ecca said:
Homework Statement
what is the correct integral of
Homework Equations
2^{-x}
The Attempt at a Solution
Is -{1/(x-1)}*2^{1-x} correct or do I have to apply some substitution?
You need to learn very quickly and very thoroughly that the derivative formula [itex]d(x^n)/dx= nx^{n-1}[/itex] and the corresponding integral formula [itex]\int x^n dx= 1/(n+1) x^{n+1}+ C[/itex] only hold when the variable, x, is the
base and the exponent is a
constant. The situation in which the base is a constant and the exponent is x, is completely different. Both derivative and integral, for example, of [itex]e^x[/itex] is just [itex]e^x[/itex] itself (plus "C" for the integral, of course).
To differentiate something like [itex]e^{f(x)}[/itex], you need to use the chain rule:
Let u= f(x) so that [itex]e^{f(x)}= e^u[/itex]. Then [itex]d(e^u)/dx= e^u du/dx[/itex] or [itex]d(e^{f(x)}/dx= e^{f(x)}df/dx[/itex]. The integral is harder- we cannot use "substitution", which is essentially the "inverse" of the chain rule, unless we already have the "df/dx= f'(x)" in the integral: [itex]\int e^{f(x)}f'(x)dx= e^{f(x)}+ C[/itex].
In the special case that f(x) is "linear", that is [itex]f(x)= ax+ b[/itex] (like your example here, a= -1, b= 0) then f'(x)= a, a constant, and we can take a constant in and out of an integral at will. To integrate [itex]\int e^{-x}dx[/itex], let u= -x so that du= -dx and now there are two ways of thinking:
1) Multiply by (-1)(-1)= 1, taking one -1 inside the integral: [itex]\int e^{-x}dx= -\int -e^{-x}dx[/itex] and now let u= -x so that du= -dx and [itex]-\int -e^{-x}dx= -\int e^{-x}(-dx)= -\int e^u du[/itex][itex]- e^u+ C= -e^{-x}+ C[/itex].
2) Start of by letting u= -x so that du= -dx and -du= dx so that [itex]\int e^{-x}dx= \int e^u(-du)= -\int e^u du= e^u+ C= e^{-x}+ C[/itex]