Second method of solving this integral needed

  • Thread starter Thread starter flyinjoe
  • Start date Start date
  • Tags Tags
    Integral Method
Click For Summary

Homework Help Overview

The problem involves evaluating the indefinite integral ∫xcos(bx) dx, with a specific focus on exploring two different methods of solving it. The subject area pertains to integral calculus, particularly integration techniques such as integration by parts and u-substitution.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to solve the integral using integration by parts and u-substitution, but questions what the second method might be. Some participants raise concerns about the validity of the solution when b = 0 and discuss whether to re-integrate for that case or redefine the domain.

Discussion Status

The discussion is ongoing, with participants exploring the implications of the solution for different cases of b. There is a recognition of the need to consider the case when b = 0, and some guidance has been offered regarding the limits and constants involved in the integration process.

Contextual Notes

Participants are considering the implications of the integral's behavior as b approaches 0, which introduces additional complexity to the problem. There is an acknowledgment of potential confusion regarding the treatment of constants during integration.

flyinjoe
Messages
17
Reaction score
0

Homework Statement


Evaluate the indefinite integral using two separate cases:
∫xcos(bx) dx



Homework Equations


Integration by parts:
∫f(x)g'(x) dx = f(x)g(x) - ∫f'(x)g(x)


The Attempt at a Solution



I solved the problem using integration by parts and u-substitution and got the answer:
(cos(bx) + bx(sin(bx))) / b^2 + C

But my professor says we should discuss the problem in two separate ways. What might be the other method of solving this problem?

Thank you!
 
Physics news on Phys.org
flyinjoe said:
But my professor says we should discuss the problem in two separate ways. What might be the other method of solving this problem?

No, he says there are two cases to consider. Does your answer work for the case b = 0?
 
My answer definitely does not work when b = 0. Wonderful!

Now, should I re-integrate with b = 0, and get 1/2 x^2 + C, or re-define the domain as b≠0 ?

Sorry if these are silly questions,
Thank you!
 
flyinjoe said:
should I re-integrate with b = 0, and get 1/2 x^2 + C,

Yes.
 
flyinjoe said:
My answer definitely does not work when b = 0. Wonderful!

Now, should I re-integrate with b = 0, and get 1/2 x^2 + C, or re-define the domain as b≠0 ?

Sorry if these are silly questions,
Thank you!

Note also that you write the indefinite integral as

$$\int dx~x\cos(bx) = \frac{bx\sin(bx) + \cos(bx) - 1}{b^2} + C'.$$
You can do because the factor I introduced, ##-1/b^2##, is just a constant which could be re-absorbed into C'.

If you now take the limit as ##b \rightarrow 0##, you will find that your answer reduces to ##x^2/2 + C'##.

(You don't need to split the factor of ##-1/b^2## off from the constant ##C = C'-1/b^2## from the original post, but if you don't you will have to throw away a "constant infinite factor" when taking the ##b \rightarrow 0## limit, and that can feel like you're being kind of shady. =P)
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
Replies
5
Views
2K
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K