| 
December 27th, 2006, 09:30 PM
|  | Global Moderator | | Join Date: Nov 2005 Location: New York City
Posts: 11,186
Country: Thanks: 482
Thanked 3,758 Times in 3,070 Posts
| | Introduction to Calculus Tutorial This tutorial will be limited to polynomial functions in single and multi-variables. But note these theorems work for the standrard functions in general too. Thus, this will help you familiarize thyself with the most important rules in Calculus. Definition: A polynomial function (real) can be expressed in the form:  .
Here are some explames,  is a constant function (it looks like a horizontal line).  is a linear function (it looks like a slanted line when  ).  is a quadradic (it looks like a parabola when  ).
Thus, the largest non-vanishing exponent (when it is not zero) is the degree of the polynomial.
I will not introduce multi-varaible functions just yet. I will do that when I reach partial differenciation.
I am sure you understand the basic notion, that is "What does the function approach as the value gets closer to some specific number".
I am also sure you are familar with the geometric meaning of the derivative. That is, we draw a secant line and make it closer and closer to a point. (Since I do not have aninamation you should find one somewhere on the internet und see their animation. Klicken heir.).
The last statement tells us (about the derivative) that say we have a point on a polynomial  which is  .
How do we find the derivative at the point? We choose a point nearby, let us use  to represent the small increase in the domain (input value). Then the nearby point is  . Now we find the slope of these two points,  . And we take the limit as  .
Thus, the derivative at the point is,  .
Note, we could have also done this "backward". Meaning instead of  being an increase it could have been a decrease, but that is of no importance because it leads to the same result.
There is another way how to get the derivative at a point. Again let the point on the polynomial curve be  then let a nearby point be  thus the slope (together with the limit):  .
That is the derivative of a polynomial at a point. The derivative of a polynomial is a function whose input values (domain) are the points on the curve and whose output values (the function value) are the derivatives (the slope of tangent line) at the point.
Here is a classic example. Example 1: Consider the curve  what is the derivative at  ?
We need to find, 
Combine, 
The final limit is true because when you add the very small number to 2 you get almost the same result back. Thus, when you approach it to zero the final result is 2+0=2. Example 2: But what is the derivative of  ? It means a formula that enables us to calculate the derivative at a point (a function that produces the derivative at a point). If the point is  then the derivative at the point is, 
Skipping some steps (similar as before) we arrive at,  .
Thus, the derivative of  is a new curve  .
Now if we go back to the problem just before it asks to find the derivative (or slope of tangent line) at  .
Just substitute that for derivative function  . Thus the derivative is 2 at that point.
We need to know one important thing about derivatives: "The derivative of a function is itself a function".
Another thing about derivatives that we will pay no attention to is the concept of differenciability. It means that the derivative exists (that means the limit that we take exists, because as you know not everything does exists as a limit). The reason why we will ignore that because we will use polynomials for which we can always take derivatives of. The reason why I am mentioning this is because this is like division by zero it leads to faulty reasoning. It is also another feature that divides immortals (the mathematicians) from the mortals (scientists) who do not pay attention to differenciability. Thus, if you ever play around with derivatives and get some strange results remember, it is probably what I said.
Time to introduce some notation. If  is our function. Then the derivative can be expressed as:  ,  ,  .
In the first notation we cannot cancel the d's. They are not numbers rather represent some operation, that is, derivative.
I myself am not in favor of this notation, because it has a purpose to it. We can "magically" think of this as a fraction and split the  and  which is a favorite in physics. And sometimes it leads to faulty conclusions because it is non-mathematical (but it looks cool). To add some history it is called "Leibniz" notation. Example 3: If  then  . Example 4: If  then to find the derivative we need to find, 
Substract 
Then divide by 
And then take the limit.
I will write the limit in the end because it takes less space.  .
Next from this we subtract, 
Thus we have, 
Divide through by 
Thus, 
Take the limit,  .
Thus,  .
There got to be a better way! Does it mean we need to do always this long mess? No! There are rules. In fact I will make you develope them.
~~~
Excerises
1)Find  for  .
2)Find equation of tangent line at  in problem above.
3)Use the limit definition of derivative and find,  for  .
4)If  and  .
What does you think happens with,  then
5)Find derivative for..... 
And guess what the pattern is.
*6)Prove the pattern always holds.
(Hint use the binomial theorem: 
Where,  are called "binomial coefficients").
Last edited by ThePerfectHacker; May 21st, 2007 at 06:45 PM.
| | The Following 28 Users Say Thank You to ThePerfectHacker For This Useful Post: | λιεҗąиđ€ŗ, Abu-Khalil, anthmoo, ArmiAldi, cmr7, dadon, DivideBy0, Firstone, Jaffa, juanfe_zodiac, machi4velli, mathaddict, MathGuru, nyasha, Nyoxis, proski117, Prove It, qbkr21, Quick, RinoST, r_maths, scorpion007, thedoge, Truthbetold, turillian@gmail.com, TWiX, WhoCares357, ^_^Engineer_Adam^_^ |  | 
December 28th, 2006, 03:18 PM
|  | Global Moderator | | Join Date: Nov 2005 Location: New York City
Posts: 11,186
Country: Thanks: 482
Thanked 3,758 Times in 3,070 Posts
| | Okay, since we know what derivatives mean.
We can develope a few rules that will help us.
1) Derivative of Constant Function: The derivative of a function  (some number) is zero, that is,  . One way is is to think of this as the slope of a vertical line (which is zero). Another way is through the limit:
2) Derivative of a Sum: You might have expected  where  are some functions. Again, this is easy to show through the limit.
Let  and  .
That means, 
And, 
3) Derivative of a Difference: The same thing as addition. That is,
Note: If you want to sound cool  and impress your teachers you can say rules #1,2,3 are true because "Differenciation is a linear transformation for the vector space of differenciable functions over the field of reals". Or can you can "Differenciation is a homomorphism". Basically "derivative" has the property that the derivative of a sum is the sum of the derivatives. You will found many operators during you math learning that have this propert, pay attention to them.
4) Derivative of a Product: The rule says,  .
The derivation is a bit strange, but it relys on a trick mathematicians love to use.
Again using the same convention for  as above we can write, 
Add and subtract  (thus no change in the expression).
Thus, 
Thus, some factoring, 
Note, 
Thus,
Note the only questionable step was,  .
Because, in the other post I spoke about limits and I mentioned you can only substitute the value when the function is continous at the point. It happens to be true. Because a differenciable function at a point is continous at a point, this is extremely useful in theoretical demonstrations.
5) Derivative of a Quoteint: If  then, 
This time we add and subtract 
Thus, 
Thus, 
Thus, 
Thus,
6) The Power Rule: The power rule says that for any in positive integer  we have,  .
I am going to present two proofs.
One the standard way.
The second which is my way.
The standard way is by the binomial expansion. The only important thing to know is that, 
Where,  are some numbers which we really do not care about.
That means, 
From this we subtract the orginal function  .
Thus, 
Then we divide through by  , 
But everything to the right of  is zero because a  exists.
Thus,  .
Here is my way....
Note, by product rule, 
Thus, by product rule again, 
Thus,  .
In fact this pattern hold for some positive integer of functions, 
Thus, 
Thus, the derivative by Hacker's product rule above is, 
But,  .
Thus, 
Thus,
The easy way to remember this rule is to bring down the exponent in front of the varaible and reduce exponent by 1.
The nice thing is that though we proved it only for positive integers it hold for any power.
Thus, we can find,  for 
Time for examples.
But I am sure you do not need them, you are good with algebra. Example 5:  .
By, the sum and power rule we have, Example 6: 
By the product rule, 
But the power and sum rules, 
We could have also multiplied out, 
By, power and sum rules,  .
Same result. Example 7:  .
We can write,  .
Though it is not a positive integer the rule still holds,  .
Now we reach the most important rule. The "chain rule".
I will state it, and explain why it is called chain rule.
First we need to know what a composite of functions is. If we have a functions  and  . The composition of these functions is a new function,  where  is the "inner" and  is the "outer".
Note,  , (always)meaning it is not commutative. Example 8: If  and  .
Then,  .
7) Limit of a Composition: The rule says, ![[f(g(x))]'=g'(x)f'(g(x)) [f(g(x))]'=g'(x)f'(g(x))](http://www.mathhelpforum.com/math-help/latex2/img/d8ca58d9da7cf06efe23efca43c39ade-1.gif) .
Take the derivative of the inside, multiply it by the composition of the derivative of outer function.
There is an easy to do it. 
Where  .
Then, the composition,  . As if we can cancel the  's. Example 9: 
We can write,  and 
Thus, 
Thus, Example 10: 
We can write,  and 
But we can write more,  ,  ,  .
Thus, 
Thus, 
Hence the name "chain rule".
I will not prove the chain rule. The proof is difficult. But there is a nice trick, a weaker result, that makes it an easy prove. I do not want to post it because that will be the next problem of the week.
Thus, now you know the most important rule about derivatives!
---
Excersices.
Find  for the following functions:
1)
2)
3)
4)
5)
*6)Prove the chain rule for polynomial functions.
That is given, 
Find their composition and then compute the derivative.
And compute the derivative via chain rule.
And then show the results match.
Last edited by ThePerfectHacker; May 21st, 2007 at 06:45 PM.
| | The Following 15 Users Say Thank You to ThePerfectHacker For This Useful Post: | λιεҗąиđ€ŗ, cmr7, dadon, machi4velli, Nyoxis, proski117, Prove It, qbkr21, scorpion007, SportfreundeKeaneKent, thedoge, travntill, Truthbetold, turillian@gmail.com, winterwyrm |  | 
December 28th, 2006, 04:10 PM
| | Senior Member | | Join Date: Jan 2006 Location: Brussels, Belgium
Posts: 400
Country: Thanks: 0
Thanked 66 Times in 58 Posts
| | Quote:
Originally Posted by ThePerfectHacker Note: If you want to sound cool  and impress your teachers you can say rules #1,2,3 are true because "Differenciation is a linear transformation for the vector space of differenciable functions over the field of reals". | If you want to sound really cool, I'd say that the fact that the derivative is a linear operator means that it converts a linear combination as argument, to a linear combination of its image. The fact that a constant is mapped to zero, can be seen as a result of a more general requirement. Being linear means that D(f(x)+g(x)) = D(f(x))+D(g(x)), but also that D(c.f(x) = c.D(f(x)), with c a scalar (an element of the field, in your case the reals). Combined: linearity holds iff D(a.f(x)+b.g(x)) = a.D(f(x)) + b.D(g(x)). | | The Following 4 Users Say Thank You to TD! For This Useful Post: | |  | 
January 1st, 2007, 12:51 PM
|  | Global Moderator | | Join Date: Nov 2005 Location: New York City
Posts: 11,186
Country: Thanks: 482
Thanked 3,758 Times in 3,070 Posts
| | I was debating what I should lecture on. Finally after many hours of thought I decided to show some applications that the derivative is used for. The first important thing to know about the derivative is that it represents the instantenous rate of change. If  is some function based on time, which can represent: the distance, the amout, the population,.... Then  is the change small change in the function. To find the average rate of change we divide through by the time passed  . Note for a small increase  the average rate of change of the function is almost its instantenous rate of change (the rate of change at that point). The smaller  is the more accurate this expression. Thus we need to consider the limit  . In that case we have the derivative. Thus, the rate of change at some moment in time is the derivative at that point. Origin of Differencial Equations:
I think it is a good time to mention what a differencial equation is. To show that we will consider the following problem: "A tank is filled with 10 gallons of pure water. There are two pipes. One taking the water in and one taking the water out. The flow rate is the same for both at 3 gallons/min. The tube that takes the water in contains 1 gallon of salt. Find a function that represents the amount of salt at any given time"
We need to understand the difficultly in this problem. The difficultly is that the flow out tube also takes out salt with it also of the mixture of salt and water. Thus, this is really not an easy question to answer. We will not answer is question but rather set up a differencial equation. Let  be the amount of salt at any given time passed  . Then, as mentioned before, the derivative,  is the rate of change of this amount. One way we can find the rate of change is to note that:  .
Where "rate in, rate out" represent the rate at which salt is entering and leaving the tank.
Every minute 3 gallons of mixure enter the tank with 1 gallon of salt. Thus the rate in is constant at 1 gallon/min.
The rate out is a bit tricker, but not so bad. The rate out is the concetration of salt in the mixture multiplied by the amout leaving (that is 3 gallons). The concetration is the amount of salt at that time which is  divided by the total volume which is fixed at 10 gallons.
Then we need to multily this result by 3 because 3 gallons are leaving. Thus, 
This is a differencial equation.
We need to find a function that makes this statement true.
Unlike an algebraic equation where we need to find a number that makes a statement true, here we need to find a function. And there is a way to solve for that, I am just not going to do that. The interesting thing is that there are infinitely many solutions to that equation! How do we know which one is it? We use the important fact that at  we have pure water, thus,  . And with this condition (called intial condition) the differencial equation will have a unique solution. And that solution will describe the amount of salt in the tank. The Motion Problem
The motion problem deals with the motion of some object. To understand the technique used we need to be familar with the meanings of: distance, speed and acceleration.
Distance we already know that is means, the function  will represent the total distance traveled for some time  . Speed is distance traveled per time. Thus,  is the average speed per some small amount of time. Again taking the limit we find that  meaning, the derivative of distance is speed. Accelleration is the speed changed by a certain time. Meaning, an accelleration 5 miles per hour per second means each second the speed (5 miles per hour) increases by 5 miles per hour. Again by similar reasoning  . The derivative of acceleration is speed. Example 11: The distance a particle travels can be expressed as a function:  . Find the accelleration of the particle after 1 second. We will actually need the second derivative (meaning just take the derivative twice). Because  . Taking 2 derivative of the distance function we find that:  and 
At  we have  units per some time per second.
We can use the motion problem to solve the free falling problem. The free falling problem concerns an object falling under the effect of gravity. Let us assume that  is the initial speed which an object is thrown at (positive for up and negative for down). And  is the initial height at which we are standing. What function represents the height of the object as a function based on time? To solve this famous problem (historically I think Galileo solved it first, then Newton explained why it works). We need to be familar with an important property that all falling object posses. They accellerate downwards with a constant rate (why that is, we do not know).
The downwards accelleration is based on the gravitational force acting on the object. On Earth the acceleration is 32 feet per second per second.
Thus, we are looking for a function  that represents the height of the object from the ground.
What we do know is that the second derivative is the acceleration, 
Where  is the acceleration from the force of gravity. It is negative because by our sign convention, down is negative (fallings objects go down) and upwards is positive.
This is actually a differencial equation (the most basic type).
To make it easier to follow we can think of the derivative as, 
What function  has its derivative equal to  . Think about this.... You should come up with that  . But wait, any constant that we attach in the end will dissappear thus, 
(What we just did is called taking the integral, or antiderivative. It turns out that all antiderivatives that satisfy this throughout the interval must differ by a constant).
If we subsitute  we have, 
Thus,  (initial velocity).
Thus,  .
What function has its derivative equal to  . Some thought should produce, 
Substitute  .  .
Thus,  .
Thus,  . Example 12: An angry husband throws up his wife with the initial velocity at 96 feet per second. They live on a cliff with the altitude of 960 feet. Find how much time will pass until his wife reach maximum hieght. And find the amount of time until he hits the ground and dies.
The function is,  .
Maximum height is when velocity is zero.
Thus, 
The amount of time that passes is when the height is zero when she comes crashing down.  . The Approximation Problem
The type of approximation that we will use is a linear-approximation. If  is some curve then draw a tangent line at some point. The tangent line is almost like the curve (for points close to it). That we can approximate the value in the function with the aid of the tangent line.
The important formula we need to know is that if a line has slope (non-vertical)  and contains a point  its equation is,  .
Rather than going through a general approach to this problem let us just do an example. Example 13: Approximate the value of  . Note that it is almost  . Thus we will draw the tangent line at  . But that what curve? What are we trying to approximate? We are trying to approximate the square root function  . Its derivative at the point is (by the power rule),  .
The slope of the tangent line at  .
Is, 
Thus, the equation of the tangent line is,  .
Thus, 
While the actual value is, 
A close value.
The smaller the change the closer the approximation. Newton's Method
This is a method for getting zero's for a function. That means the solution to the equation  .
The general approach is to consider some curve  and find the point(s) where it intersects the x-axis when we graph it. The idea is to find a point close to the intersection and draw a tangent line. The point where the tangent line crosses the x-axis is even closer to our guess. Then using that point we draw another tangent line being even closer now we use that point, again and again. Each time approximating the solution to the equation closer.
Here is the general procedure.
Say  is some curve which crosses the x-axis. Let  be our initial guess. Meaning a reasonable number that we think the solution is near. Then we draw a tangent line at that point. We will use the formula I mentioned above already,  is the point on the tangent line. And  is our slope of tangent line.
Thus, 
Where does this intersect the x-axis?
When  .
Thus, 
Solve for  , 
We call this result  our next number.
Using this number we draw another tangent line, 
Solve, for 
We call this  .
The pattern is clear,  .
The sequnce that we will get, 
Will usually approach the zero at a kollasal rate.
After a few attempts we have a lot of digits.
This method is not foolproof. There are times when it fails. For example if the derivative is somewhere zero then we cannot divide by it. And stuff like that. For most of the time it will work. Another thing that might happen it will converge to a different zero that you do not want. It is recommend to use software to graph a curve for you thus you can use thy eyes to make a reasonable guess. Example 14: I graphed the curve  this is a cubic equation.
Look at the graph below.
The curve is in red.
The dotted blue lines are the tangents.
The black lines show where we draw the tangent on the curve at the point it crosses the x-axis.
I started my guess at  .
Then I drew a tangent line.
It intersected at  .
Thus, I drew a tangent at, 
It intersected at,  .
Then drew a tangent line at, 
Look how close it intersects the x-axis.
The that point of intersection is, (not shown)
That is our approximate zero.
With enough talk you should now get the idea. Let us do this problem. 
Thus, 
Thus, 
Thus,
What I like to do now, is to program this function into graphing software. And tell it to evaluate it.
Thus, we are looking for, 
Thus we get, 
A few iterations and we got that, 
To 4 decimal points!
People complain above the evaluation of the iterations that it takes a long time. Not true! I got the decimal sequence above in less then 30 seconds after I programed the software to do those evaluation. If you do it by calculator or by hand it takes much longer then given the iterative sequence to the computer. Application of Newton's Method for Evaluating Square Roots.
We can now develope a techinque for evaluation of square roots by hand. Let us assume we want to find  .
We can see that the solution to, 
Is  . (It also has  for  ).
We will use Newton's method to approximate a zero and hence find the square root. 
Thus, 
The nice thing is you can also start at  (you cannot use  the derivative is zero and the method does not work). Example 15: Let us find  . 
It is already accurate enough!
~~~
Excerises
1)A tank is filled with 20 gallons of pure urine. A intake tube makes 10 gallons of pure water come in every minute. The outake tube lets the mixture pour out at the same rate.
Set up a differencial equation that shows the amount of urine at any time  . (With initial conditions).
And,
A differencial equation that shows the amount of water at any time  . (With initial conditions). Do not solve.
2)A the distance an electron travels can be represented as the equation,  for  .
For microseconds in Angstroms.
Find the acceleration and speed of the electron in Angstroms after 1 millisecond.
3)A bullet from a Magnum .357 is fired by a 6 foot man with his arms extended 1 foot above his head directly up. The muzzle velocity is  . What is the speed of the bullet when it comes down and kills the man (although Mythbusters shown it is impossible to die like that).
4)Approximate  using a linear approximation.
5)Use Newtons method and solve  for the positive root. Find the actual value in terms of radicals and find the approximated value with Newtons method and compare. (A graph will help).
6)Find  by hand.
*7)Modify the techique to find a method for finding ![\sqrt[n]{x} \sqrt[n]{x}](http://www.mathhelpforum.com/math-help/latex2/img/13fcbed8bcac58d95c0cb989f3aca2de-1.gif) . The n-th root (  ).
Last edited by ThePerfectHacker; May 21st, 2007 at 06:46 PM.
| | The Following 12 Users Say Thank You to ThePerfectHacker For This Useful Post: | λιεҗąиđ€ŗ, arbolis, ArmiAldi, aslan, cmr7, DivideBy0, fardeen_gen, machi4velli, Nyoxis, proski117, Prove It, turillian@gmail.com |  | 
January 3rd, 2007, 02:46 PM
|  | Global Moderator | | Join Date: Nov 2005 Location: New York City
Posts: 11,186
Country: Thanks: 482
Thanked 3,758 Times in 3,070 Posts
| | Now we get to the fun stuff. This is one of the features that makes Calculus so powerful. Optimization problems.
These are problems that ask for the minimum or maximum. Things in nature usually come in maximum or in minimum.
I will first show how to maximize/minimize single variable function that is  and then multivariable functions. Though multivariable function is a Calculus III topic the concept of maximization and minimization you should understand. Definition: A multivariable function  takes an ordered pair of real numbers  and transforms them into a new number. Example 16: This is a multivariable function  . Thus,  . It has a distinct feature that  but that need not to be true in general.
The nice thing with single variable functions  is that you can visually represent then as an x-y graph. The same holds true for a function in two variables. But it is not longer a 2 dimensional curve, it is a 3 dimensional curve. In applied math the x-axis is the depth the z-axis is the height and y-axis is the width. In engineering the z-axis is the depth the y-axis is the height and the x-axis is the width. Again the surface is drawn in the same way, you take many points  plot them and connect them with some surface to get the graph. The problem is you need to be one talented artist to do that. The other problem is that there is no way to graph a function of 3 variables  because that is a 4 dimensional solid (however you would call it). Example 17: The example before the suface  is called a "paraboloid". It is a parabola rotated around its axis.
( Image). As I said unless you are really talented at drawing, you might want to use software. I am sure there are some freeware programs that do 3 dimensional plots. You are probably thinking how does one draw such a monster? The answer is through "traces" meaning we keep one of the variables fixed and graph the 2 dimensional shape that we get. They are called traces because when we keep a variable fixed it is as if we pass a plane through the surface and graph the intersection at the points. Definition: A multivariable polynomial is just like a single variable polynomial it just has combinations of the variables as a product. In addition, the degree of each term is the sum of the exponents. The degree of a non-constant multivariable polynomial is the largest exponent that we get. Example 18:  is a multivariable polynomial of 2 variables. Furthermore the largest degree is 4, thus the degree is 4.
The following theorem is a classic in Calculus. Before we state it we will give a geometric justification. Graph the curve  . We see that there are 2 turning points. One is at  . The other is about  . These two points are of special interest. At  we have a relative maximum because on some open interval containing this point we have a maximum value. At  we have a relative minimum because it is a minimum value on some open interval containing the point. What it means is that you can choose a small enough interval such that the point will be a max/min. Another term that appears is a global extremum (the word extremum refers to max/min point) these are points that are a max/min on the entire function (which is not the case here because it keeps going up and down). The important observation is that slope of the tangent line is zero, and hence the derivative is zero. (There are some exceptions, where derivative does not exists. But that does not concern us because we will assume it is differenciable). Fermat's Principle: The relative extremum of a function occur at that points where the derivative is zero. Example 19: The above theorem gives necessary but not sufficient conditions. Meaning relative extremum exists when the derivative is zero. But it does not mean when the derivative is zero we have an extremum! For example  . The extremum is when  thus,  but look at the curve. There is no extremum.
With that said we can do find the relative extremum for the function  .
First we take the derivative,  and solve for zero.
But how do we know if a point is a relative maximum or minimum? There are 2 tests called: first and second derivative tests.
The first derivative test is foolproof but longer, the second derivative test is not foolproof but is much quicker to use.
Look at our function again  . It is increasing on  then decreasing on  and then again increasing on  . Look at the derivatives at those intervals. When the function is increasing any tangent line you draw has a positive slope and when the function is decreasing it has a negative slope. Thus we have the following useful theorem. Theorem: When the derivative is positive the function is increasing and when the derivative is negative the function is decreasing.
We can use this in the following way. If a function is increasing to the left of the point and then decreasing to the right of the point, it must be that the point is a relative maximum. And if a function is decreasing to the left of a point and then increasing to the right of the point it must be the point is a relative minimum. First Derivative Test: The above procedure of looking where the function increase and decreases is the first derivative test. Example 20: You are probably bored with the function  but we found the points where derivative is zero.  . Now we divide the number line into 3 intervals:  . And take any point on this interval and check the derivative sign. Take  then  thus, it is increasing for  . Take  then  thus, it is decreasing for  . Take  then  thus, it is increasing for  . (You are probably thinking, if one point works on the interval does it mean all are the same sign? Yes! Because if that was not the case then between those two points there must be a point whose derivative is zero, but that cannot be because we found all the points where derivative is zero).
We can make a chart,  .
Thus,  is a relative max and  is relative min by first derivative test. Example 21: Returning to the function  we found that  is when derivative is zero. But there is no relative extremum there. If we use the first derivative test we first divide the number line into the intervals  . Take  (any point) the derivative  thus it is increasing on  . Take  the derivative  thus it is increasing on  . Thus it is increasing and increasing again, that point is nothing.
Because it needs to increase then decrease or decrease then decrease to garuentee a relative extremum point. Second Derivative Test: If the point  is a point where derivative is zero then to determine whether it is relative maximum or minimum we can use:  then a maximum and if  then minimum.
I am not going to give a good justification for that but we can visualize this. The sign of the second derivative tells how the curve concaves. When  it concaves up and has a  shape, hence a relative minimum. When  it concaves down and has a  shape, hence a relative maximum. When  those are inflection points, i.e where the concave up changes to concave down and vice-versa and the test cannot be use. We need to use first derivative test. Example 22: We found in  that  thus,  and hence relative max which agrees with what we found in our previous examples. And  and hence relative min which agree with what we found in our previous examples.
These concepts of extremum points and concaves are very useful in drawing curves by hand. For example if you are given  the first thing you do is find the turning point(s) (extremum) and then look at how it concaves. This will quickly present an accurate hand drawing of a curve. This is just a basic idea, there is much more to it which will not be discussed here.
Now we reach, what I believe, is one of the most important features in Calculus, finding maximized and minimized values. The previous discussion that we had about relative max and mins only provide us with relative extremum, not absolute (global) extremum. We come to one of the most celebrated theorems in Calculus/Analysis. Extreme Value Theorem: Any continous function (no breaks/rips in it) on a closed interval (endpoints included) has extreme values (the absolute max and min).
The proof seems obvious but as you know from experience mathematicians need to prove this type of stuff. The important word is closed if it is open then consider  on  no max no min.
This is an excellent example of an existence theorem a theorem that guarenttes the existence of something but provides no method for finding it. Luckly for us we have a method, the techinque used before.
There are 2 possibilities either the relative max/min is inside the interval (open interval) or on the endpoints of the boundary. If it is inside then Fermat's principle says it is a relative max/min and derivative is zero. The other possibility is that the endpoint contains the absolute max/min. Thus we need to check everything, find the function value and see what produces the largest and smallest numbers.
We do not need to prove the point we found is a relative max or min because we are only interested in maximum/minimum values. Again the derivative being zero does not mean there is an absolute max/min, it is necessay but not sufficient. Example 23: Consider the function ![f(x)=\sqrt[3]{x^2+1} f(x)=\sqrt[3]{x^2+1}](http://www.mathhelpforum.com/math-help/latex2/img/92607dc8e1f990dc4c45e51b2fa4f77e-1.gif) on the closed interval ![[-1,1] [-1,1]](http://www.mathhelpforum.com/math-help/latex2/img/d060b17b29e0dae91a1cac23ea62281a-1.gif) . Find the value of  that produces the absolute max and min for this function. First, the function is continous (the most basic way to see is check if it is defined on this interval, and it is. In reality we need to show more than just being defined but the standard functions work this way, just check if it is defined or not). Thus we know it has extremum values. The next step is to find  values inside the interval that give derivative of zero. To find the derivative we use chain rule and write  and  .
Thus, ![\frac{dy}{dx}=\frac{2}{3}xu^{-2/3}=\frac{2x}{3\sqrt[3]{(x^2+1)^2}} \frac{dy}{dx}=\frac{2}{3}xu^{-2/3}=\frac{2x}{3\sqrt[3]{(x^2+1)^2}}](http://www.mathhelpforum.com/math-help/latex2/img/d70cfb815b3571d9a19c535fd502c6f0-1.gif)
If you solve,  you should see that  is the solution (and it is inside the interval).
The functional value is ![f(0)=\sqrt[3]{0^2+1}=1 f(0)=\sqrt[3]{0^2+1}=1](http://www.mathhelpforum.com/math-help/latex2/img/1631f214b06a04635e77687ee5797fdc-1.gif) .
Now we check the endpoints, ![f(1)=\sqrt[3]{1^2+1}=\sqrt[3]{2} f(1)=\sqrt[3]{1^2+1}=\sqrt[3]{2}](http://www.mathhelpforum.com/math-help/latex2/img/95affe9bd8de2d7b0675a0266d537cbe-1.gif) .
Thus, the maximum points of this function are the endpoints.
And the minimum point is  .
Now we get to maximized/minimizing multivariable functions. This is a Calculus III topic but it is extremely similar to this one. Thus, I chose to include it. One thing we will not learn is how to find relative extremum and prove they are relative max/min for a multivariable functions. It is not hard it just some more formulas and theorems.
For simplicity sake the multivariable functions that we will use will be in two variables, that is  . The other thing you should understand that when we deal with single variable functions we work on a closed interval. When we deal with two variable functions we work on a closed region that means a region with the boundary curve included. For example, we might deal with the paraboloid  on the closed region  , this is a disk of radius 1 centered at the origin, meaning we work with all point inside this region. If you downloaded a 3-d graphing program graph this surface along with the region, perhaps it will help if you have difficulty understand what I said.
The thing about multivariable functions there is no such thing as a derivative anymore. There is a different type of derivative that shows to what variable we are differenciating. It is called the partial derivative. For example let  . Then,  is the derivative along the  variable. Another way to write it is  . And sometimes we take the partial derivative twice. In that case,  is the partial derivative with the  variable twice. Also we can write  . If we take it with the  variable then the  variable it is,  . Note, it need not to be the same as  or in simple (but not cool) notation  and  . But for the standard function that we use it will also be that  . But how do we find it?!? What is the definition of it? Definition: To find a partial derivative of a multivariable function along some variable. We consider all the other variables like constants (as fixed at a number) and differenciate with that variable. Example 24: Let  . Then to find  we consider  to be fixed at a number and take the derivative. Thus,  and  . You should confirm that  .
I will pause here and mention what a partial differencial equation is. Before we talked about an ordinary differencial equation and equation of just 1 variable. When we have several variables and a differencial equation involving partial derivatives arise we have a partial differencial equation and these are infinitely more complicated then ordinary differencial equations. Here is an example, a function  that solves the equation  is said to be harmonic and that partial differencial equation is called "LaPlace's Equation", very important.
Here is an analogue of the extreme value theorem. Theorem: If a function of two variables  is continous on some closed region then it has extreme values.
Again it seems obvious, but mathemations cannot sleep without a proof.
Another analogue, Fermat's principle is the place where tangent line is zero. Here is when the tangent plane is zero. That is, when the partial derivative are both zero. Theorem: If a point inside the region is an absolute maximum or minimum then the partial derivatives are zero. Proof: Say you have  fix one variable  so just a function of  , and we look for max/min when  . And fix the other variable  so just a function of  , and we look for max/min when  . Thus we require both. Thus,  .
The difficulty with function of two variables is that when the max/min is inside the interval means the partials are zero. But just like in the single variable case, we need to check the boundary. But what are we going to do with the boundary, it has infinitely many points, we cannot check all! We express the boundary in terms of one variable and then the problem reduces to dealing with the optimization of a function of two variables. Example 25: In two variables  is a full circle, solve for the positive value,  and we have a upper semi-circle. Similarly,  is a full sphere, solve  and we have the upper hemi-sphere. Let us work in the closed region it forms with xy plane, that is the circular disk  . Your intuition should tell you the maximum point is the center of the disk, and the minimum points are all the points on the boundary (infinitely many). But let us use the concepts we just said.  .
Thus, (skipping the work),  .
The only solutions are when,  (which is in the region).
Checking the functional value we find that,  .
Now we work on the boundary curve (just like in single variable case we deal the endpoints). The boundary curve is the circle  .
In that case,  .
Thus, any point on the boundary is always zero.
Hence, the max value we got was at  which gave value of  . And the minimum value we got was all the points on the circle with value  .
Here are some excerises that are way more advanced then the example problem I did.
~~~
Excerises.
1)  .
Find all relative extremum and classify them as max/min using both the first and second derivative test.
2)  .
Find all relative extremum and classify them as max/min using both the first and second derivative test.
3)  on the closed interval ![[-5,5] [-5,5]](http://www.mathhelpforum.com/math-help/latex2/img/728629d5db271bc36f160c71b422fa90-1.gif) . Find the maximum and minimum values.
4)  on the closed interval ![[-1,1] [-1,1]](http://www.mathhelpforum.com/math-help/latex2/img/d060b17b29e0dae91a1cac23ea62281a-1.gif) . Find the maximum and minimum values.
5)Let  , show that this function is harmonic.
6)Show how the partial derivatives were found in the last example (Hint: Use the Chain Rule, and Power Rule after you express square root as exponent).
7)  in the closed region  . Find the maximum and minimum values of the function. Gaurenteed by the Extreme Value Theorem.
*8)Consider the triangular region with vertices  . And the function  . Find the maximum and minimum values. Garentueed by the Extreme Value Theorem.
Last edited by ThePerfectHacker; May 21st, 2007 at 06:50 PM.
| | The Following 11 Users Say Thank You to ThePerfectHacker For This Useful Post: | λιεҗąиđ€ŗ, cmr7, fardeen_gen, machi4velli, Nyoxis, proski117, Prove It, qbkr21, SportfreundeKeaneKent, thelostchild, turillian@gmail.com |  | 
January 4th, 2007, 04:04 AM
| | Senior Member | | Join Date: Jan 2006 Location: Brussels, Belgium
Posts: 400
Country: Thanks: 0
Thanked 66 Times in 58 Posts
| | Quote:
Originally Posted by ThePerfectHacker Fermat's Principle: The relative extremum of a function occur at that points where the derivative is zero. Example 19: The above theorem gives necessary but not sufficient conditions. Meaning relative extremum exists when the derivative is zero. But it does not mean when the derivative is zero we have an extremum!
(...) Theorem: If a point inside the region is an absolute maximum or minimum then the partial derivatives are zero. Proof: Say you have  fix one variable  so just a function of  , and we look for max/min when  . And fix the other variable  so just a function of  , and we look for max/min when  . Thus we require both. Thus,  . | I'd like to add that these are only necessary conditions if the function is differentiable at that point, since extrema can occur where the derivative doesn't exist. Example: y = |x|, no derivative at x = 0 but still an absolute minimum. The same goes for multivariable functions, differentiability is needed for your theorem. | | The following users thank TD! for this useful post: | |  | 
January 4th, 2007, 07:53 AM
|  | Global Moderator | | Join Date: Nov 2005 Location: New York City
Posts: 11,186
Country: Thanks: 482
Thanked 3,758 Times in 3,070 Posts
| | Quote:
Originally Posted by TD! I'd like to add that these are only necessary conditions if the function is differentiable at that point, since extrema can occur where the derivative doesn't exist. Example: y = |x|, no derivative at x = 0 but still an absolute minimum. The same goes for multivariable functions, differentiability is needed for your theorem. | If you read my full post I make mention of that problem.
(It is an Introduction, not some real analysis course, thus, I chose to ignore it). | | The Following 4 Users Say Thank You to ThePerfectHacker For This Useful Post: | |  | 
January 4th, 2007, 09:19 AM
| | Senior Member | | Join Date: Jan 2006 Location: Brussels, Belgium
Posts: 400
Country: Thanks: 0
Thanked 66 Times in 58 Posts
| | I missed "There are some exceptions, where derivative does not exists. But that does not concern us because we will assume it is differenciable.", but I think that y = |x| is a classical example, not really "high level".
I understand that you're trying to keep it basic, but when you propose theorems (even with "proofs"), then I think you can agree that they should at least be correct - I was just pointing out that adding "if f is differentiable at a..." would do the trick. Other than that, no comments; didn't mean to nitpick | | The following users thank TD! for this useful post: | |  | 
January 4th, 2007, 10:22 AM
|  | Global Moderator | | Join Date: Nov 2005 Location: New York City
Posts: 11,186
Country: Thanks: 482
Thanked 3,758 Times in 3,070 Posts
| | Quote:
Originally Posted by TD! I missed "There are some exceptions, where derivative does not exists. But that does not concern us because we will assume it is differenciable.", but I think that y = |x| is a classical example, not really "high level".
I understand that you're trying to keep it basic, but when you propose theorems (even with "proofs"), then I think you can agree that they should at least be correct - I was just pointing out that adding "if f is differentiable at a..." would do the trick. Other than that, no comments; didn't mean to nitpick  | I did not want to do that. I rather mention that the function we will use are differenciable, thus we do not need to worry. | | The Following 2 Users Say Thank You to ThePerfectHacker For This Useful Post: | |  | 
January 4th, 2007, 10:25 AM
| | Senior Member | | Join Date: Jan 2006 Location: Brussels, Belgium
Posts: 400
Country: Thanks: 0
Thanked 66 Times in 58 Posts
| | That's fine as well and perhaps even more accessible, but then I'd effectively mention that somewhere in the beginning (that you're working with differentiable, or "smooth" functions, or to put it more intoduction-ish: to work with "nice functions which behave"  ) | | The following users thank TD! for this useful post: | |  | 
January 6th, 2007, 07:10 PM
|  | Global Moderator | | Join Date: Nov 2005 Location: New York City
Posts: 11,186
Country: Thanks: 482
Thanked 3,758 Times in 3,070 Posts
| | Here are some applications for which optimization problems can be used for. First, most things in the universe either come as a max/min. I remember my professor asked a question to the class. We were working on a beam problem and he asked all of these equations work thus all of these are the possible outcomes for the shape of curvature for the beam, how do we know it looks like this if all of these work. I immediately raised my hand (the only one, for some reason in college nobody ever answers anything) and said it is minimized, and he said correct, but why? My purpose of this telling is to mention what I said, that most things in the universe always come as a max/min problems, thus it was my experience that told me to say that. For example, a planet is in a shape of a ball (sphere) and the sphere is the maximum volume with a given surface area, or you can think of it as the minimum surface area with a given volume. Another useful thing about max/min solutions is that if it works for the worst case senario then it works for all cases, thus we can sometimes just look at one situation (worst case) show that it works and conclude that it always works, instead of getting each possible case. Shortest Distance:
The distance from a point to a line (assuming it is not on it) is the shortest distance from the point to the line, because distance is measured in minimum value. To find that distance we draw a perpendicular line (which is minimized) and find its distance. The standard way is to do this: 1)Given the equation of line and a point, 2)Find equation of perpendicular line passing through the point, 3)Find the intersection between the line and its perpendicular, 4)Find the distance from the intersection point to that point. This is an algebraic nightmare. I have indeed down out a full solution (it took me 2 hours) and posted it on the site, but the page is not loading.
We will use the concept of minimums/maximums to solve this problem.
If we are given a horizontal line and a point the solution is trival (obvious).
Thus, it is safe to assume we have a non-horizontal line,  and a point  not contained on the line (otherwise the distance is zero). What point on the line  minimizes the distance to the point  is what we are looking for. Thus, let the point on the line be  then the distance to  is,  .
The important observation is that if  is minimized then  is too minimized (if the distance is as small as can possibly be then the square of the distance is the small as it can possibly be).
Thus, we have a function depending on  ,  .
Now we find the derivative and make it zero (you are probably thinking how do we know if that is the minimum value? Maybe it is the maximum value, as we have seen. Simple, it cannot possibly be the maximum value because we could move the point as far as we want).
Thus, chain rule, 
Thus,  , 
That is the intersection point between the line and the perpendicular.
Note, the following will involve some algebra manipulation but it is not nearly as bad without derivatives what we did in the beginning.
Now we find the distance between that point and the given point.
Note that, (details omitted), 
And that, (details omitted),  .
The the distance  between the points is, 
Note, 
Thus, 
Thus, (factoring the common expression) 
Thus, (canceling)  .
Take square root and note,  ,  .
But, I am going to make this formula even better!
There are two ways of expressing the equation of a line: slope intercept form and standard form,  ---> Slope-Intercept Form.  ---> Standard-Form.
Now,
Standard > Slope-Intercept
Because in slope-intercept we can only express non-vertical lines.
In Standard Form we can express any line, both vertical and non-vertical.
To prove this assume we have a line. Divide the prove into two cases: A vertical line and a non-vertical line. If it is the first case then,  thus,  .
If it is non-vertical then we can write,  , thus,  .
Returning back to the "shortest distance" problem. If we have a non-vertical line in the form  then  (non-vertical) thus, 
And some point not on the line  .
The formula says, 
Thus, 
Thus,  .
Look how easy the formula looks! All you do is substitute the point into the line in Standard-Form and divide by the Pythagorean distance! So easy to remember! The other nice feature is that if the line is vertical then for certainly it works because in the vertical case you need to find the distance between the x-coordinates. And it also works when the point is on the line. Because if it is then by substituting you get a zero in the numerator. Thus, we can state this result as follows, Theorem: Given ANY point  and ANY line  then the distance between them is,  .
I would like to mention that when you learn 3-D plots the analogy of a line in 2 dimensions is a plane in 3 dimensions. And there is a result that states that is you have a point  and a plane  then the distance is, Example 26: Given a line  and a point  then the distance is, Method of Least Squares
In statistics a common problem after an experiment is done, a set of points is collected and visually represented as an x-y plot.
The problem is to approximate these set of points as a curve, in our example a straight line. But the difficulty is that these point do not necessarily lie on a staight line, thus we need to approximate the best possible line. The question that you should ask is what does it mean "best". The following concept and solution was devised by Gauss and independently and inadvertenly two weeks later by his nemesis, Legendre. Thus, some texts write Gauss discovered it while others write Legendre discovered it. The following explanation is my own, which I never seen elsewhere, I like it because it is more detailed thus suggesting what went through the minds of Gauss/Legendre.
Assume, we have a set of points and we guess what the the best fitting line is visually, and we draw it. Some error is created. The error is the difference between the actual value at the point and the approximated value at the line.
Below is an example, the set of points where  . I approximated by  .
The black lines (the vertical distances) represent the error for each point. The total error respectively is: 
Note, errors are measured always in positive.
The dotted line is the "line of best fit" that I drew, the equation is  .
Note, though it does not contain any point the total error (sum of errors) is less then the full red line.
This is a very reasonable way to define such a line. Definition: The line of best fit for a set of points is a line such that the total error of the distances is minimized.
Note, the word minimized, this suggests this is going to be a Calculus optimization problem.
Given a set of points  and we are trying to minimize the total error with the line  .
The total error is,  .
For simplicity sake we will find the line of best fite that passes through origin meaning  .
Thus, 
To minimize this function we need  .
The problem is the absolute value, it is too messy, we never discussed the derivative of  and it happens to not exists at  , thus we cannot simply take the derivative. What do we do? We reason like this, if the errors are minimized (the vertical distances) then for certainly their squares (the vertical distances squared) are minimized. Thus, we need to minimize,  .
But,  .
(Note, the reason why we used the square, it removes the absolute value, we could have also used any even exponent, but why use it and work with higher exponents!)
Thus, we need to minimize,  .
If we find  it is either max error value (line of worst fit) or min error value (line of best fit). It cannot be line of worst fit because we can choose a line a far away as we like. Thus the derivative equal to zero is going to be the line of best fit.
Thus, (chain rule) 
Divide by  (note  because that is a vertical line and a non-interseting case. Meaning we can certainly tell by looking at the points if they are going to be vertical or not).
Thus, 
Thus, (We are working in 1st Quadrant sum of x-coordinates must be positive and hence non-zero).  .
If you want to make it look more elegant you can divide through by  . And have the average in numberator and denominator, 
The "bar" on top represent the average of x,y coordinates.
Funny, I just realized that I could have developed this formula without any Calculus! See if you can figure it out (Possible Problem of the Week). Example 27: The problem in the diagram shown below. The line of best fit (through the origin) has slope,  . Thus, it is almost the line I drew but not exactly.
Note, it is still not the line of best fit because we purposely neglected the constant term in the line equation.
It is my hope that I will show you how to approximate a curve with another curve. Over here we had a set of finite points when you approximate a curve with another curve you have an infinite set of points, there is a different techiqnue that is used.
~~~
Excercises
1)Find the distance between the parabola  and the point  .
*2)Develope the full method of least squares for a general line  . (Hint: the exact same procedure. You only need to take the partial derivatives this time and make them zero).
3)In the picture below use #2 and find the line of best fit.
4)A length of striaght wire is  units long. You take a pair of rusty scissors and cut the wire somewhere, you take the first half and turn it into a square, you take the second half and turn it into a circle. Where should you cut (assuming you want to) to maximize and minimize the areas of the circle and square together?
5)Drawn point A on paper. Drawn point B directly below it. Draw point C directly to the right of point B. Draw two vertical lines through point A and B. The distance between the two horizontal lines is 10 miles and the distance between B and C is 20 miles. You are a crazy ATV driver and want to get to point C as quickly as possible while driving blindfolded and upside down. You start at point A. The region in between the horizontal lines is a desert and your top speed is 20 miles/hour. The line between B and C is the highway and you can travel 40 miles/hour. What path (in straight lines) should you take the minimize your driving time?
Last edited by ThePerfectHacker; May 21st, 2007 at 06:51 PM.
| | The Following 4 Users Say Thank You to ThePerfectHacker For This Useful Post: | |  | 
January 9th, 2007, 07:39 PM
|  | Global Moderator | | Join Date: Nov 2005 Location: New York City
Posts: 11,186
Country: Thanks: 482
Thanked 3,758 Times in 3,070 Posts
| | Calculus itself is divided into three parts in Universities. The first two parts are divided into: differencial calculus and integral calculus. Differencial Calculus is more commonly called Calculus I and Integral Calculus is more commonly called Calculus II. As you expect Calculus I concentrates on the derivative, which is what we have been doing thus far in the lectures. Since I think you have sufficent understanding of what a derivative is and how it is used in math and applied math we can talk about the other important part of Calculus, the integral. The integral is related to the "anti-derivative" that means a function whose derivative is back the function. Think of it as an inverse operator on a function, like the square root is the opposite of the squaring function. But there is one problem. Say we want to solve  meaning a function whose derivative is  if we think about it we note that  , but wait any constant added disappears (similar to our discussion of free falling bodies equations). This is contained in the following definition and theorem. Definition: The anti-derivative of a function  is expressed as  . It represent all the functions whose derivatives are  . Thus, the integral is a set of functions that has the property that if  (an element of this set) then  . And if  is a function such that  then  . This symbol (streched S) is called "indefinite integral".
I want to make the comment, note  appears in the end. I myself an not in favor of putting that, but since that is the standard notation I do. It is unnecessary unless in a case where you are taking a multiple integral (which we will not discuss) and these "differencials" show which order to take the integral in. In a single variable case, I really do not see any purpose (except possibly for one). Theorem: Given a function  and  is a function such that  then,  where  is any constant function on the open interval where we are differenciating.
Basically, this is saying if we can find one function that is an anti-derivative then all functions (the indefinite integral) is just some constant sum of that. It should seem understandable but we will not be able to completely prove it. Proof: If  and  and let  be another anti-derivative  . Then,  , property of derivative says  . Now the only function whose derivative is always zero is a constant function. Think of it this way, the tangent line is always horizontal, which is a horizontal line, hence a constant. Thus,  thus,  . Meaning it can be expressed as a constant added to the original function. (The actual proof is too advanced for us and relies on the most important theorem in Calculus, Mean Value Theorem). Linearity of Integral: Since  and  (remember I said pay attention to these properties they appear many times in math). The integral also has these properties. I leave that to you to prove.  . Example 28: Let  then  is found by finding an anti-derivative, for example  then,  . Note, we could have chose  as our anti-derivative. That would mean that  but in reality they are the same. Because in the second case by choosing a constant 1 less will result the same as in the second case. Thus, these set of functions are equal.
The following theorem should seem simple. Power Rule: If  and  then  . Proof: Nothing to it, if  then we can define a function  .
Thus,  by the power rule for derivatives. By our theorem since we found an anti-derivative all anti-derivatives differ by a constant. Thus,  .
The case  will be covered later.
I asked around in College what people found more difficult Calculus II or Calculus III more said Calculus II because rules for integrations are developed. Unlike derivatives where any known functions can be integrated. Ihe integral is much more complicated. Sometimes you cannot even find it! And there are many many rules how to deal with each case. Also unlike basic algebra where you understand how it works you do not need to memorize anything, over here some memorization is required because some of these derivations are clever and probably will not be found by just looking at them. I am not going to go through many different types of integrals. Just three very useful rules.
There are two functions that are fundamental in Calculus/Analysis, the exponential and logarithmic functions. I am going to show you an ugly way of deriving the main results of these functions, this is not a standard approach but I think it is important to at least have some idea where they come from. Definition: Define the number  .
Of course, the main problem is that we need to show that this sequence converges to some number which we define as  . One way of doing this, is by using the famous theorem in Analysis, Weierstrauss-Bolzano theorem, which seems obvious, if a strictly increasing sequence is bounded (always below some number) then it converges. Again this is an existence theorem that assures us that the sequence converges but does not provide us to what. Thus, we need to show that  where  and also show that  , then by Bolzano-Weierstrauss theorem such a number exists. But I am not going to do that derivation. Definition: We can define an exponential function  for the entire number line because  . All it is an exponent function like  only with a different base.
If we graph this function it only exists in the area above the x-axis. Hence the range of  are all positive numbers. Definition: An inverse function (if it exists) is a function that undoes the original function. Meaning  is a given invertible function. The inverse is denotated by  (and it does not mean  ) such that  and  . Example 29: The function  does not have an inverse, however if we restrict the domain to  then the half-parabola does have an inverse, namely the square root function  .
A way to determine if the inverse exists is by passing a horizontal line and seeing that if intersects the function once of not. This is not true with the parabola in the example above because for some horizontal lines it pases twice. But by restricting the domain to the positives the half parabola satisfies the conditions. One way to show an inverse exists on an interval is by showing the function is continous and strictly increasing or decreasing (derivative is always one sign) that would assure of a horizontal line passing once. The graph of the exponential function  is increasing and hence any horizontal line drawn intersects (if it does) only exactly once. Thus the inverse function is called the natural logarithmic function  . Definition: The natural logarithm function  is defined for all positives values and it is the inverse of the natural exponential. The value of it means what does  have to be raised to , to result in  ? Thus,  because  .
If the domain of an invertible function  is  and the range is  then the domain for  is  and domain is  . Thus the natural logarithm is defined for the range of  which are the positives and the range is the domain of  which is any value.
Both the exponential and logarithmic functions have important properties. Properties: 
For
Now we get to the derivative of the exponential function and the logarithm. Theorem: The derivative of  is  . Proof: This is not really a proof but it should give some reason. We know that  as  . Thus,  . We can therefore write,  . Thus, for very small  we have  thus  . Thus,  . Thus,  .
Thus, the smaller the number the closer the value,  .
Now we use the limit definition for derivative on  , 
Using the above statement,  .
(The following derivation is not mine, I stole it from my Calculus book). Corollary: The integral  . Theorem:: The derivative for  is  . Proof:: We can write  and take the derivative of both sides, the right hand side is trivial and the derivative is  . The left hand side we use the chain rule,  where  .
Thus, 
Thus,  .
Thus, left hand equal to right hand,  .
Note, the error in the proof is that I never shown that  has a derivative in that case the proof fails. But there is a useful theorem that assures us the inverse function does have the derivative if the original function has.
Sometimes it is useful to consider the following derivative. Theorem: The derivative for  is  . Proof: The difference between this and the derivative I just stated above is the domain of function. In the first case  was the right part of the hyperbola, while this derivative is both parts of the hyperbola. This is because of the absolute vaue it clears signs and hence we have both parts. Corollary: The integral
Note the fundamental property of the natural exponential is that it is itself, of course zero also works but that is uninteresting. Thus the exponential satisfies the differencial equation  . The interesting property about the logarithmic function is that it is a "transcendental function" meaning cannot be expressed ![+,-,\cdot ,/ , \sqrt[n]{\,\,\,} +,-,\cdot ,/ , \sqrt[n]{\,\,\,}](http://www.mathhelpforum.com/math-help/latex2/img/38e308608e9e6d8c5a884f2bf00516dc-1.gif) (funny thing is that I do not think it is proven). While an algebraic functions, like polynomials, rationals, can be expressed as those operations. And we have the derivative of a transcendental function an algebraic function!
We can extend the power rule for integrals. Extended Power Rule: The integral
Up to this point I have explained two very important functions. We will say that many anti-derivatives have them. Right now I will concentrate on three powerful techiniques of finding anti-derivatives. Throughout this I will be using my style of the substitution rule, that I never ever seen anybody do. Because mine is formal (mathematical) while the standard techinque is not and hence it wants to make me vomit. And mine is better because I use it. Example 30: Assume we need to find  . The integration is a linear operator (meaning we can do each one). Thus by the extended by power rule and exponential function we have,  . Substitution Rule
In Calculus it is standard to represent the anti-derivative of a function  in capitals  . Let us assume we are given a standard function  that has an anti-derivative  , that means,  . Let  be some other function which we can take a derivative of. Then by the chain rule, ![[F(g(x))]'=g'(x)F'(g(x))=g'(x)f(g(x)) [F(g(x))]'=g'(x)F'(g(x))=g'(x)f(g(x))](http://www.mathhelpforum.com/math-help/latex2/img/4d76ece601afaa11ff71f5c3eb9eb2da-1.gif) .
That means that  is an anti-derivative of  .
Thus, by the results we developed above,  .
Basically, what this is what the theorem says.
1)We want to find  for some function  .
2)If we can express  for some other functions  .
3)Then we need to find an anti-derivative of  .
4)Then the integral of  is the compostion  .
This theorem is the reverse of the chain rule.
I will do an example using the official way above and then do it using my way, because it will be easier for you to follow. Example 31: We need to find  . If instead we had  then everything is easy. Thus, the inner function  and the outer function is  but we also have that  which surly appears in the intergal because,  . Hence it has the form mentioned above.  . The next step is to find an anti-derivative of the outer function  which is  . Thus the answer is,  .
Because it is an anti-derivative. If you take the derivative you will get back the original function. A useful way to check. Hacker's Subsitution Rule
We know that,  .
For simplicity call  then we have,  .
Where  is some expression of  .
Then we need to find the anti-derivative of the outer function.
That means,  .
Thus, stated another way, 
(The mnemonic is that it is as if we can cancel the  's. But we cannot, that is not a fraction.) Example 32: Now we do it my simplified way. The idea is as follows. We call the inside function  then then we immediately find its derivative  and make it appear in the product. Thus we have  . We see that if we call  we reduce the problem to a basic exponent, what we want. But as I said, we immediately find the derivative  . Thus,  .
Subsitution rule is most important. You need to get good with it. We need much, much more examples. Example 33: We will find  . We see it is reasonable to define the inner function as  . Now we immediately find its derivative  . But there is no multiple of 2 in the integrand! Does it mean the rule fails? No. Remember we factor in and out a constant function. Thus we introduce the 2 multiplier.
Thus,  .
The integral is simple to find through power rule,  . Example 34: We will find  . This is tricker but let us call  . Now we immediately find its derivative  . Look! It is almost in the special form except of the 2 multiplier. Thus,  .
The integral is trivial.  .
I like to mention, that is you were paying attention you would have said,  .
But that does not matter because  is a constant thus  is also, thus we renamed the constant.
This skipping step is typical, get used to it. Example 35: We will find  . Knowing what function to call the inside function takes a trained eye. But we can do,  . Now we immediately find the derivative  . Thus, 
The integral is simple as standard one,  .
(Because Example 36: Here is a much tougher integral  . Let us call  . Then we immediately find the derivative  . Thus we need to make this derivative appear as a multiplier in the integrand. Thus we will multiply the numerator and denominator by the exponential,  .
Since  thus  .
Thus, 
We did not talk about this yet, by the technique is to express the fraction as a sum,  (Excerise). 
Thus, 
Is the integral. You can confirm by taking the derivative and getting back the original function.
I hope you get some idea of integral by substitution, it is the most powerful techique. Integration by Parts
When we have a product of two functions the derivative is easy to find. The integral not thus. The technique is to simply a product into a simpler product whenever possible. Theorem: Let  be functions then,  . Proof: Just as the substitution rule is the inverse of chain rule, this is the inverse of the product rule. We know that  . Integrate both sides and note that  because the integral is the opposite operation of derivative. Thus,  . Corollary: If we move the integral to the other side we have,  .
Note the constant does not matter it will come from the integral itself thus nothing is lost. Example 37: Assume we need to integrate  . We will use the formula directly above. Let  and  . Thus,  and  (constant does not matter it will still appear after the integral). Thus, by parts, we have,  .
In general when you have  you may want to call  and  . Because when you take the derivative the function  . Simply a constant. In fact if you have  where  is a polynomial by calling this function  you will reduce the degree by 1 and apply the theorem again and again. Example 38: Let us have  . Call  and  thus  and  . Thus,  . Now you can do integration by parts again. In the example before we did that and have,  . Again you can avoid the constant function till the end. Example 39: Let us find  . We do the following, we can write, 
And we call,  and  .
Thus,  and 
Thus, integration by parts,  . Partial Fractions Decomposition
The idea I believe first appeared by Bernoulli. It is a techinique for expressing a rational function as a simpler sum. This is not only useful in integration it is useful in other parts in math. For example, a very useful way to solve certain types of differencial equations is with a Laplace Transform, but to use them you need to know partial fractions. General Theory: There are several cases, they should seem clear.
1)A rational function is a quotient of two polynomial functions. If the numerator's degree exceeds the denominators then you need to use long division to obtain a fraction with the numerator having a smaller degree then denominator.
2)A rational function which satisfies #1 (smaller degree on top) of the form: 
Can be expressed as, 
Where  are constants that need to be determined.
3)A rational function which satisfies #1 of the form: 
Can be expressed as, 
Where  are constants to be determined.
4)A rational function which satisfies #1 of the form: 
Can be expressed as, 
Where  are constants to be determined.
5)Any function satisfying #1 is a sum of all of those.
(Note there cannot be a function with a cubic denominator because by the Fundamental Theorem of Algebra "Any non-constant polynomial can be factored uniquely up to a multiplicative constant into linear and quadradic factors". Thus anything can be expressed in terms of quadradics and linear polynomials).
The only difficutly now is to find the constants. Example 40: Consider  . We will only set us the form. The theory assures us that we can find constants such that (note smaller degree on top), 
Note, by #5 we have 3 distinct cases:  case # 4,  case # 3,  case #2.
Thus, we have the sum of those. Example 41: We will decompose  . It fits #1 thus the theory says: 
Now you multiply by the denominator of the original function, 
Thus,  meaning  .
Thus,  means  thus  .
The decomposition is, Example 42: We will decompose  . It fits #1 thus the theory says:  .
(Note we can do #4, but why?).
Multiply by original denominator to clear fractions, 
We have a linear system, 
Thus, 
The decompostion is thus, 
Check and see. Example 43: Thus, the integral  can be simplified, 
I leave it to you do use verify the substitution rule,
I like to mention some functions has no anti-derivatives in the standard functions. The branch of math that works on these problem is called differencial algebra, it reminds of the fact that no formula exists for quintics. It is in fact can be shown that no such function can exist. The most classic example, is the useful function in probability theory,  .
It cannot be do.
This completes my post on methods on integration. There are many more. But these are most important techinques. It is extremely important that you try to do the excerises and get good at integration.
~~~
Excercises.
Find the integrals.
1)  Easy
2)  Medium
3)  Easy
4*)  It has a star what do you think!?
5)  Easy
6)  Easy
7)  Easy
8)  Easy
9)  Medium
10)  Hard
11)  Hard
12)  Easy
13)  Easy
Last edited by ThePerfectHacker; May 21st, 2007 at 06:52 PM.
| | The Following 5 Users Say Thank You to ThePerfectHacker For This Useful Post: | |  | 
January 18th, 2007, 12:19 PM
|  | Global Moderator | | Join Date: Nov 2005 Location: New York City
Posts: 11,186
Country: Thanks: 482
Thanked 3,758 Times in 3,070 Posts
| | The last lecture discussed how to find anti-derivatives and integrals for functions. Of course, the question is what does that accomplish? We know that derivatives are extremely useful in several problems, but where are integrals used? We will concentrate on several applications of the anti-derivative.
First we need to introduce a definition. The integral  is called indefinite and it represents all the functions that are anti-derivatives. The integral is not a function, it is a real number. It represents something else which we are about to discuss. Since the indefinite and definite integral are very closely related we use almost the same notation. Definition: The area below (or above ) a curve is bounded by the x-axis, by the curve, and by the the vertical lines from the endpoints. Definition: When the curve is above the x-axis is has a positive area, when it is below it has negative area. Example 44: The curve  on ![[-1,1] [-1,1]](http://www.mathhelpforum.com/math-help/latex2/img/d060b17b29e0dae91a1cac23ea62281a-1.gif) is a semi-circle, the area is positive for it is above and its value is  . Example 45: If we consider the lower semi-circle  on ![[-1,1] [-1,1]](http://www.mathhelpforum.com/math-help/latex2/img/d060b17b29e0dae91a1cac23ea62281a-1.gif) it is the same value only negative.
When calculus was first being developed it was not yet on a solid foundation (math abstraction was almost non-existant at the time). The following definition is closer to the original Calculus. Definition: The definite integral  for a function defined on ![[a,b] [a,b]](http://www.mathhelpforum.com/math-help/latex2/img/2c3d331bc98b44e71cb2aae9edadca7e-1.gif) is defined as the area below (or above) the curve (note positive or negative as stated in the definitions above).
Please forgive me, I am going to be using the term "integral" mostly associated with definite integral, and maybe sometimes with "indefinite integral" since it is a waste of keystrokes to type the full meaning you should be able to deduce yourself what context is used.
The problem with this definition is that mathematically we never defined what area means. Yes, it is true we can understand what we are trying to say, but mathematicians cannot accept that. Thus, in the 19th Century, one of my favorites, Georg Riemann defined the integral in acceptable terms. This is what Riemann did:
1)Took some function  defined on ![[a,b] [a,b]](http://www.mathhelpforum.com/math-help/latex2/img/2c3d331bc98b44e71cb2aae9edadca7e-1.gif) .
2)And broke the region into  rectangles.
3)Then he summed them up in area.
4)Took limit as  .
5)The more and more rectangles you use, the closer it approaches the area of the curve.
6)This is well-defined, meaning does not matter how you break the region into rectangles the limit is the same.
Thus, Riemann defined area below a curve to be the limiting value of the rectangles. Animation.
In fact, the greatest, Archimedes, was able to obtain formulas for extremely complicated shapes by using this techinique, that is an early form of integral Calculus.
Thus, you can think of the definite integral as the area below a curve or the limit of a sum (limit of the summing rectangles). Example 46: The integral  from the above discussions. Because that is the area of the semi-circle.
The following should seem simple if you think of integration as area. Scalar-Multiple: A constant can be factored,  . Sum: The definite integral of sum is sum of integrals,  . Subdivision: For some point inside the interval
Again, look at the sum rule. The integral of a sum is the sum of the integrals, again the linearity property (or homomorphism as I called it, see it appears again and again).
I like to mention that thus far integration (definite) was only defined on an interval ![[a,b] [a,b]](http://www.mathhelpforum.com/math-help/latex2/img/2c3d331bc98b44e71cb2aae9edadca7e-1.gif) meaning  . Thus, we extened the definition as follows. If  then there is no interval and hence the integration (area of line) is zero, meaning, 
When  the interval is not defined (empty) but we can still define,  .
These definitions are sometimes useful.
One more note. Mathematicians use the term integratable. A function  is called integratable on a closed interval ![[a,b] [a,b]](http://www.mathhelpforum.com/math-help/latex2/img/2c3d331bc98b44e71cb2aae9edadca7e-1.gif) is said to mean that the Riemann sum (the limit of the rectangles, or the area below a curve) exists. Here is an example, consider  on ![[-1,1] [-1,1]](http://www.mathhelpforum.com/math-help/latex2/img/d060b17b29e0dae91a1cac23ea62281a-1.gif) and define  to be  . Thus, we have a function  defined to be the reciprocal at all non-zero points and 0 at the zero point. This function is certainly defined on the interval but it is not necessarily integrable, because as we approach the zero point the area gets larger and larger, and we do not know if it has a limit or not. Thus, a useful theoretic theorem says that any continous function is always integratable, it should seem "obvious" again if you think in terms of area. The Area Problem
The following approach to this problem and other related applied problems is my own. I think this is the smoothest they come. Of course, the problem is given a curve on some closed interval how can we find the area? Say we are given a continous function on the interval ![[a,b] [a,b]](http://www.mathhelpforum.com/math-help/latex2/img/2c3d331bc98b44e71cb2aae9edadca7e-1.gif) , is there a way to find the area below (or above) it? One way is to approximate the area, but is there an exact way? Yes!
I am not sure who first discovered this, but I believe it was Issac Barrow, he was Newton's teacher.
Let  be a continous curve on the closed interval ![[a,b] [a,b]](http://www.mathhelpforum.com/math-help/latex2/img/2c3d331bc98b44e71cb2aae9edadca7e-1.gif) .
Define the following function, called the "Area function".
1)  is defined for  .
2)  is the area of  on ![[a,x] [a,x]](http://www.mathhelpforum.com/math-help/latex2/img/a7783208283b6aa11e1a07378a1ae7dc-1.gif) .
Example,  on ![[0,1] [0,1]](http://www.mathhelpforum.com/math-help/latex2/img/ccfcd347d0bf65dc77afe01a3306a96b-1.gif) . Then  is the area of  on ![[0,1/2] [0,1/2]](http://www.mathhelpforum.com/math-help/latex2/img/f8c2fdd9788155314d87d62c261ac20f-1.gif) .
You can think of it as how much we move away from the starting point as we sum the area.
3)  because it is the area of a single line.
4)  is the full area, what we actually seek as the answer. That is,  .
Once we defined the Area function here are the steps.
5)Choose a point  in side the interval.
6)Move a little to the right by a very small amount  .
7)The area of the small region is  .
8)But it is approximately the area of the rectangle (see below), when drawn around it.
9)The area of rectangle is,  .
Now we have the following equation, 
Thus,  .
The smaller the change the closer the approximation.
Thus, 
But that is the derivative!  .
Thus the derivative of the area function is the original function!!!
Now we can solve the problem (the differencial equation).
Let  be any anti-derivative of  . Then,  . Where  is the constant to be determined. Note, I mentioned before that in order to solve a differencial equation you need initial conditions. The intitial condition was step #3. Thus,  .
Thus,  .
Note any anti-derivative works, because the contants end up killing eachother.
That is the solution to our problem. It is remarkable how integration (definite) and differenciation are so closely related to each other.
So we actually has 2 important results from this derivation that I did. First Fundamental Theorem of Calculus: Let  be a continous curve on ![[a,b] [a,b]](http://www.mathhelpforum.com/math-help/latex2/img/2c3d331bc98b44e71cb2aae9edadca7e-1.gif) . And if  is a continous function on ![[a,b] [a,b]](http://www.mathhelpforum.com/math-help/latex2/img/2c3d331bc98b44e71cb2aae9edadca7e-1.gif) (any) such that  on  then,
What an elegant theorem! Here is a related theorem. Second Fundamental Theorem of Calculus: If  is continous on ![[a,b] [a,b]](http://www.mathhelpforum.com/math-help/latex2/img/2c3d331bc98b44e71cb2aae9edadca7e-1.gif) . And  , define a function  then,  for  . Proof: We gave a geometric justification for the first theorem, the second theorem is the area function, you see why? Because  is the area up to point  , which was our  and we shown that its derivative is back to the original functions. I just like to mention in the second theorem we have  it is the same function just expressed in terms of  and the purpose of  is saying we are integrating along the  variable. We did not need to write that, and keep everything in  that is just considered messy using the same variable over and over again.
Now, you see why  (indefinite) and  (definite) look similar as symbols, because they are in fact similar. Because to find the definite we need to find the indefinite first, those are our fundamental theorems. I also like to mention that enough though they are called the fundamental theorem they are not, I think that the extreme value theorem that we had and the mean value theorem (which we did not mention) are by far the most important theorems. In fact the formal mathematical proof to the first fundamental theorem is based on the mean value theorem. I just think it is supprising that they were called the fundamental theorems. As a historical note I think it is interesting that the first person to use integration was Archimedes, he solved complicated problem by breaking them into infinitely many smaller objects and adding them up (Riemann sum). Another interesting note, is that the first person to compute the area under  was Fermat, though we has one of the founders of Calculus, the concept of integration was non-existant, how he did it, I do not know. Example 47: Find the area under the parabola  on ![[0,1] [0,1]](http://www.mathhelpforum.com/math-help/latex2/img/ccfcd347d0bf65dc77afe01a3306a96b-1.gif) . By the Fundamental Theorem of Calculus we need to simply find the anti-derivative (this is where the lecture on methods of anti-differenciation become important). In that case  . Thus, the answer is  . In terms of definite integral it looks like this,  . Example 48: Find the area above the parabola  on ![[0,1] [0,1]](http://www.mathhelpforum.com/math-help/latex2/img/ccfcd347d0bf65dc77afe01a3306a96b-1.gif) . Note the answer is going to be positive because we defined signed area that way. We can use the Fundamental Theorem or we can use the property that,  . As expected. Example 49: Here is an example of the Second Fundamental Theorem. Let  . Note if we use the First Fundamental Theorem we need to find an anti-derivative  and evaluate at the boundary points.  . Thus,  that means  . Or we could have just empolyed the Second Fundamental Theorem, the term inside the integrand is  thus,  (only the variable is renamed). Example 50: Here is a another example  . That radical is one crazy thing to integrate, it leads to Elliptic Integrals, but there is an easier way to find the derivative without actually integrating. Note we cannot directly use the Second Fundamental Theorem because it does not have the special form thus we need to bring it to that form. And we use our favorite rule, the chain rule.  and  .
Thus,  (this is Second Fundamental Theorem).  .
Thus, chain rule,  .
Just a simple point, the top number in the called the upper limit and the bottom number is called the lower limit in a definite integral. When we use the Second Fundamental Theorem of Calculus it does not matter what the lower limit is because we if actually used the First Fundamental Theorem we will get a constant in the end which will die when we differenciate. Example 51: Find  . This is a more advanced integration. Thus we first find the anti-derivative,  .
Let  and  .
Thus,  and  .
Integration by parts,  .
We can drop the constant because the theorem works for any anti-derivative.
Thus,  is an anti-derivative for  . (You can check this to assure thyself by differenciating).
Then we evaluate at the lower an upper limits  and 
Thus,  , is the exact value.
Just another simple point. Just because the definite integral is positive does not mean it is a positive function. Because it can be more positive than negative, thus the positive area overtakes the negative area.
Two extremely useful rules to know when you integrate, they save a lot ot time. Especially when you start doing Fourier Series. Definition: An even function (on some interval) is one such that  for all points (on that interval).
Geometrically this means a function which is its mirror image in the y-axis.
Thus, this should seem "obvious". Theorem: If  is an even function then  . Proof: Since of symmetry we have the same area on both sides. We choose one side and double. Definition: An odd function (on some interval) is one such that  for all points (on that interval).
Geometrically this means a function which is its point image in the origin.
Thus, this shoud seem "obvious" Theorem: If  is an odd function then  . Proof: Since of symettry one half is in the positive and the other in the negative, they kill each other to zero. Properties
Let  be even and  be odd.
1)  is even.
2)  is even.
3)  is odd.
4)  is odd.
Your excercise is to prove them.
A mnemonic is to associate +1 with even and -1 with odd. Then, their product will reveal the sign of the function. Example 52: Though we never discussed the sine function but if we graph it (in radians) on ![[-\pi,\pi] [-\pi,\pi]](http://www.mathhelpforum.com/math-help/latex2/img/a5d4b5c6dcadd17bce3289ba1891d927-1.gif) . We see that  is odd (origin point symettry). We also know that  is even on ![[-\pi,\pi] [-\pi,\pi]](http://www.mathhelpforum.com/math-help/latex2/img/a5d4b5c6dcadd17bce3289ba1891d927-1.gif) . Thus,  meaning  is odd. Thus,  is odd. Look how easy! If we did it the actual way we need to use integration by parts twice (because we reduce  1 degree each time we differenciate) and a lot of evaluating.
The rest of this lecture will be based on two more applications of integration. But before I get there I want to discuss some applications of the theorem we just discovered. When I was younger the method I used determine the value of  was based on the area below a circle. That is,  is a semicircle with radius of 2. Thus, the area of quater circle is  that is,  , thus, I was all excited that I discovered an equation that solves for  , but the funny thing is that if you actually evaluate that integral (by using advanced techniques that we did not discuss) you will get  , thus you get  which gives you nothing. However, you can approximate that integral by approximation methods (which we also did not discuss but I can show the general idea of how it is done). And hence we get an equation that approximates  , (though it can be shown the method is not very efficient). Thus, we have shown how integration can be used in approximation of some irrational numbers, and how mathematicians do it. Area of Ellipse
The ellipse is one of the four conic sections: circle,ellipse,parabola,hyperbola. Only the main result about the equation of an ellipse will be given without a derivation. The general equation on an ellipse, centered at the origin is,  .
Where,  is the semi-horizontal distance the ellipse spans.
And,  is the semi-vertical distance the ellipse spans.
A simple mnemonic, since  goes with  it measures the horizontal distance (x-axis).
And since  goes with  it measures the vertical distance (y-axis).
Note, if  then,  is a circle at origin of radius  . Thus, in some ways you can think of a circle as an ellipse.
An important integral that we should know, is that for  , the integral  , because that is the quater-area of the circle.
To find the area of an ellipse we need to express this curve as a function  , and then use Fundamental Theorem of Calculus. Thus, 
Note, this is the upper ellipse, because we only solved for the positive sign of  .
This curve, the represents a semi-ellipse, at the origin, with sem-horizontal span of  and vertical span of  .
Thus, the full area of the ellipse (by symettry) is, 
But the function  is even, thus, we can simplify, 
Recognize, the integral? We mentioned it just before.
Thus,  .
Thus, to find the area of an ellipse you take its semi-major and semi-minor lengths and multiply then together with  .
Note, if it is a circle then  and hence  . The Volume Problem
The general problem of finding a volume below a general surface is a Calculus III problem and it uses the analouge of a double integral, which we will not discuss. However, we will discuss a simpler case which is sometimes useful. It is called "volume of revolution". Definition: The solid of revolution (about x-axis) is a solid formed by rotating (or spinning) some continous curve  on ![[a,b] [a,b]](http://www.mathhelpforum.com/math-help/latex2/img/2c3d331bc98b44e71cb2aae9edadca7e-1.gif) .
The approach to finding a formula is similar to what we did in the area problem. You should understand these derivations because you will be able to solve similar related problem yourself.
Again we have a continous curve on ![[a,b] [a,b]](http://www.mathhelpforum.com/math-help/latex2/img/2c3d331bc98b44e71cb2aae9edadca7e-1.gif) .
We spin it around the x-axis and create a solid.
Let  be a function defined for  .
The value of  is the volume until  (like the area function).
Thus,  it is the the volume of an infinitely thin cyclinder.
And  is the full volume what we seek.
Choose a point  inside the interval.
And move a little to the right by  .
Then the volume of the small section that you moved is, 
But we can approximate it, it is almost like the volume of the cyclinder.
The volume of the cylinder is ![\pi [f(x)]^2\Delta x \pi [f(x)]^2\Delta x](http://www.mathhelpforum.com/math-help/latex2/img/d3366d50dc0eb21b8c45d4340fbaabbc-1.gif) (the radius squared times its width).
Hence, ![\frac{V(x+\Delta x)-V(x)}{\Delta x}\approx \pi [f(x)]^2 \frac{V(x+\Delta x)-V(x)}{\Delta x}\approx \pi [f(x)]^2](http://www.mathhelpforum.com/math-help/latex2/img/f9568038be4728d0633bad19cf5665d1-1.gif)
The smaller the increase the closer the approximation, ![V'(x)=\pi [f(x)]^2 V'(x)=\pi [f(x)]^2](http://www.mathhelpforum.com/math-help/latex2/img/526cc0ffff0611fad3ed0dff7bf22c8e-1.gif)
Let  be any anti-derivative of ![\pi [f(x)]^2 \pi [f(x)]^2](http://www.mathhelpforum.com/math-help/latex2/img/0840a7fba1cda980d69bdcb0c64e0396-1.gif) .
Thus,  for some constant.
The initial conditions (in the differencial equations) say,  .
Thus, ![V(b)=F(b)-F(a)=\int_a^b \pi [f(x)]^2 dx=\pi \int_a^b [f(x)]^2 dx V(b)=F(b)-F(a)=\int_a^b \pi [f(x)]^2 dx=\pi \int_a^b [f(x)]^2 dx](http://www.mathhelpforum.com/math-help/latex2/img/952113d94feb3a4ca9060cdfef89e306-1.gif) .
We have the following. Theorem: The volume of revolution of a continous curve on ![[a,b] [a,b]](http://www.mathhelpforum.com/math-help/latex2/img/2c3d331bc98b44e71cb2aae9edadca7e-1.gif) (about x-axis) is, ![\pi \int_a^b [f(x)]^2dx \pi \int_a^b [f(x)]^2dx](http://www.mathhelpforum.com/math-help/latex2/img/b66a1ce6e050200d12b38cc94b4ca80d-1.gif) . Example 53: We can use this to find the volume of a circle. The curve  is a semi-circle. Rotate about the x-axis and we have a sphere of radius  . Thus, the volume is,  . (Details Omitted).
Here is another useful formula that we will not derive but will later use. The surface area when we rotate a curve is given by, Arc Length Problem
Same idea, to find a length of a curve (this time continously differenciable) on the interval.
Again, we have  on ![[a,b] [a,b]](http://www.mathhelpforum.com/math-help/latex2/img/2c3d331bc98b44e71cb2aae9edadca7e-1.gif) .
Define a function (note the same approach over and over again)  .
To be the length from  to  .
That is,  (initial condition for differencial equation) and  is what we seek.
Pick a point inside the interval  a move a little to the right by  .
Then,  is the length of that small segment.
We can approximate its length by finding the distance between the points.
The first point has location  and the other has 
The distance is, 
Thus, 
Take the limit, 
Thus, ![S'(x)=\sqrt{1+[f'(x)]^2} S'(x)=\sqrt{1+[f'(x)]^2}](http://www.mathhelpforum.com/math-help/latex2/img/a3107b9c1bbe521dff940f67d2193c35-1.gif)
Using the initial condition we get, ![S(b)=\int_a^b \sqrt{1+[f'(x)]^2}dx S(b)=\int_a^b \sqrt{1+[f'(x)]^2}dx](http://www.mathhelpforum.com/math-help/latex2/img/e56475eac1e46cfb093bce11e81e5ec5-1.gif) .
I want to say what I meant by "continously differenciable". Note, when we take the limit we get the derivative of the of function also, thus we need to know the function is differenciable. But further, we ignored the radical and as if substituted the limit for the function, and we can do that when a functions is continous. Thus, I means the function is differenciable and its derivative is continous (called smooth). But if you do not understand that, that is not important, when you first learn Calculus. Theorem: The length of a continously differenciable curve  on ![[a,b] [a,b]](http://www.mathhelpforum.com/math-help/latex2/img/2c3d331bc98b44e71cb2aae9edadca7e-1.gif) is, ![\int_a^b \sqrt{1+[f'(x)]^2} dx \int_a^b \sqrt{1+[f'(x)]^2} dx](http://www.mathhelpforum.com/math-help/latex2/img/8b57f8a9c4655fa0a8f5ed105fd566a2-1.gif) .
This turns out to be a very bad integral to integrate, using the techinques that I shown you because it has a radical. Thus, for many problem texts ask to approximate. Example 54: Consider the parabola  on ![[0,1] [0,1]](http://www.mathhelpforum.com/math-help/latex2/img/ccfcd347d0bf65dc77afe01a3306a96b-1.gif) the length of this curve is,  .
We did not discuss how to integrate that, it can be done. The types of functions used are hyperbolic functions, they are related to the exponental  function. But that is too advacned for us, and all we did was set up the integral. The Circumfurence of Ellipse
When I was younger I tried to find what the formula for the perimeter of an ellipse is. My final solution was  where  are the semi-major and minor axis. Hence you can think of this as the average of the radii. It turns out it is wrong but it is close approximation. I believe a much more accurate formula is  . But, the question you probably have is why is there no exact formula? We will answer some of this question.
As we already know any ellipse can be expressed as, 
Again this is just the upper half.
Using the arc length formula we need to find,  .
Substituting that in for the function and squaring we have,  .
Now the problem is that this integral cannot be expressed in elementary functions (the standard functions) like I mentioned in the previous lecture that that sometimes happens. This problem was studied primarily by Abel and lead to something call Elliptic Functions. These are new types of functions that integrate this. I myself do not know what courses actually teach these functions, not because they are difficult but because it is unnecessary.
This lecture has demonstrated the power of integrations. Virtually all fields in applied math involve integrations. These were just geometrical applications. I have exceeded the limit with the number of charachters (limits is 30,000)! I will continue my post with the next post. Along with the Excerises
Last edited by ThePerfectHacker; May 21st, 2007 at 06:55 PM.
| | The Following 3 Users Say Thank You to ThePerfectHacker For This Useful Post: | |  | 
January 18th, 2007, 01:14 PM
|  | Global Moderator | | Join Date: Nov 2005 Location: New York City
Posts: 11,186
Country: Thanks: 482
Thanked 3,758 Times in 3,070 Posts
| | Improper Integrals
All the cases we have considerd thus far where on finite intervals. Several times in math it is useful to consider infinite intervals. The interval we will consider is  . Definition: The integral  is defined as  for a function  defined for  . Example 55: Consider the integrals  and  . To evaluate the first integral we need to find first  (an anti-derivative) thus  is an anti-derivative (again the constant does not matter when we use the first Fundamental Theorem). And we evaluate it at  and  . Thus,  now take the limit  and we get  . Thus,  and we say this integral converges (it has a limit). But when we do  we end up with  where  thus this value gets larger and larger hence no limit. Thus we say it diverges. Geometrically means that the infinite area below the first curves actually exists! Example 56: Consider  and  . First we work with the first integral. First we find the anti-derivative  and evaluate it at  and  . Thus,  and as  this grows without bound (but very slowly). Thus, the integral diverges, geometrically it means the infinite area gets infinitely large. Now the second integral. First we find the anti-derivative  . And evaluate it  and as  we have  . Geometrically it means the infinite area exists below the curve. The Gabriel Horn Paradox
I love this next example. But we will not be able to do it in full detail. A Gabriel Horn is a solid obtained from rotating the curve  about the x-axis. And hence we get an infinitely long horn which gets narrower and narrower. The two questions that are of interest is the volume and the surface area of revolution. The volume in this case is on the interval  because we are considering an infinitely long horn.
Thus,  as in previous example.
But the surface area is,  | | |