Solve Integral with Integration by Parts: 3xcos(x/2)dx

Click For Summary

Homework Help Overview

The discussion revolves around solving the integral \(\int 3x\cos\left(\frac{x}{2}\right)dx\) using integration by parts. Participants express confusion regarding their attempts and the correctness of their solutions.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Several participants outline their attempts at integration by parts, defining \(u\) and \(dv\) but question the correctness of their derived expressions for \(v\) and the integration steps. There is a discussion about potential mistakes in the integration process and the implications of these errors.

Discussion Status

Participants are actively engaging with each other's attempts, pointing out possible errors and suggesting alternative approaches. There is a recognition of mistakes made in the integration process, particularly regarding the factor of 2 in the expression for \(v\) and signs in the integration of sine.

Contextual Notes

Some participants mention the need for clarity in the setup of the integral and the definitions used, indicating that assumptions about the integration process may need to be revisited.

Telemachus
Messages
820
Reaction score
30

Homework Statement


Hi there. I'm confused about this exercise. It asks me to solve the integral using integration by parts. And the integral is:

[tex]\displaystyle\int_{}^{}3x\cos(\displaystyle\frac{x}{2})dx[/tex]

The Attempt at a Solution


What I did:

[tex]u=3x[/tex]
[tex]du=3dx[/tex]
[tex]dv=cos(\displaystyle\frac{x}{2})[/tex]
[tex]v=\sin(\displaystyle\frac{x}{2})[/tex]

Then:

[tex]\displaystyle\int_{}^{}3x\cos(\displaystyle\frac{x}{2})dx=3x\sin(\displaystyle\frac{x}{2})-\displaystyle\int_{}^{}\sin(\displaystyle\frac{x}{2})3dx=3x\sin(\displaystyle\frac{x}{2})-3\cos(\displaystyle\frac{x}{2})[/tex]

And derive gives me:

[tex]\displaystyle\int_{}^{}3x\cos(\displaystyle\frac{x}{2})dx=12\cos(\displaystyle\frac{x}{2})+6x\sin(\displaystyle\frac{x}{2})[/tex]

So I think I'm doing something wrong, but I don't know what. And actually in my first attempt to a solution I got something like: [tex]\displaystyle\int_{}^{}3x\cos(\displaystyle\frac{x}{2})dx=\displaystyle\frac{1}{3}[x\sin(\displaystyle\frac{x}{2})-\cos(\displaystyle\frac{x}{2})][/tex], I arrived to this result by first taking the 3 out of the integral, and passing it to the other side at the end.

Any help will be thanked.

Bye there.
 
Physics news on Phys.org
Telemachus said:

Homework Statement


Hi there. I'm confused about this exercise. It asks me to solve the integral using integration by parts. And the integral is:

[tex]\displaystyle\int_{}^{}3x\cos(\displaystyle\frac{x}{2})dx[/tex]

The Attempt at a Solution


What I did:

[tex]u=3x[/tex]
[tex]du=3dx[/tex]
[tex]dv=cos(\displaystyle\frac{x}{2})[/tex]
[tex]v=\sin(\displaystyle\frac{x}{2})[/tex]

Then:

[tex]\displaystyle\int_{}^{}3x\cos(\displaystyle\frac{x}{2})dx=3x\sin(\displaystyle\frac{x}{2})-\displaystyle\int_{}^{}\sin(\displaystyle\frac{x}{2})3dx=3x\sin(\displaystyle\frac{x}{2})-3\cos(\displaystyle\frac{x}{2})[/tex]

And derive gives me:

[tex]\displaystyle\int_{}^{}3x\cos(\displaystyle\frac{x}{2})dx=12\cos(\displaystyle\frac{x}{2})+6x\sin(\displaystyle\frac{x}{2})[/tex]

So I think I'm doing something wrong, but I don't know what. And actually in my first attempt to a solution I got something like: [tex]\displaystyle\int_{}^{}3x\cos(\displaystyle\frac{x}{2})dx=\displaystyle\frac{1}{3}[x\sin(\displaystyle\frac{x}{2})-\cos(\displaystyle\frac{x}{2})][/tex], I arrived to this result by first taking the 3 out of the integral, and passing it to the other side at the end.

Any help will be thanked.

Bye there.

You have the right approach but you made at least 3 silly mistakes. Your expression for "v" is off by a factor of 2 and you are off by a minus sign when you integrate sine. The final step is really silly when you factor out a 3 and get 1/3.
 
Telemachus said:

Homework Statement


Hi there. I'm confused about this exercise. It asks me to solve the integral using integration by parts. And the integral is:

[tex]\displaystyle\int_{}^{}3x\cos(\displaystyle\frac{x}{2})dx[/tex]

The Attempt at a Solution


What I did:

[tex]u=3x[/tex]
[tex]du=3dx[/tex]
[tex]dv=cos(\displaystyle\frac{x}{2})[/tex]
[tex]v=\sin(\displaystyle\frac{x}{2})[/tex]
This is incorrect. Let u= x/2. Then du= (1/2)dx so dx= 2du.
[tex]\int cos(x/2)dx= 2\int cos(u)du= 2 sin(u)+ C= 2sin(x/2)+ C[/tex]
If [itex]dv= cos(x/2)[/itex], then [itex]v= 2sin(x/2)[/itex], not just sin(x/2).

Then:

[tex]\displaystyle\int_{}^{}3x\cos(\displaystyle\frac{x}{2})dx=3x\sin(\displaystyle\frac{x}{2})-\displaystyle\int_{}^{}\sin(\displaystyle\frac{x}{2})3dx=3x\sin(\displaystyle\frac{x}{2})-3\cos(\displaystyle\frac{x}{2})[/tex]

And derive gives me:

[tex]\displaystyle\int_{}^{}3x\cos(\displaystyle\frac{x}{2})dx=12\cos(\displaystyle\frac{x}{2})+6x\sin(\displaystyle\frac{x}{2})[/tex]

So I think I'm doing something wrong, but I don't know what. And actually in my first attempt to a solution I got something like: [tex]\displaystyle\int_{}^{}3x\cos(\displaystyle\frac{x}{2})dx=\displaystyle\frac{1}{3}[x\sin(\displaystyle\frac{x}{2})-\cos(\displaystyle\frac{x}{2})][/tex], I arrived to this result by first taking the 3 out of the integral, and passing it to the other side at the end.

Any help will be thanked.

Bye there.
 
Thanks :)
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
2K
Replies
12
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
3K
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
Replies
3
Views
1K