Wednesday, June 5, 2013

Improper Integrals

Here is a link to our Prezi. Although it explains most everything you need to know about improper integrals, we'll still explain it in this well versed blogosphere post.

An improper integral is an integral with limits that go out to infinity, OR it's an integral with an infinite discontinuity between its parameters.

They can look like this:









Or like this:


We began by using the example:





The graph of this is:



We're trying to find out whether the AUC of this graph is decreasing fast enough that it approaches a number. If the AUC of a graph approaches a finite number, then the limit is said to
CONVERGE
If the graph's integral approaches a number like infinity, then the integral is said to
DIVERGE

We need to find out if this graph is convergent or divergent, so to do that, we set up our limit like this:
 
Then you integrate with respect to t before plugging in the limits, like this:

Then you plug in infinity for t, which simplifies your answer to:
1
Since this limit approaches a finite number, this example is
CONVERGENT
#swag #calrobbins #limitswag #whatwhat? #OBisthebest #A+Blogpost

Patrick JMT also did his own version of this limit. If you like him better, or if you just don't like us, then watch him. Then look at this:
 
Side-splitting laughter. I know.

We also showed the class this wonderful video which shows an infinite discontinuity at an endpoint, and then we ended this class with wonderful questions from wonderful people and some other not so wonderful people.

Thanks for a great year guys! We'll miss you all.

Well...most all of you.




 #CalRobbins and #EddieMcCluskey OUT.

Thursday, May 30, 2013

Arc Length of a Curve

Arc Length of a Curve

with Anna, Chelsea, and Claire

https://docs.google.com/document/d/1cXAeMFuCnEbcgDYZE16NXayhOy5J3gEyBHdcpVDKm3g/edit?usp=sharing

Taylor Series

This is the Taylor Series.

Presented by Caroline Albertson, Lexi Doudera, and Eben Kopp.

On the Thirtieth of June, in the year of 2013, as we know it.


The concept of the Taylor Series was formally introduced by the mathematician Brook Taylor in 1715.

If the Taylor series is centered at zero, then that series is also called a Maclaurin series, named after the Scottish mathematician Colin Maclaurin, who made extensive use of this special case of Taylor series in the 18th century. 

The Taylor series is commonly used to approximate a function, using the series specifically. A Taylor polynomial is any finite number of initial terms of the Taylor series of a function. The Taylor series of a function is the limit of that function's Taylor polynomials, provided that the limit exists.

When you are approximating a function, the Taylor series goes like this:

f(a)+\frac {f'(a)}{1!} (x-a)+ \frac{f''(a)}{2!} (x-a)^2+\frac{f^{(3)}(a)}{3!}(x-a)^3+ \cdots.

Where it can be written as a more compact notation:
 \sum_{n=0} ^ {\infty} \frac {f^{(n)}(a)}{n!} \, (x-a)^{n}

where n! denotes the factorial of n and ƒ (n)(a) denotes the nth derivative of ƒ evaluated at the point a


Example:

We will approximate the graph of \sin x using the Taylor series. 

As the Taylor polynomial increases with each degree, it approaches the correct function.

 
This graph shows \sin x and it's Taylor approximations, polynomials of degree 1357,911 and 13.


Here is another example of the Taylor series and the graph of e^x.




This graph shows e^x and it's Taylor approximations, polynomials of degree 1, 2, 3, 4, 5, 67, 8, and 9.

Here are the calculations which go along with the graph:


Now that you know what the Taylor series is, here is a video which shows just how much we love math:

Here is a link to our quiz:

Wednesday, May 29, 2013

Integration by Partial Fractions

Integration by partial fractions can be difficult - it's a good thing we're here to help. Let James and Alex guide you through the tricky world of partial fraction decomposition as it pertains to integrals.

We begin with a difficult example of a function to integrate: let's say you wanted to find something like:
Looks time-consuming, no? Well, there is a way to more easily reduce integrals via the magic principle of decomposition! Decomposition of a fraction is the process of breaking down more complex equations into their component parts. The first thing you should know is that this method of integration is based off an old algebra trick, simply applied to calculus. We all know the Fundamental Thorem of Algebra which states that all polynomials can be factored into linear, irreducible quadratic and/or complex (containing imaginary components) factors. This means that polynomials will always have roots which are either linear (such as x+4, x-7, or 12x etc) or are irreducible quadratics which when "reduced" are shown to be made themselves of factors which contain imaginary numbers, always in pairs. Let's say we're not getting into imaginary numbers in our integrating, and we are happy with leaving our decomposed polynomials in terms of their basic building blocks - linear and irreducible quadratic factors.

An important note, however, is that this method about to be described only applies to equations being integrated who take the form of a fraction (technically all equations are fractions) but with the caveat that the denominator (bottom) of the fraction must have a higher power of x than the numerator (top). In cases where the function being integrated has a higher degree numerator, simple long division of your  integral will suffice to find your answer. 

Lets look at the denominator of the above integration.

The reducible quadratic shown in the bottom of the fraction being integrated above is factored into its component parts, two linear factors (x+3) and (x-2). This is nothing new - we've been factoring polynomials for a long time now. Our new integral looks like this: 



This is the first of the four major cases which apply to integration by partial fractions - the decomposition (breaking down into factors for easier integration) of Distinct Linear Factors (when the fraction denominator being decomposed breaks down into simple linear factors). 
1. Take a look at the following equation and see if you can follow the logic involved.


Why have these constants A and B suddenly been introduced to this process? For the equation in question, it is necessary for some value of A and B to exist so as to make the equality above an accurate statement, right? Some A must exist and some B as well which make this a true statement since the denominators of the two parts of the second side of the equality are factors of the first. We'll demonstrate with a very simplified version of this rule:

If we suppose, this makes sense right? We know that.

If we multiply both sides by a funny form of one, we can create a common denominator to match the one we factored apart. When we do this we can see that the above equation is true. 
Lets apply this simple rule to our more complex function being integrated. We'll use the same multiplication by one strategy to create a common denominator, and use that to create a more simple form of our function so as to integrate without as many problems - we'll be decomposing it. 
 ...all dx, of course.
So how does this help us? Well, now both sides of our equation share the same denominator - let's take it right out. Also, lets drop the integration brackets. They're obscuring our goal right now - to find the values for those two constants A and B and create a more simple equation in order to integrate.
Now, we made a fairly large leap of faith in beginning this problem - mostly, that this equation we're using is differentiable. If we continue to hold this to be true, we assume that this equation we have just found is an identity, meaning that it is true for all values of x in order to be a continuous function which can be integrated at all points. 

If we can plug in any x value and be given a correct result in this equation, we can use this to our advantage! Lets cheat the system! The following is a means of performing fractional decomposition which does not work in every circumstance - its a trick like the "drop the power" rule for differentiation, as it only works in simple cases like Case 1 - Distinct Linear Factors. Lets plug in x values which will result in answers for A and B. Try plugging in x=2
Thus, we know now that B = 2/5
Lets do the same strategy for A: say that x = -3
Likewise, we now know that A = 3/5
Now, lets use this knowledge to decompose our origional integral!
 and thus, plugging in our values, 
This is actually , as the now defined A and B are constants.
The new form of the original integral we've found is much easier to integrate now. By using the rule of the integral of 1/x, and remembering that this integral does not have set limits and thus requires a +C, we find the answer to be:
From that messy fraction integral, we have produced an answer! Nice job!

This trick of setting things equal to zero by exploiting the identity of the function we are using can also be applied to problems which belong to Case 2: repeated linear factors. When you see functions which you need to integrate which contain linear functions as the factors of their denominator, but which are repeated more than once, you approach the problem in much the same way. 

How would you go about attacking this? 
Use the same approach as before, making sure to take into account all possible factors of the denominator. This denominator has many more factors than our original easy example - let's see if we can't find them all.
The parts which go into this function's denominator are (x+1) and (x), yes, but don't forget that its also true that a root for this function is (x+1)^2 and (x+1)^3 as well. With this knowledge, we can set up our decomposed series of fractions. Again, we drop the integral sign for the sake of clarity, and will pick it back up later when we actually solve the integral.

Are you seeing a pattern so far? The fractions we use are comprised of the factors of the bottom of the original function, with letter placeholders over each one which represent constants we will solve for. Integration by partial fractions is a long and painstaking process, but its most important feature is that it yields results. You can probably see how we would go about answering this problem: multiplying by forms of one in order to create one single denominator, then substituting in values of x to isolate constants and solve. Then, we plug in values and perform integration just like the first time. 

Now, lets look at the other two cases which are possible in this method. So far, we've been dealing with distinct linear factors, but Case 3 - Distinct Quadratic Factors and Case 4 - Repeated Quadratic Factors are more difficult to solve as they are often at least semi-immune to this trick we've learned so far. So, let's learn the one true (yet painfully slow) method of reducing these equations down. It starts a lot like all the other forms of decomposition, by breaking down the denominator into fractions bearing the parts of said denominator. In Case 3, we see equations like 
Notice first off that the denominator is made of irreducible quadratics, aka quadratics which can't break down into linear functions without involving the use of imaginary numbers. Thus, they must remain in the form they are in. Why, you may ask, have the simple constants of A and B become so complicated in this new form, with x's and all? When broken apart in this manner, these equations containing quadratic factors must contain generic linear factors with generic terms like A and B and C and D on top instead of even simpler constants, since these denominators must be one degree greater in power than the numerator which they are underneath. When we were only dealing with linear factors, our numerators were one power less than them, having x's raised to the 0 instead of to the 1. Now, we've raised all the powers by one. Case 4 takes this idea to yet another level in much the same relation that case 1 had to case 2. A sample case 4 problem would look like this: 
Just like in case 2, we approach this problem by finding all possible factors and creating a decomposition which reflects them.
Now, this is much more complicated a setup than we've had to deal with so far. Let's learn the principle which will serve us better for these more complicated quadratic decompositions. Our trick works well for easier equations, but there is a longer and more time-consuming method which will work every time. 

We'll use an easy example: let's refer to our original original equation way back in case 1 which told us that the following relationship was valid.  

We will now put a name to this new process - it's called Equating Coefficients. First, we multiply our A's and B's in. 
Now, let's look at the invisible exponents in front of our x.
This is where the equating of the coefficients comes into play: since these two identities are equal to each other, the coefficients of each x^1 should equal out, as well as the coefficients of the x^0. This way, we know that 1 = A+B, and that 0 = 2A+B

We now have two true equations, which can be solved any number of ways - the chief two being either equating of equations, or substitution. We'll demonstrate both.

     1 = A+B                                                 1-A = B
-    0 = 2A+B                                               0 = 2A + (1-A)
____________
     1 = -A

A=-1, substitute back in to find B = 2
Are these answers familiar? They should be, they're the exact same answers we found for this example when we did it via our little trick! Equating coefficients is longer and more time-consuming, but will never fail you. Combine it with the trick (for finding of easily-identified coefficients) in order to get to the values you're looking for, and decompose your function into a more easily-integrated form. If you want any practice, UC Davis has 10 problems which they explain well, which will help you practice the basics.



Surfaces of Revolution

Surfaces of Revolution
Measuring the Enigma

Surface area really is tricky. Volume, as we know, can be measured using liquid. An interesting aside, Archimedes originally discovered this principle while taking a bath, and he subsequently ran through the streets naked shouting about it (you can learn all about that story here). Measuring length is a similarly simple process: take a string, match the curve, and the measure the string. Easy. Surface area, however, is different. Certainly, surface area is simple enough to find on prisms, and they have flat sides, but once curves are involved the process becomes more difficult. (the video I showed a part of during the presentation)




Take this torus for example. The surface area of this object could be measured by calculating the surface area of each individual square on the surface on this torus. However, it would not be all that accurate. But what if we called the surface area of these squares as representative rectangles? What if their size was our change in x? If that was the case, we could set up a limit as the size decreases towards 1/∞ that acts on a summation of all the surface areas. This limit would give us an approximation of the surface area (seen below).


However, this equation is only useful as a model of an idea. It is not really feasible, at least at our level of mathematics. For this reason, we will think about surface area in terms of circumferences. 



Just as each representative radius led us to the area when finding the volume of a surface of revolution (below), that same radius begs us to use circumference when finding surface area.

VOLUME                                         SURFACE AREA
  

The surface area method sums up the surface area of the sides of our beloved representative rectangles. For this reason, it is important to pay attention to the shape of these surfaces of revolution as each limit is approached. If the surface of revolution animation above, there are two small disks at either end. Those disks both have their own surface area, so their area must be individually calculated. If we say that r(x) is the radius function, then the Surface Area integral evolves to look more like this:



But this isn't all. Consider, for instance, the function below. This function has both an exterior surface (y=√x) and an interior surface (y=x/10).



Due to this, the integral must change again, along with some of it's notation. Let rbig(x) be the exterior radius, and rsmall(x) be the interior radius. I will leave r(a) in the equation, even though r(a)=0 for this particular problem set. If we think about it, we must then sum both the interior and exterior surfaces, along with the area of the two washer at each end. 

***NOTE: there are now washers instead of disks are each end. This change occurred because of the switch from one function being revolved to two functions being revolved. Now we must use washers to find the difference between the larger and smaller circles.***

       LEFT WASHER              RIGHT WASHER              EXTERIOR SA              INTERIOR SA

Of course, this notation makes everything look a bit more complicated that it needs to be, but it gets the point across. So now let's try this method out for the last video.

We are revolving the area between f(x)=√x and g(x)=x/10 on the interval x=[0,4] about the x-axis. We know that there will be no washer on the left side, as both f and g are equal to zero when x=0. So our initial equation looks like this:


But wait, the second surface [with g(x)] is just a cone, isn't it? An angled line? Yes, it is! So we can use the SA formula for the side of the cone (SA=πrl) instead of the crazy integral mess.


Now that is better. One integral, a couple functions appraised at single values. No problem. Slap that into the calculation (good old fnInt), and … SHAZAM!

That whole mess is equal to ~50.600587.

You are a genius. Go do your happy dance, then try the quiz.

The Quiz

Thanks!
Cole

p.s. Duncan values SATs more than a day in O'Brien's classroom. Let us collectively dishonor him.

More math animations here

Quiz answers (be honest, no one is grading you)

Tuesday, May 28, 2013

Polar Coordinates


POLAR COORDINATES!

An Introduction to Polar Coordinates

     The polar coordinate plane is a two-dimensional coordinate system in which each point on a plane is determined by a distance from a fixed point and an angle from a fixed direction. We've been exposed to this in math classes before, but we'll include a quick refresher on some of the basics of the coordinate system to bring everyone up to speed.
     A point on the polar plane is expressed as (r, θ), where r is the distance from the fixed point (generally the origin) and θ is the angle from the fixed direction (again, generally the origin). It is fairly easy to convert between polar and Cartesian coordinates with simple trig: to find the x Cartesian coordinate from a polar coordinate, you just need to do rcos(θ): x=rcos(θ). To find the y Cartesian coordinate, the process is very similar: y=rsin(θ). This beautiful image may help:

     Now, what about changing from Cartesian to polar? From the diagram above, it's fairly easy to tell that r can be found through the Pythagorean Theorem: r=√(x2+y2). This image also makes clear how to find θ, again through the use of trig. If given x and y, you can solve for θ through the following: θ=tan-1(y/x). There are at least five PatrickJMT videos on this topic, but here is one that is very brief and straightforward. Let's move on to polar coordinates in calculus now!

Finding Areas with Polar Coordinates

Finding areas in the polar plane is similar to finding areas in the cartesian plane in that integrals are used in both cases. However, the limits of integration and the equation are slightly different.

Cartesian coordinates:                                                                               Polar Coordinates:







As you can see, we are no longer working with values of x and y, but instead with values of theta.

Also, the integral looks slightly different because there is a 1/2 out front and an r2 inside the integral. This is because the area of a circle is given by πr2 and we’re summing little tiny segments of different circles. However, because each part is not an entire circle, we need to put it into proportion, and we do this by multiplying πr2 by dθ/(2π), because dθ/(2π) is the ratio of the little tiny change in θ to the total number of radians in a circle. This gives us r2dθ/2, or (1/2)r2dθ. Then, since we’re summing all the little areas, we throw in a definite integral sign with limits from the initial angle θ to the final angle θ and we’re done.

In terms of finding areas once you know the equation, the hardest part is visualizing the graph. PatrickJMT does a wonderful job explaining how to find an area with polar coordinates here:

Even more complicated is finding areas between two polar curves. PatrickJMT does it again in this thrilling sequel:

Derivatives in Polar Coordinates/GeoGebra

One crucial element of understanding the mystical overlap between polar coordinates and Calculus is the process of finding dy/dx in polar coordinates. First, you must realize that x=rcos(theta) and y=rsin(theta).  Just like y is often seen as a function of x, r in this case can be viewed as a function of theta.  Therefore,  y can really equal f(theta)sin(theta) and x can really equal f(theta)cos(theta). Taking the derivative of that, you must use product rule to get dy/d(theta) and dx/d(theta). For example, dy/d(theta) would equal f prime(theta)sin(theta)+f(theta)cos(theta). Then you replace f prime (theta) with dr/dtheta since r is the function and you put dy over dx and you get:


Another interesting and vital skill is knowing how to use Geogebra to plot polar points and functions. First, you’ll want to go into grid options and change grid type to polar.  You can show the grid and you’ll start to see the magical unit circle-like grid.  

You can always plot a point in polar by just entering coordinates in style (r;theta) with a semicolon separating the coordinates.  To graph a polar function simply create a slider with value t.  Then create point a with polar coordinates (r(t);t) where r(t) is your function of t.  To make the function visible, find the locus of all points by creating a locus with point A.  


If this looks complicated at first, don't worry, it is. Good luck!