1 (i) By integrating one of the two terms in the integrand by parts, or otherwise, find
∫(21+x3+1+x33x3)dx.
(ii) Find
∫(x2+2)x3sinxdx.
(iii) (a) Sketch the graph with equation y=xex, giving the coordinates of any stationary points.
(b) Find a if
∫a2axexdx=∫a2ax2exdx.
(c) Show that it is not possible to find distinct integers m and n such that
∫mnxexdx=∫mnx2exdx.
Hint
(i) [∫1+x33x3dx=u⋅v−∫u′vdx]
[∫1+x33x3dx=x⋅k1+x3−∫k1+x3dx]
[∫1+x33x3dx=x⋅21+x3−∫21+x3dx]
[so ∫(21+x3+1+x33x3)dx=2x1+x3+c]
(ii) [x3(x2+2)sinx=xsinx+x32sinx]
[∫x32sinxdx=−x2p⋅sinx+∫x2qcosxdx]
[=−x2p⋅sinx−xr⋅cosx−∫xssinxdx]
[−x21⋅sinx−x1⋅cosx−∫xsinxdx]
[so ∫((x2+2)x3sinx)dx=−x2sinx+xcosx+c]
(iii) (a) [dxdy=x2(x−1)ex]
[Therefore there is a stationary point at (1, e).]
[[Graph of the function showing a minimum at (1, e) in the first quadrant and a vertical asymptote at x=0. The curve approaches negative infinity as x approaches 0 from the left and positive infinity as x approaches 0 from the right.]]
[Vertical asymptote at x=0]
[Minimum in first quadrant and correct behaviour as x→∞]
[Correct behaviour as x→−∞]
(b) ∫a2ax2exdx=[−xp⋅ex]a2a+∫a2axqexdx [M1]
∫a2ax2exdx=[−x1⋅ex]a2a+∫a2axexdx [A1]
Therefore for integrals to be equal we need
[−x1⋅ex]a2a=0 [M1]
−2a1⋅e2a+a1⋅ea=02a1⋅ea(−ea+2)=0 [M1]
so a=ln2 [A1]
[[5]]
(c) As before, this means we would need
[−x1⋅ex]mn
i.e.
nen=mem [B1]
From the graph in part (iii) (a) this would mean that the smaller of n,m must lie in the range (0,1). Hence this is not an integer. [E1]
[[2]]
Model Solution
Part (i)
We integrate 1+x33x3 by parts. Write
∫1+x33x3dx=∫x⋅1+x33x2dx.
Set u=x and dv=1+x33x2dx. Then du=dx and v=21+x3 (since dxd1+x3=21+x33x2). By parts:
Setting dxdy=0: since ex>0 and x2>0, we need x=1, giving y=e.
Second derivative test: dx2d2y=x3ex(x2−2x+2), so at x=1: dx2d2y=e>0, confirming a minimum at (1,e).
Behaviour:
Vertical asymptote at x=0.
As x→0−: ex→1 and x→0−, so y→−∞.
As x→0+: y→+∞.
As x→+∞: y=xex→+∞.
As x→−∞: ex→0 and ∣x∣→∞, so y→0−.
The graph has a minimum at (1,e) in the first quadrant, a vertical asymptote at x=0, approaches −∞ from the left of the axis, and approaches 0− as x→−∞.
(b) Integrate ∫x2exdx by parts with u=ex, dv=x−2dx, giving du=exdx, v=−x1:
∫x2exdx=−xex+∫xexdx.
Evaluating the definite integrals:
∫a2ax2exdx=[−xex]a2a+∫a2axexdx.
For the two integrals to be equal, we need
[−xex]a2a=0⟹−2ae2a+aea=0⟹2aea(−ea+2)=0.
Since ea>0 and a=0, we need ea=2, so a=ln2.
(c) As in part (b), the condition ∫mnxexdx=∫mnx2exdx requires
[−xex]mn=0⟹nen=mem.
From the graph in part (a), the function y=xex has a minimum at x=1 and is strictly decreasing on (−∞,0) and on (0,1), and strictly increasing on (1,+∞). The only way to have nen=mem with m=n is if one value lies in (0,1) and the other lies in (1,+∞). But there is no integer in the interval (0,1), so no distinct integers m and n can satisfy the equation.
2 A sequence un, where n=1,2,…, is said to have degree d if un, as a function of n, is a polynomial of degree d.
(i) Show that, in any sequence un (n=1,2,…) that satisfies un+1=21(un+2+un) for all n⩾1, there is a constant difference between successive terms.
Deduce that any sequence un for which un+1=21(un+2+un), for all n⩾1, has degree at most 1.
(ii) The sequence vn (n=1,2,…) satisfies vn+1=21(vn+2+vn)−p for all n⩾1, where p is a non-zero constant. By writing vn=tn+pn2, show that the sequence vn has degree 2.
Given that v1=v2=0, find vn in terms of n and p.
(iii) The sequence wn (n=1,2,…) satisfies wn+1=21(wn+2+wn)−an−b for all n⩾1, where a and b are constants with a=0. Show that the sequence wn has degree 3.
Given that w1=w2=0, find wn in terms of n, a and b.
Hint
(i) un+2−un+1=un+1−un [M1]
so constant differences. [A1]
If un−un−1=d, then un=u1+(n−1)d which is of degree at most 1 [B1]
(ii) tn+1+p(n+1)2=21(tn+2+p(n+2)2+tn+pn2)−p [M1]
so tn+1=21(tn+2+tn) [A1]
so tn has degree at most 1 [A1]
Hence since p=0, vn has degree 2. [A1]
Taking vn=pn2+qn+r, gives:
p+q+r=04p+2q+r=0 [M1]
so q=−3p [A1]
And r=2p [A1]
(iii) Substitutes wn=tn+kn3, so [B1]
tn+1+k(n+1)3=21(tn+2+k(n+2)3+tn+kn3)−an−b [M1]
LHS and RHS both give kn3+3kn2 terms [A1]
tn+1=21(tn+2+tn)+(3k−a)n−(b−3k) [A1]
Choosing k=31a [A1]
gives case (ii) (with p=b−a) so tn has degree at most 2 and wn has degree 3, as a=0. [A1]
unless b=a, when case (i) applies so tn has degree at most 2 and wn has degree 3, as a=0. [A1]
Taking wn=31an3+(b−a)n2+qn+r gives:
b−32a+q+r=0−34a+4b+2q+r=0 [M1]
so q=32a−3b [A1]
and r=2b [A1]
wn=31an3+(b−a)n2+(32a−3b)n+2b
Model Solution
Part (i)
From un+1=21(un+2+un), rearranging:
2un+1=un+2+un⟹un+2−un+1=un+1−un.
This holds for all n⩾1, so the difference between successive terms is the same for every pair. The sequence has constant common difference d=u2−u1.
Therefore un=u1+(n−1)d for all n⩾1, which is a polynomial of degree at most 1 in n. ■
Part (ii)
Substitute vn=tn+pn2 into vn+1=21(vn+2+vn)−p:
tn+1+p(n+1)2=21(tn+2+p(n+2)2+tn+pn2)−p.
Expand the p-terms on the right:
p(n+2)2+pn2=p(n2+4n+4+n2)=p(2n2+4n+4),
so 21p(2n2+4n+4)=p(n2+2n+2).
The left-hand side has p(n+1)2=p(n2+2n+1).
Cancelling the p-terms from both sides:
tn+1+p(n2+2n+1)=tn+1 (from t terms) +p(n2+2n+2)+21(tn+2+tn)−p
Wait, let me redo this carefully. The full equation is:
This is the form of part (ii) with p=b−a (replacing −p by a−b, i.e., p=b−a). By part (ii), tn has degree at most 2, so wn=tn+3an3 has degree at most 3. Since a=0, the n3 term is nonzero, so wn has degree exactly 3.
To find wn explicitly, write wn=3an3+αn2+βn+γ.
From w1=0: 3a+α+β+γ=0. (⋆)
From w2=0: 38a+4α+2β+γ=0. (⋆⋆)
Subtracting (⋆) from (⋆⋆): 37a+3α+β=0, so β=−37a−3α.
We need one more condition. Substitute into the recurrence wn+1=21(wn+2+wn)−an−b for a general n. Comparing the n2 coefficient on both sides:
Left side: coefficient of n2 in wn+1 is 3⋅3a+2α=a+2α (from expanding (n+1)3 and (n+1)2).
Actually, let me substitute wn=3an3+αn2+βn+γ into the recurrence directly and match coefficients.
The n2 coefficients: on the left, from 3a⋅3n2+α⋅n2: coefficient is a+α. On the right, from 21⋅3a⋅6n2+21⋅α⋅2n2: coefficient is a+α. These match automatically.
The n coefficients: on the left, from 3a(3n)+α(2n)+β: coefficient is a+2α+β. On the right: 21[3a(12n)+α(4n)+2βn]−an, which gives 2a+2α+β−a=a+2α+β. These match.
The constant terms: on the left, 3a+α+β+γ. On the right: 21[3a⋅8+4α+2β+2γ]−b=34a+2α+β+γ−b.
Setting them equal: 3a+α+β+γ=34a+2α+β+γ−b, which gives −a−α+b=0, so α=b−a.
From β=−37a−3α=−37a−3(b−a)=−37a+3a−3b=32a−3b.
From (⋆): γ=−3a−α−β=−3a−(b−a)−(32a−3b)=−3a−b+a−32a+3b=2b.
wn=3an3+(b−a)n2+(32a−3b)n+2b
We can verify: w1=3a+b−a+32a−3b+2b=0 and w2=38a+4(b−a)+34a−6b+2b=38a+4a+4b−4a−6b+2b=4a−4a=0. ✓
(iii) Show that ∑r=1∞10rFr=8910 and that ∑r=7∞10rFr<2×10−6. Hence find, with justification, the first six digits after the decimal point in the decimal expansion of 891.
(iv) Find, with justification, a number of the form sr with r and s both positive integers less than 10000 whose decimal expansion starts
0.0001010203050813213455 …
Hint
(i) Base case: Fn≤2n−nFn [B1]
(i) For n≥1, Fn−1≤Fn, so if r≥n and Fr≤2r−nFn [M1]
(i) Fr+1≤2Fr≤2(r+1)−nFn [A1]
(i) Logical structure correct, with conclusion. [A1]
(ii) ∑r=1n10r−1Fr+1−∑r=1n10r−1Fr−∑r=1n10r−1Fr−1=100∑r=1n10r+1Fr+1−10∑r=1n10rFr−∑r=1n10r−1Fr−1 [M1]
(ii) 100∑r=2n+110rFr−10∑r=1n10rFr−∑r=0n−110rFr [M1]
(ii) =100(Sn+…)−10Sn−(Sn+…) [A1]
(ii) =100(⋯+10n+1Fn+1−10F1)−(⋯+F0−10nFn) [A1]
(iii) In (ii), the left hand side is equal to zero, so
89Sn=10F1+F0−10nFn−10n−1Fn+1 [M1]
(iii) but 10nFn+10n−1Fn+1→0 as n→∞, from (i) [B1]
(iii) and F0=0, so S∞=8910 [A1]
(iii) ∑r=7∞10rFr≤107F7∑r=0∞10r2r=107(1−102)13<2×10−6 [M1]
(iii) 891=101(101+1021+1032+1043+1055+1068+∑r=7∞10rFr)=0.0112358+ε [A1]
(iii) with ε<2×10−7, so the first six digits of the decimal expansion of 891 are 0.011235 [A1]
(iv) Let Tn=∑r=1n100rFr [M1]
(iv) then 0=∑r=1n100r−1Fr+1−∑r=1n100r−1Fr−∑r=1n100r−1Fr−1=10000(Tn+100n+1Fn+1−1001)−100Tn−(Tn−100nFn) [M1]
(iv) 9899Tn=100−100nFn−100n−1Fn+1 [A1]
(iv) so T∞=9899100 and 98991 is the required fraction [A1]
(iv) as 98991=0.0001010203050813213455+ε [M1]
(iv) where ε≤1−100289×10−24<10−22 [A1]
Model Solution
Part (i)
We prove by strong induction on r that Fr⩽2r−nFn for all r⩾n, where n⩾1 is fixed.
Base cases. For r=n: Fn=2n−nFn=Fn. ✓
For r=n+1: Fn+1=Fn+Fn−1⩽Fn+Fn=2Fn=2(n+1)−nFn, using Fn−1⩽Fn (which holds since the Fibonacci sequence is non-decreasing for n⩾1). ✓
Inductive step. Suppose Fk⩽2k−nFn for all k with n⩽k⩽r (where r⩾n+1). Then
Since F0=0, we can write −10F1=−10F1−F0, confirming:
LHS=89Sn−10F1−F0+10nFn+10n−1Fn+1.■
Part (iii)
The left-hand side of part (ii) telescopes. Writing out the terms using Fr+1−Fr−Fr−1=0 (the Fibonacci recurrence), each group of three consecutive terms cancels:
Simplifying: (10000−100−1)Tn=100F1−100nFn−100n+1100Fn+1⋅100, so
9899Tn=100−100nFn−100n−1Fn+1.
As n→∞, the last two terms vanish (by the same argument as in part (iii)), so
T∞=9899100.
Now ∑r=1∞100rFr=100F1+1002F2+1003F3+⋯=0.01010203050813213455…
And 98991=1001⋅9899100=1001∑r=1∞100rFr=0.0001010203050813213455…
The required number is 98991.
Verification. The error is bounded by 1001∑r=7∞100rFr. Using Fr⩽89⋅2r−7 (with F14=377 and noting Fr<89⋅2r−7 for r⩾7; actually F7=13<89, so we can use Fr⩽89⋅2r−7 as a loose bound):
So the error in 1/9899 is less than 10−14, far smaller than what is needed to confirm the first 20+ digits. Hence 1/9899=0.0001010203050813213455… with both r=1 and s=9899 being positive integers less than 10000.
4 (i) Show that the function f, given by the single formula f(x)=∣x∣−∣x−5∣+1, can be written without using modulus signs as
f(x)=⎩⎨⎧−42x−46x≤0,0≤x≤5,5≤x.
Sketch the graph with equation y=f(x).
(ii) The function g is given by:
g(x)=⎩⎨⎧−x3xx+10x≤0,0≤x≤5,5≤x.
Use modulus signs to write g(x) as a single formula.
(iii) Sketch the graph with equation y=h(x), where h(x)=x2−x−4∣x∣+∣x(x−5)∣.
(iv) The function k is given by:
k(x)=⎩⎨⎧10x2x250x≤0,0≤x≤5,5≤x.
Use modulus signs to write k(x) as a single formula, explicitly verifying that your formula is correct.
Hint
(i) For x≤0, ∣x∣=−x∣x−5∣=−(x−5)
For 0≤x≤5∣x∣=x∣x−5∣=−(x−5)
For 5≤x∣x∣=x∣x−5∣=x−5 [M1]
(i) For x≤0, f(x)=−x−(−(x−5))+1=−4
For 0≤x≤5f(x)=x−(−(x−5))+1=2x−4
For 5≤xf(x)=x−(x−5)+1=6 [A1]
(i) [Graph of f(x) showing a horizontal line at y=-4 for x<=0, a line with positive gradient from (2,0) to (5,6), and a horizontal line at y=6 for x>=5.] [G1
G1]
(i) [[4]]
(ii) Writing g(x)=a∣x∣+b∣x−5∣+c [M1]
(ii) For x≤0, g(x)=−ax+b(−(x−5))+c
For 0≤x≤5g(x)=ax+b(−(x−5))+c
For 5≤xg(x)=ax+b(x−5)+c [M1]
(ii) Coefficients of x:
−a−b=−1a−b=3a+b=1
(ii) a=2,b=−1
So c=5
(ii) g(x)=2∣x∣−∣x−5∣+5 [A1]
(ii) [[3]]
(ii) [Graph showing two convex quadratic curves for x<=0 and x>=5, joined by a horizontal line segment for 0<=x<=5.]
(ii) Convex quadratic shapes of appropriate gradient and without vertex in (−∞,0],[5,∞) [G1]
(ii) Horizontal section in [0,5], with discontinuous gradient at endpoints. [G1]
(ii) Appropriate asymmetry of quadratic parts [G1]
(ii) [[5]]
(iv) k(x)=x2−∣x(x−5)∣+linear, constant terms [M1]
(iv) k(x)−x2+∣x(x−5)∣ is: [M1]
(iv) x≤0: 10x−x2+x(x−5)=5x0≤x≤5: 2x2−x2−x(x−5)=5x5≤x: 50−x2+x(x−5)=50−5x [A1]
(iv) Set equal to a+b∣x−5∣ [M1]
Determine by substitution necessary values of a and b [M1]
a=25 and b=−5 [A1]
Verification that these are sufficient [A1]
Thus k(x)=x2−∣x(x−5)∣+25−5∣x−5∣ [A1]
[[8]]
Model Solution
Part (i)
We analyse f(x)=∣x∣−∣x−5∣+1 by considering three regions determined by the points where the expressions inside the modulus signs change sign: x=0 and x=5.
Case 1: x⩽0. Here ∣x∣=−x and ∣x−5∣=−(x−5)=5−x, so
f(x)=−x−(5−x)+1=−x−5+x+1=−4.
Case 2: 0⩽x⩽5. Here ∣x∣=x and ∣x−5∣=5−x, so
f(x)=x−(5−x)+1=x−5+x+1=2x−4.
Case 3: x⩾5. Here ∣x∣=x and ∣x−5∣=x−5, so
f(x)=x−(x−5)+1=x−x+5+1=6.
Therefore
f(x)=⎩⎨⎧−42x−46x⩽0,0⩽x⩽5,x⩾5.
Sketch: The graph consists of three pieces:
A horizontal line at y=−4 for x⩽0.
A line with gradient 2 from (0,−4) to (5,6) for 0⩽x⩽5.
A horizontal line at y=6 for x⩾5.
The x-intercept in the middle section occurs at 2x−4=0, i.e., x=2.
Part (ii)
We seek a, b, c such that g(x)=a∣x∣+b∣x−5∣+c matches the given piecewise definition.
For each region, expanding a∣x∣+b∣x−5∣+c:
x⩽0: −ax+b(5−x)+c=−(a+b)x+(5b+c).
0⩽x⩽5: ax+b(5−x)+c=(a−b)x+(5b+c).
x⩾5: ax+b(x−5)+c=(a+b)x+(−5b+c).
Matching with g(x):
⎩⎨⎧−(a+b)=−1a−b=3a+b=1and{5b+c=0−5b+c=10
From the first system: a+b=1 and a−b=3 give a=2, b=−1.
From the second system: adding gives 2c=10, so c=5; check: 5(−1)+5=0. ✓
g(x)=2∣x∣−∣x−5∣+5
Verification:
x⩽0: −2x+(5−x)+5=−3x+10… Hmm, that gives −3x+10, not −x. Let me re-check.
Wait: with a=2,b=−1,c=5: for x⩽0: −(a+b)x+(5b+c)=−(2−1)x+(−5+5)=−x. ✓
For 0⩽x⩽5: (a−b)x+(5b+c)=3x+0=3x. ✓
For x⩾5: (a+b)x+(−5b+c)=x+10. ✓
Part (iii)
We sketch h(x)=x2−x−4∣x∣+∣x(x−5)∣. Consider three regions:
Case 1: x⩽0. Here ∣x∣=−x and x(x−5)⩾0, so ∣x(x−5)∣=x2−5x.
h(x)=x2−x+4x+x2−5x=2x2−2x=2x(x−1).
Case 2: 0⩽x⩽5. Here ∣x∣=x and x(x−5)⩽0, so ∣x(x−5)∣=−(x2−5x)=5x−x2.
h(x)=x2−x−4x+5x−x2=0.
So h(x)=0 on [0,5].
Case 3: x⩾5. Here ∣x∣=x and x(x−5)⩾0, so ∣x(x−5)∣=x2−5x.
h(x)=x2−x−4x+x2−5x=2x2−10x=2x(x−5).
Sketch: The graph is:
For x⩽0: the upward parabola 2x2−2x with vertex at (1/2,−1/2); only the portion for x⩽0 is shown, passing through (0,0).
For 0⩽x⩽5: h(x)=0 (the x-axis).
For x⩾5: the upward parabola 2x2−10x with vertex at (5/2,−25/2); only the portion for x⩾5 is shown, starting at (5,0).
The graph is continuous: h(0)=0 and h(5)=0 from all regions.
Part (iv)
We seek a single formula for k(x) using modulus signs. Inspired by the structure, try
k(x)=x2−∣x(x−5)∣+α+β∣x−5∣
and determine α, β by substitution.
Compute x2−∣x(x−5)∣ in each region:
x⩽0: x2−(x2−5x)=5x.
0⩽x⩽5: x2−(5x−x2)=2x2−5x.
x⩾5: x2−(x2−5x)=5x.
So k(x)−x2+∣x(x−5)∣=α+β∣x−5∣ should equal:
x⩽0: 10x−5x=5x.
0⩽x⩽5: 2x2−(2x2−5x)=5x.
x⩾5: 50−5x.
For the first two regions: α+β(5−x)=5x for all x⩽5 (since ∣x−5∣=5−x).
5 (i) Given that a>b>c>0 are constants, and that x,y,z are non-negative variables, show that
ax+by+cz⩽a(x+y+z).
In the acute-angled triangle ABC, a,b and c are the lengths of sides BC,CA and AB, respectively, with a>b>c. P is a point inside, or on the sides of, the triangle, and x,y and z are the perpendicular distances from P to BC,CA and AB, respectively. The area of the triangle is Δ.
(ii) (a) Find Δ in terms of a,b,c,x,y and z.
(b) Find both the minimum value of the sum of the perpendicular distances from P to the three sides of the triangle and the values of x,y and z which give this minimum sum, expressing your answers in terms of some or all of a,b,c and Δ.
(iii) (a) Show that, for all real a,b,c,x,y and z,
(a2+b2+c2)(x2+y2+z2)=(bx−ay)2+(cy−bz)2+(az−cx)2+(ax+by+cz)2.
(b) Find both the minimum value of the sum of the squares of the perpendicular distances from P to the three sides of the triangle and the values of x,y and z which give this minimum sum, expressing your answers in terms of some or all of a,b,c and Δ.
(iv) Find both the maximum value of the sum of the squares of the perpendicular distances from P to the three sides of the triangle and the values of x,y and z which give this maximum sum, expressing your answers in terms of some or all of a,b,c and Δ.
Hint
(i) As z,y non-negative and a>b,c:
ay≥by and az≥cz [B1]
(i) [[1]]
(ii) (a) Δ=21ax+21by+21cz [B1]
(ii) (b) By (i), (x+y+z)≥a2Δ [M1]
(ii) (b) a2Δ is the minimum value [A1]
(ii) (b) [as this lower bound is attained at] (a2Δ,0,0). [A1]
(ii) (b) [[4]]
(iii) (a) Correct number of terms for expansions of any two of:
(a2+b2+c2)(x2+y2+z2)(bx−ay)2+(cy−bz)2+(az−cx)2(ax+by+cz)2 [M1]
(iii) (a) Fully correct expansions. [A1]
(iii) (a) Given result fully shown. [A1]
(iii) (a) [[3]]
(iii) (b) By (iii),
(a2+b2+c2)(x2+y2+z2)=(bx−ay)2+(cy−bz)2+(az−cx)2+(2Δ)2 [M1]
(iii) (b) so the minimum value of x2+y2+z2 is a2+b2+c24Δ2 [A1]
(iii) (b) This occurs when bx=ay,cy=bz and az=cx [M1]
(iii) (b) so when ax=by=cz=λ, say, where λ>0. [M1]
(iii) (b) Then Δ=21a(aλ)+21b(bλ)+21c(cλ) [M1]
(iii) (b) so λ=a2+b2+c22Δ [A1]
(iii) (b) minimum at (aλ,bλ,cλ) with this value of λ. [A1]
(iii) (b) [[7]]
(iv) (ax+by+cz)2≥(cx+cy+cz)2 [M1]
(iv) =c2(x+y+z)2≥c2(x2+y2+z2) [M1]
(iv) so x2+y2+z2≤c24Δ2 [M1]
(iv) Maximum of c24Δ2 [A1]
(iv) at (0,0,c2Δ). [A1]
(iv) [[5]]
(a) The point P with perpendicular distances x, y, z to sides BC, CA, AB respectively divides △ABC into three sub-triangles PBC, PCA, PAB with areas 21ax, 21by, 21cz. Therefore
Δ=21ax+21by+21cz.(⋆)
(b) From (⋆): ax+by+cz=2Δ. By part (i), ax+by+cz⩽a(x+y+z), so
x+y+z⩾a2Δ.
This lower bound is achieved when the inequalities in part (i) are equalities, i.e., when y=0 and z=0 (since a>b and a>c). Then x=a2Δ, which corresponds to the point P being on side BC (specifically at the foot of the altitude from A, since y=z=0 means P lies on BC, and x=a2Δ is the altitude from A).
Minimum of x+y+z=a2Δ, achieved at (x,y,z)=(a2Δ,0,0).
with equality if and only if bx=ay, cy=bz, and az=cx simultaneously.
From bx=ay: ax=by. From cy=bz: by=cz. So ax=by=cz=λ (say), giving x=aλ, y=bλ, z=cλ with λ>0.
Substituting into (⋆): Δ=21a(aλ)+21b(bλ)+21c(cλ)=2λ(a2+b2+c2), so λ=a2+b2+c22Δ.
Minimum of x2+y2+z2=a2+b2+c24Δ2, at (x,y,z)=a2+b2+c22Δ(a,b,c).
Part (iv)
We maximize x2+y2+z2 subject to ax+by+cz=2Δ with x,y,z⩾0.
Since c<b<a, for any x,y,z⩾0:
ax+by+cz⩾cx+cy+cz=c(x+y+z).
So x+y+z⩽c2Δ.
By Cauchy—Schwarz (or the AM-QM inequality): (x+y+z)2⩽3(x2+y2+z2), but we can get a sharper bound. Note that for non-negative reals, x+y+z⩾0, and since x,y,z⩾0:
x2+y2+z2⩽(x+y+z)2⩽c24Δ2.
The first inequality uses 2(xy+yz+zx)⩾0; the second uses x+y+z⩽c2Δ.
Equality requires xy+yz+zx=0 and x+y+z=c2Δ. Since x,y,z⩾0, the condition xy+yz+zx=0 forces two of the three to be zero.
If x=y=0: z=c2Δ. Check: ax+by+cz=c⋅c2Δ=2Δ. ✓
If x=z=0: y=c2Δ, but by=c2bΔ>2Δ since b>c. So ax+by+cz>2Δ. Contradiction.
If y=z=0: x=c2Δ, but ax=c2aΔ>2Δ since a>c. Contradiction.
So the unique maximum is at (x,y,z)=(0,0,c2Δ), which is the vertex C (opposite the shortest side AB=c).
Maximum of x2+y2+z2=c24Δ2, at (x,y,z)=(0,0,c2Δ).
6 In this question, you should consider only points lying in the first quadrant, that is with x>0 and y>0.
(i) The equation x2+y2=2ax defines a family of curves in the first quadrant, one curve for each positive value of a. A second family of curves in the first quadrant is defined by the equation x2+y2=2by, where b>0.
(a) Differentiate the equation x2+y2=2ax implicitly with respect to x, and hence show that every curve in the first family satisfies the differential equation
2xydxdy=y2−x2.
Find similarly a differential equation, independent of b, for the second family of curves.
(b) Hence, or otherwise, show that, at every point with y=x where a curve in the first family meets a curve in the second family, the tangents to the two curves are perpendicular.
A curve in the first family meets a curve in the second family at (c,c), where c>0. Find the equations of the tangents to the two curves at this point. Is it true that where a curve in the first family meets a curve in the second family on the line y=x, the tangents to the two curves are perpendicular?
(ii) Given the family of curves in the first quadrant y=clnx, where c takes any non-zero value, find, by solving an appropriate differential equation, a second family of curves with the property that at every point where a curve in the first family meets a curve in the second family, the tangents to the two curves are perpendicular.
(iii) A family of curves in the first quadrant is defined by the equation y2=4k(x+k), where k takes any non-zero value.
Show that, at every point where one curve in this family meets a second curve in the family, the tangents to the two curves are perpendicular.
Hint
(i) (a) Differentiating implicitly with respect to x gives
2x+2ydxdy=2a so, by substitution,
x2+y2=x(2x+2ydxdy) [B1]
For second family: 2x+2ydxdy=2bdxdy [M1]
so y(2x+2ydxdy)=(x2+y2)dxdy [A1]
(x2−y2)dxdy=2xy [A1]
[4]
(b) The product of the gradients at points (x,y) where the curves meet is
2xyy2−x2×x2−y22xy=−1, provided x=y,
So the tangents to the curves at these points are perpendicular [B1]
At (c,c), for the first family of curves:
2c2dxdy=0
and so dxdy=0. [M1]
For the second family of curves:
2c2dydx=0
and so dxdy=∞. [A1]
The tangents to the circles (x−c)2+y2=c2 and (y−c)2+x2=c2 at this point are y=c and x=c, which are indeed perpendicular. [A1]
[4]
(ii) First family dxdy=xy [M1]
so xlnxdxdy=y [A1]
so orthogonal family has ydxdy=−xlnx [A1]
Solving differential equation by separating variables: [M1]
(iii) If two curves, with parameters k1,k2 meet, require
4k1(x+k1)=4k2(x+k2)
so x=−(k1+k2) [M1]
y2=−4k1k2 [A1]
for any curve, 2ydxdy=4k [A1]
so the gradients of the two curves satisfy
dxdy∣1⋅dxdy∣2=y2k1⋅y2k2=−1 [M1, A1]
CSO
[5]
Model Solution
Part (i)
(a) For the first family x2+y2=2ax: differentiating implicitly,
2x+2ydxdy=2a.
From the original equation, a=2xx2+y2. Substituting:
2x+2ydxdy=xx2+y2,
2x2+2xydxdy=x2+y2,
2xydxdy=y2−x2.(⋆)
For the second family x2+y2=2by: differentiating implicitly,
2x+2ydxdy=2bdxdy.
From the original equation, b=2yx2+y2. Substituting:
2x+2ydxdy=yx2+y2dxdy,
2xy+2y2dxdy=(x2+y2)dxdy,
2xy=(x2−y2)dxdy,
(x2−y2)dxdy=2xy.(⋆⋆)
(b) At any point (x,y) where curves from the two families meet (with y=x, so neither dxdy is undefined):
From (⋆): dxdyfamily 1=2xyy2−x2.
From (⋆⋆): dxdyfamily 2=x2−y22xy.
The product of the gradients:
2xyy2−x2⋅x2−y22xy=x2−y2y2−x2=−1.
Since the product of slopes is −1, the tangents are perpendicular at every such intersection point. ■
At (c,c) on the line y=x: For the first family, (c,c) lies on x2+y2=2ax when 2c2=2ac, i.e., a=c. So the circle is (x−c)2+y2=c2. Differentiating: 2(x−c)+2ydxdy=0, so at (c,c): 2cdxdy=0, giving dxdy=0. The tangent is y=c.
For the second family, (c,c) lies on x2+y2=2by when 2c2=2bc, i.e., b=c. So the circle is x2+(y−c)2=c2. Differentiating: 2x+2(y−c)dxdy=0, so at (c,c): 2c=0. This gives dxdy=∞, meaning the tangent is vertical: x=c.
The tangents y=c (horizontal) and x=c (vertical) are indeed perpendicular. So the result holds even on the line y=x, despite the differential equation (⋆) giving 0/0 at such points. The perpendicularity at points with y=x must be verified directly from the geometry of the circles.
Part (ii)
For the family y=clnx: differentiating, dxdy=xc.
Eliminate c using c=lnxy:
dxdy=xlnxy.
The orthogonal family satisfies dxdy=−yxlnx (negative reciprocal), i.e.,
ydy=−xlnxdx.
Integrate both sides:
∫ydy=−∫xlnxdx.
Left side: 2y2.
Right side: integrate by parts with u=lnx, dv=xdx, so du=x1dx, v=2x2:
∫xlnxdx=2x2lnx−∫2x2⋅x1dx=2x2lnx−4x2.
Therefore
2y2=−2x2lnx+4x2+C,
y2=−x2lnx+2x2+C′
where C′=2C is an arbitrary constant. This is the orthogonal family.
Part (iii)
Let two curves from the family y2=4k(x+k) with parameters k1 and k2 (both nonzero) meet at a point (x,y).
From y2=4k1(x+k1) and y2=4k2(x+k2):
4k1(x+k1)=4k2(x+k2),
k1x+k12=k2x+k22,
(k1−k2)x=k22−k12=−(k1−k2)(k1+k2).
Since k1=k2: x=−(k1+k2).
Then y2=4k1(−(k1+k2)+k1)=−4k1k2.
For the intersection to exist in the first quadrant (x>0, y>0), we need k1+k2<0 and k1k2<0, i.e., one parameter is positive and one negative.
Now differentiate y2=4k(x+k) implicitly: 2ydxdy=4k, so dxdy=y2k.
Since the product of slopes is −1, the tangents to the two curves are perpendicular at every intersection point. ■
Remark. This family consists of parabolas. The parameter k is the distance from the vertex to the focus. When k>0, the parabola opens to the left with vertex at (−k,0); when k<0, it opens to the right. Two parabolas from this family always intersect at right angles.
7 Let h(z)=nz6+z5+z+n, where z is a complex number and n⩾2 is an integer.
(i) Let w be a root of the equation h(z)=0.
(a) Show that ∣w5∣=g(w)f(w), where
f(z)=n2+2nRe(z)+∣z∣2 and g(z)=n2∣z∣2+2nRe(z)+1.
(b) By considering f(w)−g(w), prove by contradiction that ∣w∣⩾1.
(c) Show that ∣w∣=1.
(ii) It is given that the equation h(z)=0 has six distinct roots, none of which is purely real.
(a) Show that h(z) can be written in the form
h(z)=n(z2−a1z+1)(z2−a2z+1)(z2−a3z+1),
where a1, a2 and a3 are real constants.
(b) Find a1+a2+a3 in terms of n.
(c) By considering the coefficient of z3 in h(z), find a1a2a3 in terms of n.
(d) How many of the six roots of the equation h(z)=0 have a negative real part? Justify your answer.
Hint
(i) (a) w5=−nw+1w+n [M1]
(i) (a) ∣w5∣=nw+1w+n=(nw+1w+n)(nwˉ+1wˉ+n) [M1]
(i) (a) =n2wwˉ+n(w+wˉ)+1wwˉ+n(w+wˉ)+n2 [A1]
(i) (a) which gives the required result, as
w+wˉ=2Re(w) [A1]
(i) (a) [[4]]
(i) (b) f(w)−g(w)=(n2−1)(1−∣w∣2) [M1]
(i) (b) and n>1, so if ∣w∣<1, f(w)−g(w)>0 [A1]
(i) (b) but since f(w) and g(w) are both positive (each is the square of the
magnitude of a complex number) f(w)>g(w)>0 [A1]
(i) (b) so g(w)f(w)>1 and so ∣w∣=10g(w)f(w)>1 # [A1]
(i) (b) Hence ∣w∣≥1
(i) (b) [[4]]
(i) (c) if ∣w∣>1, f(w)−g(w)<0 [M1]
(i) (c) so g(w)f(w)<1 [A1]
(i) (c) so ∣w∣=10g(w)f(w)<1 #. Hence ∣w∣≤1 [A1]
(i) (c) and, in combination with (b), this gives ∣w∣=1 [A1]
(i) (c) [[4]]
(ii) (a) Since the coefficients of h(z) are real, but none of the roots is purely real,
the six roots occur in conjugate pairs [B1]
(ii) (a) Suppose p±iq are roots; then quadratic factor of
(z−p−iq)(z−p+iq)=(z2−2pz+p2+q2) with 2p real and
p2+q2=∣z∣2=1 by (i)(c) [M1]
(ii) (a) Hence the algebraic factors are as stated, and the only remaining
possibility is a numerical factor, which must be n by comparison of the z6
term [A1]
(ii) (a) [[3]]
(ii) (b) a1+a2+a3 is the sum of all six roots,
so equal to −n1 [B1]
(ii) (b) [[1]]
(ii) (c) The coefficient of z3 in h is −a1a2a3−2a1−2a2−2a3 [M1]
(ii) (c) which must be zero
so a1a2a3=n2 [A1]
(ii) (c) [[2]]
(ii) (d) The sum of a1,a2,a3 is negative, so they cannot all be positive, but their
product is positive, so exactly two of them are negative [B1]
(ii) (d) hence exactly four roots of the equation have negative real part [B1]
(ii) (d) [[2]]
Model Solution
Part (i)
(a) If w is a root of h(z)=0, then nw6+w5+w+n=0, so
The leading coefficient must be n since the z6 coefficient of h(z) is n. ■
(b) Expanding the product, the coefficient of z5 comes from choosing the (−aiz) term from exactly one factor and the z2 term from the other two:
coeff of z5=n(−a1−a2−a3)=−n(a1+a2+a3).
From h(z)=nz6+z5+z+n, the coefficient of z5 is 1. So
−n(a1+a2+a3)=1⟹a1+a2+a3=−n1.
(c) The coefficient of z3 in the expansion:
Choose (−a1z)(−a2z)(−a3z)=−a1a2a3z3 from the linear terms of all three factors.
Choose (−aiz)(1)(1)=−aiz from one linear term and two constant terms: this contributes z not z3, so does not contribute.
Choose (−aiz)(−ajz)(1)=aiajz2 from two linear terms and one constant: this contributes z2 not z3.
Wait, I need to be more careful. Expanding (z2−a1z+1)(z2−a2z+1)(z2−a3z+1):
The z3 coefficient comes from: (i) choosing z2 from one factor, (−ajz) from another, (−akz) from the third; and (ii) choosing (−a1z)(−a2z)(−a3z) — but that gives z3 only if each contributes z1, but the factors are degree 2, so I need to think more carefully.
Each factor is z2−aiz+1. To get z3 from the product of three degree-2 polynomials, the powers from the three factors must sum to 3. The possible triples are (2,1,0) and its permutations, and (1,1,1).
For (2,1,0): choose z2 from factor i, (−ajz) from factor j, and 1 from factor k. This gives −ajz3. There are 3!/1=6 such terms (3 choices for which factor contributes z2, 2 for which contributes (−ajz), 1 for the rest), but actually it’s: choose which factor gives z2 (3 choices), which gives (−ajz) (2 remaining choices). The contribution is −aj for each such choice. Total: −(a1+a2+a3)⋅2… Let me just enumerate.
8 Let M=(acbd) be a real matrix with \neq d.Thetransformationrepresentedby\mathbf{M}$ has exactly two distinct invariant lines through the origin.
(i) Show that, if neither invariant line is the hBcaxis, then the gradients of the invariant lines are the roots of the equation
1435583bm^2 + (a - d)m - c = 0.1435583
If one invariant line is the hBcaxis, what is the gradient of the other?
(ii) Show that, if the angle between the two invariant lines is 5^\circ$, then
1435583(a - d)^2 = (b - c)^2 - 4bc.1435583
(iii) Find a necessary and sufficient condition, on some or all of , b, cand, for the two invariant lines to make equal angles with the line = x$.
(iv) Give an example of a matrix which satisfies both the conditions in parts (ii) and (iii).
Hint
(i) If neither parallel to the y-axis, their gradients satisfy
(acbd)(1m)=λ(1m) [M1]
with λ=0 [M1]
Eliminating λ from c+dm=λm,a+bm=λ:
c+dm=m(a+bm) [A1]
If (01) is invariant, then b=0 [M1]
and the gradient of the other line satisfies (a−d)m=c [A1]
[5]
(ii) If b=0, and the angle θ between the lines is 45°, then cos2θ=21, so using the scalar product: [B1]
((1m1)⋅(1m2))2=21(1+m12)(1+m22) [B1]
so (1+m1m2)2+4m1m2=(m1+m2)2 [M1]
so (1−bc)2−4bc=b2(a−d)2 [A1]
If b=0, the condition is:
((01)⋅(a−dc))2=21((a−d)2+c2) [M1]
so c2=(a−d)2 as required [A1]
[6]
(iii) If b=0, the angles with y=x are equal iff
(1m1),(1m2) make equal angles with (11) [B1]
so 2(1+m12)((1m1)⋅(11))2=2(1+m22)((1m2)⋅(11))2 [M1]
(1+m22)(1+m1)2=(1+m12)(1+m2)2 so (m1−m2)(1−m1m2)=0 [A1]
but m1=m2 so requirement is m1m2=1 [B1]
which is b+c=0 [A1]
If b=0, require (10) also invariant [M1]
so c=0, which is the same condition [A1]
[7]
(iv) Require c=−b and (a−d)2=8b2 [M1]
so e.g. (22−110) or (2−11−2) [A1]
[2]
Model Solution
Part (i)
Case: neither invariant line is the y-axis. A line through the origin with gradient m consists of points λ(m1). For this line to be invariant under M, the image M(m1) must lie on the same line, i.e.,
(acbd)(1m)=λ(1m)
for some scalar λ. This gives
λ=a+bmandλm=c+dm.
Eliminating λ: (a+bm)m=c+dm, so am+bm2=c+dm, i.e.,
bm2+(a−d)m−c=0.(⋆)
Since M has exactly two distinct invariant lines and neither is the y-axis, both gradients satisfy (⋆), and the quadratic has two distinct real roots (requiring b=0, since b=0 would give at most one root).
Case: one invariant line is the y-axis. The y-axis has direction (10), so invariance requires M(10)=λ(10), i.e., (db)=(λ0), so b=0.
With b=0, the other invariant line has gradient m satisfying the linear equation (a−d)m=c, i.e., m=a−dc (well-defined since a=d; if a=d with b=0 and c=0 we would have M=aI with every line invariant, contradicting “exactly two”).
m=a−dc
Part (ii)
We need to show: if the angle between the two invariant lines is 45∘, then (a−d)2=(b−c)2−4bc.
Case b=0. Let m1,m2 be the two roots of (⋆). By Vieta’s formulas:
m1+m2=−ba−d,m1m2=−bc.
The angle θ between lines with gradients m1 and m2 satisfies
tanθ=1+m1m2m1−m2.
With θ=45∘: tan2θ=1, so
(m1−m2)2=(1+m1m2)2.
Expanding: (m1+m2)2−4m1m2=1+2m1m2+m12m22.
Substituting Vieta’s:
b2(a−d)2+b4c=1−b2c+b2c2.
Multiply by b2:
(a−d)2+4bc=b2−2bc+c2=(b−c)2.
Therefore
(a−d)2=(b−c)2−4bc.■
Case b=0. One invariant line is the y-axis (direction (10)) and the other has direction (ca−d). The angle condition using the dot product:
(this comes from the squared cosine formula). Expanding and simplifying:
(1+m12)(1+2m2+m22)−(1+m22)(1+2m1+m12)=0.
The constant and m12m22 terms cancel. Collecting:
2(m2−m1)+(m12−m22)+2(m12m2−m1m22)=0,
(m2−m1)[−2+(m1+m2)−2m1m2]=0.
Hmm, let me redo this more carefully. Alternatively, the condition that two lines make equal angles with y=x is equivalent to saying y=x bisects the angle between them. A standard result is that this holds iff m1m2=1 (the lines are “symmetric about y=x”).
Proof: The angle that a line of gradient m makes with y=x (gradient 1) satisfies tanα=1+mm−1. Equal angles means 1+m1m1−1=−1+m2m2−1 (opposite signs), i.e., (m1−1)(1+m2)=−(m2−1)(1+m1). Expanding: m1+m1m2−1−m2=−(m2+m1m2−1−m1)=−m2−m1m2+1+m1. So m1m2=1. (We used m1=m2 to get the non-trivial case.)
By Vieta’s: m1m2=−bc=1, so b+c=0.
Case b=0. One invariant line is the y-axis (gradient ∞), which makes angle 45∘ with y=x. The other line has gradient m=a−dc. For equal angles, this line must also make 45∘ with y=x:
1+mm−1=1⟹∣m−1∣=∣1+m∣⟹m=0.
So c=0, which again gives b+c=0.
Summary: The necessary and sufficient condition is b+c=0.
Part (iv)
We need both conditions:
(a−d)2=(b−c)2−4bc (from part (ii))
b+c=0 (from part (iii))
Substituting c=−b into condition 1:
(a−d)2=(b−(−b))2−4b(−b)=4b2+4b2=8b2.
Choose b=1 (so c=−1) and a−d=22. Setting d=0 gives a=22:
M=(22−110)
Verification. The invariant lines satisfy m2+22m+1=0, giving m=−2±1.
Product: m1m2=(−2+1)(−2−1)=2−1=1. ✓ (equal angles with y=x)
m1−m2=2, 1+m1m2=2, so 1+m1m2m1−m2=1. ✓ (angle between them is 45∘)
Alternative example:M=(2−11−2) also works, with a−d=22 and the same verification.