We can solve the integral $\int e^x\cos\left(x\right)dx$ by applying integration by parts method to calculate the integral of the product of two functions, using the following formula
$\displaystyle\int u\cdot dv=u\cdot v-\int v \cdot du$
We can solve the integral $\int e^x\sin\left(x\right)dx$ by applying integration by parts method to calculate the integral of the product of two functions, using the following formula
$\displaystyle\int u\cdot dv=u\cdot v-\int v \cdot du$
This integral by parts turned out to be a cyclic one (the integral that we are calculating appeared again in the right side of the equation). We can pass it to the left side of the equation with opposite sign
Solving a math problem using different methods is important because it enhances understanding, encourages critical thinking, allows for multiple solutions, and develops problem-solving strategies. Read more