- #1
bzz77
- 34
- 0
Integration by parts--I can't reproduce a given answer
I am working through an example problem that involves integration by parts. The answer is given, but the answer I get is different.
Can anyone help me identify the problem? Is it me or the given answer?
Question:
∫ [ (Ni) (d2 Nj / dx2) ] dx
Given answer:
- ∫ [ (dNi / dx) (dNj / dx) ] dx + boundary terms
Answer I get (additional term):
Ni * dNi/dx - ∫ [ (dNi / dx) (dNj / dx) ] dx + boundary terms
Thanks a lot for any help!
I am working through an example problem that involves integration by parts. The answer is given, but the answer I get is different.
Can anyone help me identify the problem? Is it me or the given answer?
Question:
∫ [ (Ni) (d2 Nj / dx2) ] dx
Given answer:
- ∫ [ (dNi / dx) (dNj / dx) ] dx + boundary terms
Answer I get (additional term):
Ni * dNi/dx - ∫ [ (dNi / dx) (dNj / dx) ] dx + boundary terms
Thanks a lot for any help!