Author Topic: Integration by Parts  (Read 8473 times)

0 Members and 2 Guests are viewing this topic.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Integration by Parts
« on: November 07, 2012, 06:54:33 pm »
Hey, today in AP Calculus we learned something called "Integration by Ports" for integrating and i don't really get it.
I think it is something like if you have integral(f(x)*g(x)) then the solution is f(x)G(x)+integral(f'(x)G(x))+c
Is that correct?
If not, please help me by explaining :D
Thanks in advice.
« Last Edit: November 07, 2012, 07:08:13 pm by Sorunome »

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Integration by Ports
« Reply #1 on: November 07, 2012, 06:58:57 pm »
Derp! not in BC, so me not be there yet!
I am Bach.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Integration by Ports
« Reply #2 on: November 07, 2012, 07:00:02 pm »
I don't really know where in calculus i'm currently XD

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Integration by Ports
« Reply #3 on: November 07, 2012, 07:00:31 pm »
AB, BC, or 2/3?
I am Bach.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Integration by Ports
« Reply #4 on: November 07, 2012, 07:03:24 pm »
well, just talked with jacobly of irc and it is integral(f(x)g(x)) = f(x)G(x) - integral(f'(x)G(x))

G(x) is integral(g(x))

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Integration by Ports
« Reply #5 on: November 07, 2012, 07:04:09 pm »
okay... well my AB-ness doesn't know that yet
I am Bach.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Integration by Ports
« Reply #6 on: November 07, 2012, 07:07:14 pm »
*integral(f(x)g(x)) = f(x)G(x) - integral(f'(x)G(x)) + c

And now you know something epic once you get into BC :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Integration by Ports
« Reply #7 on: November 07, 2012, 07:07:24 pm »
Your in BC if your doing integration already or an equivalent course.

Integration by parts is the reverse of the product rule you learned for differentiation
If you have an integral of the form integrate(u*dv) it is the same as u*v-integrate(v*du)
an example of how to use this would be like this

take the antiderivative of x*sin(x). You would start by saying that x is u and sin(x) is dv
integrate dv(sin(x)) to get -cos(x)=v. and you differentiate u(x) to get 1(du).
you then have x*-cos(x)-integrate(-cos(x)*1)
Once you work that out you get sin(x)-x*cos(x)
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Integration by Ports
« Reply #8 on: November 07, 2012, 07:08:29 pm »
well, I'm in AB, but I read ahead
I am Bach.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Integration by Parts
« Reply #9 on: November 07, 2012, 07:09:52 pm »
take the antiderivative of x*sin(x). You would start by saying that x is u and sin(x) is dv
integrate dv(sin(x)) to get -cos(x)=v. and you differentiate u(x) to get 1(du).
you then have x*-cos(x)-integrate(-cos(x)*1)
Once you work that out you get sin(x)-x*cos(x)
That was a example we did in class XD
And i like the raw theory more, thank you anyways, i get it now :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Integration by Parts
« Reply #10 on: November 07, 2012, 07:18:33 pm »
its a common simple example. If you want to see an interesting example look up sin(x)*e^x its a really interesting use of the rules

pimathbrainiac. How far up are you? If you ever want any help just ask here on omni theres lots of good people here to help you with math problems.
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Integration by Parts
« Reply #11 on: November 07, 2012, 07:23:07 pm »
integral(sin(x)*e^x)
Erm, how is that possible? I mean, you never get rid of e^x or sin/cos multiplication in integral O.o

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Integration by Parts
« Reply #12 on: November 07, 2012, 07:28:25 pm »
no but you end up having the integral be on both sides then its just algebra to work through it

u=sin(x)
dv=e^x
integrate(sin(x)*e^x)=sin(x)*e^x-integrate(cos(x)*e^x)
for this integral you repeat the process
u=cos(x)
dv=e^x
integrate(cos(x)*e^x)= cos(x)*e^x-integrate(-sin(x)*e^x)
move the negative out of the integral
integrate(cos(x)*e^x)= cos(x)*e^x+integrate(sin(x)*e^x)
substitute back in and you get
integrate(sin(x)*e^x)=sin(x)*e^x-(cos(x)*e^x+integrate(sin(x)*e^x))
integrate(sin(x)*e^x)=sin(x)*e^x-cos(x)*e^x-integrate(sin(x)*e^x)
2*integrate(sin(x)*e^x)=sin(x)*e^x-cos(x)*e^x
integrate(sin(x)*e^x)=(sin(x)*e^x-cos(x)*e^x)/2

thats one of my favorite examples my TA showed me on integration.
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Integration by Parts
« Reply #13 on: November 07, 2012, 07:33:48 pm »
no but you end up having the integral be on both sides then its just algebra to work through it

u=sin(x)
dv=e^x
integrate(sin(x)*e^x)=sin(x)*e^x-integrate(cos(x)*e^x)
for this integral you repeat the process
u=cos(x)
dv=e^x
integrate(cos(x)*e^x)= cos(x)*e^x-integrate(-sin(x)*e^x)
move the negative out of the integral
integrate(cos(x)*e^x)= cos(x)*e^x+integrate(sin(x)*e^x)
substitute back in and you get
integrate(sin(x)*e^x)=sin(x)*e^x-(cos(x)*e^x+integrate(sin(x)*e^x))
integrate(sin(x)*e^x)=sin(x)*e^x-cos(x)*e^x-integrate(sin(x)*e^x)
2*integrate(sin(x)*e^x)=sin(x)*e^x-cos(x)*e^x
integrate(sin(x)*e^x)=(sin(x)*e^x-cos(x)*e^x)/2

thats one of my favorite examples my TA showed me on integration.
Cool, thanks, I get it! :D
The funny thing is that jacobly was explaining it to me on the same time via irc, lol
Why is integrating so more complicated than deriving? :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Integration by Parts
« Reply #14 on: November 07, 2012, 07:36:00 pm »
Why is integrating so more complicated than deriving? :D

In general, it isn't. With the problems you're working with, it's because integration maps functions to functions of at least the same class, whereas derivatives map functions to functions of at most the same class. (In other words, the same basic reason that division is harder than multiplication).
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ