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

Where did that substitution come from?

If you want to understand maths, you really have to do it. I recommend going through these examples and using the substitutions given here as hints. Get a blank piece of paper, put your notes away and try to do these examples and see if you get the same answers as in class. If you don’t, write in the comments, and we can see where things may have gone astray.

 

I’ve been teaching integration by substitution, including by trig substitutions over the last few days, and a frequent question which a newbie substituter will ask is “how did you know to make that substitution?”. It’s a very reasonable question, and one that takes practice to build the correct intuition, but I’ll do my best to give some motivation now as to why we made some of the substitutions we made. We won’t solve the integrals, but we will motivate here why we make particular choices for substitutions.…

By | July 22nd, 2016|Courses, English, First year, MAM1000, Undergraduate|2 Comments

The confusion about discontinuity

Whilst reading Mícheál Ó Searcóid’s book Metric Spaces, I found out about a nuance in the definition of continuity that I was not previously aware of, and something which may be taught incorrectly at high schools. M. Searcóid states that a function such as tan(x) is continuous (read the page here). The definition of continuity at a point is based on the fact that the function has a value at that point (if a function is continuous at x = a, then f(a) has a value in the expression |f(x)-f(a)|<ϵ). However, following M. Searcóid’s line of thought about continuous functions, it does not make sense to consider points at which a function is not defined. If we were asked to prove that the function is ‘discontinuous’ at a point, we would need to show that the condition for continuity at that point is false. And the negation* of the condition for continuity would not make sense at a point where the function value is not defined.…

By | July 21st, 2016|Courses, Level: intermediate|2 Comments

Down the rabbit hole

The following has been a rather interesting journey – from a test question which seemed fine, to a subtlety which seemed easy, to a discussion with a number of different mathematicians about the nature of distributions, measure theory and regularisation. I will try and make it as clear as possible in the post below. Note, as mentioned in the comments, we have actually only found the solution to this problem for a constrained range of x, and not x \in \mathbb{R}. I didn’t want to complicate things any more than necessary here for first year students, but the comments are very important too.

 

In a recent class test, there was a question, written by me, which was not quite the question that I wanted to ask. It turns out that it does have an answer, but it’s not an answer that can yet be found by the means at the class’s disposal.…

The Newton-Raphson Method

How would you go about finding the value of \sqrt{3} if you didn’t have a square root button on your calculator? Well, the most obvious thing might be to try some values, based on your knowledge of the square root function. You are being asked to find that x for which:

 

x=\sqrt{3}

 

or, in other words, that x, which, when squared  gives 3. We have to be a little careful here because we know that there will actually be two numbers which satisfy this (one positive, one negative), and we are interested in the positive one only.

 

So, we try some values, but we don’t do it randomly, we can see that because 1^2=1 and 2^2=4 that whatever number squared gives 3 must be between 1 and 2. We can try something called a binary intersection. This just means taking the values which we know bound the right answer (ie. we know that 1<x<2), and trying the number in the middle.…

Chain Rule.

Definition:

The chain rule is a method for differentiating a function of a function, or differentiating composite functions.

Consider the expression y = sin(x^2). We notice that this is not a normal sine function. It has an x^2 as argument for the sine function. Therefore, we can consider the x^2 in the sine function as a whole different function. This can be broken into two functions, f(x) and g(x).

If we consider f(x) =  sin(x); g(x) = x^2, we can write y = f(g(x)).

In order to differentiate a composite function, y = f(g(x)), i.e; to find y', we let

u = g(x)  and  y = f(u)

What this implies is that whatever g(x) is, u will be equal to that. Then, the process of differentiating is to find

  • \frac{du}{dx} (as u will be a function of x).
  • \frac{dy}{du}

Finally, we can write,

\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}

Back to our example, y = sin(x^2); remember that f(x) = sin(x) and g(x) = x^2. We let

u =  x^2  and  y = f(u) = sin(u)

Therefore,  \frac{du}{dx} = 2x and  \frac{dy}{du} = cos(u)

This leaves us with  \frac{dy}{dx} = cos(u) \cdot 2x. We can simplify the equation by writing

\frac{dy}{dx} = 2xcos(x^2)

Note that the u in the cosine function is replaced with x^2.…

By | April 29th, 2016|Courses, First year, MAM1000, Undergraduate|0 Comments

Proof by induction winner: Gianluca Truda

With many congratulations for the winning entry, as voted for by mostly MAM1000W students!

At the end of every year, many families celebrate the holiday season by decorating a Christmas tree, and almost all of them will use some form of lights. The kind of cheap lights that sit on a long wire that gets wrapped around a tree, and then sparkle in a whole lot of awesome colours when you plug them into the power socket.

 

In my family, we have a whole lot of these kinds of cheap, fragile lights in a big box. Every year, when we decorate the tree, the box gets opened and is full of hopelessly tangled wires which were hastily shoved in the year before. It’s always a bit of a pain untangling the wires and it can get really
boring testing each string of lights to see if they are still working.…

By | April 23rd, 2016|Courses, First year, MAM1000, Undergraduate|3 Comments

Logical implications and the structure of if and only if statements

We had a homework assignment a couple of weeks back. It was looking at mathematics in a very different way from how many had seen it before, and it caused a lot of confusion. I would like to try and add some clarity to what we were doing. My thought was, rather than going through the questions themselves, I would like to add annotations to the proof itself. Let’s see how this works. The proof that you were given is in black, the annotations are in blue, and after I’ve been through the proof, I will expand on it in a simplified form.

 

Theorem: The function f is differentiable at x=a if and only if there is a constant m and a function E of x, defined for all x \not = a, such that

 

f(x)=f(a)+m(x-a)+E(x)(x-a) for all x \not = a      – (eq 1)

 

and,

 

\lim\limits_{x\to a}E(x)=0.

 

(If both these conditions are satisfied, then f'(a)=m.)

 

What we are doing here is giving another definition of differentiability (at a particular point, a).

By | April 22nd, 2016|Courses, First year, MAM1000, Uncategorized, Undergraduate|1 Comment

Proof by induction for a non-mathematician – a competition: Vote for the winner!

I set a voluntary assignment for my course a few weeks back. Students had just learned about proof by induction, and I tend to find that this is a subject which many get confused by. I think that one of the best ways to really understand a topic is to try and teach it to someone else, so I set up an exercise which was to write an explanation of Proof by Induction for a young high school student. We had around 100 entries, which took a while to read through! Of these 100 entries there were four which stood out (and many which were also very good). We (myself, and two senior tutors) have been unable to come up with an outright winner. That’s where you come in!

 

Please take a look at the following entries, and vote for the one that you think is best at this link: https://www.surveymonkey.com/r/9K3P8BJ.…

By | April 12th, 2016|Competition, Courses, First year, MAM1000, Undergraduate|2 Comments

The squeeze (or sandwich) theorem

Let’s say I ask you how tall Craig is going to be when he’s 15 years old, and let’s say, given his genetic information, you just can’t tell what height he will be at that age. However, you do know that he’s going to be taller than Lisa, and shorter than Khangelani up until the age of 15 (they are all the same age). With this information alone, you haven’t learnt much about the height of Craig when he’s 15. However, what if you can figure out, using your clever genetic detective work, that at the age of 15 Lisa and Khangelani will be the same height? The only way for this to be true, is if Craig (whose height is sandwiched in between that of Lisa and Khangelani) is also the same height at that age.

 

That’s really all the sandwich theorem is. Let’s look at a mathematical example.…

By | April 9th, 2016|Courses, First year, MAM1000, Undergraduate|4 Comments