Second method of solving this integral needed

  • Thread starter Thread starter flyinjoe
  • Start date Start date
  • Tags Tags
    Integral Method
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)
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top