Is this a valid operation (integration by parts)?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
jam_27
Messages
46
Reaction score
0
Say I have a function,

f(x) = x sec (f(x)) [this is just an example function, the actual problem is more complicated]

g(x) = x f(x), then using integration by parts, I can write

I = abg(x) dx = abx f(x) dx = (f(x) [itex]\frac{x^{2}}{2}[/itex])|[itex]^{b}_{a}[/itex]- [itex]\frac{1}{2}[/itex]ab[itex]\frac{d f(x)}{dx}[/itex] x2 dx

Then can I write the integral as (cancelling dx from the numerator and denominator in integral on the RHS)?

I = (f(x) [itex]\frac{x^{2}}{2}[/itex])|[itex]^{b}_{a}[/itex]- [itex]\frac{1}{2}[/itex]f(a)f(b) x2 df

or,

I = (f(x) [itex]\frac{x^{2}}{2}[/itex])|[itex]^{b}_{a}[/itex]- [itex]\frac{1}{2}[/itex]f(a)f(b) f2 cos2 (f) df ?

This is simplified version of my actual problem. So any inputs will be very useful?

PS: I have edited the originally posted problem definition as it was causing confusion.
 
Last edited:
Physics news on Phys.org
So you need to find the integral

[tex]-\int_a^b xW(-x)dx[/tex]

where ##W## is the Lambert W-function?

What kind of answers are acceptable? A closed form solution? A series solution?

Wolfram alpha gives the following:

[tex]\int - x W(-x)dx = \frac{x^2(1 - W(-x))(2W(-x)^2+1)}{8W(-x)^2}[/tex]

which in term of your notation would be

[tex]\frac{x^2(1 + f(x))(2f(x)^2 +1)}{8f(x)^2}[/tex]
 
I know about the Lambert W-function. As I said, above is a simplified version of my actual problem. so I specifically need to know if my last 2 steps are valid operations. Thanks
 
OK.

jam_27 said:
Then can I write the integral as (cancelling dx from the numerator and denominator in integral on the RHS)?

I = (f(x) [itex]\frac{x^{2}}{2}[/itex])|[itex]^{b}_{a}[/itex]- [itex]\frac{1}{2}[/itex]f(a)f(b) x2 df

I think this is ok.

I = (f(x) [itex]\frac{x^{2}}{2}[/itex])|[itex]^{b}_{a}[/itex]- [itex]\frac{1}{2}[/itex]f(a)f(b) [itex]\frac{f}{e^{f}}[/itex]df ?

Any reason why you don't have ##f^2/e^{2f}##? You have ##x = \frac{f(x)}{e^{f(x)}}## and thus ##x^2 = \frac{f(x)^2}{e^{2f(x)}}##. No?
 
  • Like
Likes   Reactions: 1 person
Thanks, I have corrected the typo and also the original problem definition. Please see if its ok now.