What is #f(x) = int (x-x^2)e^x dx# if #f(0)=-2 #?

Answer 1

#f(x)=e^x(3x-x^2-3)+1#

N.B. Ignore the black writing at the top, I was just doing chem work xD

EDIT: I thought the final line was equated to '0' in my head

C=1

Solution:

First line was just integration by parts. You can see the substitutions in the box labelled (1).

Second line still contained an integrand with a product in it, so you must integrate by parts again (ONLY blue section was integrated by parts). Substitutions in box (2).

3rd through to 6th lines were just simplifying

Final line was plugging in 0, to ascertain the value of the constant that satisfies f(0)=-2

Hope this helped my dude.

Alex

Sign up to view the whole answer

By signing up, you agree to our Terms of Service and Privacy Policy

Sign up with email
Answer 2

#f(x)=e^x(-x^2+3x-3)+1#

I began drafting this answer, left, and returned in the time the other answer was posted. The other solution is correct up until the point when #C# is solved for. The following is another presentation of the same information, with a correct value of #C#:
#f(x)=int(x-x^2)e^xdx#

Use integration by parts. Let:

#{(u=x-x^2,=>,du=(1-2x)dx),(dv=e^xdx,=>,v=e^x):}#

Then:

#f(x)=(x-x^2)e^x-int(1-2x)e^xdx#
#=(x-x^2)e^x+int(2x-1)e^xdx#

Perform integration by parts again, this time letting:

#{(u=2x-1,=>,du=2color(white).dx),(dv=e^xdx,=>,v=e^x):}#

So:

#f(x)=(x-x^2)e^x+(2x-1)e^x-int2e^xdx#
#=(x-x^2)e^x+(2x-1)e^x-2e^x+C#
#=e^x(x-x^2+2x-1-2)+C#
#=e^x(-x^2+3x-3)+C#
Use the initial condition #f(0)=-2#:
#-2=e^0(-3)+C#
#-2=-3+C#
#C=1#

So:

#f(x)=e^x(-x^2+3x-3)+1#
Sign up to view the whole answer

By signing up, you agree to our Terms of Service and Privacy Policy

Sign up with email
Answer 3

To find ( f(x) = \int (x - x^2)e^x , dx ) if ( f(0) = -2 ), we need to find the antiderivative of ( (x - x^2)e^x ) first.

The antiderivative of ( (x - x^2)e^x ) is ( e^x(x - x^2 - 2) + C ), where ( C ) is the constant of integration.

Given ( f(0) = -2 ), we can substitute ( x = 0 ) into the antiderivative to find ( C ):

[ \begin{aligned} f(0) &= e^0(0 - 0^2 - 2) + C \ -2 &= 1(0 - 0 - 2) + C \ C &= -2 + 2 \ C &= 0 \end{aligned} ]

Therefore, ( C = 0 ). So, the function ( f(x) ) is given by:

[ f(x) = e^x(x - x^2 - 2) ]

Sign up to view the whole answer

By signing up, you agree to our Terms of Service and Privacy Policy

Sign up with email
Answer from HIX Tutor

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

Not the question you need?

Drag image here or click to upload

Or press Ctrl + V to paste
Answer Background
HIX Tutor
Solve ANY homework problem with a smart AI
  • 98% accuracy study help
  • Covers math, physics, chemistry, biology, and more
  • Step-by-step, in-depth guides
  • Readily available 24/7