Skip to main content

`int x^3sinx dx` Find the indefinite integral

Recall that indefinite integral follows `int f(x) dx = F(x) +C` where:


`f(x)` as the integrand function


`F(x)` as the antiderivative of ` f(x)`


`C` as the constant of integration.


 For the given  integral problem: `int x^3 sin(x) dx` , we may apply integration by parts: `int u *dv = uv - int v *du` .


Let:


`u = x^3`  then `du =3x^2 dx`


`dv= sin(x) dx` then `v = -cos(x)`


Note: From the table of integrals, we have `int sin(u) du = -cos(u) +C` .


Applying the formula for integration by parts, we have:


`int x^3 sin(x) dx= x^3*(-cos(x)) - int ( -cos(x))* 3x^2dx`


                               `= -x^3cos(x)- (-3) int x^2*cos(x) dx`


                               `=-x^3cos(x)+3 int x^2 *cos(x) dx`


Apply another set of integration by parts on `int x^2 *cos(x) dx` .


Let:


`u = x^2` then `du =2x dx`


`dv= cos(x) dx` then `v =sin(x)`


Note: From the table of integrals, we have `int cos(u) du = sin(u) +C` .


Applying the formula for integration by parts, we have:


`int x^2 cos(x) dx= x^2*(sin(x)) - int sin(x) * (2x) dx`


                              ` = x^2sin(x)- 2 int x*sin(x) dx`


                             `= x^2sin(x)-2 int x *sin(x) dx`


Apply another set of integration by parts on `int x *sin(x) dx` .


Let: `u =x` then `du =dx`


       `dv =sin(x) dx` then `v =-cos(x)`


Note: From the table of integrals, we have `int sin(u) du =-cos(u) +C` .


`int x *sin(x) dx = x*(-cos(x)) -int (-cos(x)) dx`


                              `= -xcos(x) + int cos(x) dx`


                              `= -xcos(x) + sin(x)`


Applying `int x *sin(x) dx =-xcos(x) + sin(x)` , we get: 


`int x^2 cos(x) dx=x^2sin(x)-2 int x *sin(x) dx`


                               `= x^2sin(x)-2 [-xcos(x) + sin(x)]`


                                `=x^2sin(x)+2xcos(x) -2sin(x)` .


 Applying `int x^2 cos(x) dx=x^2sin(x)+2xcos(x) -2sin(x)` , we get the complete indefinite integral:


`int x^3 sin(x) dx=-x^3cos(x)+3 int x^2 *cos(x) dx`


                               `=-x^3cos(x)+3[x^2sin(x)+2xcos(x) -2sin(x)] +C`


                               `=-x^3cos(x)+ 3x^2sin(x) +6xcos(x) - 6sin(x) +C`

Comments

Popular posts from this blog

Is there a word/phrase for "unperformant"?

As a software engineer, I need to sometimes describe a piece of code as something that lacks performance or was not written with performance in mind. Example: This kind of coding style leads to unmaintainable and unperformant code. Based on my Google searches, this isn't a real word. What is the correct way to describe this? EDIT My usage of "performance" here is in regard to speed and efficiency. For example, the better the performance of code the faster the application runs. My question and example target the negative definition, which is in reference to preventing inefficient coding practices. Answer This kind of coding style leads to unmaintainable and unperformant code. In my opinion, reads more easily as: This coding style leads to unmaintainable and poorly performing code. The key to well-written documentation and reports lies in ease of understanding. Adding poorly understood words such as performant decreases that ease. In addressing the use of such a poorly ...

Is 'efficate' a word in English?

I routinely hear the word "efficate" being used. For example, "The most powerful way to efficate a change in the system is to participate." I do not find entries for this word in common English dictionaries, but I do not have an unabridged dictionary. I have checked the OED (I'm not sure if it is considered unabridged), and it has no entry for "efficate". It does have an entry for "efficiate", which is used in the same way. Wordnik has an entry for "efficate" with over 1800 hits, thus providing some evidence for the frequency of use. I personally like the word and find the meaning very clear and obvious when others use it. If it's not currently an "officially documented" word, perhaps its continued use will result in it being better documented.