Need help with this indefinite integral question please.

Click For Summary

Homework Help Overview

The discussion revolves around finding the indefinite integral of the expression cos(x/2) - sin(3x/2) dx. Participants are exploring methods of integration, particularly substitution and integration by parts, within the context of calculus.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the use of substitution, specifically letting u = x/2, and question how to handle constants in the integration process. There is also mention of applying the linearity of integrals and considering separate substitutions for each term in the integral.

Discussion Status

Some participants have provided guidance on the substitution process and the application of linearity in integrals. There is an ongoing exploration of different approaches, with no explicit consensus reached on a single method. Participants express varying levels of confidence in their attempts and reasoning.

Contextual Notes

There are indications of formatting issues in the posts that may have affected clarity. Participants are also navigating their first experiences with forum discussions and expressing concerns about their understanding and the correctness of their solutions.

Gundam44
Messages
7
Reaction score
0

Homework Statement


find the following integral:

cos(x/2) - sin(3x/2) dx

Homework Equations


I think the substitution method has to be used.
Solve integrals by parts.

The Attempt at a Solution


Let u = x/2
cosu

du/dx=1/2, I then inverted it so dx/du = 2/1 = 2
So dx=2du

Now I have cosu2du

Do I take out the constant ie: constant multiple rule?

I am not confident about where to go next.

Any help would be vastly appreciated, thank you.
 
Last edited by a moderator:
Physics news on Phys.org
Gundam44 said:

Homework Statement


find the following integral:

cos(x/2) - sin(3x/2) dx

Homework Equations


I think the substitution method has to be used.
Solve integrals by parts.

The Attempt at a Solution


Let u = x/2
cosu

du/dx=1/2, I then inverted it so dx/du = 2/1 = 2
So dx=2du

Now I have cosu2du

Do I take out the constant ie: constant multiple rule?

I am not confident about where to go next.

Any help would be vastly appreciated, thank you.
Please turn off the bold font; it looks like you are yelling at us and is super distracting.
Mod note: Fixed...I believe this is a matter of the formatting of the three numbered sections being inadventently carried over to the following text.
Of course ##\int c f(u) \, du = c \int f(u) \,du## for any function ##f(u)## and any constant ##c##.
 
Last edited by a moderator:
You should substitute not only in the cosine argument, but also in sine, so after the substitution you are left with \int 2(cos(u) - sin(3u))du right?
Now you are just a little step away from your result; integrals have linearity so yes, you can take the 2 out of the integral and easily calculate the primitives of the two terms.
 
Ray Vickson said:
Please turn off the bold font; it looks like you are yelling at us and is super distracting.

Of course ##\int c f(u) \, du = c \int f(u) \,du## for any function ##f(u)## and any constant ##c##.
Sorry I was using the template and that was how it came out, it's my first post but I will make sure it is turned of from now on. Thank you very much for the help, helps to have a bit of confidence as I am doing this as an open uni course.
 
mastrofoffi said:
You should substitute not only in the cosine argument, but also in sine, so after the substitution you are left with \int 2(cos(u) - sin(3u))du right?
Now you are just a little step away from your result; integrals have linearity so yes, you can take the 2 out of the integral and easily calculate the primitives of the two terms.
Oh thank you very much mastrofoffi, I was reluctant to go on to the second part as I was concerned about the first but that makes a lot of sense.
 
mastrofoffi said:
You should substitute not only in the cosine argument, but also in sine, so after the substitution you are left with \int 2(cos(u) - sin(3u))du right?
Now you are just a little step away from your result; integrals have linearity so yes, you can take the 2 out of the integral and easily calculate the primitives of the two terms.

The OP could also write ##\int [\cos(x/2)-\sin(3x/2)] \, dx = \int \cos(x/2) \, dx - \int \sin(3x/2) \, dx##, and use two separate substitutions: ##u = x/2## in the first integral and ##u = 3x/2## in the second one.
 
  • Like
Likes   Reactions: Mark44 and mastrofoffi
Gundam44 said:
Oh thank you very much mastrofoffi, I was reluctant to go on to the second part as I was concerned about the first but that makes a lot of sense.

Note that you can always check the answer to an indefinite integral by differentiating the answer to check you get the original function back.

In principle, you should never be unsure whether you have the right answer.

Using this approach you could also check for yourself the linearity of integrals and that, in particular, you can take a constant outside the integral.
 
  • Like
Likes   Reactions: mastrofoffi
Okay I have had a good crack at it, my answer is:

2sin(x/2) - 2/3(-cos 3x/2) + c

Any thoughts?
 
Gundam44 said:
Okay I have had a good crack at it, my answer is:

2sin(x/2) - 2/3(-cos 3x/2) + c

Any thoughts?
Did you read PeroK's post?
PeroK said:
Note that you can always check the answer to an indefinite integral by differentiating the answer to check you get the original function back.

In principle, you should never be unsure whether you have the right answer.
 
  • Like
Likes   Reactions: PeroK
  • #10
Gundam44 said:
Okay I have had a good crack at it, my answer is:

2sin(x/2) - 2/3(-cos 3x/2) + c

Any thoughts?

My thought is that you should differentiate that and see what you get.
 
  • #11
Mark44 said:
Did you read PeroK's post?
At least you read it!
 
  • #12
PeroK said:
At least you read it!
Sorry I missed that post, so many posts, I feel this is going okay as my first ever forum though. I will now differentiate.
 
  • #13
Gundam44 said:
Sorry I missed that post, so many posts, I feel this is going okay as my first ever forum though. I will now differentiate.

Good. That is something you should get into the habit of doing automatically, always.
 
  • #14
Differentiated and got -sin(3x/2) so yeah looks good. Thank you very much for the help, I really appreciate it.
 
  • #15
Ray Vickson said:
Good. That is something you should get into the habit of doing automatically, always.

Yeah makes complete sense as it's the reverse of integration.
 

Similar threads

Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
19
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 27 ·
Replies
27
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K