What is f(x) = int x-e^(x-3)dxf(x)=xex3dx if f(0)=-2 f(0)=2?

1 Answer
Jul 12, 2018

f(x)=x^2/2-e^(x-3)-2-e^(-3)f(x)=x22ex32e3

Explanation:

using that

int x-e^(x-3) dx=x^2/2-e^(x-3)+Cxex3dx=x22ex3+C
we get that
f(0)=e^(-3)+C=-2f(0)=e3+C=2 so

C=-2-e^(-3)C=2e3

we have used that

int xdx=x^2/2+C_1xdx=x22+C1

int e^(x-3)dx=e^(x-2)+C_2ex3dx=ex2+C2