How do you evaluate #int# s #3^s# ds?
Evaluate the integral. (Use C for the constant of integration.)
#int# s #3^s# ds
Evaluate the integral. (Use C for the constant of integration.)
1 Answer
# int \ (s)(3^s) \ ds = (s3^s)/(ln3) - 3^s/(ln^2 3) + C#
Explanation:
Let:
# I = int \ s \ 3^s \ ds #
We can use the formula for Integration By Parts (IBP):
# int \ u(dv)/dx \ dx = uv - int \ v(du)/dx \ dx # , or less formally
# " " int \ u \ dv=uv-int \ v \ du #
I was taught to remember the less formal rule in word; "The integral of udv equals uv minus the integral of vdu". If you struggle to remember the rule, then it may help to see that it comes a s a direct consequence of integrating the Product Rule for differentiation.
Essentially we would like to identify one function that simplifies when differentiated, and identify one that simplifies when integrated (or is at least is integrable).
So for the integrand
Let
# { (u,=s, => , (du)/(ds),=1), ((dv)/(ds),=3^s, =>, v,=3^x/ln3 ) :}#
Then plugging into the IBP formula:
# int \ (u)((dv)/(ds)) \ ds = (u)(v) - int \ (v)((du)/(ds)) \ ds #
gives us
# int \ (s)(3^s) \ ds = (s)(3^s/ln3)-int \ (3^s/ln3)(1) \ ds #
# :. int \ s \ 3^s \ ds = (s3^s)/(ln3) - 1/ln3 \ int \ 3^s \ ds #
# :. I = (s3^s)/(ln3) - 1/ln3 3^s/ln3 + C#
# :. \ \ = (s3^s)/(ln3) - 3^s/(ln^2 3) + C #