1 In the triangle ABC, the base AB is of length 1 unit and the angles at A and B are α and β respectively, where 0<α⩽β. The points P and Q lie on the sides AC and BC respectively, with AP=PQ=QB=x. The line PQ makes an angle of θ with the line through P parallel to AB.
(i) Show that xcosθ=1−xcosα−xcosβ, and obtain an expression for xsinθ in terms of x, α and β. Hence show that
(1+2cos(α+β))x2−2(cosα+cosβ)x+1=0.(*)
Show that (∗) is also satisfied if P and Q lie on AC produced and BC produced, respectively. [By definition, P lies on AC produced if P lies on the line through A and C and the points are in the order A,C,P.]
(ii) State the condition on α and β for (∗) to be linear in x. If this condition does not hold (but the condition 0<α⩽β still holds), show that (∗) has distinct real roots.
(iii) Find the possible values of x in the two cases (a) α=β=45∘ and (b) α=30∘, β=90∘, and illustrate each case with a sketch.
Hint
Drawing a diagram and considering the horizontal and vertical distances will establish the relationships for xcosθ and xsinθ easily. The quadratic equation will then follow from use of the identity cos2θ+sin2θ≡1. The same reasoning applied to a diagram showing the case where P and Q lie on AC produced and BC produced will show that the same equation is satisfied.
() will be linear if the coefficient of x2 is 0, so therefore cos(α+β) will need to equal −21, which gives a relationship between α and β. For () to have distinct roots the discriminant must be positive. Using some trigonometric identities it can be shown that the discriminant is equal to 4(1−(sinα−sinβ)2) and it should be easy to explain why this must be greater than 0.
The first case in part (iii) leads to x=2±1 and so there are two diagrams to be drawn. In each case the line joining P to Q will be horizontal.
The second case in part (iii) is an example where (*) is linear. This leads to x=33. Therefore Q is at the same point as C and so the point P is the midpoint of AC.
Model Solution
Part (i)
Set up coordinates with A at the origin and B at (1,0). Then AC makes angle α with AB, and BC makes angle π−β with the positive x-axis (since β is the interior angle at B).
Since AP=x, the coordinates of P are:
P=(xcosα,xsinα)
Since QB=x and Q lies on BC with B at (1,0), moving from B toward C by distance x:
Q=(1−xcosβ,xsinβ)
The line PQ has length x and makes angle θ with the horizontal. The horizontal component of PQ is:
Collecting the x2 terms using cos2α+sin2α=1 and cos2β+sin2β=1:
x2(2+2cosαcosβ−2sinαsinβ)=x2(2+2cos(α+β))
So the equation becomes:
1−2x(cosα+cosβ)+x2(2+2cos(α+β))=x2
1−2x(cosα+cosβ)+x2(1+2cos(α+β))=0
(1+2cos(α+β))x2−2(cosα+cosβ)x+1=0(∗)
Extension to AC produced and BC produced: If P lies on AC produced (order A,C,P) and Q lies on BC produced (order B,C,Q), then P and Q are on the opposite sides of C from A and B. The horizontal and vertical displacements become:
xcosθ=1+xcosα+xcosβorxcosθ=−(1+xcosα+xcosβ)
depending on the direction of PQ. In either case, squaring gives (1+xcosα+xcosβ)2, and the vertical displacement squared is (xsinβ−xsinα)2 (or its negative, which squares to the same). Adding and using cos2θ+sin2θ=1:
Since x can be negative in this configuration (measuring the “signed distance” along the produced line), replacing x by −x recovers (∗). Alternatively, since the quadratic in x from the original case already accounts for both signs of x, the same equation (∗) is satisfied.
Part (ii)
(∗) is linear in x when the coefficient of x2 is zero:
1+2cos(α+β)=0⟹cos(α+β)=−21
Since 0<α⩽β and α+β<π (angles of a triangle), we need α+β=32π, i.e., α+β=120°.
Distinct real roots: If 1+2cos(α+β)=0, the discriminant is:
Since 0<α⩽β and α+β<π, we have 0<ϕ<2π so cosϕ<1 (strict, since α+β<π), and 0⩽2α−β<2π so sin2α−β<1. Therefore:
4cos2ϕsin22α−β<1
which gives Δ>0, so (∗) has distinct real roots. □
Part (iii)
(a)α=β=45°: cos(α+β)=cos90°=0, cosα+cosβ=2.
x2−22x+1=0
x=222±8−4=2±1
So x=2+1 (extended case, P and Q beyond C) or x=2−1 (internal case, P and Q on AC and BC).
In both cases PQ is horizontal (θ=0) since α=β gives xsinθ=x(sinβ−sinα)=0.
(b)α=30°, β=90°: α+β=120°, so (∗) is linear:
−2(cos30°+cos90°)x+1=0⟹−3x+1=0⟹x=31=33
Since BC is vertical (angle 90° at B) and QB=33, while BC has length 33 (by the sine rule), Q coincides with C. Then P is the midpoint of AC.
Examiner Notes
While the first part of the question was successfully completed by many of the candidates, there were quite a few diagrams drawn showing the point P further from the line AB than Q. Those who established the expression for xcosθ were usually able to find an expression for xsinθ and good justifications of the quadratic equation were given. The case where P and Q lie on the lines AC produced and BC produced caused a lot of difficulty for many of the candidates, many of whom tried unsuccessfully to create an argument based on similar triangles.
The condition for (*) to be linear in x did not cause much difficulty, although a number of candidates did not give the value of cos−1(−21). Many candidates realised that the justification that the roots were distinct would involve the discriminant, although some solutions included the case where the discriminant could be equal to 0 were produced. However, very few solutions were able to give a clear justification that the discriminant must be greater than 0.
In the final part some candidates sketched the graph of the quadratic rather than sketching the triangle in the two cases given. In the second case many candidates did not realise that Q was at the same point as C.
(i) Show that (∗) is satisfied in the case f(x)=sinnx, where n is a positive integer.
Show by means of counterexamples that (∗) is not necessarily satisfied if either f(0)=0 or f(π)=0.
(ii) You may now assume that (∗) is satisfied for any (differentiable) function f for which f(0)=f(π)=0.
By setting f(x)=ax2+bx+c, where a,b and c are suitably chosen, show that π2⩽10.
By setting f(x)=psin21x+qcos21x+r, where p,q and r are suitably chosen, obtain another inequality for π.
Which of these inequalities leads to a better estimate for π2?
Hint
By rewriting in terms of cos2nx it can be shown that ∫0πsin2nxdx=2π and ∫0πn2cos2nxdx=2n2π. Therefore () must be satisfied as n is a positive integer. The function f(x)=x does not satisfy () and f(0)=0 but f(π)=0. The function g(x)=f(π−x) will therefore provide a counterexample where g(π)=0, but g(0)=0.
In part (ii), f(x)=x2−πx will need to be selected to be able to use the assumption that () is satisfied. The two sides of () can then be evaluated:
∫0πx4−2πx3+π2x2dx=30π5
∫0π4x2−4πx+π2dx=3π3
Substitution into (*) then leads to the inequality π2≤10.
To satisfy the conditions on f(x) for the second type of function, the values of p, q and r must satisfy q+r=0 and p+r=0. Evaluating the integrals then leads to π≤722.
Since (722)2<10, π≤722 leads to a better estimate for π2.
Model Solution
Part (i)
Let f(x)=sinnx where n is a positive integer. Then f′(x)=ncosnx.
By (∗): 2π−6⩽4π−2, so 8π−24⩽π−2, giving 7π⩽22, i.e., π⩽722.
Comparison: Since (722)2=49484≈9.878<10, the inequality π⩽722 gives a better estimate for π2. □
Examiner Notes
This was one of the more popular questions of the paper. Most candidates successfully showed that the first inequality was satisfied, but when producing counterexamples, some failed to show that either f(x)=0 or f(π)=0 for their chosen functions. In the second part many candidates did not attempt to choose values of a, b and c, but substituted the general form of the quadratic function into the inequality instead. In the case where the function involved trigonometric functions, many of those who attempted it were able to deduce that p=q=−r, but several candidates made mistakes in the required integration. Those who established two inequalities were able to decide which gives the better estimate for π.
3 (i) Show, geometrically or otherwise, that the shortest distance between the origin and the line y=mx+c, where c⩾0, is c(m2+1)−21.
(ii) The curve C lies in the x-y plane. Let the line L be tangent to C at a point P on C, and let a be the shortest distance between the origin and L. The curve C has the property that the distance a is the same for all points P on C.
Let P be the point on C with coordinates (x,y(x)). Given that the tangent to C at P is not vertical, show that
(y−xy′)2=a2(1+(y′)2).(*)
By first differentiating (∗) with respect to x, show that either y=mx±a(1+m2)21 for some m or x2+y2=a2.
(iii) Now suppose that C (as defined above) is a continuous curve for −∞<x<∞, consisting of the arc of a circle and two straight lines. Sketch an example of such a curve which has a non-vertical tangent at each point.
Hint
By drawing a diagram and marking the shortest distance a pair of similar triangles can be used to show that cm2+1/mc/m=cd, which simplifies to d=c/m2+1.
For the second part, the tangent to the curve at the general point (x,y) will have a gradient of y′ and so the y-intercept will be at the point (0,y−xy′). Therefore the result from part (i) can be applied using m=y′ and c=y−xy′ to give a=(y−xy′)/(y′)2+1, which rearranges to give the required result.
Differentiating the equation then gives y′′(a2y′+x(y−xy′))=0 and so either y′′=0 or
a2y′+x(y−xy′)=0.
If y′′=0 then the equation will be of a straight line and the y-intercept can be deduced in terms of m.
If a2y′+x(y−xy′)=0, then the differential equation can be solved to give the equation of a circle.
Part (iii) then requires combining the two possible cases from part (ii) to construct a curve which satisfies the conditions given. This must be an arc of a circle with no vertical tangents, with straight lines at either end of the arc in the direction of the tangents to the circle at that point.
Model Solution
Part (i)
The line y=mx+c can be written as mx−y+c=0. The perpendicular from the origin to this line has gradient −m1, so its equation is y=−mx.
From part (ii), the curve C consists of straight lines y=mx±a1+m2 and/or circular arcs x2+y2=a2.
To construct a continuous curve for −∞<x<∞ with no vertical tangent, take the lower semicircle x2+y2=a2 (i.e., y=−a2−x2) for −acosϕ⩽x⩽acosϕ (where 0<ϕ<2π), and attach tangent lines at the endpoints.
At the point (acosϕ,−asinϕ) on the circle, the tangent has gradient −cotϕ (from implicit differentiation 2x+2yy′=0 gives y′=−x/y=−cotϕ). The tangent line is:
y+asinϕ=−cotϕ(x−acosϕ)
This line extends to x→+∞. Similarly, at (−acosϕ,−asinϕ), the tangent has gradient cotϕ and extends to x→−∞.
The resulting curve is continuous, has non-vertical tangent at every point (choose ϕ so that cotϕ is finite, i.e., ϕ=2π), and consists of one circular arc and two straight lines. □
Examiner Notes
Many candidates produced a correct solution to the first part of the question. There were a number of popular methods, such as the use of similar triangles, but an algebraic approach finding the intersection between the line and a perpendicular line through the origin was the most popular. Some candidates however, simply stated a formula for the shortest distance from a point to a line. Establishing the differential equation in the second part of the question was generally done well, but many candidates struggled with the solution of the differential equation. A common error was to ignore the case y′′=0 and simply find the circle solution.
The final part of the question was attempted by only a few of the candidates, many of whom did not produce an example that satisfied all of the conditions stated in the question, in particular the condition that the tangents should not be vertical at any point was often missed.
4 (i) By using the substitution u=1/x, show that for b>0
∫1/bb(a2+x2)(a2x2+1)xlnxdx=0.
(ii) By using the substitution u=1/x, show that for b>0,
∫1/bbxarctanxdx=2πlnb.
(iii) By using the result ∫0∞a2+x21dx=2aπ (where a>0), and a substitution of the
form u=k/x, for suitable k, show that
∫0∞(a2+x2)21dx=4a3π(a>0).
Hint
In part (i), if the required integral is called I then the given substitution leads to an integral which can be shown to be equal to −I. This means that 2I=0 and so I=0.
In part (ii), once the substitution has been completed, the integral will simplify to ∫1/bbuarctanu1du. Since arctanx+arctan(x1)=2π the integral can be shown to be equal to 21∫1/bb2xπdx, which then simplifies to the required result.
In part (iii), making with the substitution in terms of k and simplifying will show that the integral is equivalent to
∫0∞(a2u2+k2)2ku2du
Therefore choosing k=a2, the integral can be simplified further to
So: J=a21∫0∞u2+a2du−a21∫0∞(u2+a2)2a2du=a21⋅2aπ−J
2J=2a3π⟹J=4a3π□
Examiner Notes
Many candidates were able to perform the given substitution correctly and then correctly explain how this demonstrates that the integral is equal to 1. The second part caused more difficulty, particularly with candidates not able to state the relationship between arctanx and arctan(x1). Attempts to integrate with the substitution v=arctan(u1) often resulted in an incorrect application of the chain rule when finding dudv.
In the final part of the question many candidates attempted to use integration by parts to reach the given answer.
5 Given that y=xu, where u is a function of x, write down an expression for dxdy.
(i) Use the substitution y=xu to solve
dxdy=y−2x2y+x
given that the solution curve passes through the point (1,1).
Give your answer in the form of a quadratic in x and y.
(ii) Using the substitutions x=X+a and y=Y+b for appropriate values of a and b, or otherwise, solve
dxdy=2x+y−3x−2y−4,
given that the solution curve passes through the point (1,1).
Hint
Using the substitution y=xu, the differential equation can be simplified to
xdxdu=u−21+4u−u2
This can be solved by separating the variables after which making the substitution u=xy and substituting the point on the curve gives the required quadratic in x and y.
In part (ii), dXdY can be shown to be equal to dxdy. The values of a and b need to be chosen so that the right hand side of the differential equation has no constant terms in the numerator or denominator. This leads to the simultaneous equations:
a−2b−4=0
2a+b−3=0
Solving these and substituting the values into the differential equation gives dXdY=2X+YX−2Y, and so
dYdX=X−2Y2X+Y
This is the same differential equation as in part (i), with x=Y and y=X. Most of the solution in part (i) can therefore be applied, but the point on the curve is different, so the constant in the final solution will need to be calculated for this case.
Model Solution
If y=xu, then dxdy=u+xdxdu.
Part (i)
Substituting into dxdy=y−2x2y+x:
u+xdxdu=xu−2x2xu+x=u−22u+1
xdxdu=u−22u+1−u=u−22u+1−u(u−2)=u−2−u2+4u+1
Separating variables:
−u2+4u+1u−2du=xdx
Factor the denominator: −u2+4u+1=−(u2−4u−1)=−(u−2−3)(u−2+3).
Let v=u−2. Then the integrand becomes (v−3)(v+3)−v. Partial fractions:
(v−3)(v+3)−v=v−3A+v+3B
A=23−3=−21, B=−233=−21
So: ∫(v−3−1/2+v+3−1/2)dv=ln∣x∣+C
−21ln∣v−3∣−21ln∣v+3∣=ln∣x∣+C
−21ln∣v2−3∣=ln∣x∣+C
ln∣v2−3∣=−2ln∣x∣−2C=ln(x−2)+C′
∣v2−3∣=x2K
Substituting v=u−2=xy−2=xy−2x:
(xy−2x)2−3=x2K
(y−2x)2−3x2=K
y2−4xy+4x2−3x2=K
x2−4xy+y2=K
Applying the initial condition (1,1): 1−4+1=K, so K=−2.
From the first: a=4+2b. Substituting: 8+4b+b=3⟹b=−1, a=2.
The DE becomes dXdY=2X+YX−2Y, which is the same form as part (i) (with X and Y in place of x and y).
From part (i), the solution is Y2−4XY+X2=K.
The point (x,y)=(1,1) corresponds to (X,Y)=(1−2,1−(−1))=(−1,2).
4−4(−1)(2)+1=K⟹K=13
Substituting back X=x−2, Y=y+1:
(y+1)2−4(x−2)(y+1)+(x−2)2=13
Expanding:
y2+2y+1−4(xy+x−2y−2)+x2−4x+4=13
y2+2y+1−4xy−4x+8y+8+x2−4x+4=13
x2−4xy+y2−8x+10y=0
y2−4xy+x2−8x+10y=0□
Examiner Notes
This was the most popular question on the paper and the question which had the highest average score. Most candidates correctly solved the differential equation in the first part of the question, but many then calculated the constant term incorrectly. In the second part of the question most candidates were able to find the appropriate values of a and b, but then did not see how to apply the result from part (i) and so did the integration again or just copied the answer from the first part. Some candidates again struggled to obtain the correct constant for the integration and others did not substitute the correct values for the point on the curve (taking (X,Y) as (1,1) rather than (x,y)).
6 By simplifying sin(r+21)x−sin(r−21)x or otherwise show that, for sin21x=0,
cosx+cos2x+⋯+cosnx=2sin21xsin(n+21)x−sin21x.
The functions Sn, for n=1,2,…, are defined by
Sn(x)=∑r=1nr1sinrx(0⩽x⩽π).
(i) Find the stationary points of S2(x) for 0⩽x⩽π, and sketch this function.
(ii) Show that if Sn(x) has a stationary point at x=x0, where 0<x0<π, then
sinnx0=(1−cosnx0)tan21x0
and hence that Sn(x0)⩾Sn−1(x0). Deduce that if Sn−1(x)>0 for all x in the interval 0<x<π, then Sn(x)>0 for all x in this interval.
(iii) Prove that Sn(x)⩾0 for n⩾1 and 0⩽x⩽π.
Hint
One of the standard trigonometric formulas can be used to show that
sin(r+21)x−sin(r−21)x=2cosrxsin21x.
Summing these from r=1 to r=n will then give the required result.
In part (i), the definition can be rewritten as S2(x)=sinx+21sin2x. The stationary points can then be evaluated by differentiating the function. The sketch is then easy to complete.
For part (ii), differentiating the function gives Sn′(x)=cosx+cos2x+⋯+cosnx. Applying the result from the start of the question, this can be written as
Sn′(x)=2sin21xsin(n+21x)−sin21x
Since sin21x=0 in the given range, the stationary points are where sin(n+21)x−sin21x=0. This can then be simplified to the required form by splitting (n+21)x into functions of nx and 21x and noting that sin21x=0 and cos21x=0 in the given range, so both can be divided by. By noting that the difference between Sn−1(x) and Sn(x) is n1sinnx the result just shown can be used to show the final result of part (ii). Part (iii) then follows by induction.
Model Solution
Preliminary result: Using the identity sinA−sinB=2cos2A+Bsin2A−B:
At a stationary point x0∈(0,π), we have Sn′(x0)=0, so:
sin(n+21)x0=sin2x0
Since sin2x0=0 and cos2x0=0 for x0∈(0,π), we expand sin(n+21)x0=sin(nx0)cos2x0+cos(nx0)sin2x0:
sin(nx0)cos2x0+cos(nx0)sin2x0=sin2x0
sin(nx0)cos2x0=sin2x0(1−cos(nx0))
Dividing by cos2x0:
sin(nx0)=(1−cos(nx0))tan2x0□
Since tan2x0>0 for x0∈(0,π) and 1−cos(nx0)⩾0, we conclude sin(nx0)⩾0.
Now Sn(x0)=Sn−1(x0)+n1sin(nx0), so:
Sn(x0)⩾Sn−1(x0)□
Deduction: If Sn−1(x)>0 for all x∈(0,π), then at every interior stationary point of Sn we have Sn(x0)⩾Sn−1(x0)>0. Since Sn(0)=Sn(π)=0, the minimum of Sn on [0,π] is either 0 (at the endpoints) or occurs at an interior stationary point where Sn>0. In either case, Sn(x)⩾0 for 0⩽x⩽π, and since Sn is not identically zero, Sn(x)>0 for 0<x<π. □
Part (iii)
We prove Sn(x)⩾0 for all n⩾1 and 0⩽x⩽π by induction.
Base case:S1(x)=sinx⩾0 for x∈[0,π]. ✓
Inductive step: Assume Sn−1(x)⩾0 for x∈[0,π].
Sn is continuous on [0,π] with Sn(0)=0 and Sn(π)=0. If Sn achieves a negative value, its minimum on [0,π] must be negative and occur at an interior point x0∈(0,π) (since Sn is non-negative at the endpoints). At such a minimum, Sn′(x0)=0.
By part (ii), Sn(x0)⩾Sn−1(x0)⩾0 (by the inductive hypothesis). This contradicts Sn(x0)<0.
Therefore Sn(x)⩾0 for all x∈[0,π]. By induction, the result holds for all n⩾1. □
Examiner Notes
This was one of the less popular of the pure maths questions, but the average mark achieved on this paper was one of the highest for the paper. The first section did not present too much difficulty for the majority of candidates, with a variety of methods being used to show the first result such as proof by induction or use of ex=cosx+isinx. In the second part of the question many of the candidates struggled to explain the reasoning clearly to show the required result. Most candidates who reached the final part of the question realised that the previous part provides the basis for a proof by induction.
7 (i) The function f is defined by f(x)=∣x−a∣+∣x−b∣, where a<b. Sketch the graph of f(x), giving the gradient in each of the regions x<a, a<x<b and x>b. Sketch on the same diagram the graph of g(x), where g(x)=∣2x−a−b∣.
What shape is the quadrilateral with vertices (a,0), (b,0), (b,f(b)) and (a,f(a))?
(ii) Show graphically that the equation
∣x−a∣+∣x−b∣=∣x−c∣,
where a<b, has 0, 1 or 2 solutions, stating the relationship of c to a and b in each case.
(iii) For the equation
∣x−a∣+∣x−b∣=∣x−c∣+∣x−d∣,
where a<b, c<d and d−c<b−a, determine the number of solutions in the various cases that arise, stating the relationship between a,b,c and d in each case.
Hint
By considering the regions x≤a, a<x<b and x≥b, f(x) can be written as
f(x)=a+b−2xb−a2x−a−bx≤aa<x<bx≥b
Therefore the graph of y=f(x) will be made up of two sloping sections (with gradients 2 and -2 and a horizontal section). The graph of y=g(x) will have the same definition in the regions x≤a and x≥b, with the sloping edges extending to a point of intersection on the x-axis. The quadrilateral with therefore have sides of equal length and right angles at each vertex, so it is a square.
In part (ii), sketches of the cases where c=a and c=b show that these cases give just one solution. If a<c<b there will be no solutions and in the other regions there will be two solutions.
In part (iii) the graphs for the two sides of the equation can be related to graphs of the form of g(x) (apart from the section which is replaced by a horizontal line) in the first part of the question. Since d−c<b−a, the horizontal sections of the two graphs must be at different heights so the number of solutions can be seen to be the same as the number of intersections of the graphs of the form of g(x).
Model Solution
Part (i)
For f(x)=∣x−a∣+∣x−b∣ with a<b, consider three regions:
x⩽a: f(x)=(a−x)+(b−x)=a+b−2x (gradient −2)
a<x<b: f(x)=(x−a)+(b−x)=b−a (gradient 0)
x⩾b: f(x)=(x−a)+(x−b)=2x−a−b (gradient +2)
The graph is a “tent” shape: two sloped lines meeting a flat section at height b−a over [a,b].
For g(x)=∣2x−a−b∣=2∣x−2a+b∣:
x⩽2a+b: g(x)=a+b−2x (gradient −2)
x⩾2a+b: g(x)=2x−a−b (gradient +2)
The graph of g is a V-shape with vertex at (2a+b,0). Note that g and f share the same sloped edges for x⩽a and x⩾b.
The quadrilateral: The vertices are (a,0), (b,0), (b,b−a), (a,b−a). This has:
Bottom edge from (a,0) to (b,0): length b−a
Right edge from (b,0) to (b,b−a): length b−a
Top edge from (b,b−a) to (a,b−a): length b−a
Left edge from (a,b−a) to (a,0): length b−a
All sides equal and all angles 90°, so the quadrilateral is a square. □
Part (ii)
The equation ∣x−a∣+∣x−b∣=∣x−c∣ asks for intersections of y=f(x) (the tent) with y=∣x−c∣ (a V-shape with vertex at (c,0)).
Since the vertex of ∣x−c∣ lies on the x-axis (the bottom edge of the square), the V starts at the base of the tent.
a<c<b: The V-vertex is at (c,0), below the flat section of f (which is at height b−a>0). The V’s slopes (±1) are shallower than f‘s slopes (±2), so the V stays below f everywhere. 0 solutions.
c<a or c>b: The V-vertex is outside [a,b]. On the side nearest to [a,b], the V rises with slope 1 while f rises with slope 2, so f starts above the V and the V cannot catch up. On the opposite side, the V rises with slope 1 and f rises with slope 2, but f starts above the V. However, on the far side of [a,b], f and the V have the same slope directions but f starts at height b−a>0 while the V starts from 0. The V intersects each sloped edge of f exactly once. 2 solutions.
c=a or c=b: The V-vertex coincides with a corner of the square. One entire sloped edge of f overlaps with one ray of the V. Infinitely many solutions (all x on the overlapping edge).
In summary: 0 solutions if a<c<b; 2 solutions if c<a or c>b; infinitely many if c=a or c=b.
Part (iii)
Let f(x)=∣x−a∣+∣x−b∣ and h(x)=∣x−c∣+∣x−d∣. Both are tent-shaped with flat sections of heights b−a and d−c respectively. Since d−c<b−a, f‘s flat section is higher.
For x outside both intervals, f and h have the same gradient (±2), so f−h is constant in those regions. The key is to compare the flat sections and the transitions between regions.
Case 1: [c,d]∩[a,b]=∅ (i.e., d⩽a or b⩽c): In the region between the two intervals, one function is flat and the other is sloped, and they cross. In the outer regions, both have gradient ±2 with f above h. 2 solutions.
Case 2: a⩽c<d⩽b ([c,d]⊆[a,b]): The flat section of h (height d−c) sits below the flat section of f (height b−a). At x=c, f is still decreasing (gradient −2) while h becomes flat; they cross once on the left. By symmetry, they cross once on the right. 2 solutions.
Case 3: c<a<b<d ([a,b]⊆[c,d]): The flat section of h (height d−c) is lower than f‘s flat section (height b−a). In [a,b], f=b−a>d−c=h. For x⩽c, both decrease with gradient −2 and h is below f. For x⩾d, both increase with gradient 2 and h is below f. 0 solutions.
Case 4: c<a<d<b (partial overlap, [c,d] extends left of [a,b]): The flat sections are at different heights (d−c<b−a). Depending on the relative positions:
If c+d<a+b: one crossing on the left transition and one below f‘s flat section that does not occur (the flat section of h is too low). 1 solution.
If c+d=a+b: the right-hand outer edges coincide for x⩾d. Infinitely many solutions.
If c+d>a+b: the right-hand outer edges are separated with f below h, giving an additional crossing. 2 solutions.
Case 5: a<c<b<d (partial overlap, [c,d] extends right of [a,b]): By symmetry with Case 4:
If c+d<a+b: 2 solutions.
If c+d=a+b: Infinitely many solutions.
If c+d>a+b: 1 solution.
Examiner Notes
This was another of the less popular pure maths questions. The nature of this question meant that many solutions involved a series of sketches of graphs with very little written explanation. Most candidates were able to identify that the sloping edges of y=f(x) would have the same gradient as the sloping edges of y=g(x), but many did not have both sloping edges overlapping for the two graphs. In some cases only one sloping edge of y=g(x) was drawn. A large number of candidates who correctly sketched the graphs identified the quadrilateral as a rectangle, rather than a square. In the second part of the question, sketches of the case with one solution often did not have the graph of y=∣x−c∣ meeting the x-axis at one corner of the square identified in part (i), although many candidates were able to identify the different cases that could occur. Unfortunately in the final part of the question very few candidates used the result from the first part of the question and so considered a number of possibilities that do not exist for any values of a, b, c and d.
8 For positive integers n,a and b, the integer cr (0⩽r⩽n) is defined to be the coefficient of xr in the expansion in powers of x of (a+bx)n. Write down an expression for cr in terms of r,n,a and b.
For given n,a and b, let m denote a value of r for which cr is greatest (that is, cm⩾cr for 0⩽r⩽n).
Show that
a+bb(n+1)−1⩽m⩽a+bb(n+1).
Deduce that m is either a unique integer or one of two consecutive integers.
Let G(n,a,b) denote the unique value of m (if there is one) or the larger of the two possible values of m.
(i) Evaluate G(9,1,3) and G(9,2,3).
(ii) For any positive integer k, find G(2k,a,a) and G(2k−1,a,a) in terms of k.
(iii) For fixed n and b, determine a value of a for which G(n,a,b) is greatest.
(iv) For fixed n, find the greatest possible value of G(n,1,b). For which values of b is this greatest value achieved?
Hint
The coefficients from the binomial expansion should be easily written down. It can then be shown that
crcr+1=a(r+1)b(n−r)
This will be greater than 1 (indicating that the value of cr is increasing) while b(n−r)>a(r+1), which simplifies to r<a+bnb−a. Similarly, crcr+1=1 if r=a+bnb−a and crcr+1<1 if r>a+bnb−a. Therefore the maximum value of cr will be the first integer after a+bnb−a (and there will be two maximum values for cr if a+bnb−a is an integer. The required inequality summarises this information.
In parts (i) and (ii) the values need to be substituted into the inequality. Where there are two possible values, it needs to be checked that they are equal before taking the higher if this has not been justified in the first case.
In part (iii) the greatest value will be achieved when the denominator takes the smallest possible value, therefore a=1, and then in part (iv) the greatest value will be achieved by maximising the numerator. Since the maximum possible value of G(n,a,b) is n, b≥n will achieve this maximum.
Model Solution
General setup: By the binomial theorem, (a+bx)n=∑r=0n(rn)an−rbrxr, so:
cr+1>cr when a(r+1)b(n−r)>1, i.e., bn−br>ar+a, i.e., r(a+b)<nb−a:
r<a+bnb−a
Similarly, cr+1=cr when r=a+bnb−a and cr+1<cr when r>a+bnb−a.
So cr increases while r<a+bnb−a and decreases after. The maximum cm occurs at:
m=⌈a+bnb−a⌉
If a+bnb−a is an integer, then cm=cm−1 and both m and m−1 are maximizers.
Writing a+bnb−a=a+bnb−a+ba, and noting 0<a+ba<1:
a+bnb−1<m⩽a+bnb□
m is unique or two consecutive integers: The interval (a+bnb−1,a+bnb] has length 1. If a+bnb is not an integer, it contains exactly one integer (namely ⌈a+bnb⌉). If a+bnb is an integer, it contains exactly two integers: a+bnb and a+bnb−1. □
Part (i)
G(9,1,3):a+bnb=1+39×3=427=6.75.
The interval is (5.75,6.75], so m=6. Since 6.75 is not an integer, m is unique.
G(9,2,3):a+bnb=2+39×3=527=5.4.
The interval is (4.4,5.4], so m=5. Since 5.4 is not an integer, m is unique. □
Part (ii)
G(2k,a,a):a+bnb−a=2a2ka−a=k−21.
This is not an integer, so m=⌈k−21⌉=k is unique. G(2k,a,a)=k. □
G(2k−1,a,a): We use the condition on a+bnb−a:
a+bnb−a=2a(2k−1)a−a=k−1
This is an integer, so ck−1=ck (both are maximizers). G takes the larger: G(2k−1,a,a)=k. □
Part (iii)
G(n,a,b)=⌈a+bnb⌉ (taking the larger value when there are two maximizers).
For fixed n and b, to maximize G we need to maximize a+bnb. Since nb is fixed, we minimize a+b, which means minimizing a. Since a is a positive integer, a=1.
G(n,1,b)=⌈1+bnb⌉□
Part (iv)
G(n,1,b)=⌈b+1nb⌉. Note that b+1nb=n−b+1n.
This is maximized when b+1n is minimized, i.e., when b+1 divides n and b+1 is as large as possible. But even without divisibility, b+1nb→n as b→∞.
For G(n,1,b)=n, we need b+1nb>n−1, i.e., nb>(n−1)(b+1)=nb+n−b−1, i.e., b>n−1, i.e., b⩾n.
When b⩾n: b+1nb⩾n+1n2=n−n+1n>n−1, so G(n,1,b)=n.
When b<n: b+1nb<nn(n−1)=n−1, so G(n,1,b)⩽n−1.
Therefore the greatest possible value of G(n,1,b) is n, achieved for all b⩾n. □
Examiner Notes
This was the least popular of the pure maths questions and also the one with the lowest average score. Many of the candidates were able to show the required result at the start of the question, although very few candidates explained that m could be either of the two integers when the range included two integers. Parts (i) and (ii) were then quite straightforward for most candidates, although many calculated the range of values but did not justify their choice in the case where there were two possibilities. In the final two parts of the question some candidates mistakenly chose the value 0 when asked for a positive integer.