Thursday, 27 September 2012

The Why and How of Substitution

"How could I have seen that?" This is a common response to seeing a substitution in mathematics, and this article attempts to answer this question. Sadly, the technique of substitution is often presented without mentioning the general idea behind all substitutions. The effective use of substitution depends on two things: first, given a situation in which variables occur, a substitution is nothing more than a change of variable; second, it is only effective if the change of variable simplifies the situation and, hopefully, enables one to solve the simplified problem.

There is no easy route to this: substitution will only work if the the original situation has some kind of symmetry or special property that we can exploit, and the skill in using the method of substitution depends on noticing this. Thus we should always be looking for special features in the problem, and then be prepared to change the variable(s) to exploit these features. Of course, once we have solved the problem in the new variables we have to rewrite the solution in terms of the original variables.

The main idea behind substitution, then, is this. We are given some expression, or equation or graph involving the variable x. We make the substitution x=f(t), and we now have a new expression, equation or graph involving the given terms, the variable t and the function f. Since we are free to choose f to be any function we like, it is highly likely that for a suitable choice of f the new expression in t will be simpler than the original expression in x. The skill lies in the selection of f; the rest is just the algebraic manipulation of the variables.

Let us now look at some examples with these ideas in mind.
Example 1 Polynomial Equations 
Let us consider the polynomial equation


If we expand the left hand side we get a quartic in x which we cannot solve. However, we notice that the left hand side has a certain symmetry, namely 1+9=4+6. The roots of the left hand side are symmetric about the value 5, and this suggests that we should make a substitution that exploits this fact. Let us try x=s+5; that is, we change the variable so that the symmetry is now about the origin (after all, 51 and 5+1 looks better than 4 and 6). With this we have

or (s21)(s216)=a. This is a quadratic equation in s2 which we can solve to give two values ofs2 and four values of s corresponding to the four solutions to the original equation. However, we can also simplify it with another substitution. The numbers 1 and 16 are symmetric about 17/2 so we now make the substitution s2=t+172. This gives t2=a+2254 so that

You should check that if we put a=0 in this formula we do get  the expected solutions 1,4,6,9. What do you get if a=216?
Example 2 Rational functions 
We want to solve the following equation:
By clearing fractions this becomes a quartic equation which is difficult to solve. Observing the occurrences of x2+15, and the symmetry of x26x+15x28x+15 and x210x+15, we can turn this into a quadratic equation by substituting t=x8+15x. We get the equation

This simplifies to t25t6=0, so that t is 6 or 1. Each value of t gives a quadratic equation in x, giving four solutions of the original equation in x. The two quadratic equations are

These equations simplify to

and the four solutions are

Example 3 Integration by substitution  
Evaluate I=(19x2)1/2dx.
Here a trigonometric substitution leads to a simpler integral. Because of the relation 1sin2u=cos2u, we substitute 3x=sinu and 3dx=cosudu and get

To return to an expression in terms of x we use sin2u=2sinucosu=6x(19x2)1/2, and the integral we want is

Example 4 Area inside an ellipse
In order to find the the area inside the ellipse x2a2+y2b2=1, we can use the transformation (x,y)(bxa,y) to change the ellipse into a circle. Since the lengths in the x--direction are changed by a factor b/a, and the lengths in the y--direction remain the same, the area is changed by a factor b/a. Thus
Area of circle=ba×Area of ellipse,

which gives the area of the ellipse as (a/b×πb2), that is  πab.
Example 5  Polynomial   
Consider a general polynomial
Let us make the substitution x=t+k, where k is a constant which we shall determine later. Now write p(x)=p(t+k)=q(t). Then

where here "'' means powers of t of order n2 or less. If we now choose k=an1/nan we see that

in other words, by changing the variable we can remove the term of degree n1. While the effect of this substitution may not seem spectacular, it is important. It is exactly what we do when we 'complete the square'  to solve quadratic equations, and this is the method used to find the formula for the roots of a quadratic equation. It is also the first step in solving cubic equations, for there it says that we only need consider equations of the form x3+bx+c=0.

Finally, it is worth noting that the coefficient of xn1 in a polynomial equation of degree n is minus the sum of the roots of the equation so this substitution is such that the chosen value of k is the average value of the roots of the polynomial.

Example 6 Transformations of the plane  
In Example 5 we showed how to remove the term in xn1 from a polynomial of degree n. Now we are going to show how, given the equation of a conic, for example,

we can remove the xy term and so more easily discover the properties of the conic. First, if we make the substitution 
we see that (1) becomes

Thus equation (1) gives an ellipse if |b|<1, a hyperbola if |b|>1, and it reduces to a pair of lines if |b|=1. The question, however, is (as at the start of this article) "How could I have seen this?" We are going to change the variables x,y to new variables u,v by rotating the plane by an angle θ. As we do not yet know which value θ to take, we work with a general θ and make this choice later. A rotation of the plane by an angle θ is given by

If we substitute these in equation (1) we obtain

and so if we now choose θ so that cos2θ=0, we see that the uv term will vanish. Thus we take θ=π/4, and this with (4) gives the values of x and y as in (2) and hence the equation of the conic as in (3).

More generally, if we have an equation
where a,b,c,d,e,f are real numbers, we can try to remove the linear terms by a translation, say x=x0+t and y=y0+s, and then apply the method given above. In this way, by a combination of a translation and a rotation, we can change the variables so that the conic (5) is given in a simpler form centred at the origin with the x and y axes as the axes of symmetry of the conic.

Post a Comment