How do you evaluate the integral int 3sinx+4cosxdx3sinx+4cosxdx?

1 Answer

int 3sin(x)+4cos(x) dx = 4sin(x)-3cos(x) +C3sin(x)+4cos(x)dx=4sin(x)3cos(x)+C

Explanation:

This integral is easier than it looks!

The first thing that we need to realize is that we can break the integral up over the addition:

int 3sin(x)+4cos(x) dx = int3sin(x)dx+int 4cos(x) dx3sin(x)+4cos(x)dx=3sin(x)dx+4cos(x)dx

Then we can move the constants out of the integrals:

int3sin(x)dx+int 4 cos(x) dx= 3 int sin(x)dx+4 int cos(x) dx 3sin(x)dx+4cos(x)dx=3sin(x)dx+4cos(x)dx

Now we can just sub in the antiderivatives for sin(x)sin(x) and cos(x)cos(x).
You should have these memorized, they come up a lot!

int sin(x) = -cos(x) +c_1sin(x)=cos(x)+c1
int cos(x) = sin(x) + c_2cos(x)=sin(x)+c2

3 int sin(x)dx+4 int cos(x) dx = 3(-cos(x) + c_1) + 4(sin(x) +c_2) 3sin(x)dx+4cos(x)dx=3(cos(x)+c1)+4(sin(x)+c2)

so the final answer is:

int 3sin(x)+4cos(x) dx = 4sin(x)-3cos(x) + C3sin(x)+4cos(x)dx=4sin(x)3cos(x)+C

because this is an indefinite integral, we stop here and do not need to evaluate further.

note: I combined the two constants of integration, c_1c1 and c_2c2 into one constant CC because it's easier to deal with