Open Book Publishers logo Open Access logo
  • button
  • button
  • button
GO TO...
Contents
Copyright
book cover
BUY THE BOOK

Problem 24:  Sketching xm(1 x)n ( ) 2002 Paper I

Let f(x) = xm(x 1)n, where m and n are both integers greater than 1. Show that

f(x) = m x n 1 xf(x).

Show that the curve y = f(x) has a stationary point in the interval 0 < x < 1. By considering f(x), show that this stationary point is a maximum if n is even and a minimum if n is odd.

Sketch the graphs of f(x) in the four cases that arise according to the values of m and n.

Comments

There is quite a lot in this question, but it is one of the best STEP questions on basic material that I came across.

First, you have to find f(x). The very first part (giving a form of f(x)) did not occur in the original STEP question. This particular expression is extremely helpful when if comes to finding the value of f(x) at the stationary point. In the actual exam, a handful of candidates successfully found a general expression for f(x) in terms of x then evaluated it at the stationary point: first class work.

You should find that the value of f(x) at the stationary point can be expressed in the form ()f(x), where the factor in the brackets is quite simple and always negative, so that the nature of the stationary point depends only on the sign of f(x). Actually, this is intuitively obvious: f(0) = f(1) = 0 so the one stationary point with 0 < x < 1 must be, for example, a maximum if f(x) > 0 for 0 < x < 1.

For the sketches, you really have only to think about the behaviour of f(x) when |x| is large and the sign of f(x) between x = 0 and x = 1. That allows you to piece together the graph, knowing that there is only one stationary point between x = 0 and x = 1. You should then be able to identify the four cases referred to.

Note that, very close to x = 0, f(x) xm(1)n so it is easy to see how the graph there depends on n and m; you can use this to check that you have got the graphs right.

Post-mortem

Don’t read this until you have worked through the question!

You may have noticed a little carelessness in the first line of the solution: what happens in the logarithmic differentiation if any of f(x) or x or x 1 are negative? The answer is that it doesn’t matter. One way to deal with the problem of logs with negative arguments is to put modulus signs everywhere using the correct result

d dxln|f(x)| = f(x) f(x) .

If you are not sure of this, try it on f(x) = x taking the two cases x > 0 and x < 0 separately.

A more sophisticated way of dealing with logs with negative arguments is to note that ln(f(x)) = lnf(x) + ln(1). We don’t have to worry about ln(1) because it is a constant (of some sort) and so won’t affect the differentiation. Actually, a value of ln(1) can be obtained by taking logs of Euler’s famous formula eiπ = 1 giving ln(1) = iπ.

Solution to problem 24

The first result can be established by differentiating f(x) directly, but the neat way to do it is to start with lnf(x):

lnf(x) = mlnx + nln(x 1)f(x) f(x) = m x + n x 1f(x) = m x n 1 xf(x),

as required. Writing this as f(x) = mxm1 n(x 1)n1, we see that f(x) has stationary points at x = 0 and x = 1 (since m 1 > 0 and n 1 > 0) and when

m x n 1 x = 0,

i.e. when m(1 x) nx = 0. Solving this last equation for x gives x = m m + n, which lies between 0 and 1 since m and n are positive.

Next we calculate f(x). Starting with

f(x) = m x n 1 xf(x),

we obtain

f(x) = m x2 n (1 x)2 f(x) + m x n 1 xf(x).

At a stationary point, the second of these two terms is zero because f(x) = 0, leaving

f(x) = m x2 n (x 1)2 f(x).

The bracketed expression is negative so at a stationary point f(x) < 0 if f(x) > 0 and f(x) > 0 if f(x) < 0.

The sign of f(x) for 0 < x < 1 is the same as the sign of (x 1)n, since xm > 0 when x > 0. For the stationary point in the interval 0 < x < 1, (x 1)n > 0 if n is even and (x 1)n < 0 if n is odd. Thus f(x) < 0 if n is even and f(x) > 0 if n is odd, which is the required result.

The four cases to sketch are determined by whether m and n are even or odd. The easiest way to understand what is going on is to consider the graphs of xm and (x 1)n separately, then try to join them up at the stationary point between 0 and 1. If m is odd, then x = 0 is a point of inflection, but if m is even it is a maximum or minimum according to the sign of (x 1)n. You should also think about the behaviour for large |x|. All the various bits of information (including the nature of the turning point investigated above) should all piece neatly together.

PICT PICT PICT PICT