What is #f(x) = int 3x^3-2x+x^2e^(3x-2) dx# if #f(1) = 3 #?
1 Answer
Your teacher is a sadist.
Explanation:
Man, this one is just brutal.
Since its the integral of the sum of 3 terms, you can chop it up into bits, that can be integrated separately. So you'd have:
The first two integrals are easy...
leaving only that irritating last integral, which we can attack separately.
You can use integration by parts. But you have to lather, rinse, and repeat (do it twice.)
For integration by parts, remember: if you have u and v, both functions of x, then:
So, for
We can then write:
...closer. We've got to use integration by parts one more time on the remaining integral.
This time, we let x be u, and
...and we can now solve the remaining integral:
So we can substitute all this back into eq. 2:
...I cheated & checked this with wolfram. It tells me the preferred way to write this is:
...and we can now substitute THIS all the way back in eq. 1:
...then we can evaluate this solution at x = 1, solve for c, and knock off for the day.
We're told that f(1) = 3. So
c = 3.754