Guidelines for visualising and calculating volumes of revolution

I have seen some people try to blindly use the formulae for volumes of revolution by cylindrical cross-sections and by cylindrical shells, and I thought that I would write a guide as to how I would recommend tackling such problems, as generally just using the formulae will lead you down blind alleys.

I’ve created an example, with an animation, which I hope will help to master this technique.

So, here is a relatively fool-proof strategy:

  1. Draw the region which you are going to have to rotate around some axis. This will generally be a matter of:
    • Drawing the curves that you have been given
    • Finding where they intersect
  2. Draw the line about which you are supposed to rotate the region
  3. Draw the reflection of the region about the line of rotation: This gives you a slice through the volume that will be formed
  4. Now you have to decide which method to use:
    • Take a slice through the volume perpendicular to the axis of rotation.
By | September 13th, 2017|Courses, First year, MAM1000, Uncategorized, Undergraduate|2 Comments

Some sum identities

During tutorials last week, a number of students asked how to understand identities that are used in the calculation of various Riemann sums and their limits.

These identities are:

 

\sum_{i=1}^n 1=n

\sum_{i=1}^n i=\frac{n(n+1)}{2}

\sum_{i=1}^n i^2=\frac{n(n+1)(2n+1)}{6}

\sum_{i=1}^n i^3=\left(\frac{n(n+1)}{2}\right)^2

 

Let’s go through these one by one. We must first remember what the sigma notation means. If we have:

 

\sum_{i=1}^n f(i)

 

It means the sum of terms of the forms f(i) for i starting with 1 and going up to i=n. Sometimes n will actually be an integer, and sometimes it will be left arbitrary. So, the above sum can be written as:

 

\sum_{i=1}^n f(i)=f(1)+f(2)+f(3)+f(4)+....+f(n-2)+f(n-1)+f(n)

 

We haven’t specified what f is, but that’s because this statement is general and applies for any time of function of i. In the first of the identities above, the function is simply f(i)=1, which isn’t a very interesting function, but it still is one. It says, whatever i we put in, output 1. So this sum can be written as:

 

\sum_{i=1}^n 1=1+1+1+1+....+1

 

Where there are n terms.…

By | August 20th, 2017|Courses, First year, MAM1000, Uncategorized, Undergraduate|3 Comments

MAM1000W 2017 semester 2, lecture 1 (part ii)

The distance problem

If I want to know how far I walked during an hour, I can ask how far I walked in the first five minutes, and how far I walked in the second five minutes, and how far I walked in the third five minutes, etc. and add them all together. ie. I could write:

 

d=d_1+d_2+d_3+d_4+...d_{12}

 

Where d_i is the distance walked in the i^{th} five minutes. To calculate a distance, we need to know how fast we are going, and for how long. In fact:

 

distance=velocity \times time

 

where you can think of velocity as the same thing as speed (though there are subtle differences which you will find out about later). This formula works if the velocity is constant, but what if it is changing. Well, if we have a graph of velocity against time, then we can think about splitting the graph into intervals (like the five minute intervals above), and approximating that during a small interval of time, the velocity is roughly constant.…

MAM1000W 2017 semester 2, lecture 1 (part i)

I wanted to put up a little summary of some of the most important things to remember from the end of last semester. There was a sudden input of new concepts, so let’s put some of them down here to get a clear reminder of what we need to know. A few things in this post:

  • The antiderivative
  • Sigma notation
  • Areas under curves

Antiderivatives

An antiderivative of a function f on an open interval I is a function F such that:

 

F'(x)=f(x) for every x\in I

 

Note that we say an antiderivative, not the antiderivative. There can be many functions whose derivatives give the same thing. While we know that:

 

\frac{d}{dx}\sin x=\cos x

 

and therefore  \sin x is an antiderivative of \cos x, we can also say that:

 

\frac{d}{dx}(\sin x+3)=\cos x

 

So \sin x+3 is also an antiderivative of \cos x. In fact for any constant c it is true that \sin x+c is an antiderivative of \cos x. We will come up with some clever notation for the antiderivative soon.…

Checking direction fields

I was recently asked about how to spot which direction field corresponds to which differential equation. I hope that by working through a few examples here we will get a reasonable intuition as to how to do this.

Remember that a direction field is a method for getting the general behaviour of a first order differential equation. Given an equation of the form:

 

\frac{dy}{dx}=f(x,y)

 

For any function of x and y, the solution to this differential equation must be some function (or indeed family of functions) where the gradient of the function satisfies the above relationship.

The first such equation that we looked at was the equation:

 

\frac{dy(x)}{dx}=x+y(x).

 

We are trying to find some function, or indeed family of functions y(x) which satisfy this equation. We need to find a function whose derivative (y'(x)) at each point x is equal to the value of the function (ie. y(x)), plus that value of x.…

By | October 11th, 2016|Courses, First year, MAM1000, Undergraduate|1 Comment

Radius of convergence of a series, and approximating polynomials

I hinted today that there were sometimes issues when you did a polynomial approximation, that if you tried to find the value of a function a long way from the region about which you’re approximating, that sometimes you wouldn’t be able to do it. This is related to an idea called the radius of convergence of a series. In the following we are just plotting polynomials, but you can see that whereas in the polynomial approximation for sin(x) (on the right), as we get more and more terms, we approximate the function better and better far away from the point x=1 (which is the point about which we are approximating the function). However, for the function \sqrt{1+x}, after x=3, the approximations are nowhere near the function itself. This is because that function has a radius of convergence of 2, when expanded about x=1. This is due to the behaviour of the function at x=-1, which is a distance 2 away.…

By | August 19th, 2016|Courses, First year, MAM1000, Undergraduate|0 Comments

Does knowledge of past years affect the Keynesian Beauty Contest result?

Last year I played the 2/3 numbers game, also called the Keynesian Beauty Contest with my first year maths class. The discussion can be found here: http://www.mathemafrica.org/?p=11143 I wanted to know if, telling my class the results from last year (including sketching for them the histogram of results), would change how they chose their numbers this year. Of course I can’t tell if it changed them, but what is fascinating is that either:

  1. Their guesses (if I didn’t tell them about the results from last year) would have been very different from those last year, or:
  2. They were completely unaffected by knowing what people did last year, which really means that they believed that the rest of the class would have been unaffected.

I plot here the results from the last three years and you can see how similar the results are, year on year.

gametheoryYou can see that the distributions are relatively similar, and the means are extremely close.…

By | August 6th, 2016|Courses, First year, MAM1000, Undergraduate|0 Comments

Picturing volumes of revolution

One of the homework questions this week was the following:

Let R=\{(x,y)\in \mathbb{R}^2:y\ge 0, \cos x\le y\le \sin x\,\,and\,\,0\le x\le\pi\}.

a) Sketch the region R and find its area.
b) Find the volume of the solid obtained by rotating the region R around the y-axis.

The first thing to do is to sketch the graphs of y=\cos x and y=\sin x. Once you’ve done that, the other parts of the inequalities should be clear. It should look like the red region in the following plot:

 

pic1Now we have to imagine bringing out a third axis, perpendicular to the picture above, ie. coming out towards us. We then want to rotate the red form here about the vertical axis. This we can imagine doing in the following animation:

 

trialGiven this form we can then think about either taking horizontal cross-sections through it, which will give us thin annuli, or we can take vertical, circular slices to give us thin shells. Adding these together and integrating should give us the same answer whichever way we choose to slice it, but one way will be considerably easier.…

By | August 4th, 2016|Courses, First year, MAM1000, Undergraduate|1 Comment

An integral expression for n!

I gave a challenge question at the end of class a week or so ago. Here I will give the solution and show that it gives us something rather strange and surprisingly useful.

I wrote down the following, and asked you to prove it:

 

\int_0^\infty e^{-t} t^N dt=N!

 

For N\ge 0, N\in \mathbb{Z}. Now, N! can be thought of as the number of different orderings of pulling N objects out of a bag (without replacement) when they are all different. If you have N things in a bag, then there are N possible things that you can pull out first. There are then N-1 ways of pulling out the next object, N-2 ways of pulling out the next, etc. and finally, when you’ve pulled out N-1 objects there’s only a single possibility of pulling out the last. So:

 

N!=N(N-1)(N-2)(N-3)...3.2.1

 

And the number of ways of pulling no objects out of a bag is 1, because you just don’t pull anything out.…

A general formula for partial fractions

Out of the blue I wrote down a rather confusing mass of indices and summations on the board a few days ago. Writing this down at the last minute was perhaps a bad idea, but I wanted to show what the general form for expanding a fraction into partial fractions was. Here I’m just motivating it a little more. It’s not something that you will need to use, but it’s often good to write things down in as general a form as you can.

Let’s say that we have an expression of the form:

 

\frac{P(x)}{(x+3)(x-2)^2}

 

Where P(x) is some polynomial of degree less than 3 (because the denominator is degree 3). We can write this as:

 

\frac{A}{x+3}+\frac{B}{(x-2)^2}+\frac{C}{x-2}

 

To find A,  B and C, you cross-multiply, and then match coefficients of powers of x with those in P(x).  If you have an irreducible quadratic in the denominator you will have terms of the form:

 

\frac{Ax+B}{ax^2+bx+c}

 

in your partial fraction, and of course if it’s an irreducible quadratic to an integer power greater than one, you will have multiple terms, just as you do for the (x-2) expression in the example above.…

By | July 30th, 2016|Courses, First year, MAM1000, Uncategorized, Undergraduate|1 Comment