Integrating $\int x^2\cos\left({\frac{x}{2}}\right)dx$ by parts

  • MHB
  • Thread starter karush
  • Start date
  • Tags
    Dx
In summary, the conversation is about using integration by parts to solve the integral of $\int x^2\cos\left({\frac{x}{2}}\right)dx$. The method involves breaking down the integral into two parts, $u={x}^{2}\ dv=\cos{\left(\frac{x}{2}\right)}dx$, and using the formula $uv-\int v \ du$ to solve for the integral. The conversation also mentions the importance of recognizing the functions involved in the integral and how their degree decreases with each application of integration by parts. The final answer is $2x^2\sin\left({\frac{x}{2}}\right)+8x\cos\left({\frac{x
  • #1
karush
Gold Member
MHB
3,269
5
$\int x^2\cos\left({\frac{x}{2}}\right)dx$
$u={x}^{2}\ dv=\cos{\left(\frac{x}{2}\right)}dx$
$du=2x dx\ v=\int\cos\left({\frac{x}{2}}\right)dx=2\sin\left({\frac{x}{2}}\right)$

Integrat by parts, just seeing if getting started ok
 
Physics news on Phys.org
  • #2
karush said:
$\int x^2\cos\left({\frac{x}{2}}\right)dx$
$u={x}^{2}\ dv=\cos{\left(\frac{x}{2}\right)}dx$
$du=2x dx\ v=\int\cos\left({\frac{x}{2}}\right)dx=2\sin\left({\frac{x}{2}}\right)$

Integrat by parts, just seeing if getting started ok

That is correct! Go on ...
 
  • #3
$$uv-\int v \ du$$

So

$$2x^2\sin\left({\frac{x}{2}}\right)-4\int x \sin\left({\frac{x}{2}}\right)dx$$

Look like another round of parts..
 
  • #4
Yup, you should notice that your original integrand consists of two functions, a polynomial and a trigonometric function. Each time you apply IBP, the degree of your polynomial should decrement by 1, eventually turning into a constant. Then, you will encounter either $\sin\left({\frac{x}{2}}\right)$ or $\cos\left({\frac{x}{2}}\right)$ which you can easily integrate.
 
  • #5
$\int x\sin{\left(\frac{x}{2}\right)}du$
$u=x\ dv=\sin\left({\frac{x}{2}}\right)dx$
$du=dx\ v=\int\sin{\left(\frac{x}{2}\right)}dx=-2\cos{\left(\frac{x}{2}\right)}$
$4\left[-2x\cos\left({\frac{x}{2}}\right)-4\sin\left({\frac{x}{2}}\right)\right]$
 
  • #6
$2x^2\sin\left({\frac{x}{2}}\right)+8x\cos\left({\frac{x}{2}}\right)-16\sin\left({\frac{x}{2}}\right)$
My final answer (I hope)
 
  • #7
karush said:
$2x^2\sin\left({\frac{x}{2}}\right)+8x\cos\left({\frac{x}{2}}\right)-16\sin\left({\frac{x}{2}}\right)$
My final answer (I hope)

+ C
 
  • #8
I seem to forget that to often...
 

Related to Integrating $\int x^2\cos\left({\frac{x}{2}}\right)dx$ by parts

1. What is the formula for integration by parts?

The formula for integration by parts is ∫u dv = uv - ∫v du, where u and v are functions of x.

2. How do you choose which part to integrate and which part to differentiate?

When choosing which part to integrate and which part to differentiate, it is helpful to use the acronym "LIATE," which stands for Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, and Exponential. The parts listed earlier in the acronym are typically easier to integrate, so it is best to choose those as the "u" part.

3. What is the purpose of using integration by parts?

The purpose of using integration by parts is to simplify the integration of a product of two functions by breaking it down into simpler parts that are easier to integrate. This method is particularly useful for solving integrals involving polynomials, trigonometric functions, and exponential functions.

4. Can integration by parts be used to solve all types of integrals?

Unfortunately, integration by parts cannot be used to solve all types of integrals. It is most effective for integrals involving products of functions, but it may not work for more complex integrals involving radicals or other types of functions.

5. Are there any special techniques or tips for using integration by parts?

One helpful tip for using integration by parts is to choose "u" to be the more complicated function, as this will often lead to simpler integration. Additionally, if the integral becomes more complicated after using integration by parts, it may be helpful to use the method multiple times or combine it with other integration techniques such as substitution or partial fractions.

Similar threads

Replies
8
Views
326
Replies
4
Views
511
Replies
2
Views
1K
  • Calculus
Replies
8
Views
333
  • Calculus
Replies
6
Views
1K
Replies
3
Views
1K
Replies
3
Views
444
Replies
16
Views
1K
Back
Top