Author Topic: Calculus confusion  (Read 4557 times)

0 Members and 1 Guest are viewing this topic.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Calculus confusion
« on: May 12, 2011, 07:35:51 pm »
I have started teaching myself calculus through many sources(I don't remember all  of them). I understand most of the stuff with derivatives, but what I don't really get is integrals. i understand how to do the basics just whenever it gets to more complicate problems I get completely lost. Could someone please help me by explaining this.

The hardest ones that for me are ones with fractions and lots of terms.


Thank you in advance for any help you can offer.
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 squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Calculus confusion
« Reply #1 on: May 12, 2011, 08:08:42 pm »
I'll assume that you've already been through the fundamental thm of calc, ie integral=antiderivative (more or less)

So basically, integrals are bitchy things to evaluate, and you have to try and figure out which method might be best for each problem (not like derivatives at all)...Some basic guidelines/methods (u and v are letters I will use to notate functions in terms of x)

-Power rule: you should know this one already, integral(x^n)dx=x^(n-1)/(n-1)
-property of addition: ie integral(a+b)dx=integral(a)dx+integral(b)dx
-factoring out constants: integral(a*u)dx=a(integral(u)dx)
-natural logs: integral(1/x)dx=lnx
-partial fraction decomposition: this is back from algebra, but you can use it to break large rational functions into natural log pieces
-u substitution. Let u= something and then solve for du and substitute appropriately.
For example, integral(x/(x^2+1))dx Let u=x^2+1 and du (the deriv. of u)=2x. Then, we can rewrite as integral(1/2u)du and solve from there (it becomes ln(u)/2, now substitute back in to get ln(x^2+1)/2)
-Product rule: simply, the integral of the product of two functions u and dv can be rewritten as uv-integral(vdu) (where dv is the derivative of v, etc)
« Last Edit: May 12, 2011, 08:13:22 pm by squidgetx »

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Calculus confusion
« Reply #2 on: May 12, 2011, 08:35:25 pm »
Could you explain a little more on substitution and the product rule?

Also, how do you evaluate it with limits on the upper bounds?
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 AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Calculus confusion
« Reply #3 on: May 12, 2011, 09:57:55 pm »
I'll assume that you've already been through the fundamental thm of calc, ie integral=antiderivative (more or less)

So basically, integrals are bitchy things to evaluate, and you have to try and figure out which method might be best for each problem (not like derivatives at all).

No doubt Integrals are a pain to do, but they *can* be solved algorithmically if both the integrand and the integral are elementary. That's a bit beyond this discussion, though.

@Ruler, for an integral on the interval [A,B], you may find the anti-derivative of f(x) and the definite integral is equal to f(B)-f(A) according to the fundamental theorem of Calculus. However, be careful that the anti-derivative can be found. The vast majority of functions have what are called non-elementary anti-derivatives. These are basically anti-derivatives that exist, but cannot be written down nor found with any of the methods listed by squidgetx.
« Last Edit: May 12, 2011, 10:03:11 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Calculus confusion
« Reply #4 on: May 12, 2011, 10:01:32 pm »
I like derivatives more they have a set formula for how to find them. This seems too much like guess work to me.

Is there an algorithm for solving integrals that will work most of the time?
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 AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Calculus confusion
« Reply #5 on: May 12, 2011, 10:04:47 pm »
There's only one known [and published] algorithm for computing indefinite integrals, called the Risch Algorithm. How it works is doctoral level stuff, though. It's such a complicated [pseudo-]algorithm that no one has ever actually managed to program the full thing, only the simpler Transcendental case of the algorithm.


However, you can approximate definite integrals quite easily using many different algorithms.
« Last Edit: May 12, 2011, 10:06:26 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Calculus confusion
« Reply #6 on: May 12, 2011, 10:41:30 pm »
Whats a good method for finding integrals then?
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 AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Calculus confusion
« Reply #7 on: May 12, 2011, 11:06:10 pm »
If you want the honest answer, the best method is just to use a pre-made mathematical tool like Mathematica to find anti-derivatives. However, since you're probably doing this for a class, that's not really an option. On the other hand, integrals for schools tend to be solvable using the methods taught in class, so those are what you should study. The best advice I have on that front is to remember that what you're doing is finding an anti-derivative, so applying the rules of differentiation in reverse can help. Otherwise, learn the methods from squidgetx's list.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Calculus confusion
« Reply #8 on: May 12, 2011, 11:08:06 pm »
I doing this on my own to teach myself it. My school put me in algebra 1 and refused to let me test out.

I don't understand the last two on squidgetx's list.
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 AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Calculus confusion
« Reply #9 on: May 12, 2011, 11:24:57 pm »
Note: Log(x)==Ln(x) in older notation and that's what I use here.

U substitution: Let's take an example, ∫Log(x)/x dx. Notice that this is equal to ∫(1/x)Log(x) dx and that 1/x is the derivative of Log(x). With U substitution, let U=Log(x) and dU = 1/x dx. Thus, the integral is now ∫ U dU, which is easily solvable as (U²)/2+C. Since that's equivalent to the integral of the original integrand, substitute Log(x) for U and you get Log(x)²/2+C

UV substitution: It can be proven that for an integral ∫U dV, the anti-derivative is equal to UV-∫V dU where U and V are functions. Basically: ∫U dV = UV-∫V dU. What you have to do is figure out U and dV. Then you differentiate U and integrate the simpler equation V. The answer is U*V - the integral of V*dU.

Ex: ∫[Log(Sin(x))]/Cos(x)² dx.

U=Log(Sin(x))
dV=1/Cos(x)²

dU=1/Tan(x)
V=Log(Sin(x))

Thus, ∫[Log(Sin(x))]/Cos(x)² dx = Log(Sin(x))*Tan(x)-∫[1/Tan(x)]*Tan(x) dx

If we then solve the integral on the right (it's equal to 1, therefore it integrates to x+C), we get ∫[Log(Sin(x))]/Cos(x)² dx = Log(Sin(x))*Tan(x)-X+C
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ