Académique Documents
Professionnel Documents
Culture Documents
Here we have provided solutions to questions in the Mathematics Exam over the years. Only solutions to the Linear Algebra,
Algebra, Calculus and Complex Analysis sections are provided. This page is under construction, please check the change log for
updates.
We hope that these solutions will be useful to candidates preparing for the Civil Services, and will also be useful for anyone
studying these subjects. Please drop us an email at sunderlal.chd (at) gmail.com if you found them useful. We would be glad to
hear comments and criticisms, suggestions for improvement, and any error reports. If you have a different or better solution to
any question, we would be glad to incorporate it, and will credit it to you in the notes.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License. You
are free to use it for any personal, classroom or other non-commercial purpose, but must seek prior
permission for commercial use.
http://sites.google.com/site/sunderlalchd/home
UPSC Civil Services Main 1979 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(b) Reduce the quadratic expression x2 + 2y 2 + 2z 2 + 2xy + 2xz to the canonical
form.
Question 2(a) Find the elements p, q, r such that the product BA of the matrices
1 2 1 1 0 0
A = 4 1 2 , B = p 1 0
−10 2 4 q r 1
is of the form
a1 b1 c1
BA = 0 b2 c2
0 0 c3
Hence solve the set of equations Ax = y, where x is the column vector (x1 , x2 , x3 ), and y is
the column vector (0, 8, −4).
1
Solution.
1 2 1 a1 b1 c1
BA = p + 4 2p + 1 p + 2 = 0 b2 c2
q + 4r − 10 2q + r + 2 q + 2r + 4 0 0 c3
Thus p + 4 = 0, q + 4r − 10 = 0, 2q + r + 2 = 0 ⇒ p = −4, r = 22
7
, q = − 18
7
.
Now solving Ax = y is the same as solving BAx = By because |B| 6= 0.
1 2 1 x1 1 0 0 0 0
0 −7 −2 x2 = −4 1 0 8 = 8
54
0 0 7
x3 − 18
7
22
7
1 −4 148
7
Thus 54 x = 148
7 3 7
⇒ x3 = 27 74
. −7x2 − 2x3 = 8 ⇒ −7x2 = 2x3 + 8 = 364
27
, so x2 = − 52
27
.
104 74
x1 + 2x2 + x3 = 0 ⇒ x1 = 27 − 27 = 10
9
.
10 52 74
Thus x1 = 9 , x2 = − 27 , x3 = 27 is the required solution.
Question 3(a) If S and T are subspaces of a finite dimensional vector space, then show
that
dim(S + T ) = dim S + dim T − dim(S ∩ T )
Question 3(b) Determine the value of a for which the following system of equations:
x1 + x2 + x3 = 2
x1 + 2x2 + x3 = −2
x1 + x2 + (a − 5)x3 = a
2
Paper II
Question 4(a) Prove that any two finite dimensional vector spaces of the same dimension
are isomorphic.
Solution. See 1987 question 4(b).
Question 4(b) Define the dual space of a finite dimensional vector space V and show that
it has the same dimension as V.
Solution. Let V ∗ = {f : V −→ R, f a linear transformation}. Then V ∗ is a vector space
for the usual pointwise addition and scalar multiplication of functions: for all v ∈ V and all
α ∈ R, (f + g)(v) = f (v) + g(v), (αf )(v) = αf (v).
Let P a basis for V. Define n linear functionals v1∗ , . . . , vn∗ by vi∗ (vj ) = δij ,
v1 , . . . , vn be P
and vi∗ ( j=1 αj vj ) = nj=1 αj vi∗ (vj ) = αi .
n
Then v1∗ , . . . , vn∗ are linearly independent — ni=1 αi vi∗ = 0 ⇒ ( ni=1 αi vi∗ )(vj ) = αj =
P P
0, 1 ≤ j ≤ n. Pn Pn
∗ ∗ ∗ ∗ ∗ ∗
Pn v1 , . . . , v n generate V — if f ∈ V , then f = i=1 f (vi )v i . Clearly ( i=1 f (vi )vi )(vj ) =
∗
i=1 f (vi )vi (vj ) = f (vj ), so the two sides agree on v1 , . . . , vn , and hence by linearity on all
of V.
Thus v1∗ , . . . , vn∗ is a basis of V ∗ , so dim V ∗ = dim V . V ∗ is called the dual of V.
Question 4(c) Show that every finite dimensional inner product space V over the field of
complex numbers has an orthonormal basis.
Solution. Let w1 , . . . , wn be a basis of V. We will convert it into an orthonormal basis of
V by the Gram-Schmidt orthonormalization process.
Starting with i = 1, define
i−1
X hwi , vj i
v i = wi − vj
j=1
||vj ||2
Question 5(a) Define the rank and nullity of a linear transformation. If V and W are
finite dimensional vector spaces over a field, and T is a linear transformation of V into W,
prove that
rank T + nullity T = dim V
Solution. See 1998 question 3(a).
3
Question 5(b) Define a positive definite form. State and prove a necessary and sufficient
condition for a quadratic form to be positive definite.
Solution.
4
UPSC Civil Services Main 1980 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Define the rank of a matrix. Prove that a system of equations Ax = b is
consistent if and only if rank (A, b) = rank A, where (A, b) is the augmented matrix of the
system.
Question 2(a) Prove that if P is any non-singular matrix of order n, then the matrices
P−1 AP and A have the same characteristic polynomial.
Solution. The characteristic polynomial of P−1 AP is |xI−P−1 AP| = |xP−1 P−P−1 AP| =
|P−1 ||xI − A||P| = |xI − A| which is the characteristic polynomial of A.
1
3 4
Question 2(b) Find the eigenvalues and eigenvectors of the matrix A = .
4 −3
3 4 3 − λ 4
Solution. The characteristic equation of A = is = 0 ⇒ −(9 −
4 −3 4 −3 − λ
λ2 ) − 16 = 0 ⇒ λ2 − 25 = 0 ⇒ λ = 5, −5.
−2 4 x1
If (x1 , x2 ) is an eigenvector for λ = 5, then = 0 ⇒ 2x1 − 4x2 = 0 ⇒
4 −8 x2
x1 = 2x2 . Thus (2x, x), x ∈ R, x 6= 0 gives all eigenvectors for λ = 5, in particular, we can
take (2, 1) as an eigenvector for λ = 5.
8 4 x1
If (x1 , x2 ) is an eigenvector for λ = −5, then = 0 ⇒ 4x1 + 2x2 = 0 ⇒ x2 =
4 2 x2
−2x1 . Thus (x, −2x), x ∈ R, x 6= 0 gives all eigenvectors for λ = −5, in particular, we can
take (1, −2) as an eigenvector for λ = −5.
Question 3(a) Find a basis for the vector space V = {p(x) | p(x) = a0 + a1 x + a2 x2 } and
its dimension.
Solution. Let f1 = 1, f2 = x, f3 = x2 , then f1 , f2 , f3 are linearly independent, because
α1 f1 + α2 f2 + α3 f3 = 0 ⇒ α1 + α2 x + α3 x2 = 0(zero polynomial) ⇒ α1 = α2 = α3 = 0.
f1 , f2 , f3 generate V because p(x) = a0 + a1 x + a2 x2 = a0 f1 + a1 f2 + a2 f3 for any p(x) ∈ V.
Thus {f1 , f2 , f3 } is a basis for V and its dimension is 3.
Question 3(b) Find the values of the parameter λ for which the system of equations
x + y + 4z = 1
x + 2y − 2z = 1
λx + y + z = 1
will have (i) unique solution (ii) no solution.
−1
1 1 4 1
Solution. The system will have the unique solution given by 1 2 −2
1 if
λ 1 1 1
1 1 4
1 2 −2 = 1(2 + 2) + 4(1 − 2λ) − 1(1 + 2λ) 6= 0. Thus 4 + 4 − 8λ − 1 − 2λ 6= 0 ⇒ λ 6= 7 .
10
λ 1 1
7
When λ = 10
, the system is
x + y + 4z = 1
x + 2y − 2z = 1
7x + 10y + 10z = 10
This system has no solution as it is inconsistent: 4(x+y+4z)+3(x+2y−2z) = 7x+10y+10z =
7, but the third equation says that 7x + 10y + 10z = 10. Thus there is a unique solution if
7 7
λ 6= 10 , and no solution if λ = 10 .
2
Paper II
Question 3(d) Find one characteristic value and corresponding characteristic vector for
the operators T on R3 defined as
Solution.
1. T (x, y, z) = (z, y, x) because the midpoint of (x, y, z) and (z, y, x) lies on the plane
x = z. T (1, 0, 0) = (0, 0, 1), T (0, 1, 0) = (0, 1, 0), T (0, 0, 1) = (1, 0, 0). Thus it is clear
that 1 is an eigenvalue, and (0, 1, 0) is a corresponding eigenvector.
2. T (1, 0, 0) = (1, 0, 0), T (0, 1, 0) = (0, 1, 0), T (0, 0, 1) = (0, 0, 0). Clearly 1 is an eigen-
value with (1, 0, 0) or (0, 1, 0) as eigenvectors.
3. T (1, 0, 0) = (3, 0, 0), T (0, 1, 0) = (1, 2, 0), T (0, 0, 1) = (1, 1, 1). Clearly (1, 0, 0) is an
eigenvector, corresponding to the eigenvalue 3.
3
UPSC Civil Services Main 1981 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question
1(a) State and prove the Cayley Hamilton theorem and verify it for the matrix
2 3
A= . Use the result to determine A−1 .
3 5
By using an orthogonal change of variables reduce Q to a form without the cross terms i.e.
with terms of the form aij xi xj , i 6= j.
5 4 2
Solution. The matrix of the qiven quadratic form Q is A = 4 5 2.
2 2 2
1
The characteristic polynomial of A is
5 − λ 4 2
4
5−λ 2 = 0
2 2 2 − λ
⇒ (5 − λ)(5 − λ)(2 − λ) − 4(5 − λ) − 4(8 − 4λ) + 16 + 16 − 4(5 − λ) = 0
⇒ (λ2 − 10λ + 25)(2 − λ) − 20 + 4λ − 32 + 16λ + 12 + 4λ = 0
⇒ −λ3 + 12λ2 + λ(−25 + 4 + 16 + 4 − 20) + 50 − 20 − 32 + 12 = 0
⇒ λ3 − 12λ2 + 21λ − 10 = 0
Thus the eigenvalues are λ = 1, 1, 10. Let (x1 , x2 , x3 ) be an eigenvector for λ = 10, then
−5 4 2 x1 −5x1 + 4x2 + 2x3 = 0 (i)
4 −5 2 x2 = 0 ⇒ 4x1 − 5x2 + 2x3 = 0 (ii)
2 2 −8 x3 2x1 + 2x2 − 8x3 = 0 (iii)
Subtracting (ii) from (i), we get −9x1 + 9x2 = 0 ⇒ x1 = x2 ⇒ x1 = 2x3 . Thus taking
x3 = 1, we get (2, 2, 1) as an eigenvector for λ = 10.
Let (x1 , x2 , x3 ) be an eigenvector for λ = 1, then
4 4 2 x1
4 4 2 x2 = 0 ⇒ 4x1 + 4x2 + 2x3 = 0
2x1 + 2x2 + x3 = 0
2 2 1 x3
2
could do it easily by completing squares:
Question 2(a) Define a vector space. Show that the set V of all real-valued functions on
[0, 1] is a vector space over the set of real numbers with respect to the addition and scalar
multiplication of functions.
Question 2(b) If zero is a root of the characteristic equation of a matrix A, show that the
corresponding linear transformation cannot be one to one.
3. If ni=1 αi T(vi ) = 0, then h ni=1 αi T(vi ), vj i = αj = 0 for all j, so T(vi ) are linearly
P P
independent.
3
Thus T(v1 ), . . . , T(vn ) form an orthonormal basis. Pn
Pn Conversely, let T(v 1 ), . .
Pn. , T(v n ) be an orthonormal basisPn of V. Let v =
Pn i=1 αi vi , w =
Pi=1 βi vi , then hv, wi = i=1 αi βi and hT(v), T(w)i = h i=1 αi T(vi ), i=1 βi T(vi )i =
n
i=1 αi βi . Thus hT(v), T(w)i = hv, wi , so T is orthogonal.
Lemma 2. Let T∗ be defined by hT(v), wi = hv, T∗ (w)i . Then T∗ is a linear trans-
formation, and T is orthogonal iff T∗ T = TT∗ = I.
Proof: The fact that T∗ is a linear transformation can be easily checked. If T is
orthogonal, then hv, T∗ T(w)i = hT(v), T(w)i = hv, wi , so T∗ T = I. From this and the
fact that T is 1-1, it follows that TT∗ = I.
Lemma 3. If the matrix of T w.r.t. the orthonormal basis {v1 , v2 , . . . , vn } is A = (aij ),
then the matrix of T∗ P is the transpose, i.e. (aji ). P
n ∗ n ∗
Proof: T(vi )P= j=1 aij vj . Let T (vi ) = j=1 bij vj . Now bij = hT (vi ), vj i =
hvi , T(vj )i = hvi , nk=1 ajk vk i = aji . Since TT∗ = I, A0 A = AA0 = I, so A is orthogonal.
The converse is also obvious now.
Question 3(a) Investigate for what values of λ and µ does the following system of equations
x+y+z = 6
x + 2y + 3z = 10
x + 2y + λz = µ
have (1) a unique solution (2) no solution (3) an infinite number of solutions?
Solution.
1 1 1
1. A unique solution exists when 1 2 3 6= 0, whatever µ may be. Thus 2λ−6−(λ−3) 6=
1 2 λ
0 ⇒ λ 6=
3. Thus−1 λ 6=
forall 3 and for all µ we have a unique solution given by
x 1 1 1 6
y = 1 2 3 10
z 1 2 λ µ
2. A unique solution does not exist if λ = 3. If µ 6= 10, then the second and third
equations are inconsistent. Thus if λ = 3, µ 6= 10, the system has no solution.
3. If λ = 3, µ = 10, then the system is x+y+z = 6, x+2y+3z = 10. The coefficient matrix
is of rank 2, so the space of solutions is one dimensional. y + 2z = 4 ⇒ y = 4 − 2z,
and thus x = 2 + z. The space of solutions is (2 + z, 4 − 2z, z) for z ∈ R.
4
Question 3(b) Let (xi , yi ), i = 1, . . . , n be n points in the plane, no two of them having the
same abscissa. Find a polynomial f (x) of degree n − 1 which takes the value f (xi ) = yi , 1 ≤
i ≤ n.
Paper II
3 0 √0
Question 4(a) Find a set of three orthonormal eigenvectors for the matrix A = 0 √4 3
0 3 6
5
Let (x1 , x2 , x3 ) be an eigenvector for λ = 3. Then
0 0 √0 x1
0 1 3 x2 = 0
√
0 3 3 x3
√ √
Thus x2 + 3x3 = 0. Thus (x1 , − 3x3 , x3 ) with x1 , x3 ∈ R gives any √ eigenvector for λ = 3.
We can take x1 = 1, x3 = 0, and x1 = 0, x3 = 1 to get (1, 0, 0), (0, − 3, 1) as eigenvectors for
λ = 3 — these are orthogonal √ and therefore span the the eigenspace of λ = 3. Orthonormal
3 1
vectors are (1, 0, 0), (0, − 2 , 2 ). √ √
Thus the required orthonormal vectors are (0, 12 , 23 ), (1, 0, 0), (0, − 23 , 21 ).
In fact
√
1 3 0 0√ 1
0 2√ 2
3 0 √0 7 0 0
0 − 3 1 0 4
√ 3 √12 − 23 0 = 0 3 0
2 2
0 3 6 3 1 0 0 3
1 0 0 2 2
0
Question 4(b) Show that if A = X0 AX and B = X0 BX are two quadratic forms one of
which is positive definite and A, B are symmetric matrices, then they can be expressed as
linear combinations of squares by an appropriate linear transformation.
Solution. Let B be positive definite. Then there exists an orthogonal real non-singular
matrix H such that H0 BH = In , the unit matrix of order n. A is real-symmetric ⇒ H0 AH is
real symmetric. There exists
K a real orthogonal
matrix such that K0 H0 AHK is a diagonal
λ1 0 . . . 0
0 λ2 . . . 0
matrix i.e. K0 H0 AHK = .. 0
.. where λ1 , . . . , λn are the eigenvalues of H AH.
..
. . .
0 0 . . . λn
x1 X1
0 0 0 .. ..
Now K H BHK = K In K = In . Then . = HK . diagonalizes A, B simulta-
xn Xn
neously.
x1 x1
. . . xn A ... = λ1 X12 + . . . + λn Xn2 . . . xn B ... = X12 + . . . + Xn2
x1 x1
xn xn
6
UPSC Civil Services Main 1982 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let V be a vector space. If dim V = n with n > 0, prove that
Solution. From 1983 question 1(a) we get that any two bases of V have n elements.
2. V cannot be generated by fewer than n vectors, because then it will have a basis
consisting of less than n elements, which contradicts the fact that dim V = n.
Question 1(b) Define a linear transformation. Prove that both the range and the kernel of
a linear transformation are vector spaces.
1
Range of T = T(V), kernel of T = {v | T(v) = 0}. If w1 , w2 ∈ T(V), then w1 =
T(v1 ), w2 = T(v2 ) for some v1 , v2 ∈ V, αw1 + βw2 = αT(v1 ) + βT(v2 ) = T(αv1 + βv2 ).
But αv1 + βv2 ∈ V ∴ αw1 + βw2 ∈ T(V), thus T(V) is a subspace of W. Note that
T(V) 6= ∅ ∵ 0 ∈ T(V) so T(V) is a vector space.
If v1 , v2 ∈ kernel T then T(v1 ) = 0, T(v2 ) = 0. Now T(αv1 + βv2 ) = αT(v1 ) +
βT(v2 ) = 0 ⇒ αv1 + βv2 ∈ kernel T. Thus kernel T is a subspace. kernel T 6= ∅, bf 0 ∈
kernel T so kernel T is a vector space.
2
Question 2(c) Show that the system of equations
3x + y − 5z = −1
x − 2y + z = −5
x + 5y − 7z = 2
is inconsistent.
Solution. From the first two equations, (3x + y − 5z) − 2(x − 2y + z) = −1 − 2(−5) = 9 ⇒
x + 5y − 7z = 9. But this is inconsistent with the third equation, hence the overall system
in inconsistent.
Question 3(a) Prove that the trace of a matrix is equal to the sum of its characteristic
roots.
Question 3(b) If A, B are two non-singular matrices of the same order, prove that AB
and BA have the same eigenvalues.
Thus x1 (cos θ−1)+x2 sin θ = 0, x1 sin θ+x2 (− cos θ−1) = 0. We can take x1 = 1+cos θ, x2 =
sin θ.
Similarly if (x1 , x2 ) is an eigenvector for λ = −1, then
cos θ + 1 sin θ x1
=0
sin θ − cos θ + 1 x2
Thus x1 (cos θ+1)+x2 sin θ = 0, x1 sin θ+x2 (− cos θ+1) = 0. We can take x1 = 1−cos θ, x2 =
− sin θ as an eigenvector.
3
Paper II
Question 5(a) State and prove the Cayley-Hamilton Theorem when the eigenvalues are all
different.
Question 5(b) When are two real symmetric matrices said to be congruent? Is congruence
an equivalence relation? Also show how you can find the signature of A.
Solution. Two matrices A, B are said to be congruent to each other if there exists a
nonsingular matrix P such that P0 AP = B.
Congruence is an equivalence relation:
• Reflexive: A ≡ A ∵ A = I0 AI, I is the unit matrix.
• Transitive: A ≡ B, B ≡ C ⇒ A ≡ C — P0 AP = B, Q0 BQ = C ⇒ Q0 P0 APQ =
C ⇒ A ≡ C because PQ is nonsingular as both P, Q are nonsingular.
Given a symmetric matrix A, we first prove that there exists a nonsingular matrix P
such that P0 AP = diagonal[α1 , α2 , . . . , αr , 0, . . . , 0] where r is the rank of A.
We will prove this by induction on the order n of the matrix A. If n = 1, there is nothing
to prove. Assume that the result is true for all matrices of order < n.
Step 1. We first ensure that we have a11 6= 0. If it is 0, but some other akk 6= 0, we
interchange the k-th row with the first row and the k-th column with the first column, to
get B = P0 AP, where b11 = akk 6= 0. Note that P is the elementary matrix E1k (see 1983
question 2(a)), and is hence nonsingular and symmetric, so B is symmetric.
If all aii are 0, but some aij 6= 0. We add the j-th row to the i-th row and the j-the column
to the i-th column by multiplying A by Eij (1) and its transpose, to get B = Eij (1)AEij (1)0
4
— now bii = aij + aji 6= 0. B is still symmetric, and we can shift bii to the leading place as
above.
(Note that if all aij = 0, we stop.)
Thus we start with a11 6= 0. We subtract aa1k 11
times the first row from the k-th row and
a1k
a11
times the first column from the k-th column, by performing B = Ek1 (− aa1k11
)AEk1 (− aa1k
11
)0
a11 0
Repeating this for all k, 2 ≤ k ≤ n, we get P01 AP1 = , where A1 is n − 1 ×
0 A1
0
n − 1 and P1 is nonsingular. Now by induction, ∃P2 , n − 1 × n − 1 such that P2 AP2 =
1 0
diagonal[β2 , . . . , βr , 0, . . . , 0], rank A1 = rank A − 1. Now set P = P1 to get the
0 P2
result.
Now that we have P0 AP = diagonal[α1 , α2 , . . . , αr , 0, . . . , 0], let us assume that α1 , . . . , αs
are positive, the rest are negative. Then let αi = βi2 , 1 ≤ i ≤ s, −αj = βj2 , s + 1 ≤ j ≤ r. Set
Q = diagonal[β1−1 , . . . , βr−1 , 1, . . . , 1]. Then x0 Q0 P0 APQx = x21 + . . . + x2s − x2s+1 − x2r . Thus
we can find the signature of A by looking at the number of positive and negative squares of
the RHS.
Question
P 5(c)P Derive a set of necessary and sufficient conditions that the real quadratic
form 3j=1 3i=1 aij xi xj be positive definite.
Is 4x2 + 9y 2 + 2z 2 + 8yz + 6zx + 6xy positive definite?
So set X = 2x + 32 y + 23 z, Y = y − 277
z, Z = z, then Q(x, y, z) is transformed to X 2 + 27
4
Y2−
76
108
Z 2 . Hence Q(x, y, z) is is not positive definite.
5
UPSC Civil Services Main 1983 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let V be a finitely generated vector space. Show that V has a finite basis
and any two bases of V have the same number of vectors.
Solution. Let {v1 , . . . , vm } be a generating set for V, we assume that vi 6= 0, 1 ≤ i ≤ m.
If {v1 , . . . , vm } is linearly independent, then it is a basis of V. Otherwise, there exists a
vk that depends linearly on {vi | 1 ≤ i ≤ m, i 6= k}. This latter set is also a generating
set, and we rename it {u1 , . . . , um−1 }. We now apply the same reasoning to it — either it
is linearly independent and hence a basis, or we can drop an element from it and it still
remains a generating set. In a finite number of steps, we reach {x1 , . . . , xr } ⊆ {v1 , . . . , vm }
such that {x1 , . . . , xr } is linearly independent and a generating set, thus {x1 , . . . , xr } is a
basis of V.
Note: An alternative approach leading to the same result is to pick the maximal linearly
independent subset of {v1 , . . . , vm }. There are only 2m such subsets, so we can do so in a
finite number of steps (in the above procedure we dropped the dependent elements one at
a time to reach the maximal linearly independent subset). Now to be a basis, the maximal
linearly independent subset S = {x1 , . . . , xr } ⊆ {v1 , . . . , vm } needs to generate V. But this
is immediate, as for each vi , either vi ∈ S or S ∪ {vi } is linearly Pdependent — in that case
P r r
j=1 aj xj + bvi = 0, but not all aj , b are 0. Now if b = 0 then j=1 aj xj = 0 ⇒ aj = 0 for
1 ≤ j ≤ r, as S is linearly independent, and this contradicts the statement that not all aj , b
are 0. So b 6= 0, hence vi is a linear combination of S, hence S generates V and is a basis.
Any two bases have the same number of elements: Let {v1 , . . . , vm } and {w1 , . . . , wn }
be two bases of V. Assume wlogP that m ≤ n. Now since w1 ∈ V, w1 is generated by the
m
basis {v1 , . . . , vm }, thus w1 = j=1 aj vj . There must be at least one non-zero ak , as
w1 6= 0. NowP the set {vi | 1 ≤ i ≤ m, i 6= k} ∪ {w1 } generates the set {v1 , . . . , vm } (since
aj
vk = a1k w1 − m j=1,j6=k aP
k
vj ) and hence generates V.
Now we have w2 = m i=1,i6=k ai vi + bw1 . At least one of the ai 6= 0, otherwise we have a
linear equation between w1 and w2 , but these are linearly independent. We replace vi by w2 ,
1
and the result is also a generating set as above. Continuing, after m steps, we
P get a subset
{w1 , . . . , wm } which is a generating set. Now if n > m, we would have wn = m i=0 ai wi , but
this is not possible as the wi were a basis, and thus linearly independent. Hence n = m, and
the two bases have equal number of elements.
Question 1(b) Let V be the vector space of polynomials of degree ≤ 3. Determine whether
the following vectors of V are linearly dependent or independent: u = t3 − 3t2 + 5t + 1, v =
t3 − t2 + 8t + 2, w = 2t3 − 4t2 + 9t + 5.
a + b + 2c = 0 (1)
−3a − b − 4c = 0 (2)
5a + 8b + 9c = 0 (3)
a + 2b + 5c = 0 (4)
From (4) - (1) we get b + 3c = 0. Substituting b = −3c in (2), c = −3a ⇒ b = 9a. Now from
(1), a + 9a − 6a = 0 ⇒ a = 0 ⇒ b = c = 0. Thus au + bv + cw = 0 ⇒ a = b = c = 0, so the
vectors are linearly independent.
Question 2(a) Show that every non-singular matrix can be expressed as a product of ele-
mentary matrices.
1. Eij = the matrix obtained by interchanging the i-th and j-th rows (or the i-th and
j-th columns of the unit matrix. For example, if n = 4, then
1 0 0 0
0 0 1 0
E23 =
0 1 0 0
0 0 0 1
2
2. Ei (α) is the matrix obtained by multiplying the i-th row of the unit matrix by α =
the matrix obtained by multiplying the i-th column of the unit matrix by α.
3. Eij (β) = the matrix obtained by adding β times the j-th row to the i-th row of the
unit matrix.
4. (Eij (β))0 = transpose of Eij (β) = the matrix obtained by adding β times the j-th
column to the i-th column of the unit matrix.
All elementary matrices are non-singular. In fact |Eij | = −1, |Ei (α)| = α, |Eij (β)| =
|(Eij (β))0 | = 1.
We now prove the result.
(1) Let C = AB. Then any elementary row transformation
on AB is equivalent to sub-
R1
..
jecting A to the same row transformation. Let A = . and B = C1 . . . Cp n×p .
Rm m×n
R1 C1 . . . R1 Cp
.. ..
Then AB = . . . Thus if any elementary row transformation i.e. (i)
Rm C1 . . . Rm Cp m×p
Intercanging two rows (ii) Multiplying a row by a scalar (iii) Adding a scalar multiple of a
row to another row, is carried out on A, the same will be carried out on AB and vice versa.
Similarly any column transformation on B is equivalent to the same column transformation
on AB.
(2) Multiplying by an elementary matrix Eij , Ei (α), Eij (β) on the left is the same as per-
forming the corresponding elementary row operation on the matrix. Multiplying the matrix
by an elementary matrix to the right is equal to subjecting the matrix to the correspond-
ing column transformation. We write A = IA. Now interchanging the i-th and j-th row
of A is equivalent to doing the same on I in IA (result (1) above), which is the same as
Eij A. Similar results hold for the other two row transformations. Writing A as AI gives
the corresponding result for column transformations.
(3) We now prove that if A is a matrix
of rank r > 0, then there exist P, Q products of
Ir 0
elementary matrices such that PAQ = where Ir is the unit matrix of order r. Since
0 0
A 6= 0, A has at least one non-zero element, say aij . By interchanging the i-th row with
the first row and the j-th column with the first column, we get a new matrix Bij = (bij )
such that b11 6= 0. This simply means that there exist elementary matrices P1 , Q1 such
−1
that P1 AQ1 =
B. We multiply P1 AQ1 by P2 = E1 (b11 ) to obtain P2 P1 AQ1 = C =
1 ∗ ... ∗
∗
. Subtracting suitable multiples of the first row from the remaining rows of
..
. ∗
∗
C and suitable multiples of the first column from the remaining columns, we get the new
3
1 0 ... 0
0
matrix D of the form .. . Thus we have proved that there exist P∗ , Q∗ products
. ∗
A
0
1 0 ... 0
0
∗ ∗
of elementary matrices such that P AQ = .. . We carry on the same process
. ∗
A
0
∗ ∗∗ ∗∗ Ir 0
on A without affecting the first row and column, and in r steps we get P AQ = ,
0 E
where P∗∗ , Q∗∗ are products of elementary matrices. Note that E = 0 because rank A = r.
Now if A is nonsingular, then P∗∗ AQ∗∗ = I. Inverting the elementary matrices (the
inverse of an elementary matrix is elementary), we get that A is a product of elementary
matrices.
Question 2(b) Reduce the matrix A to its normal form, and hence or otherwise determine
its rank.
0 1 2 1
A = 1 2 3 2
3 1 1 3
1 2 3 2
Solution. Interchange of R1 and R2 ⇒ A ∼ 0 1 2 1
3 1 1 3
1 2 3 2
R3 − 3R1 ⇒ A ∼ 0 1 2 1
0 −5 −8 −3
1 2 3 2
R3 + 5R2 ⇒ A ∼ 0 1 2 1
0 0 2 2
1 2 3 2
− 21 R3 ⇒ A ∼ 0 1 2 1
0 0 −1 −1
1 2 3 2
R3 + R2 ⇒ A ∼ 0 1 2 1
0 1 1 0
1 2 3 2
Interchanging C2 , C4 , A ∼ 0 1 2 1
0 0 1 1
1 0 0 0
C2 − 2C1 , C3 − 3C1 , C4 − 2C1 ⇒ A ∼ 0 1 2 1
0 0 1 1
4
1 0 0 0 1 0 0 0
C3 − 2C2 , C4 − C2 ⇒ A ∼ 0 1 0 0. C4 − C3 ⇒ A ∼ 0 1 0 0
0 0 1 1 0 0 1 0
we have P(3× 3) and Q(4 × 4) both products of elementary matrices such that
Thus
1 0 0 0
PAQ = 0 1 0 0, which is the normal form of A. Clearly the rank of A is 3.
0 0 1 0
Question 3(a) Prove that a square matrix satisfies its characteristic equation. Use this
result to find the inverse of
0 1 2
A = 1 2 3
3 1 1
5
Solution. The first part is the Cayley-Hamilton theorem, see 1987 question 3(a).
The characteristic equation of A is
−λ 1 2
|A − λI| = 1 2 − λ 3 = 0
3 1 1 − λ
⇒ −λ(λ2 − 3λ + 2 − 3) − (1 − λ − 9) + 2(1 − 6 + 3λ) = 0
⇒ λ3 − 3λ2 − 8λ + 2 = 0
Note: In this case, we were required to use this method to find the inverse. An alternate
method of finding the inverse by performing elementary row and column operations is shown
in 1985 question 1(c).
Question 3(b) Find the eigenvalues and eigenvectors of
8 −6 2
A = −6 7 −4
2 −4 3
Solution.
8 − x −6 2
|A − xI| = −6 7 − x −4 = 0
2 −4 3 − x
⇒ (8 − x)(x2 − 10x + 21 − 16) + 6(6x − 18 + 8) + 2(24 − 14 + 2x) = 0
⇒ −x3 + 18x2 − 85x + 40 + 36x − 60 + 20 + 4x = 0
⇒ x3 − 18x2 + 45x = 0
6
5 −6 2 x1
If (x1 , x2 , x3 ) is an eigenvector for the eigenvalue 3, then −6 4 −4
x2 = 0.
2 −4 0 x3
Thus 5x1 − 6x2 + 2x3 = 0, −6x1 + 4x2 − 4x3 = 0, 2x1 − 4x2 = 0 ⇒ x1 = 2x2 , x3 = −2x2 .
Thus (2, 1, −2) is an eigenvector for 3, in general (2x, x, −2x), x 6= 0 is an eigenvector
for 3.
−7 −6 2 x1
If (x1 , x2 , x3 ) is an eigenvector for the eigenvalue 15, then −6 −8 −4
x2 = 0.
2 −4 −12 x3
Thus −7x1 −6x2 +2x3 = 0, −6x1 −8x2 −4x3 = 0, 2x1 −4x2 −12x3 = 0 ⇒ x1 = 2x3 , x2 = −2x3 .
Thus (2, −2, 1) is an eigenvector for 15, in general (2x, −2x, x), x 6= 0 is an eigenvector for
15.
Question 3(c) Show that the eigenvalues of an upper or lower triangular matrix are just
the diagonal elements of the matrix.
Solution. Let A = (aij ), such that aij = 0 for i < j, i.e. A is upper triangular. Now
|xI − A| = (x − a11 )(x − a22 ) . . . (x − ann )
showing that |xI − A| = 0 ⇒ x = a11 , a22 , . . . , ann . Thus the eigenvalues of A are
a11 , a22 , . . . , ann .
Similarly for a lower triangular matrix.
Paper II
Question 4(a) Prove that a necessary and sufficient condition that a linear transformation
A on a unitary space is Hermitian is that hAx, xi is real for all x.
Solution. A unitary space is an old name for an inner product space. Let V be an inner
product space over C, and hAv, vi be real for all v ∈ V. Then since
hA(v + w), v + wi = hAv, vi + hAw, wi + hAv, wi + hAw, vi
hAv, wi +hAw, vi is real (because hA(v + w), v + wi −hAv, vi −hAw, wi is real). Hence
hAv, wi + hAw, vi = hw, Avi + hv, Awi (1)
because z real ⇒ z = z.
Also,
hA(v + iw), v + iwi = hAv, vi + hA(iw), iwi − ihAv, wi + ihAw, vi
thus −ihAv, wi + ihAw, vi is real. Thus
−ihAv, wi + ihAw, vi = −ihw, Avi + ihv, Awi (2)
Multiplying (1) by i and adding to (2), we get
2ihAw, vi = 2ihv, Awi
∗
Thus A = A , so A is Hermitian.
Conversely, if hAw, vi = hv, Awi , then hAv, vi = hv, Avi = hAv, vi ⇒ hAv, vi is
real.
7
Question 4(b) If A is a linear transformation on an n-dimensional vector space, then prove
that
1. rank A = rank A0 .
2. nullity A = n − rank A.
Solution. We know that rank A = r if A has a minor of order r different from 0, and all
minors of order > r are 0. Thus rank A = rank A0 .
For the second part, see 1998 question 3(a).
Question 4(c) Show that a real symmetric matrix A is positive definite if and only if there
exists a real non-singular matrix P such that A = PP0 .
8
Question 5(b) Under what circumstances will the real n × n matrix
x a a ... a
a x a . . . a
A= a a x . . . a
...
a a a ... x
Thus the eigenvalues are x − a (repeated n − 1 times) and x + (n − 1)a. For positive definite,
λ > 0 ⇒ x > a, x > (n − 1)(−a). If a > 0, this reduces to x > a, if a ≤ 0, this reduces to
x > (n − 1)(−a).
For positive semi-definite, λ ≥ 0. By the same reasoning, if a > 0, then x ≥ a, otherwise
x ≥ (n − 1)(−a).
9
UPSC Civil Services Main 1984 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) If W1 , W2 are finite dimensional subspaces of a vector space V, then show
that W1 + W2 is finite dimensional and dim W1 + dim W2 = dim(W1 + W2 ) + dim(W1 ∩ W2 ).
Question 1(b) If A and B are n-rowed square non-zero matrices such that AB = 0, then
show that both A and B are singular. If both A and B are singular, and AB = 0, does it
imply that BA = 0? Justify your answer.
Question 2(a) Show that row-equivalent matrices have the same rank.
1
Solution. If T (α1 P ), T (α2 ), . . . , T (αn ) Pare linearly independent, then T P is one-one: Let
n n n
v ∈ V. Then v = a α
i=1 i i , T (v) = a
i=1 i T (α i ). If T (v) = 0, then i=1 ai T (αi ) =
0 ⇒ ai = 0, 1 ≤ i ≤ n, because T (α1 ), T (α2 ), . . . , T (αn ) are linearly independent. Thus
T (v) = 0 ⇒ v = 0, so T is one-one.
T is onto: dim T (v) = dim V = n.
Thus T is invertible, in fact T −1 (T (αi )) = αi .
T −1 is a linear transformation: Let T −1 (v) = u, T−1 (w) = x. Then T (u) = v, T (x) = w.
Let T −1 (av + bw) = z, then T (z) = av + bw = aT (u) + bT (x) = T (au + bx) ⇒ z = au + bx.
Thus T −1 (av + bw) = aT −1 (v) + bT −1 (w), so T −1 is linear. It is obvious that T T −1 =
T −1 T = I, as this is true for the basis elements by definition, and extends to all vectors by
linearity. Pn
Conversely
Pn if T is non-singular, then a 1 T (α1 )+a 2 T (α 2 )+. . .+a n T (α n ) = 0 ⇒ T ( i=1 ai αi ) =
0 ⇒ i=1 ai αi = 0 ⇒ ai = 0, 1 ≤ i ≤ n because α1 , α2 , . . . , αn are linearly independent.
Thus T (α1 ), T (α2 ), . . . , T (αn ) are linearly independent.
2
Question 3(a) Let V and W be vector spaces over the field F , and let T be a linear trans-
formation from V to W. If V is finite dimensional show that rank T + nullity T = dim V.
2. tr A = tr A.
e
Solution.
1. The eigenvalues of A are roots of |xI − A| = 0. The eigenvalue of A
e are roots of
−1 −1 −1 −1
0 = |xI − T AT| = |T xIT − T AT| = |T ||xI − A||T| = |xI − A|, so the
eigenvalues are the same.
2. tr AB = tr BA, so tr T−1 AT = tr ATT−1 = tr A.
3. If Ax = λx then T−1 AT(T−1 x) = T−1 (λx) = λT−1 x.
Question 3(c) A 3 × 3 matrix has the eigenvalues 6, 2, -1. The corresponding eigenvectors
are (2, 3, −2), (9, 5, 4), (4, 4, −1). Find the matrix.
2 9 4
Solution. Let P = 3 5 4 , and let A be the required matrix. Then AP =
−2 4 −1
6 0 0 6 0 0
P 0 2 0 , therefore A = P 0 2 0 P−1 . A simple calculation gives P−1 =
0 0 −1 0 0 −1
−21 25 16 2 9 4 6 0 0 12 18 −4
−5 6 4 , note that |P| = 1. Now 3 5 4 0 2 0 = 18 10 −4.
22 −26 −17 −2 4 −1
0 0 −1 −12 8 1
12 18 −4 −21 25 16 −430 512 352
Thus A = 18 10 −4 −5 6 4 = 516 620 396
−12 8 1 22 −26 −17 234 226 −173
x1 x2 x3 6 0 0
A longer way would be to set A = y1 y2 y3 . Then AP = P 0 2 0 . This
z1 z2 z3 0 0 −1
yields three systems of linear equations which have to be solved.
3
Paper II
Question 4(a) Let V be the set of all functions from a non-empty set into a field K. For
any function f, g ∈ V and any scalar k ∈ K, let f + g and kf be functions in V defined by
(f + g)(x) = f (x) + g(x), (kf )(x) = kf (x) for every x ∈ X. Prove that V is a vector space
over K.
Solution. V = {f | f : X −→ K}.
2. The zero function namely 0(x) = 0∀x ∈ X is the additive identity of V i.e. f + 0 =
0 + f = f ∀f ∈ V.
4. (f + g) + h = f + (g + h) for every f, g, h ∈ V.
Question 4(b) Find the eigenvalues and basis for each eigenspace of the matrix
1 −3 3
A = 3 −5 3
6 −6 4
.
|A − λI| = 0
1−λ −3 3
⇒ 3 −5 − λ 3 = 0
6 −6 4−λ
⇒ (1 − λ)(λ + 5)(λ − 4) + 18(1 − λ) + 3(12 − 3λ − 18) + 3(−18 + 30 + 6λ) = 0
⇒ (1 − λ)(λ2 + λ − 20) + 18 − 18λ − 9λ − 18 + 36 + 18λ = 0
⇒ λ2 + λ − 20 − λ3 − λ2 + 20λ − 9λ + 36 = 0
⇒ λ3 − 12λ − 16 = 0
4
Thus λ = −2, 4, −2. Let (x1 , x2 , x3 ) be an eigenvector for λ = 4.
−3 −3 3 x1
3 −9 3 x2 = 0
6 −6 0 x3
Thus −3x1 − 3x2 + 3x3 = 0, 3x1 − 9x2 + 3x3 = 0, 6x1 − 6x2 = 0 ⇒ x1 = x2 , x3 = 2x1 . We
can take (1, 1, 2) as an eigenvector corresponding to λ = 4.
Let (x1 , x2 , x3 ) be an eigenvector for λ = −2.
3 −3 3 x1
3 −3 3 x2 = 0
6 −6 6 x3
Thus 3x1 − 3x2 + 3x3 = 0 ⇒ x2 = x1 + x3 . (1, 1, 0), (0, 1, 1) can be taken as eigenvectors for
λ = −2.
Clearly (1, 1, 2) is a basis for the eigenspace for λ = 4. (1, 1, 0), (0, 1, 1) is a basis for the
eigenspace for λ = −2.
Question 4(c) Let a vector space V have finite dimension and let W be a subspace of V
and W 0 the annihilator of W. Prove that dim W + dim W 0 = dim V.
Solution. Let dim V = n, dim W = m, W ⊆ V. Let {v1 , . . . , vn } be a basis of V so chosen
that {v1 , . . . , vm } is a basis of W. Let {v1∗ , . . . , vn∗ } be the dual basis of V ∗ i.e. vi∗ (vj ) = δij .
∗
We shall show that W 0 has {vm+1 , . . . , vn∗ } as a basis.
By definition of the dual basis vi∗ (vj ) = 0 when 1 ≤ i ≤ m and m + 1 ≤ j ≤ n. Since
∗
vj , m + 1 ≤ j ≤ n annihilate the basis of W, it follows that vj (w) = 0 for all w ∈ W. Thus
∗
{vm+1 , . . . , vn∗ } ⊆ W 0 , and are linearly independent, being a subset of a linearly independent
set.
Let f ∈ W 0 , then f = ni=1 ai vi∗ . We shall show that ai = 0 for 1 ≤ i ≤ m, thus f
P
∗ ∗ 0
is a linear P combination of {vP m+1 , . . . , vn }. By definition of W , f (v1 ) = 0, . . . , f (vm ) = 0,
n ∗ n ∗
therefore ( i=1 ai vi )(vj ) = i=1 ai δij = aj = 0 when 1 ≤ j ≤ m. Thus {vm+1 , . . . , vn∗ } is a
basis of W 0 , hence dim W 0 = n − m, hence dim W + dim W 0 = n = dim V.
Question 5(a) Prove that every matrix satisfies its characteristic equation.
Solution. See 1987 question 3(a).
Question 5(b) Find a necessary and sufficient condition that the real quadratic form
Xn X
n
aij xi xj be a positive definite form.
i=1 j=1
5
UPSC Civil Services Main 1985 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) If W1 and W2 are finite dimensional subspaces of a vector space V, then
show that W1 + W2 is finite dimensional and
Solution.
1 3 3 1 0 0
1 4 3 = 0 1 0 A
1 3 4 0 0 1
Using operation R2 − R1 , R3 − R1 , we get
1 3 3 1 0 0
0 1 0 = −1 1 0 A
0 0 1 −1 0 1
1
Now with operation R1 − 3(R2 + R3 ) we get
1 0 0 7 −3 −3
0 1 0 = −1 1 0 A
0 0 1 −1 0 1
7 −3 −3
Thus the inverse of A is −1 1 0 .
−1 0 1
Now R1 − 2R2 ⇒ A ∼ 0 1 − 26 9
which is the required form.
0 0 0
2
Question 3(a) Show that if λ is an eigenvalue of matrix A, then λn is an eigenvalue of
An , where n is a positive integer.
Solution. If x is an eigenvector for λ, then An x = An−1 Ax = λAn−1 x. Repeating this
process, we get the result.
Question 3(b) Determine if the vectors (1, −2, 1), (2, 1, −1), (7, −4, 1) are linearly indepen-
dent in R3 .
Solution. If possible, let a(1, −2, 1) + b(2, 1, −1) + c(7, −4, 1) = 0. Then a + 2b + 7c =
0, −2a + b − 4c = 0, a − b + c = 0. Adding the last two we get a = −3c, and from the third
we then get b = −2c. These values satisfy the first equation also, hence letting c = −1 we
get 3(1, −2, 1) + 2(2, 1, −1) − (7, −4, 1) = 0. Thus the vectors are linearly dependent.
Question 3(c) Solve
2x1 + 3x2 + x3 = 9 (1)
x1 + 2x2 + 3x3 = 6 (2)
3x1 + x2 + 2x3 = 8 (3)
Solution. 2(2) − (1) ⇒ x2 + 5x3 = 3 ⇒ x2 = 3 − 5x3 . Substituting x2 in (2), x1 = 7x3 .
5
Now substituting x1 , x2 in (3), we get 21x3 + 3 − 5x3 + 2x3 = 8 ⇒ x3 = 18 , x2 = 29
18
, x1 = 35
18
,
which is the required solution.
(Using Cramer’s rule would have been lengthy.)
Paper II
Question 4(a) Let V be the vector space of all functions from R into R. Let Ve be the
subset of all even functions f, f (−x) = f (x), and Vo be the subset of all odd functions
f, f (−x) = −f (x). Prove that
1. Ve and Vo are subspaces of V
2. Ve + Vo = V
3. Ve ∩ Vo = {0}
Solution.
1. Let f, g ∈ Ve , then αf + βg ∈ Ve for all α, β ∈ R, because (αf + βg)(−x) = αf (−x) +
βg(−x) = αf (x) + βg(x) = (αf + βg)(x), thus Ve is a subspace of V. Similarly, if
f, g ∈ Vo , then αf + βg ∈ Vo for all α, β ∈ R, because (αf + βg)(−x) = αf (−x) +
βg(−x) = −αf (x) − βg(x) = −(αf + βg)(x), thus Ve is a subspace of V.
2. Let f (x) ∈ V. Define F (x) = f (x)+f
2
(−x)
, G(x) = f (x)−f
2
(−x)
. Then F (−x) = F (x) ⇒
F ∈ Ve , G(x) = −G(x) ⇒ G ∈ Vo and f (x) = F (x) + G(x). Thus Ve + Vo = V.
3. If f ∈ Ve ∩ Vo , then f (−x) = f (x) ∵ f ∈ Ve , f (−x) = −f (x) ∵ f ∈ Vo . Thus
2f (−x) = 0 for all x ∈ R, so f = 0 ⇒ Ve ∩ Vo = {0}.
3
Question 4(b) Find the dimension and basis of the solution space S of the system
Solution.
1 2 2 −1 3 1 2 2 −1 3
A = 1 2 3 1 1 ∼ 1 2 3 1 1
3 6 8 1 5 0 0 0 0 0
by performing R3 − R1 − 2R2 .
Thus rank A < 3. Actually rank A = 2, because if A = (C1 , C2 , C3 , C4 , C5 ), where Ci are
columns, then C1 and C3 are linearly independent.
Adding the first two equations, we get 4x5 = −2x1 − 4x2 − 5x3 . Subtracting 3 times
the second from the first, we get 4x4 = −2x1 − 4x2 − 7x3 . From these we can see that
X1 = (2, 0, 0, −1, −1), X3 = (0, 1, 0, −1, −1), X3 = (0, 0, 4, −5, −7) are three independent
solutions. Since rank A = 2, the dimension of the solution space S is 3, and {X1 , X2 , X3 }
is its basis.
Question 4(c) Let W1 and W2 be subspaces of a finite dimensional vector space V. Prove
that (W1 + W2 )0 = W10 ∩ W20 .
Solution.
1 1+i 2i 1 0 0 1 0 0
1 − i 4 2 − 3i = 0 1 0 H 0 1 0
−2i 2 + 3i 7 0 0 1 0 0 1
4
Subtracting (1 − i)R1 from R2 , and adding 2iR1 to R3 , we get
1 1 + i 2i 1 0 0 1 0 0
0 2 −5i = −1 + i 1 0 H 0 1 0
0 5i 3 2i 0 1 0 0 1
1 −1 − i 52 − 92 i
1 0 0 1 0 0
0 2 0 = −1 + i 1 0 H 0 5
1 2
i
19 5 9 5
0 0 −2 2
+ 2i −2i 1 0 0 1
1 −1 + i 52 + 29 i
Thus P = 0 1 − 52 i
0 0 1
Index = Number of positive entries = 2. Signature = Number of positive entries - Number
of negative entries = 1.
Question 5(b) Prove that every matrix is a root of its characteristic polynomial.
Solution. This is the Cayley Hamilton theorem, proved in Question 5(a), 1987.
Question 5(c) If B = AP, where P is nonsingular and A orthogonal, show that PB−1 is
orthogonal.
Solution. B−1 = P−1 A−1 , so PB−1 = PP−1 A−1 = A−1 . Now (A−1 )0 A−1 = (AA0 )−1 = I.
Similarly A−1 (A−1 )0 = (A0 A)−1 = I, so PB−1 is orthogonal.
5
UPSC Civil Services Main 1986 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) If A, B, C are three n × n matrices, show that A(BC) = (AB)C. Show by
an example that matrix multiplication is non-commutative.
2. If A, B are square matrices each of order n, and I is the corresponding unit matrix,
then the equation
AB − BA = I
can never hold.
Solution.
1 0 0 0 0 0 0 0
1. True. Let A = ,B = ,C = . Then AB = = AC, but
0 0 0 1 0 0 0 0
B 6= C.
1
2. True. We have proved in 1987 question 5(c) that AB and BA have the same eigen-
values. Trace of AB − BA = trace of AB - trace of BA = sum of the eigenvalues of
AB - sum of the eigenvalues of BA = 0. But trace of In = n, thus AB − BA = I can
never hold.
Question 2(a) If M, N are two subspaces of a vector space S, then show that their dimen-
sions satisfy
dim M + dim N = dim (M ∩ N ) + dim (M + N )
Question 2(b) Find a maximal linearly independent subsystem of the system of vectors
v1 = (2, −2, −4), v2 = (1, 9, 3), v3 = (−2, −4, 1), v4 = (3, 7, −1).
Solution. v1 , v2 are linearly independent because av1 +bv2 = (2a+b, −2a+9b, −4a+3b) =
0 ⇒ a = b = 0.
v3 is dependent on v1 , v2 . If v3 = av1 + bv2 , then (2a + b, −2a + 9b, −4a + 3b) =
7 6
(−2, −4, 1) ⇒ a = − 10 , b = − 10 .
Similarly v4 is dependent on v1 , v2 . If v4 = av1 + bv2 , then (2a + b, −2a + 9b, −4a + 3b) =
(3, 7, −1) ⇒ a = b = 1.
Thus the maximally linearly independent set is {v1 , v2 }.
2
Question 2(c) Show that the system of equations
4x + y − 2z + w = 3
x − 2y − z + 2w = 2
2x + 5y − w = −1
3x + 3y − z − 3w = 1
Question 3(a) Show that every square matrix satisfies its characteristic equation. Using
this result or otherwiseshow that if
1 0 2
A = 0 −1 1
0 1 0
3
Solution. The first part is the Cayley Hamilton theorem. See 1987 Question 5(a).
The characteristic equation of A is |A − xI| = 0, thus
1 − x 0 2
0
−1 − x 1 = (1 − x)(x2 + x − 1) = −x3 + 2x − 1 = 0
0 1 −x
By the Cayley Hamilton Theorem, A3 − 2A + I = 0.
Thus A4 = 2A2 − A, and 2A3 = 4A − 2I. Hence A4 − 2A3 − 2A2 + 6A − 2I =
2A2 − A − 4A + 2I − 2A2 + 6A − 2I = A as required.
Question 3(b) 1. Show that a square matrix is singular if and only if at least one of its
eigenvalues is 0.
2. The rank of an n×n matrix A remains unchanged if it is premultiplied or postmultiplied
by a nonsingular matrix, and that rank(XAX−1 ) = rank(A).
Solution.
1. The characteristic polynomial of A is |A−xI|. Putting x = 0, we see that the constant
term in the characteristic polynomial is |A|. Thus if A has 0 as an eigenvalue iff 0 is
a root of the characteristic polynomial iff |A| = 0.
R1
2. Let A = ... , where each Ri is 1×n, i.e. A is m×n. Now rank(A) is the dimension
Rm
of the row space of A, i.e. the space generated by R1 , . . . , Rm . Let P = (pij ) be
an
p11 R1 + p12 R2 + . . . + p1m Rm
p21 R1 + p22 R2 + . . . + p2m Rm
m × m nonsingular matrix. Then B = PA = .
..
.
pm1 R1 + pm2 R2 + . . . + pmm Rm
Thus the rows of PA ⊂ the row space of A, being linear combinations of rows of
A. Writing A = P−1 B, we get that the row space of A ⊂ the row space of B, so
rank(A) = rank(B).
Let Q be non-singular n × n, and C = AQ. It can be proved as above that the column
space of A = the column space of C, thus rank(A) = rank(C).
Now by using the above results, rank(XAX−1 ) = rank(XA) = rank(A).
Paper II
Question 4(a) If V1 and V2 are subspaces of a vector space V, then show that dim(V1 +V2 ) =
dim(V1 ) + dim(V2 ) − dim(V1 ∩ V2 ).
Solution. See 1998, question 1(b).
4
Question 4(b) Let V and W be vector spaces over the same field F and dim V = n. Let
{e1 , . . . , en } be a basis of V. Show that a map f : {e1 , . . . , en } −→ W, can be uniquely
extended to a linear transformation T : V −→ W whose restriction to the given basis is f
i.e. T (ei ) = f (ei ).
Pn Pn
Solution.
Pn If v =Pn i=1 a i e i , define T (v) = i=1 ai f (ei ). Clearly T (ei ) = f (ei ). If
v = i=1 ai ei , w = i=1 bi ei , then
n
X
T (αv + βw) = T ( (αai + βbi )ei )
i=1
n
X
= (αai + βbi )f (ei )
i=1
n
X n
X
= α ai f (ei ) + β bi f (ei )
i=1 i=1
= αT (v) + βT (w)
Question 5(a) 1. If A and B are two linear transformations and if A−1 and B −1 exist,
show that (AB)−1 exists and (AB)−1 = B −1 A−1 .
2. Prove that similar matrices have the same characteristic polynomial and hence the
same eigenvalues.
Solution.
2. If B = P−1 AP then |λI−B| = |λP−1 P−P−1 AP| = |P−1 ||λI−A||P| = |λI−A|. Thus
A and B have the same characteristic polynomial and therefore the same eigenvalues.
5
1
Question 5(b) Reduce 2x2 + 4xy + 5y 2 + 4x + 13y − 4
= 0 to canonical form.
Solution.
1
LHS = 2(x + y + 1)2 − 2y 2 − 2 + 5y 2 + 9y −
4
9
= 2(x + y + 1)2 + 3(y 2 + 3y) −
4
3 27 9
= 2(x + y + 1)2 + 3(y + )2 − −
2 4 4
3
= 2X 2 + 3Y 2 − 9 where X = x + y + 1, Y = y +
2
X2 Y2
2X 2 + 3Y 2 − 9 = 0 ⇒ 9/2
+ 3
= 1. Thus the given equation is an ellipse.
0 1 1
Question 5(c) Find the reciprocal of the matrix T = 1 0 1. Then show that the
1 1 0
b+c c−a b−a
transform of the matrix A = 2 c − b c + a a − b by T i.e. TAT−1 is a diagonal matrix.
1
0 1 1 b+c c−a b−a −1 1 1
1 1
TAT−1 = 1 0 1 c − b c + a a − b 1 −1 1
2 2
1 1 0 b−c a−c a+b 1 1 −1
0 2a 2a −1 1 1
1
= 2b 0 2b 1 −1 1
4
2c 2c 0 1 1 −1
4a 0 0 a 0 0
1
= 0 4b 0 = 0 b 0
4
0 0 4c 0 0 c
Thus TAT−1 is diagonal. Now the eigenvalues of A and TAT−1 are the same, so the
eigenvalues of A are a, b, c.
6
UPSC Civil Services Main 1987 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
7 −3
Question 1(a) 1. Find all the matrices which commute with the matrix .
5 −2
2. Prove that the product of two n × n symmetric matrices is a symmetric matrix if and
only if the matrices commute.
Solution.
1.
a b 7 −3 7 −3 a b
=
c d 5 −2 5 −2 c d
⇒ 7a + 5b = 7a − 3c (i)
−3a − 2b = 7b − 3d (ii)
7c + 5d = 5a − 2c (iii)
−3c − 2d = 5b − 2d (iv)
(i) and (iv) ⇒ 5b = −3c. From (ii) we get d = a + 3b, and from (iii) we get the
same
− 9c = 5a + 15b = 5d, or d = a + 3b. Thus the required matrices are
thing: 5a
a b
, a, b arbitrary.
− 53 b a + 3b
1
Question 1(b) Show that the rank of the product of two square matrices A, B each of order
n satisfies the inequality
rA + rB − n ≤ rAB ≤ min(rA , rB )
where rC stands for the rank of C, a square matrix.
G
Solution. There exists a non-singular matrix P such that PA = , where G is a
0
G
rA × n matrix of rank rA . Now PAB = B has at most rA non-zero rows obtained on
0
multiplying rA non-zero rows of G with B. Thus rPAB , which is the same as rank rAB as P
is non-singular, ≤ rA .
Similarly there exists a non-singular matrix Q such
that BQ = H 0 , where H is a
n × rB matrix of rank rB . Now ABQ = A H 0 has at most rB non-zero, columns, so
rABQ ≤ rB . Now rABQ = rAB as |Q| 6= 0, so rAB ≤ rB , hence rAB ≤ min(rA , rB ).
Let S(A) denote the space generated by the vectors r1 , . . . , rn where ri is the ith row
of A, then dim(S(A)) = rA , similarly dim(S(B)) = rB . Let S denote the space generated
by the rows of A and B. Clearly dim(S) ≤ dim(S(A)) + dim(S(B)) = rA + rB . Clearly
S(A + B) ⊆ S. Therefore rA+B ≤ dim(S) ≤ rA + rB .
IrA 0 −1 IrA 0
Now there exist non-singular matrices P, Q such that PAQ = or A = P Q−1 .
0 0 0 0
−1 0 0 −1 −1 IrA 0
Let C = P Q . Then A + C = P Q−1 = P−1 Q−1 , so A + C
0 In−rA 0 In−rA
is nonsingular.
Now rank B = rank((A + C)B) ≤ rank(AB) + rank(CB). But rank(CB) ≤ rank(C) =
n−rA . Thus rB ≤ rAB +n−rA ⇒ rA +rB −n ≤ rAB . Hence rA +rB −n ≤ rAB ≤ min(rA , rB ).
3 a+2 −3 2a + 1
1 0 0 0
1 2 −3 a − 1
Solution. |A| = by carrying out the operations C2 −C1 , C3 −
2 2a − 4 −a − 4 3a − 3
3 a − 1 −6 2a − 2
2
−3 1
0
0 1
C1 , C4 − C1 . Thus |A| = (a − 1) 2a − 4 −a − 4 3 = (a − 1) 2a − 10 −a + 5 3 =
a−1 −6 2 a−5 0 2
(a − 1)(a − 5)2 .
2
Thus |A| 6= 0 when a 6= 1, a 6= 5. So for 1 < a < 5, rank A = 4.
If a = 5,
1 1 1 1
1 3 −2 5
A = 2 8 −7 14
3 7 −3 11
1 0 0 0
1 2 −3 4
= (C2 − C1 , C3 − C1 , C4 − C1 )
2 6 −9 12
3 4 −6 8
1 0 0 0
0 2 −3 4
= (R2 − R1 , R3 − 2R1 , R4 − 3R1 )
0 6 −9 12
0 4 −6 8
1 0 0 0
0 2 −3 4
= 0 0 0 0
(R3 − 3R2 , R4 − 2R2 )
0 0 0 0
1 0
which has rank 2, as 6= 0, showing that rank of A is 2 when a = 5.
0 2
If a = 1,
1 1 1 1
1 3 −2 1
A = 2 0 −3 2
3 3 −3 3
1 0 0 0
1 2 −3 0
= 2 −2 −5 0
(C2 − C1 , C3 − C1 , C4 − C1 )
3 0 −6 0
1 0 0
which has rank 3 since 1 2 −3 =
6 0, showing that rank of A is 3 when a = 1.
2 −2 −5
3
Solution. Let xr be an eigenvector of λr . Then Ak xr = Ak−1 (Axr ) = λr Ak−1 xr = . . . =
λkr xr . Thus the eigenvalues of Ak are λkj , j = 1, 2, . . . , n.
Let f (x) = a0 + a1 x + . . . + am xm . Then (a0 I + a1 A + . . . + am Am )xr = (a0 + a1 λr +
. . . + am λmr )xr = f (λr )xr . Thus the eigenvalues of f (A) are f (λj ), j = 1, 2, . . . n.
Question 2(b) If A is skew-symmetric, then show that (I − A)(I + A)−1 , where I is the
corresponding identity matrix, is orthogonal.
0 ab
Hence construct an orthogonal matrix if A = .
− ab 0
−1
Solution. For
theaorthogonality
− A)(I
of (I
a
+ A) , see question 2(a)
of 1999.
1 −b 1 b −1 b b −a
I−A= a , and I + A = ⇒ (I + A) = a2 +b2 .
b
1 − ab 1 a b !
b2 −a2 −2ab
2
−1 1 b −a b −a 1 b − a2 −2ab a2 +b2 a2 +b2
Thus (I−A)(I+A) = a2 +b2 = a2 +b2 = b2 −a2 ,
a b a b 2ab b 2 − a2 2ab
a2 +b2 a2 +b2
which is the required orthogonal matrix.
Solution.
1. BA = A−1 ABA. Thus the characteristic polynomial of BA is |xI−BA| = |xA−1 A−
A−1 ABA| = |A−1 ||xI − AB||A| = |xI − AB| which is the characteristic polynomial
of AB.
√ √
2. If A is orthogonal, i.e. A0 A = I, then |Ax| = x0 A0 Ax = x0 x = |x|.
Conversely |Ax| = |x| ⇒ x0 A0 Ax = x0 x ⇒ x0 (A0 A − I)x = 0 for all x. Thus
A0 A − I = 0, so A is orthogonal.
Note that is A = (aij ) is symmetric, and ni,j=1 aij xi xj = 0 for all x, then choose x = ei to
P
get e0i Aei = aii = 0, and choose x = ei +ej to get 0 = x0 Ax = aii +2aij +ajj = 2aij ⇒ aij = 0.
(Here ei is the i-th unit vector.) Thus A = 0.
Question 3(a) Show that a necessary and sufficient condition for a system of linear equa-
tions to be consistent is that the rank of the coefficient matrix is equal to the rank of the
augmented matrix. Hence show that the system
x + 2y + 5z + 9 = 0
x − y + 3z − 2 = 0
3x − 6y − z − 25 = 0
is consistent and has a unique solution. Determine this solution.
4
Solution. Let the system be Ax = b where A is m × n, x is n × 1 and b is m × 1. Let
rank A = r. A = [c1 , c2 , . . . , cn ] where each cj is an m × 1 column. We can assume without
loss of generality that c1 , c2 , . . . , cr are linearly independent, r = rank A. The system is now
x1 c1 + x2 c2 + . . . + xn cn = b
, where x0 = (x1 , . . . , xn ). Suppose rank([A b]) = r. This means that out of n + 1 columns,
exactly r are independent. But by assumption, c1 , c2 , . . . , cr are linearly independent, there-
fore these vectors form a basis for the column space of [A b]. Consequently there exist
α1 , . . . , αr such that α1 c1 + α2 c2 + . . . + αr cr = b. This gives us the required solution
{α1 , . . . , αr , 0, . . . , 0} to the linear system.
Conversely, let the system be consistent. Let A = [c1 , c2 , . . . , cn ] as before, with c1 , c2 , . . . , cr
linearly independent, r = rank A. Since the column space of A, i.e. the space generated
by c1 , c2 , . . . , cn has dimension r, each cj for r + 1 ≤ j ≤ n is linearly dependent on
c1 , c2 , . . . , cr . Since there exist α1 , . . . , αn such that α1 c1 + α2 c2 + . . . + αn cn = b, b is a
linear combination of c1 , c2 , . . . , cn . But each cj for r + 1 ≤ j ≤ n is a linear combination of
c1 , c2 , . . . , cr , therefore b is a linear combination of c1 , c2 , . . . , cr . Thus the space generated
by {c1 , c2 , . . . , cn , b} also has dimension
r, sorank([A b]) = r = rank A.
1 2 5
The coefficient matrix A = 1 −1 3 . |A| = 24 6= 0, so rank A = 3. The aug-
3 −6 −1
1 2 5 −9 1 2
5
mented matrix B = 1 −1 3 2 has rank ≤ 3, but since 1 −1 3 6= 0, it has
3 −6 −1 25 3 −6 −1
rank 3. Thus the given system is consistent.
Subtracting the second equation from the first we get 3y + 2z + 11 = 0. Subtracting 3
times the second equation from the third, we get 3y + 10z + 19 = 0. Clearly z = −1, y =
−3 ⇒ x = 2. Thus (2, −3, −1) is the unique solution. In fact the only solution of the system
is
x −9 2
y = A−1 2 = −3
z 25 −1
5
Solution. Let W be the subspace spanned by yk , k = 1, . . . , s. Then dim W ≤ s. Since
xj ∈ W, j = 1, . . . , r because xj is a linear combination of yk , k = 1, . . . , s, and xj , j =
1, . . . , r are linearly independent, dim W ≥ r ⇒ r ≤ s.
Clearly f1 and f4 are linearly independent. f2 is linearly expressible in terms of f1 and f4
because f2 = af1 + bf4 ⇒ a + 2b = 4, 2a + b = −1, a − b = 5, 3a = −6 ⇒ a = −2, b = 3 satisfy
all four, hence f2 = −2f1 + 3f4 . Similarly f3 = − 37 f1 + 53 f4 . Thus {f1 , f4 } is a maximally
independent subsystem.
Paper II
Question 4(b) Prove that two finite dimensional vector spaces V, W over the same field F
are isomorphic if they are of the same dimension n.
n
X
T (αv + βu) = T ( (αai + βbi )T (vi )
i=1
n
X
= (αai + βbi )T (vi )
i=1
n
X n
X
= α ai T (vi ) + β bi T (vi )
i=1 i=1
= αT (v) + βT (u)
6
Note: The converse of 4(b) is also true i.e. if T : V −→ W is an isomorphism i.e. V, W are
isomorphic, then dim V = dim W.
Let v1 , . . . , vn be a basis of V. Then {w1 = T P is a basis of W.
(v1 ), . . . , wn = T (vn )}P
n n
w1 , . . . , wn are linearly independent. If i=0 bi wi = 0, then i=0 bi T vi = 0 ⇒
T ( ni=0 bi vi ) = 0 ⇒ ni=0 bi vi = 0 ⇒ bi = 0 for 1 ≤ i ≤ n, because v1 , . . . , vn are linearly
P P
independent.
w1 , . . . , wn generate W.P If w ∈ W, then there exists a P v ∈ V such that
Pn T (v) = w,
n n
because
Pn T is onto. Let v = i=0 bi vi , then w = T (v) = T ( i=0 bi vi ) = i=0 bi T (vi ) =
i=0 bi wi .
Question 5(a) Prove that every square matrix is the root of its characteristic polynomial.
Solution. This is the Cayley Hamilton Theorem. Let A be a matrix of order n. Let
|A − xI| = ao + a1 x + . . . + an xn
ao I + a1 A + . . . + an A n = 0
AB0 = ao I
AB1 − B0 = a1 I
AB2 − B1 = a2 I
...
ABn−1 − Bn−2 = an−1 I
−Bn−1 = an I
7
Question 5(b) Determine the eigenvalues and the corresponding eigenvectors of
2 2 1
A = 1 3 1
1 2 2
Solution.
λ − 2 −2 −1
|λI − A| = −1 λ − 3 −1 = 0
−1 −2 λ − 2
Thus x1 + 2x2 + x3 = 0. We can take x1 = (1, 0, −1) and x2 = (0, 1, −2) as eigenvectors for
λ = 1. These are linearly independent, and all eigenvectors for λ = 1 are linear combinations
of x1 , x2 .
1 1 0 5 0 0
Let P = 1 0 1 . Then P−1 AP = 0 1 0.
1 −1 −2 0 0 1
Question 5(c) Let A and B be n square matrices over F . Show that AB and BA have
the same eigenvalues.
BA = A−1 ABA ⇒ |xI − BA| = |xA−1 A − A−1 ABA| = |A−1 ||xI − AB||A| = |xI − AB|
8
Thus the characteristic polynomials of AB and BA are the same, so they have the same
eigenvalues.
If A is singular,
then let rank(A) = r. Then there existP, Q non-singular such that
Ir 0 I 0
PAQ = . Now PABP−1 = PAQQ−1 BP−1 = r Q−1 BP−1 . Let Q−1 BP−1 =
0 0 0 0
B1 B2
, where B1 is r × r, B2 is r × n − r, B3 is n − r × r, B4 is n − r × n − r. Then
B3 B4
−1 Ir 0 B1 B2 B1 B2
PABP = = , so the characteristic roots of AB are the
0 0 B3 B4 0 0
same as those of B1 , along with 0 repeated n − r times.
−1 B 1 B 2 Ir 0 B 1 0
Now Q−1 BAQ = Q−1 BP PAQ = = so the character-
B3 B4 0 0 B3 0
istic roots of BA are the same as those of B1 , along with 0 repeated n − r times. Thus BA
and AB have the same characteristic roots.
9
UPSC Civil Services Main 1988 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
then T corresponds to the n × m matrix A whose (i, j)’th entry is aij . In fact (v1 , . . . , vm ) =
(w1 , . . . , wn )A.
It can be easily seen that
2 1
e1 = (1, 0) = (3, 1) − (−1, 2)
7 7
1 3
e2 = (0, 1) = (3, 1) + (−1, 2)
7 7
1
and therefore
2 1
(4, 1, 2, 1) − (3, 0, −2, 1)
T(e1 ) =
7 7
1
= (5, 2, 6, 1)
7
1 ∗
= (5e + 2e∗2 + 6e∗3 + e∗4 )
7 1
1 3
T(e2 ) = (4, 1, 2, 1) + (3, 0, −2, 1)
7 7
1
= (13, 1, −4, 4)
7
1
= (13e∗1 + e∗2 − 4e∗3 + 4e∗4 )
7
5 13
2 1
Thus T corresponds to the matrix 17
6 −4 w.r.t. the standard basis.
7 4
Question 1(b) If M, N are finite dimensional subspaces of V, then show that dim(M +
N ) = dim M + dim N − dim(M ∩ N ).
B
plete {u1 , u2 , . . . , ur } to a basis {u1 , u2 , . . . , ur , w1 , . . . , wn } of N , where dim N = n+r. We
shall show that = {u1 , u2 , . . . , ur , v1 , . . . , vm , w1 , . . . , wn } is a basis of M + N , proving
the result.
If u ∈ M + N , then u = v + w for some v ∈ M, w ∈ N . Since B B is a superset of the
B . Thus B
is linearly independent. If possible let
generates M + N .
⇒ u can be
n
X m
X r
X
αi vi + βi w i + γi u i = 0
i=1 i=1 i=1
Pn Pm Pr Pn
Since
Pn i=1 αi v i = − i=1 β i w i − i=1 γi u i it follows that i=1 αi vi ∈ N .P Therefore
n r
means that ni=1 αi vi −
P P
α
Pri=1 i iv ∈ M ∩ N ⇒ α
i=1 i i v = η
i=1 i i u for ηi ∈ R. This
i=1 ηi ui = 0. But {u1 , u2 , . . . , ur , v1 , . . . , vm } are linearly independent, so αi = 0, 1 ≤
i ≤ n. Similarly we can show that βi = 0, 1 ≤ i ≤ m. Then the linear indepen-
dence of {u1 , u2 , . . . , ur } shows that γi = 0, 1 ≤ i ≤ r. Thus the vectors in
early independent and form a basis of M + N , showing that the dimension of M + N is
B
are lin-
2
Question 1(c) Determine a basis of the subspace spanned by the vectors v1 = (1, 2, 3), v2 =
(2, 1, −1), v3 = (1, −1, −4), v4 = (4, 2, −2).
Solution. v1 , v2 are linearly independent because if αv1 + βv2 = 0 then α + 2β =
0, 2α + β = 0, 3α − β = 0 ⇒ α = β = 0. If v3 = αv1 + βv2 , then the three linear equations
α + 2β = 1, 2α + β = −1, 3α − β = −4 should be consistent — clearly α = −1, β = 1 satisfy
all three, showing v3 = v2 − v1 . Again suppose v4 = αv1 + βv2 , then the three linear
equations α + 2β = 4, 2α + β = 2, 3α − β = −2 should be consistent — clearly α = 0, β = 2
satisfy all three, showing v4 = 2v2 .
Hence {v1 , v2 } is a basis for the vector space generated by {v1 , v2 , v3 , v4 }.
a1 b
Question 2(a) Show that it is impossible for S = , b 6= 0 to have identical eigen-
b a2
values.
0 λ1 0
Solution. We know given S symmetric ∃O orthogonal so that O SO = , where
0 λ2
λ1 , λ
2 are eigenvalues
of S. If λ1 = λ2 , then we have S = O0 −1 (λI)O−1 = λ(OO0 )−1 = λI ⇒
λ 0
S= . Thus if b 6= 0, S cannot have identical eigenvalues.
0 λ
Question 2(b) Prove that the eigenvalues of a Hermitian matrix are all real and the eigen-
values of a skew-Hermitian matrix are either zero or pure imaginary.
Solution. See question 2(a), year 1998.
Question 2(c) If x0 Ax > 0 for all x 6= 0, A symmetric, then for all y 6= 0 y0 A−1 y > 0.
If λ is the largest eigenvalue of A, then
x0 Ax
λ = sup
x∈Rn x0 x
x6=0
.
Solution. Clearly A = A0 A−1 A ∴ x0 Ax = x0 A0 A−1 Ax = y0 A−1 y where y = Ax for any
x ∈ Rn , x 6= 0. Since |A| 6= 0, any vector y can be written as Ax, by taking x = A−1 y.
Thus x0 Ax > 0 ⇒ y0 A−1 y > 0 for all y 6= 0.
λ1 0 . . . 0
0 λ2 . . . 0
0
0
Let M = supx∈Rn xxAx . Let O be an orthogonal matrix such that O AO = .. .
0x ..
x6=0 . .
0 0 . . . λn
Let 0 6= x = Oy, then x x = y O Oy = y y. Now x Ax = y O AOy = i λi yi2 ≤ λy0 y
0 0 0 0 0 0 0
P
0 0
where λ is the largest eigenvalue of A. Thus λ ≥ xyAx 0y = xxAx 0 x , so λ ≥ M . On the other
0
hand, if x 6= 0 is an eigenvector corresponding to λ, then x Ax = λx0 x ⇒ λ = xxAx
0
0x ≤ M .
Thus λ = M as required.
3
Question 3(a) By converting A to an echelon matrix, determine its rank, where
0 0 1 2 8 9
0 0 4 6 5 3
A= 0 2 3 1 4 7
0 3 0 9 3 7
0 0 5 7 3 1
Solution. Consider
0 0 0 0 0
0 0 2 3 0
0
1 4 3 0 5
A =
2
6 1 9 7
8 5 4 3 3
9 3 7 7 1
Interchange the first row with the third, then third with fourth, fourth with fifth and fifth
with sixth to get
1 4 3 0 5
0 0 2 3 0
0
2 6 1 9 7
A ∼ 8 5
4 3 3
9 3 7 7 1
0 0 0 0 0
Now perform R3 − 2R1 , R4 − 8R1 , R5 − 9R1 to get
1 4 3 0 5
0 0 2 3 0
0
0 −2 −5 9 −3
A ∼ 0 −27 −20 3 −37
0 −33 −20 7 −44
0 0 0 0 0
Interchange the second and the third row, and perform − 12 R2 , 21 R3 to get
1 4 3 0 5
5
0 1
2
− 92 3
2
0 0 3
0 1 0
A ∼ 2
0 −27 −20 3 −37
0 −33 −20 7 −44
0 0 0 0 0
4
Perform R4 + 27R2 , R5 + 33R2 to get
1 4 3 0 5
5
0
1 2
− 92 3
2
0 3
0 0 1 0
A ∼ 95
2
0
0 2
− 237
2
7
2
125
0 0 2
− 283
2
11
2
0 0 0 0 0
95 125
Operation R4 − 2
R3 , R5 − 2
R3
yields
1 4 3 0 5
5
0
1 2
− 92
3
2
0 3
0 0 1 0
A ∼ 2
0
0 0 − 759
4
7
2
0 0 0 − 941
4
11
2
0 0 0 0 0
4
Now multiply R4 with − 759
1 4 3 0 5
5
0
1 2
− 92 3
2
0 3
0 0 1 0
A ∼ 2
14
0
0 0 1 − 759
0 0 0 − 941
4
11
2
0 0 0 0 0
941
Performing R5 + 4
R4 results in
1 4 3 0 5
5
0
1 2
− 29 3
2
0 3
0 0 1 0
A ∼ 2
14
0
0 0 1 − 759
11
0 0 0 0 2
− 941×7
1882
0 0 0 0 0
5
Question 3(b) Given AB = AC does it follow that B = C? Can you provide a counterex-
ample?
Solution.
−2λ −1 − λ 2λ −2λ −1 − λ 0
|A − λB| = 0 ⇒ −1 − λ −1 − 2λ 1 + 2λ = 0 ⇒ −1 + λ 0 0 = 0
2λ 1 + 2λ −3λ 2λ 1 + 2λ −λ
Thus λ = 0, 1, −1. This shows that the matrices are diagonalizable simultaneously.
We now determine x1 , x2 , x3 such that (A − λB)xi = 0, i = 1, 2, 3. For λ = 0, let
x1 0 = (x1 , x2 , x3 ) be such that (A − λB)x1 = 0. Thus
0 −1 0 x1
−1 −1 1 x2 = 0
0 1 0 x3
Thus −2x1 −2x2 +2x3 = 0, −2x1 −3x2 +3x3 = 0, 2x1 +3x2 −3x3 = 0 ⇒ x2 −x3 = 0 ⇒ x1 = 0.
Thus we may take x2 0 = (0, 1, 1).
For λ = −1, let x3 0 = (x1 , x2 , x3 ) be such that (A − λB)x3 = 0. Thus
2 0 −2 x1
0 1 −1 x2 = 0
−2 −1 3 x3
6
Thus 2x1 − 2x3 = 0, x2 − x3 = 0, −2x1 − x2 + 3x3 = 0 ⇒ x1 = x2 = x3 . Thus we may take
x3 0 = (1, 1, 1).
1 0 1
Let P = 0 1 1 so that
1 1 1
1 0 1 0 −1 0 1 0 1 1 0 1 0 −1 −1 0 0 0
0
P AP = 0 1 1
−1 −1 1 0 1 1 = 0
1 1 0 0 −1 = 0 1 0
1 1 1 0 1 0 1 1 1 1 1 1 0 1 1 0 0 −1
7
UPSC Civil Services Main 1989 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
3 1 −1
Question 1(a) Find a basis for the null space of the matrix A = .
0 1 2
Question 1(b) If W is a subspace of a finite dimensional vector space V then prove that
dim V/W = dim V − dim W.
1
First we show linear independence:
n
X
αi (vi + W) = 0
i=r+1
Xn
⇒ αi vi + W = 0 + W
i=r+1
Xn
⇒ αi vi ∈ W
i=r+1
Xn r
X
⇒ αi vi = −αi vi (say)
i=r+1 i=1
Xn
⇒ αi vi = 0
i=1
⇒ αi = 0, 1 ≤ i ≤ n (vi are linearly independent.)
Question 1(c) Show that all vectors (x1 , x2 , x3 , x4 ) in the vector space V4 (R) which obey
x4 −x3 = x2 −x1 form a subspace V. Show further that V is spanned by ξ1 = (1, 0, 0, −1), ξ2 =
(0, 1, 0, 1), ξ3 = (0, 0, 1, 1).
Question 2(a) Let P be a real skew-symmetric matrix and I the corresponding unit matrix.
Show that I − P is non-singular. Also show that Q = (I + P)(I − P)−1 is orthogonal.
2
Solution. We have proved (question 2(a), year 1998) that the eigenvalues of a skew-
Hermitian and therefore of a skew-symmetric matrix are zero or pure imaginary. This means
|I − P| =
6 0 because 1 cannot be an eigenvalue of P.
Q Q = [(I − P)−1 ]0 (I + P)0 (I + P)(I − P)−1 = (I + P)−1 (I − P)(I + P)(I − P)−1 . But
0
3. If S is real, S0 = −S and S2 = −I, then S is orthogonal and of even order, and there
exist non-null vectors x, y such that x0 x = y0 y = 1, x0 y = 0, Sx + y = 0, Sy = x.
Proof: S0 S = −SS = I, so S is orthogonal, |S| 6= 0 ⇒ S is of even order.
Choose y such that y0 y = 1. Then y0 Sy = (y0 Sy)0 = y0 S0 y = −y0 Sy ⇒ y0 Sy = 0.
Set x = Sy, then y0 x = 0, Sx + y = 0. In addition, x0 x = y0 S0 Sy = y0 y = 1.
Question 2(b) Show that an n × n matrix A is similar to a diagonal matrix if and only if
the set of eigenvectors of A includes a set of n linearly independent vectors.
3
1 1 , and B =
Question
3(a) Find the roots of the equation |xA − B| = 0 where A = 1 4
0 3 . Use the result to show that the real quadratic forms F = x2 + 2x x + 4x2 , G = 6x x
3 0 1 1 2 2 1 2
can be simultaneously reduced by a non-singular linear substitution to y12 + y22 , y12 − 3y22 .
x x − 3
= 4x2 − (x − 3)2 ⇒ ±2x = x − 3 ⇒ x = −3, 1.
Solution. |xA − B| =
x − 3 4x
Let x1 = (x1 , x2 ) be a row vector such that (A − B) xx12 = 0.
1 −2 x1
= 0 ⇒ x1 − 2x2 = 0
−2 4 x2
−3 −6 x1
= 0 ⇒ x1 + 2x2 = 0
−6 −12 x2
Solution.
− tan 2θ cos2 2θ − sin 2θ cos 2θ
1
R.H.S = θ
tan 2 1 sin 2θ cos 2θ cos2 2θ
cos2 2θ − sin2 2θ −2 sin 2θ cos 2θ
= = L.H.S
2 sin 2θ cos 2θ − sin2 2θ + cos2 2θ
4
0 1
Question 3(c) Verify the Cayley-Hamilton theorem for A = .
−2 3
−λ 1
Solution. The characteristic equation for A is = 0 ⇒ −3λ + λ2 + 2 = 0
−2 3 − λ
2
Thus according
theorem A − 3A + 2I = 0.
to the Cayley-Hamilton
0 1 0 1 −2 3
A2 = =
−2
3 −2 3 −6 7
−2 3 0 1 1 0 0 0
−3 +2 =
−6 7 −2 3 0 1 0 0
0 1
Thus the Cayley Hamilton theorem is verified for A = .
−2 3
5
UPSC Civil Services Main 1990 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
1 Linear Algebra
Question 1(a) State any definition of the determinant of an n×n matrix and show that the
determinant function is multiplicative i.e. det AB = det A det B for any two n × n matrices
A, B. You may assume the matrices to be real.
Solution. Let π be a permutation of 1, . . . , n. Define sign(π) as follows: count the number
of pairs of numbers that need to be interchanged to get to π from the identity permutation.
If this is even, the sign is 1, and if it is odd, the sign is −1. Now if Π is the set of all
permutations of 1, . . . , n, define
X Y
det A = sign(π) aiπ(i)
π∈Π i
1
Then det P = det A det B, because if for any permutation π, π(i) > n for i ≤ n, then
the corresponding element of the sum is 0 as aiπ(i) = 0. Thus π(i) ≤ n if i ≤ n, and
consequently π(j) > n if j > n. So each permutation consists of a permutation of 1, . . . , n
and a permutation of n + 1, . . . , 2n, consequently we can factor the sum, to get det P =
det A det B.
Now we perform a series of column operations to P — add b11 C1 + . . . + bn1 Cn to Cn+1 ,
to get
a11 a12 . . . a1n c11 0 . . . 0
a21 a22 . . . a2n c21 0 . . . 0
. .. .. .. ..
.
. . . . .
an1 an2 . . . ann cn1 0 . . . 0
−1 0 . . . 0 0 b12 . . . b1n
0 −1 . . . 0 0 b22 . . . b2n
. .. .. .. .. ..
.. . . . . .
0 0 . . . −1 0 bn2 . . . bnn
where C = AB = (cij ). Similarly add b12 C1 + . . . + bn2 Cn to Cn+2 , . . ., b1n C1 + . . . + bnn Cn
to C2n to get
A C
−1 0 . . . 0
0 −1 . . . 0
0
...
0 0 . . . −1
We can now verify that det P = det C. Any permutation π that leads to a non-zero term
in the determinant sum must have π(j) = j − n for j > n, thus piπ(i) = −1, i > n. Also
π(j) > n for j ≤ n, so any such π can be written as a permutation of 1, . . . , n followed by a
series of swaps of the i-th number with the (n + i)-th number, which is n + i. Also sign(π)
is the same as the sign of the corresponding permutation π 0 of 1, . . . , n — we first do π 0 by
exchanges and then additionally swap the i-th element with the (i + n)-th element, for each
i ≤ n. Now if n is even, this involves an even number of additional swaps, and multiply by
(−1)n corresponding to piπ(i) for i > n, otherwise we get an odd number of additional swaps,
flipping the sign, but we still multiply by (−1)n = −1.
Thus det P = det C = det A det B.
Question 1(b) Prove Laplace’s formula for simulataneous expansion of the determinant by
the first row and column; that given an (n+1)×(n+1) matrix in the block form M = αγ D β
,
where α is a scalar, β is a 1 × n matrix (a row vector), γ is a n × 1 matrix (a column vector),
and D is an n × n matrix, then det M = α det D − βD0 γ 0 , where D0 is the matrix of cofactors
of D and βD0 γ 0 stands for the matrix product of size 1 × 1.
2
a21 a22 . . . a2,n+1
γ = ... and D = ... ..
.
.
an+1,1 an+1,2 . . . an+1,n+1
det M = a11 |A11 | − a12 |A12 | + . . . + (−1)n a1,n+1 |A1,n+1 | where Aij is the minor corre-
sponding to aij (formed Pby deleting the i-th row and j-th column of A). Clearly D = A11 ,
n+1
so det M = α det D − j=2 (−1)j a1j det A1j . Now
a21 a 22 . . . a 2,j−1 a 2,j+1 . . . a 2,n+1
a31 a32 . . . a3,j−1 a3,j+1 . . . a3,n+1
|A1j | = ..
.. .. .. ..
. . . . .
an+1,1 an+1,2 . . . an+1,j−1 an+1,j+1 . . . an+1,n+1
Let Bij be the minor of aij in D. Expanding |A1j | in terms of the first column, we get
n+1 X
X n+1
det M = α det D − a1j ai1 |Bij |(−1)i (−1)j
j=2 i=2
a21
= α det D − (a12 a13 . . . a1,n+1 )(cij ) ...
an+1,1
= α det D − βD0 γ
Question 1(c) For M as in 1(b), if D is invertible, show that det M = det D(α − βD−1 γ).
Question 2(a) Write the definition of the characteristic polynomial, eigenvalues and eigen-
vectors of a square matrix. Also say briefly something about the importance and/or applica-
tions of these notions.
3
• Eigenvalues can be used to find a very simple matrix for an operator — either diagonal
or a block diagonal form. This can be used to compute powers of matrices quickly.
• If one wishes to solve a linear differential system like x0 = Ax, or study the local
properties of a nonlinear system, finding the diagonal form of the matrix can give us
a decoupled form of the system, allowing us to find the solution or understand its
qualitative behavior, like its stability and oscillatory behavior.
• In mechanics, the eigenvectors of the inertia tensor are used to define the principal
axes of a rigid body, which are important in analyzing the rotation of the rigid body.
• Eigenvalues can be used to compute low rank approximations to matrices, which help
in reducing the dimensionality of various problems. This is used in statistics and
operations research to explain a large number of observables in terms of a few hidden
variables + noise.
• Eigenvalues can help us determine the form of a quadric or higher dimensional surface
— see the relevant section in year 1999.
• In quantum mechanics, states are represented by unit vectors, while observable quan-
tities (like position and energy) are represented by Hermitian matrices. The basic
problem in any quantum system is the determination of the eigenvalues and eigenvec-
tors of the energy matrix. The eigenvalues are the observed values of the observable
quantity, and discreteness of the eigenvalues leads to the quantization of the observed
values.
Question 2(b) Show that a Hermitian matrix possesses a set of eigenvectors which form
an orthonormal basis. State briefly how or why a general n × n complex matrix may fail to
possess n linearly independent eigenvectors.
Solution. Let H be Hermitian, and λ1 , . . . , λn its eigenvalues, not necessarily distinct. Let
x1 with norm 1 be an eigenvector corresponding to λ1 . Then there exists (from a result
analogous to the result used in question 3(a), year 1995) a unitary matrix U such that x1 is
its first column. Therefore
−1 0 λ1 L
U1 HU1 = U1 HU1 =
0 H1
4
0
where H1 is (n − 1) × (n − 1) and L is (n − 1) × 1. Since U1 HU1 is Hermitian, it follows
that L = 0. Consequently
0 λ1 0
U1 HU1 =
0 H1
Now H1 is Hermitian with eigenvalues λ2 , . . . , λn . Repeating the above argument, we find
U∗2 an (n − 1) × (n − 1) unitary matrix such that
0 ∗ λ 2 0
U∗2 H1 U2 =
0 H2
1 0
If U2 = then U2 is unitary, and
0 U∗2
λ1 0 0
0 0
U2 U1 HU1 U2 = 0 λ2 0
0 0 H2
Repeating this process or by induction, we can get U unitary such that
λ1 · · · 0
0 .. ..
U HU = . .
0 ··· λn
Question 2(c) Define the minimal polynomial and show that a complex matrix is diago-
nalizable (i.e. conjugate to a diagonal matrix) if and only if the minimal polynomial has no
repeated root.
5
k
x−ci
Q
Consider the polymonials pj = cj −ci
. Clearly pj (ci ) = 0 for i 6= j, and pi (ci ) = 1. This
i=1
i6=j
implies that the polynomials p1 , . . . , pk are linearly independent, and each one is of degree
k − 1 < k. Thus these form a basis of the space Pof polynomials of degree ≤ k − 1. Thus
k
given any polynomial g of degree ≤ k − 1, g = i=1 αi pi , where αi = g(ci ). In particular,
1 = ki=1 pi , x = ki=1 ci pi . Thus
P P
k
X k
X
I= pi (T), T = ci pi (T)
i=1 i=1
Moreover pi (T)pj (T) = 0, i 6= j because pi (x)pj (x) is divisible by the minimal polynomial
of T. Also pj (T) 6= 0, 1 ≤ j ≤ k, because the degree of pj is less than k, the degree of the
minimal polynomial of T.
Set Vi = pi (T)V, then V = I(V) = ki=1 pi (T)V = V1 + . . . + Vk . We shall now show that
P
Vi = Vci , the eigenspace of T with respect to ci .
v ∈ Vi ⇒ v = pi (T)w for some w ∈ V. Since (x−ci )pi is divisible by p, (T−ci I)v = 0, so
Tv = ci v so v ∈ Vci . Conversely, if v ∈ Vci , then Tv = ci v, or (T−ci I)v = 0 ⇒ pj (T)v = 0
for j 6= i. Since
Pv = pi (T)v + . . . + pk (T)v, we get v = pi (T)v ⇒ v ∈ Vi .
Thus V = ki=1 Vci so V has a basis consisting of eigenvectors, so T is diagonalizable.
Conversely let T be diagonalizable, then we shall show that the minimal polynomial of
T has distinct roots. Let
λ1 0 . . . 0
0 λ2 . . . 0
−1
P TP = ..
..
. .
0 0 . . . λn
and out of λ1 , . . . , λn , let λ1 , . . . , λk be distinct. Let g(x) = (x − λ1 ) . . . (x − λk ). Then
v ∈ V ⇒ v = v1 + . . . + vk where vi ∈ Vλi , the eigenspace of λi . Thus g(T)(v) = 0, so
g(T) = 0. Thus g(x) is divisible by the minimal polynomial of T. Since g(x) has all distinct
roots, it immediately follows that the minimal polynomial also has all distinct roots.
a b is expressible in the form LDU, where
Question 3(a) Show that a 2 × 2 matrix M = c d
L has the form α1 01 , D is diagonal and U has the form 10 β1 If and only if either a 6= 0
or a = b = c = 0. Also show that when a 6= 0 the factorization M = LDU is unique.
6
Conversely, if M = 00 d0 , i.e. a = b = c = 0, then M = α1 01 00 d0 10 β1 for any
a 0 b
α, β ∈ R. If M = ac db , a 6= 0, then M = LDU with L = 1ac 01 , D = 0 d− bca , U = 10 1a
as shown above.
Question 3(b) Suppose a real matrix has eigenvalue λ, possibly complex. Show that there
exists a real eigenvector for λ if and only if λ is real.
n
Question 3(c) If a 2×2 matrix
A has order n, i.e. A = I2 , then show that A is conjugate
cos θ sin θ
to the matrix where θ = 2πm for some integer m.
− sin θ cos θ n
Solution. Note: A has to be real, otherwise the result is false: if α1 , α2 are two distinct
α1 0
n-th roots of unitysuch that α1 6= α2 , then A = 0 α2 has order n, but A is not conjugate
cos θ sin θ
to whose eigenvalues are complex conjugates of each other.
− sin θ cos θ
An = I ⇒ eigenvalues of A are n-th roots of unity. If A has repeated eigenvalues, then
these can be 1 or −1, because eigenvalues of real matrices are complex conjugates of each
other, so the repeated eigenvalues must be real, and they also must be roots of 1.
−1
1 c .
Case 1: A has eigenvalues 1, 1. There exists P non-singular such that P AP = 0 1
Now (P−1 AP)n = 10 nc = P−1An P = P−1 I2 P = I2 , so nc = 0 ⇒ c = 0. Thus A is
1
cos θ sin θ
conjugate to I2 = , θ = 2πn .
− sin θ cos θ n
Case 2: A has eigenvalues −1, −1. There exists P non-singular such that P−1 AP =
−1 c −1 n −1 nc
1 nc
n
0 −1 . Now P A P = 0 −1 or 0 1 , according as nis odd or even. But A = I2 ,
cos θ sin θ
therefore n is even and c = 0. Thus A is conjugate to −I2 = , θ = 2πm ,m =
− sin θ cos θ n
n
2
.
Case 3: A hasdistinct eigenvalues
λ1 , λ2 . Then λ1 = λ2 . If λ1 = cos θ + i sin θ, with
2πm cos θ sin θ cos θ − λ sin θ
θ = n , set B = . The eigenvalues of B are roots of =
− sin θ cos θ − sin θ cos θ − λ
0 ⇒ λ = cos θ ± i sin θ. Since A and B have the same eigenvalues λ1 , λ2 distinct, both are
λ1 0
conjugate to 0 λ2 and are therefore conjugate to each other.
7
UPSC Civil Services Main 1991 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let V(R) be the real vector space of all 2×3 matrices with real entries. Find
a basis of V(R). What is the dimension of V(R).
1 0 0 0 1 0 0 0 1
Solution. Let A1 = , A2 = , A3 =
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
and B1 = , B2 = , B3 = . Clearly Ai , Bi , i = 1, 2, 3 ∈
1 0 0 0 1 0 0 0 1
V(R). These generate V(R) because
a1 a2 a3
A= = a1 A1 + a2 A2 + a3 A3 + b1 B1 + b2 B2 + b3 B3
b1 b2 b3
Question 1(b) Let C be the field of complex numbers and let T be the function from C3 to
C3 defined by
1
3. What are the conditions on a, b, c so that (a, b, c) is in the null space of T? What is
the nullity of T?
Solution. T(e1 ) = (1, 2, −1), T(e2 ) = (−1, 1, −2), T(e3 ) = (2, 0, 2). Clearly T(e1 ) and
T(e3 ) are linearly independent. If
2. What is the matrix of T in the ordered basis B = {α1 , α2 } where α1 = (1, 2), α2 =
(1, −1)?
2
Solution. T(e1 ) = (0, 1) = e2 , T(e2 ) = (−1, 0) = −e1. Thus (T(e1 ), T(e2 )) =
(e1 e2 ) 01 −1 0 −1
0 . So the matrix of T in the standard basis is 1 0 .
T(α1 ) = (−2, 1), T(α2 ) = (1, 1). If (a, b) = xα1 + yα2 , then x + y = a, 2x − y = b, so
x = a+b
3
, y = 2a−b
3
. This shows that
T(α1 ) = (−2, 1) = − 13 α1 − 35 α2
T(α2 ) = (1, 1) = 23 α1 + 13 α2
1 2
−3 3
Thus (T(α1 ) T(α2 )) = (α1 α2 ) 5 1 . Consequently the matrix of T in the ordered
1 2 − 3 3
−3 3
basis B is .
− 53 31
Question 2(b)
Determine
a non-singular matrix P such that P0 AP is a diagonal matrix,
0 1 2
where A = 1
0 3. Is the matrix congruent to a diagonal matrix? Justify your answer.
2 3 0
Solution. The quadratic form associated with A is Q(x, y, z) = 2xy + 4xz + 6yz. Let
x = X, y = X + Y, z = Z (thus X = x, Y = y − x, Z = z). Then
Q(X, Y, Z) = 2X 2 + 2XY + 4XZ + 6XZ + 6Y Z
= 2X 2 + 2XY + 10XZ + 6Y Z
Y 5 2 Y 2 25 2
= 2(X + + Z) − − Z +YZ
2 2 2 2
Y 5 2 1
= 2(X + + Z) − (Y − Z)2 − 12Z 2
2 2 2
Put
Y 5 x y 5z
ξ = X+ + Z= + +
2 2 2 2 2
η = Y − Z = −x + y − z
ζ = Z=z
1 1 5 −1
1 − 12 −3
x 2 2 2
ξ ξ
y = −1 1 −1 η = 1 1 −2 η
2
z 0 0 1 ζ 0 0 1 ζ
Q(x, y, z) transforms to 2ξ 2 − 21 η 2 − 12ζ 2 . Thus
2 0 0
P0 AP = 0 − 12 0
0 0 −12
1 − 12 −3
3
Question 2(c) Reduce the matrix
1 3 4 −5
−2 −5 −10 16
5 9 33 −68
4 7 30 −78
Operations R4 − 4R3 ⇒
1 3 4 −5
0 1 −2 6
A≈
0 0 1 −7
0 0 0 0
Operation R1 − 3R2 ⇒
1 0 10 −23
0 1 −2 6
A≈
0 0 1 −7
0 0 0 0
Operations R1 − 10R3 , R2 + 2R3 ⇒
1 0 0 47
0 1 0 −8
A≈
0 0 1 −7
0 0 0 0
4
Question 3(a) U is an n-rowed unitary matrix such that |I − U| 6= 0, show that the matrix
H defined by iH = (I + U)(I − U)−1 is Hermitian. If eiα1 , . . . , eiαn are the eigenvalues of U
then cot α21 , . . . , cot α2n are eigenvalues of H.
Solution.
(iH)(I − U) = (I + U)
0 0 0
⇒ (I − U )(iH) = (I + U )
0 0 0 0
Substituting I = U U, we have from the second equation that U (U − I)(iH) = U (U + I).
0 0 0
So (iH) = −iH = −(I + U)(I − U)−1 = −iH, so H = H, thus H is Hermitian.
If an eigenvalue of a nonsingular matrix A is λ, then λ−1 is an eigenvalue of A−1 ∵ Ax =
λx ⇒ λ−1 x = A−1 x, note that λ 6= 0 ∵ |A| 6= 0. Thus the eigenvalues of H are
1 1 + eiαj
,1 ≤ j ≤ n
i 1 − eiαj
eiαj /2 + e−iαj /2
= −i −iαj /2 ,1 ≤ j ≤ n
e − eiαj /2
eiαj /2 +e−iαj /2
2
= ,1 ≤ j ≤ n
e−iαj /2 −eiαj /2
2i
cot αj
= ,1 ≤ j ≤ n
2
5
UPSC Civil Services Main 1992 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let U and V be vector spaces over a field K and let V be of finite dimension.
Let T : V −→ U be a linear transformation, prove that dim V = dim T(V) + dim nullity T.
Solution.
1
1.
2. T(2(1, 1)) = T(2, 2) = (4, 2, 2) 6= 2T(1, 1) = 2(1, 1, 1) Thus T is not a linear transfor-
mation.
3.
4. T(2(0, 0)) = T(0, 0) = (1, −1) 6= 2T(0, 0) Thus T is not a linear transformation.
Question 2(a) Let T : M2,1 −→ M2,3 be a linear transformation defined by (with the usual
notation)
1 2 1 3 1 6 1 0
T = ,T =
0 4 1 5 1 0 0 2
x
Find T .
y
Solution.
x 1 1 1
= x −y +y
y 0 0 1
x 2 1 3 6 1 0 2x + 4y x 3x − 3y
T = (x − y) +y =
y 4 1 5 0 0 2 4x − 4y x − y 5x − 3y
2
Question 2(b) For what values of η do the following equations
x+y+z = 1
x + 2y + 4z = η
x + 4y + 10z = η 2
Question 2(c) Prove that a necessary and sufficient condition of a real quadratic form
x0 Ax to be positive definite is that the leading principal minors of A are all positive.
Solution. Let all the principal minors be positive. We have to prove that the quadratic
form is positive definite. We prove the result by induction.
If n = 1, then a11 x2 > 0 ⇔ a11 > 0. Suppose as induction hypothesis the result is true
B B1
for n = m. Let S = B01 k be a matrix of a quadratic form in m + 1 variables, where
B is m × m, B1 is m × 1 and k is a single element. Since all principle minors of B are
leading principal minors of S, and are hence positive, the induction hypothesis gives that B
is positive definite. This means that there exists a non-singular m × m matrix P such that
P0 BP = Im (We shall prove this presently). Let C be an m-rowed column to be determined
soon. Then
0
P0 BP P0 BC + P0 B1
P 0 B B1 P C
=
C0 1 B0 1 k 0 1 C0 B0 P + B01 P C0 BC + C0 B1 + B0 1 C + k
3
The condition is necessary - Since x0 Ax is positive definite, there is a non-singular matrix
P such that P0 AP = I ⇒ |A||P|2 = 1 ⇒ |A| > 0.
Let 1 ≤ r < n. Let xr+1 = . . . = xn = 0, then we obtain a quadratic form in r variables
which is positive definite. Clearly the determinant of this quadratic form is the r×r principal
minor of A which shows the result.
Proof of the result used: Let A be positive definite, then there exists a non-singular P
such that P0 AP = I.
We will prove this by induction. If n = 1, then the form corresponding to A is a11 x2 and
√
a11 > 0, so that P = ( a11 ).
Take
1 −a−1 11 a12 0 ... 0
0
P1 = ..
. (n − 1) × (n − 1)
0
then
a11 0 a13 ... a1n
0
P01 AP1 = a13
..
. (n − 1) × (n − 1)
a1n
Repeating this process, we get a non-singular Q such that
a11 0 ... 0
Q0 AQ = ...
(n − 1) × (n − 1)
0
Given the (n − 1) × (n − 1) matrix on the lower right, we get by induction P∗ s.t. P∗ 0 ((n −
1) × (n − 1) matrix)P∗ is diagonal. Thus ∃P, |P| 6= 0, P0 AP = [α1 , . . . , αn ] say. Take R =
√ √
diagonal[ α1 , . . . , αn ], then R0 P0 APR = In .
2 1
Question 3(a) State the Cayley-Hamilton theorem and use it to find the inverse of 4 3 .
2 − λ 1
= λ2 − 5λ + 2 = 0
4 3 − λ
4
By the Cayley-Hamilton theorem, A2 − 5A + 2I = 0, so A(A − 5I) = −2I, thus A−1 =
− 12 (A − 5I). Thus
3
− 21
−1 1 2 1 5 0
A =− − = 2
2 4 3 0 5 −2 1
x02 Ax2 = ( 1 −2 ) 11 10 −2 = ( 1 −2 ) −1
1
1 = −3
x01 Ax2 = ( 1 1 ) 11 10 −2 = ( 1 1 ) −1
1
1 =0
If P = (x1 x2 ), then P0 AP = 30 −3
0
, thus x2 + 2xy ≈ 3X 2 − 3Y 2 by P = 11 −2 1
.
Similarly
x01 Bx1 = ( 1 1 ) −2 8 −2
1 6
5 1 = (1 1) 3 = 9
x02 Bx2 = ( 1 −2 ) −2 8 −2
1 12
= ( 1 −2 ) −12 = 36
0 8 −2
5
1−2 12
x1 Bx2 = ( 1 1 ) −2 5 −2 = ( 1 1 ) −12 = 0
Question 3(c) Prove that the characteristic roots of a Hermitian matrix are all real, and
the characteristic roots of a skew Hermitian matrix are all zero or pure imaginary.
Solution. For Hermitian matrices, see question 2(c), year 1995.
0 0
If H is skew-Hermitian, then iH is Hermitian, because (iH) = iH = −iH = iH as
0
H = −H . Thus the eigenvalues of iH are real. Therefore the eigenvalues of H are −ix
where x ∈ R. So they must be 0 (if x = 0) or pure imaginary.
5
UPSC Civil Services Main 1993 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Show that the set S = {(1, 0, 0), (1, 1, 0), (1, 1, 1), (0, 1, 0)} spans the vector
space R3 but is not a basis set.
Solution. The vectors (1, 0, 0), (0, 1, 0), (1, 1, 1) are linearly independent, because α(1, 0, 0)+
β(1, 1, 0) + γ(1, 1, 1) = 0 ⇒ α + γ = 0, β + γ = 0, γ = 0 ⇒ α = β = γ = 0.
Thus (1, 0, 0), (1, 1, 0), (1, 1, 1) is a basis of R3 , as dimR R3 = 3.
Any set containng a basis spans the space, so S spans R3 , but it is not a basis because
the four vectors are not linearly independent, in fact (1, 1, 0) = (1, 0, 0) + (0, 1, 0).
Question 1(b) Define rank and nullity of a linear transformation. If V is a finite dimen-
sional vector space and T is a linear operator on V such that rank T2 = rank T, then prove
that the null space of T is equal to the null space of T2 , and the intersection of the range
space and null space of T is the zero subspace of V.
Solution. The dimension of the image space T(V) is called rank of T. The dimension of
the vector space kernel of T = {v | T(v) = 0} is called the nullity of T.
Now v ∈ null space of T ⇒ T(v) = 0 ⇒ T2 (v) = 0 ⇒ v ∈ null space of T2 . Thus null
space of T ⊆ null space of T2 . But we are given that rank T = rank T2 , so therefore nullity
of T = nullity of T2 , because of the nullity theorem — rank T + nullity T = dim V. Thus
null space of T = null space of T2 .
Finally if v ∈ range of T, and v ∈ null space of T, then v = T(w) for some w ∈ V. Now
1
2
Question 1(c) If the matrix of a linear operator T on R relative to the standard basis
1 1
{(1, 0), (0, 1)} is 1 1 , find the matrix of T relative to the basis B = {(1, 1), (−1, 1)}.
Solution. Let v1 = (1, 1), v2 = (−1, 1). Then T(v1 ) = (11) 11 11 = (2, 2) = 2v1 .
T(v2 ) = (−11) 11 11 = (0, 0) = 0. So (T(v1 ), T(v2 ) = (v1 ) v2 ) 20 00 , so the matrix of T
relative to the basis B is 20 00 .
A−1
A 0 0
Question 2(a) Prove that the inverse of is where A, C are
B C −C−1 BA−1 C−1
1 0 0 0
1 1 0 0
nonsingular matrices. Hence find the inverse of
1 1 1 0.
1 1 1 1
Solution.
A−1
A 0 0 I 0
−1 = = Identity matrix.
B C −C−1 BA C−1 BA−1 − BA−1 I
A−1
0 A 0 I 0
−1 −1 −1 = −1 −1 = Identity matrix, which shows
−C BA C B C −C B + C B I
the result.
B = 11 11 . Then A−1 = C−1 = −1 and C−1 BA−1 =
1 0
1 0
Let A = C = 1 1 and
1
1 0 1 1 1 0 1 0 0 1 = 0 1 Thus
−1 1 1 1 −1 1 = −1 1 0 1 0 0
−1
1 0 0 0 1 0 0 0
1 1 0 0
−1 1 0 0
1 =
0 −1 1
1 1 0 0
1 1 1 1 0 0 −1 1
Question 2(b) If A is an orthogonal matrix with the property that −1 is not an eigenvalue,
then show that A = (I − S)(I + S)−1 for some skew symmetric matrix S.
2
Now
S0 = (I − A)0 ((I + A)−1 )0
= (I − A0 )(I + A0 )−1
= (AA0 − A0 )(A0 A + A0 )−1
−1
= (A − I)A0 A0 (A + I)−1
= −(I − A)(I + A)−1
= −(I + A)−1 (I − A)
= −S
Thus S is skew symmetric, so A = (I − S)(I + S)−1 where S = (I + A)−1 (I − A)
Question 2(c) Show that any two eigenvectors corresponding to distinct eigenvalues of (i)
Hermitian matrices (ii) unitary matrices are orthogonal.
Solution. We first prove that the eigenvalues of a Hermitian matrix, and therefore of a
symmetric matrix, are real.
Let H be Hermitian, and λ be one of its eigenvalues. Let x 6= 0 be an eigenvector
0 0
corresponding to λ. Thus Hx = λx, so x0 Hx = x0 λx. But (x0 Hx) = (x0 Hx)0 = x0 H x =
0
x0 Hx, because H = H. Note that (x0 Hx)0 = x0 Hx, since it is a single element, therefore
0
x0 Hx is real. Similarly x0 x 6= 0 is real, so λ = xxHx 0 x is real.
Question 3(a) A matrix B of order n is of the form λA, where λ is a scalar and A has 1
everywhere except the diagonal, which has µ. Find λ, µ so that B may be orthogonal.
µ 1 ... 1
1 µ . . . 1
Solution. A = . . .
. B = λA. Thus
...
1 1 ... µ
λµ λ . . . λ λµ λ . . . λ
λ λµ . . . λ λ λµ . . . λ
B0 B = . . .
= BB0 = B2
... . . . ...
λ λ . . . λµ λ λ . . . λµ
1
We used here the fact that all eigenvalues of a unitary matrix have modulus 1. If Ux = λx, then
0 0
x U = λx0 . Thus x0 U Ux = λλx0 x, so x0 x = λλx0 x. Now x0 x 6= 0, so λλ = 1.
0
3
Clearly each diagonal element of BB0 is λ2 µ2 + (n − 1)λ2 , and each nondiagonal element is
2λ2 µ + (n − 2)λ2 . Thus B will be orthogonal if 2λ2 µ + (n − 2)λ2 = 0, λ2 µ2 + (n − 1)λ2 = 1.
Since λ 6= 0, µ = 2−n
2
= 1 − n2 , and λ2 = (1− n )12 +n−1 = 1
n2
= n42 , thus λ = ± n2 .
2 1−n+ 4
+n−1
Solution.
1 0 0 0
1 −1 3 6 1 0 0 0 1 0 0
A = 1 3 −3 −4 = 0 1 0 A
0
0 1 0
5 3 3 11 0 0 1
0 0 0 1
Operation C2 + C1 , C3 − 3C1 , C4 − 6C1 ⇒
1 1 −3 −6
1 0 0 0 1 0 0 0
1 4 −6 −10 = 0 1 0 A 1 0 0
0 0 1 0
5 8 −12 −19 0 0 1
0 0 0 1
Operation R2 − R1 ⇒
1 1 −3 −6
1 0 0 0 1 0 0 0
0 4 −6 −10 = −1 1 0 A 1 0 0
0 0 1 0
5 8 −12 −19 0 0 1
0 0 0 1
Operation R3 − 2R2 ⇒
1
1 −3 −6
1 0 0 0 1 0 0 0
0 4 −6 −10 = −1 1 0 A 1 0 0
0 0 1 0
5 0 0 1 2 −2 1
0 0 0 1
4
R3 − 5R1 ⇒
1 1 −6 −3
1 0 0 0 1 0 0 0
0 4 −10 −6 = −1 1 0 A 1 0 0
0 0 0 1
0 0 1 0 −3 −2 1
0 0 1 0
Operation 41 R2 ⇒
1 1 −6 −3
1 0 0 0 1 0 0
0 1 − 5
0 1 0 0
2
− 32 = − 14 41 0 A
0
0 0 1
0 0 1 0 −3 −2 1
0 0 1 0
Operation C3 + 52 C2 , C4 + 32 C2 ⇒
1 − 27 − 23
1
1 0 0 0 1 0 0
0 1 0 0 = − 1 1 0 A
0 1 52 3
2
4 4 0 0 0 1
0 0 1 0 −3 −2 1
0 0 1 0
1 0 0 0 1 0 0
Thus the normal form of A is 0 1 0 0 so rank A = 3. P = − 14 14 0 and
0 0 1 0 −3 −2 1
7 3
1 1 −2 −2
0 1 5 3
Q= 2 2 and PAQ is the normal form.
0 0 0 1
0 0 1 0
Solution. Completing the squares of the given form (say Q(x1 , x2 , x3 )):
1 3
Q(x1 , x2 , x3 ) = 2(x1 + x2 − x3 )2 + x22 + x23 − 2x2 x3
2 2
1 1
= 2(x1 + x2 − x3 )2 + (x3 − x2 )2 + x22
2 2
Thus Q can be written as the sum of 3 squares with positive coefficients, so it is positive
definite.
5
UPSC Civil Services Main 1994 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Show that f1 (t) = 1, f2 (t) = t − 2, f3 (t) = (t − 2)2 forms a basis of P3 =
{Space of polynomials of degree ≤ 2}. Express 3t2 −5t+4 as a linear combination of f1 , f2 , f3 .
T(a, b, c, d) = (a − b + c + d, a + 2c − d, a + b + 3c − 3d), a, b, c, d ∈ R
Solution. Let
T(1, 0, 0, 0) = (1, 1, 1) = v1
T(0, 1, 0, 0) = (−1, 0, 1) = v2
T(0, 0, 1, 0) = (1, 2, 3) = v3
T(0, 0, 0, 1) = (1, −1, −3) = v4
1
v4 is dependent on v1 , v2 , because if v4 = αv1 + βv2 , then α − β = 1, α = −1, α + β =
−3 ⇒ α = −1, β = −2 ∴ v4 = −v1 − 2v2 .
Thus v1 , v2 is a basis of T(R4 ), so rank T = 2.
Now (a, b, c, d) ∈ ker T ⇔ a − b + c + d = 0, a + 2c − d = 0, a + b + 3c − 3d = 0
Choosing particular values of a, b, c, d, we see that (1, 2, 0, 1), (−1, 1, 1, 1) ∈ ker T and are
linearly independent, so dim ker T ≥ 2. But (1, 2, 0, 1), (−1, 1, 1, 1) generate ker T, because
if (a, b, c, d) ∈ ker T, and (a, b, c, d) = α(1, 2, 0, 1) + β(−1, 1, 1, 1), then α − β = a, 2α + β =
b, β = c, α + β = d, so α = a + c, β = c and these satisfy the remaining equations 2α + β =
b, α + β = d, because (a, b, c, d) ∈ ker T and therefore a − b + c + d = 0, a + 2c − d = 0. Thus
(a, b, c, d) = (a + c)(1, 2, 0, 1) + c(−1, 1, 1, 1), so dim ker T = nullity T = 2
Hence rank T + nullity T = 4 = dim(R4 ), as required.
Question 1(c) If T is an operator on R3 whose basis is B = {(1, 0, 0), (0, 1, 0), (0, 0, 1)}
such that
0 1 1
[T : B] = 1 0 −1
−1 −1 0
find a matrix of T w.r.t. a basis B1 = {(0, 1, −1), (1, −1, 1), (−1, 1, 0)}.
Solution. The basis B is the standard basis, hence the representation of B1 in this basis is
as given. (Note that if B were some other basis, we would write B1 in that basis, and then
continue as below.) Let v1 = (0, 1, −1), v2 = (1, −1, 1), v3 = (−1, 1, 0). Then
Thus
1 0 0
[T : B1 ] = 0 0 0
0 0 −1
Note: The main idea behind the above solution is to express T(vi ) = ni=0 αii vi . Now
P
we solve for αii to get the matrix for T in the new basis.
An alternative is to compute P−1 [T : B]P, where P is given by [v1 , . . . , vn ] = [e1 , . . . , en ]P
or P = [v1 0 , . . . , vn 0 ]. Show that this is true.
Question 2(a) If A = haij i is an n × n matrix such that aii = n, aij = r if i 6= j, show that
[A − (n − r)I][A − (n − r + nr)I] = 0
Hence find the inverse of the n × n matrix B = hbij i where bii = 1, bij = ρ, i 6= j and
1
ρ 6= 1, ρ 6= 1−n .
2
Solution. Let C = A − (n − r)I, then every entry of C is r. Let D = A − (n − r + nr)I =
C − nrI. Thus CD = C2 − nrC. Each entry of C2 is nr2 , which is the same as each entry
of nrC, so CD = 0 as required.
The given equation implies
Let A = nB, where r = ρn. Thus A satisfies the conditions for the equation to hold, so
substituting A and r in the above equation
Question 2(b) Prove that the eigenvectors corresponding to distinct eigenvalues of a square
matrix are linearly independent.
0 = L1 (a1 x1 + . . . + ar xr )
= a1 L 1 x 1
= a1 (λ1 − λ2 ) . . . (λ1 − λr )x1
λ1 − λi 6= 0, 2 ≤ i ≤ r, and Q
x1 6= 0 so a1 = 0.
Similarly taking Li = rj=1 (A − λj I), we show that ai = 0 for 1 ≤ i ≤ r. Thus
i6=j
x1 , x2 , . . . , xr are linearly independent.
3
Solution. The characteristic polynomial of A is |λI − A| = (λ − 3)(λ − 2)(λ − 5).1 Thus
the eigenvalues of A are 3, 2, 5.
If x = (x1 , x2 , x3 ) is an eigenvector corresponding to λ = 3 then
0 1 4 x1
(A − 3I)x = 0 −1 6
x2 = 0
0 0 2 x3
Thus x1 + x2 + 4x3 = 0, 6x3 = 0, 3x3 = 0, take x1 = 1 to get (1, −1, 0) as an eigenvector for
λ = 2. All the eigenvectors are (x1 , −x1 , 0), x1 6= 0.
If x = (x1 , x2 , x3 ) is an eigenvector corresponding to λ = 5 then
−2 1 4 x1
(A − 5I)x = 0 −3 6 x2 = 0
0 0 0 x3
Thus −2x1 + x2 + 4x3 = 0, −3x2 + 6x3 = 0, take x3 = 1 to get (3, 2, 1) as an eigenvector for
λ = 5. All eigenvectors are (3x3 , 2x3 , x3 ), x3 6= 0.
Question 3(a) Show that the matrix congruent to a skew symmetric matrix is skew sym-
metric. Use the result to prove that the determinant of a skew symmetric matrix of even
order is the square of a rational function of its elements.
4
column 1 and column j, we get −aij in the symmetric position. Now by multiplying the new
matrix by suitable elementary matrices on the left and right, we get
0 aij ∗ ∗ ... ∗
−aij 0 ∗ ∗ ... ∗
0
P AP = ∗ ∗
... A2m−2
∗ ∗
Now we can find P∗ a product of elementary matrices such that
0 aij 0 0 ... 0
−aij 0 0 0 ... 0
0
P∗ P0 APP∗ =
0 0
... A2m−2
0 0
Thus det A = determinant of a skew symmetric matrix of order 2 × determinant of a
skew symmetric matrix of order 2(m − 1). The induction hypothesis now gives the result.
c −b a0
0
−c 0 a b0
A= b −a 0 c0
5
If c0 = 0,
0
c −b a0 a
c 0 a b0 a
a|A| =
b0 −a 0 0
−a a −b0 a 0 0
Adding −b0 R3 to R4 , we see that the fourth row has all 0’s, hence rank A = 2 as before.
Alternate solution:
c −b a0
0
−c 0 a b0
−a|A| = b −a 0 c0
Question 3(c) Reduce the following symmetric matrix to a diagonal form and interpret the
results in terms of quadratic forms.
3 2 −1
A= 2 2 3
−1 3 1
Solution.
x
(x y z)A y
z
= 3x2 + 2y 2 + z 2 + 4xy − 2xz + 6yz
2 1 2 2 22
= 3(x + y − z)2 + y 2 + z 2 + yz
3 3 3 3 3
2 1 2 2 11 2 117 2
= 3(x + y − z) + (y + z) − z
3 3 3 2 6
2 117 2
= 3X 2 + Y 2 − Z
3 6
where X = x − 23 y − 13 z, Y = y + 112
z, Z = z. This implies z = Z, y = Y − 11 2
Z, x =
2 11 1 2
X + 3 (Y − 2 Z) − 3Z = X + 3 Y − 4Z.
1 32 −4
3 0 0
Then if P = 0 1 − 11 2
, we have P0 AP = 0 2
3
0 .
0 0 1 0 0 − 117 6
The quadratic form associated with A is indefinite as it takes both positive and negative
values. Note that x0 Ax and x0 P0 APx0 take the same values.
6
UPSC Civil Services Main 1995 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
1 Linear Algebra
Question 1(a) Let T(x1 , x2 , x3 ) = (3x1 + x3 , −2x1 + x2 , −x1 + 2x2 + 4x3 ) be a linear trans-
formation on R3 . What is the matrix of T w.r.t. the standard basis? What is a basis of the
range space of T? What is a basis of the null space of T?
Solution.
Clearly T(e2 ), T(e3 ) are linearly independent. If (3, −2, −1) = α(0, 1, 2) + β(1, 0, 4), then
β = 3, α = −2, but 2α + 4β 6= −1, so T(e1 ), T(e2 ), T(e3 ) are linearly independent. Thus
(3, −2, −1), (0, 1, 2), (1, 0, 4) is a basis of the range space of T.
Note that T(x1 , x2 , x3 ) = 0 ⇔ x1 = x2 = x3 = 0, so the null space of T is {0}, and the
empty set is a basis. Note that the matrix of T is nonsingular, so T(e1 ), T(e2 ), T(e3 ) are
linearly independent.
Question 1(b) Let A be a square matrix of order n. Prove that Ax = b has a solution
⇔ b ∈ Rn is orthogonal to all solutions y of the system A0 y = 0.
1
Solution. If x is a solution of Ax = b and y is a solution of A0 y = 0, then b0 y = x0 A0 y = 0,
thus b is orthogonal to y.
Conversely, suppose b0 y = 0 for all y ∈ Rn which is a solution of A0 y = 0. Let
W = A(Rn ) = the range space of A, and W ⊥ its orthogonal complement. If A0 y = 0 then
x0 A0 y = 0 ⇒ (Ax)0 y = 0 for every x ∈ Rn ⇒ y ∈ W ⊥ . Conversely y ∈ W ⊥ ⇒ ∀x ∈
Rn .(Ax)0 y = 0 ⇒ x0 A0 y = 0 ⇒ A0 y = 0. Thus W ⊥ = {y | A0 y = 0}. Now b0 y = 0 for all
y ∈ W ⊥ , so b ∈ W ⇒ b = Ax for some x ∈ Rn ⇒ Ax = b is solvable.
Question 1(c) Define a similar matrix and prove that two similar matrices have the same
characteristic equation. Write down a matrix having 1, 2, 3 as eigenvalues. Is such a matrix
unique?
Solution. Two matrices A, B are said to be similar if there exists a matrix P such that
B = P−1 AP. If A, B are similar, say B = P−1 AP, then characteristic polynomial of B is
|λI − B| = |λI − P−1 AP| = |P−1 λIP − P−1 AP| = |P−1 ||λI − A||P| = |λI − A|. (Note that
|X||Y| = |XY|.) Thus the characteristic polynomial of B is the same as that of A.
1 0 0
Clearly the matrix A = 0 2 0 has eigenvalues 1,2,3. Such a matrix is not unique, for
0 0 3
1 1 0
example B = 0 2 0 has the same eigenvalues, but B 6= A.
0 0 3
2
Thus x1 = x3 , x3 = −3x2 , so (−3, 1, −3) is an eigenvector for λ = 1.
If (x1 , x2 , x3 ) is an eigenvector for λ = 2, then
3 −6 −6 x1
−1 2 2 x2 = 0
3 −6 −6 x3
⇒ 3x1 − 6x2 − 6x3 = 0
−x1 + 2x2 + 2x3 = 0
3x1 − 6x2 − 6x3 = 0
Note: Another way of computing A5 is given below. This uses the characteristic poly-
nomial of A : A3 = 5A2 − 8A + 4I and not the diagonal form, so it will not be permissible
here.
3
A5 = A2 (5A2 − 8A + 4I)
= 5A(5A2 − 8A + 4I) − 8(5A2 − 8A + 4I) + 4A2
= 25(5A2 − 8A + 4I) − 76A2 + 84A − 32I
= 49A2 − 116A + 68I
Solution.
(I + B(I − AB)−1 A)(I − BA)
= I − BA + B(I − AB)−1 A − B(I − AB)−1 ABA
= [I + B(I − AB)−1 A] − B[I + (I − AB)−1 AB]A (1)
−1 −1 −1
Now (I − AB) (I − AB) = (I − AB) − (I − AB) AB = I
∴ (I − AB)−1 = I + (I − AB)−1 AB
Substituting in (1) (I + B(I − AB)−1 A)(I − BA)
= I + B(I − AB)−1 A − B(I − AB)−1 A = I
4
2. Let λ 6= 0 be an eigenvalue of AB and let x 6= 0 be an eigenvector corresponding to
λ, i.e. ABx = λx. Let y = Bx. Then y 6= 0, because Ay = ABx = λx 6= 0 as λ 6= 0.
Now BAy = BABx = B(ABx) = λBx = λy. Thus λ is an eigenvalue of BA.
Question 2(c) Let a, b ∈ C, |b| = 1 and let H be a Hermitian matrix. Show that the
eigenvalues of aI + bH lie on a straight line in the complex plane.
For the sake of completeness, we prove that the eigenvalues of a Hermitian matrix H are
real. Let z 6= 0 be an eigenvector corresponding to the eigenvalue t.
Hz = tz
⇒ z0 Hz = tz0 z
0
⇒ z0 Hz = tz0 z
0
But z0 Hz = z0 H z = z0 Hz = tz0 z
⇒ tz0 z = tz0 z
⇒t = t ∵ z0 z 6= 0
Question 3(a) Let A be a symmetric matrix. Show that A is positive definite if and only
if its eigenvalues are all positive.
symmetric, it follows that P1 −1 AP1 = P01 AP1 = λ01 B0 . Induction now gives that there
λ2 0 . . . 0
exists an (n − 1) × (n − 1) orthogonal matrix Q such that Q0 BQ = . . .
0 0 . . . λn
5
where λ2 , λ3 , . . . , λn are eigenvalues of B. Let P2 = 01 Q 0
, then P2 is orthogonal and
P02 P01 AP1 P2 = diagonal[λ 1 , . . . , λ n ]. Set P = P P
1 2 . . . P 0
n and (y1 , . . . , yn )P = x then
,
n
x0 Ax = y0 P0 APy = i=0 λ2i yi2 .
P
0
Pn 2 2
Since P is non-singular, quadratic forms x Ax and i=0 λi yi assume the same values.
Hence A is positive definite if and only if ni=0 λ2i yi2 is positive definite if and only if λi > 0
P
for all i. p
Result used: If x1 is a real vector such that ||x1 || = x01 x1 = 1 then there exists an
orthogonal matrix with x1 as its first column.
Proof: We have to find real column vectors x2 , . . . , xn such that ||xi || = 1, 2 ≤ i ≤ n
and x2 , . . . , xn is an orthonormal system i.e. x0i xj = 0, i 6= j. Consider the single equation
x01 x = 0, where x is a column vector to be determined. This equation has a non-zero solution,
in fact the space of solutions is of dimension n − 1, the rank of the coefficient matrix being
1. If y2 is a solution, we take x2 = ||yy22 || so that x01 x2 = 0.
We now consider the two equations x01 x = 0, x02 x = 0. Again the number of unknowns
is more than the number of equations, so there is a solution, say y3 , and take x3 = ||yy33 || to
get x1 , x2 , x3 mutually orthogonal.
Proceeding in this manner, if we consider n − 1 equations x01 x = 0, . . . , x0n−1 x = 0, these
will have a nonzero solution yn , so we set xn = ||yynn || . Clearly x1 , x2 , . . . , xn is an orthonormal
system, and therefore P = [x1 , . . . , xn ] is an orthogonal matrix having x1 as a first column.
Question 3(b) Let A and B be square matrices of order n, show that AB − BA can never
be equal to the identity matrix.
Thus tr(AB − BA) = tr AB − tr BA = 0. But the trace of the identity matrix is n, thus
AB − BA can never be equal to the identity matrix.
n
X
Question 3(c) Let A = haij i, 1 ≤ i, j ≤ n. If |aij | < |aii |, then the eigenvalues of A lie
j=1
i6=j
in the disc n
X
|λ − aii | ≤ |aij |
j=1
i6=j
6
Solution. See the solution to question 2(c), year 1997. We showed that if |λ − aii | >
n
X
|aij | then |λI − A| =
6 0, so λ is not an eigenvalue of A. Thus if λ is an eigenvalue, then
j=1
i6=j
n
X
|λ − aii | ≤ |aij |, so λ lies in the disc described in the question.
j=1
i6=j
7
UPSC Civil Services Main 1996 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) In R4 let W1 be the space generated by {(1, 1, 0, −1), (2, 4, 6, 0)} and let W2
be space generated by {(−1, −2, −2, 2), (4, 6, 4, −6), (1, 3, 4, −3)}. Find a basis for the space
W1 + W2 .
Solution. Let v1 = (1, 1, 0, −1), v2 = (2, 4, 6, 0), v3 = (−1, −2, −2, 2), v4 = (4, 6, 4, −6), v5 =
(1, 3, 4, −3). Since w ∈ W1 + W2 can be written as w = w1 + w2 , and w1 = α1 v1 + α2 v2
and w2 = α3 v3 + α4 v4 + α5 v5 , it follows that w is a linear combination of vi ⇒ W1 + W2
is generated by {vi , 1 ≤ i ≤ 5}. Thus a maximal independent subset of {vi , 1 ≤ i ≤ 5} will
be a basis of W1 + W2 .
Clearly v1 and v2 are linearly independent. If possible, let v3 = λ1 v1 + λ2 v2 , then the
four equations
λ1 + 2λ2 = −1
λ1 + 4λ2 = −2
0λ1 + 6λ2 = −2
−λ1 + 0λ2 = 2
should be consistent and provide us λ1 , λ2 . Clearly the third and fourth equations give us
λ1 = −2, λ2 = − 31 which do not satisfy the first two equations. Thus v1 , v2 , v3 are linearly
independent.
If possible let v4 = λ1 v1 + λ2 v2 + λ3 v3 . Then
λ1 + 2λ2 − λ3 =4 (1a)
λ1 + 4λ2 − 2λ3 =6 (1b)
0λ1 + 6λ2 − 2λ3 =4 (1c)
−λ1 + 0λ2 + 2λ3 = −6 (1d)
1
Adding (1b) and (1d) we get 4λ2 = 0, so λ2 = 0. Solving (1a) and (1b) we get λ3 = −2, λ1 =
2. These values satisfy all the four equations, so v4 = 2v1 − 2v3 .
If possible let v5 = λ1 v1 + λ2 v2 + λ3 v3 . Then
λ1 + 2λ2 − λ3 =1 (2a)
λ1 + 4λ2 − 2λ3 =3 (2b)
0λ1 + 6λ2 − 2λ3 =4 (2c)
−λ1 + 0λ2 + 2λ3 = −3 (2d)
Adding (2b) and (2d) we get 4λ2 = 0, so λ2 = 0. (2c) then gives us λ3 = −2, and
(2a) now gives λ1 = −1, which satisfies all equations. Thus v5 = −v1 − 2v3 . Hence
{(1, 1, 0, −1), (2, 4, 6, 0), (−1, −2, −2, 2)} is a basis of W1 + W2 .
Question 1(b) Let V be a finite dimensional vector space and v ∈ V, v 6= 0. Show that
there exists a linear functional f on V such that f (v) 6= 0.
Let
w1 = v1 + v 2 + v 3
w2 = v1 − v2
w3 = v2 − v3
⇒ T(w1 ) = 3w1 , T(w2 ) = T(w3 ) = 0
We now show that w1 , w2 , w3 is a basis for V, i.e. these are linearly independent.
2
Let αw1 + βw2 + γw3 = 0, then (α + β)v1 + (α − β + γ)v2 + (α − γ)v3 = 0. But
v1 , v2 , v3 are linearly independent, therefore α + β = 0, α − β + γ = 0, α − γ = 0 ⇒ α =
β = γ = 0 ⇒ w1 , w2 , w3 are linearly independent.
The matrix of T w.r.t. the basis w1 , w2 , w3 is clearly B. Note that the choice of
w1 , w2 , w3 is suggested by the shape of B.
6 0 then B = P−1 AP, so A and B are similar.
If (w1 , w2 , w3 ) = (v1 , v2 , v3 )P, |P| =
T(x, y, z) = (x + z, −2x + y, −x + 2y + z)
What is the matrix of T w.r.t. the basis (1, 0, 1), (−1, 1, 1), (0, 1, 1)? Using this matrix write
down the matrix of T with respect to the basis (0, 1, 2), (−1, 1, 1), (0, 1, 1).
Solution. Let v1 = (1, 0, 1), v2 = (−1, 1, 1), v3 = (0, 1, 1). T(x, y, z) = (x+z, −2x+y, −x+
2y+z) = αv1 +βv2 +γv3 , say. This means α−β = x+z, β+γ = −2x+y, α+β+γ = −x+2y+
z. This implies α = x + y + z, β = y, γ = −2x. Thus T(x, y, z) = (x + y + z)v1 + yv2 − 2xv3 .
Hence
2 1 2
[T(v1 ) T(v2 ) T(v3 )] = [v1 v2 v3 ] 0 1 1
−2 2 0
Let w1 = (0, 1, 2), w2 = (−1, 1, 1), w3 = (0, 1, 1). Then
1 0 0
[w1 w2 w3 ] = [v1 v2 v3 ] 1 1 0
0 0 1
Hence
where
2 1 2 1 0 0
A = 0 1 1 , P = 1 1 0
−2 2 0 0 0 1
Thus the matrix of T w.r.t. basis w1 , w2 , w3 is
1 0 0 2 1 2 1 0 0 3 1 2
−1
P AP = −1 1 0 0 1 1 1 1 0 = −2 0 −1
0 0 1 −2 2 0 0 0 1 0 2 0
3
Question 2(b) Let V and W be finite dimensional vector spaces such that dim V ≥ dim W.
Show that there is always a linear map of V onto W.
Solution. Let w1 , w2 , . . . , wm be a basis of W, and v1 , v2 , . . . , vn be a basis of V, n ≥ m.
Define
T(vi ) = wi , i = 1, 2, . . . , m
T(vi ) = 0, i = m + 1, . . . , n
and for any v ∈ V, v = i=1 αi vi , T(v) = m
Pn P
i=1 αi T(vi ). Pm
Clearly
Pm T : V
Pm−→ W is linear. T is onto, since if w ∈ W, w = i=1 ai wi , then
T( i=1 ai vi ) = i=1 ai T(vi ) = w, proving the result.
4
Solution. The characteristic polynomial of A is
−λ 1 0 0
0 −λ 1 0
|A − λI| =
0 0 −λ 1
1 0 0 −λ
= −λ[−λ3 ] − 1[1] = λ4 − 1 = 0
Question 3(b) If A and B are n × n matrices such that AB = BA, show that AB and
BA have a common characteristic vector.
Solution. Before solving this particular problem, we present a general discussion about
orthogonal matrices. An orthogonal matrix satisfies O0 O = I, so its determinant is 1 or -1,
here we focus on the case where |O| = 1. If λ is an eigenvalue of O and x a corresponding
eigenvector, then |λ|2 x0 x = (Ox)0 Ox = x0 O0 Ox = x0 x, so |λ| = 1. Since the characteristic
5
polynomial has real coefficients, the eigenvalues must be real or in complex conjugate pairs.
Thus for a matrix of order 3, at least one eigenvalue is real, and must be 1 or -1. Since
|O| = 1, one real value must be 1, and the three possibilities are {1, 1, 1}, {1, −1, −1} and
{1, eiθ , e−iθ }. √
Here we consider the third case, as the given matrix has 1 and 13 ± i 2 3 2 as eigenvalues,
proved later.
Let Z = X1 + iX2 be an eigenvector corresponding to the eigenvalue eiθ . Let X3 be
the eigenvector corresponding to the eigenvalue 1. Since Z and X3 correspond to different
eigenvalues, these are orthogonal, i.e. Z0 X3 = (X01 + iX02 )X3 = 0 ⇒ X01 X3 = 0, X02 X3 = 0.
Note that X1 , X2 , X3 are real vectors. Since OZ = eiθ Z = (cos θ + i sin θ)(X1 + iX2 ).
Equating real and imaginary parts we get
(Note that sin θ 6= 0 since we are considering the case where eiθ is complex.) Similarly
Multiplying (1) by sin θ and (2) by cos θ and adding, we get X01 X1 − X02 X2 = 0 or X01 X1 =
X02 X2 , so from (2), X1 X2 = 0, i.e. X1 , X2 are orthogonal.
Thus X1 , X2 , X3 are mutually orthogonal. We can assume that X01 X1 = X02 X2 = 1,
replacing Z by λZ, λ ∈ R if necessary. Similarly we can take X03 X3 = 1. Let P = [X1 X2 X3 ]
so that P0 P = I. Now
which is the canonical form of O when the eigenvalues are 1, eiθ , e−iθ .
6
Solution of given problem.
2
− 23 13
3
O = 32 13 − 32
1 2 2
2 3 3 3
− λ −2 1 2 − 3λ −2 1
3 3 3 1
|O − λI| = 23 1
3
− λ 2
−3 = 2 1 − 3λ −2
1 2 2 27
3 3 3
−λ 1 2 2 − 3λ
1
= [(2 − 3λ)2 (1 − 3λ) + 4(2 − 3λ) + 1(3 + 3λ) + 2(6 − 6λ)]
27
1
= − [27λ3 − 45λ2 + 45λ − 27]
27
1
= − [(λ − 1)(3λ2 − 2λ − 3)]
3
√
Thus λ = 1, 13 ± i 2 3 2 are eigenvalues of O. √
2 2
Thus the canonical form of O is derived from above, where cos θ = 13 , sin θ = 3
:
√
1 2 2
3√ 3
0
− 2 2 1
0
3 3
0 0 1
The matrix P can be determined as follows (this is not needed for this problem, but is
given for completeness):
7
√
2 2
where cos θ = 13 , sin θ = 3
. This gives us the following equations
√
2x11 − 2x12 + x13 = x11 − x21 2 2 (3)
√
2x11 + x12 − 2x13 = x12 − x22 2 2 (4)
√
x11 + 2x12 + 2x13 = x13 − x23 2 2 (5)
√
2x21 − 2x22 + x23 = x11 2 2 + x21 (6)
√
2x21 + x22 − 2x23 = x12 2 2 + x22 (7)
√
x21 + 2x22 + 2x23 = x13 2 2 + x23 (8)
√
Adding the √ last 3 equations, we get 2x21 √ = x11 + x12 + x13 . Subtracting equation (6)
from (8), 2x22 = x13 − x11 , and from (7) 2x23 = x11 − x12 + x13 . Substituting these
in the first 3 equations and simplifying, we get x11 = −x13 . Setting x11 = 0, x12 = 1,
we get (0, 1, 0), ( √12 , 0, − √12 ) as a possible solution for X1 , X2 .
P = 1 0 0
0 − √12 1
√
2 2
1
3√ 3
0
We can now verify that OP = P − 2 3 2 1
3
0
0 0 1
8
UPSC Civil Services Main 1997 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
1 Linear Algebra
Question 1(a) Let V be the vector space of polynomials over R. Find a basis and the
dimension of W ⊆ V spanned by
v1 = t3 − 2t2 + 4t + 1
v2 = 2t3 − 3t2 + 9t − 1
v3 = t3 + 6t − 5
v4 = 2t3 − 5t2 + 7t + 5
1
Solution. Let x = (x1 , x2 ), y = (y1 , y2 ). Then
T(αx + βy) = T(αx1 + βy1 , αx2 + βy2 )
= (αx1 + βy1 + αx2 + βy2 , αx1 + βy1 − αx2 − βy2 , αx2 + βy2 )
= (α(x1 + x2 ), α(x1 − x2 ), αx2 ) + (β(y1 + y2 ), β(y1 − y2 ), βy2 )
= αT(x1 , x2 ) + βT(y1 , y2 )
Thus T is linear.
Question 1(c) Let V be the space of 2×2 matrices over R. Determine whether the matrices
A, B, C ∈ V are dependent where
1 2 3 −1 1 −5
A= B= C=
3 1 2 2 −4 0
Solution. If αA + βB + γC = 0, then
α + 3β + γ = 0 (1)
2α − β − 5γ = 0 (2)
3α + 2β − 4γ = 0 (3)
α + 2β = 0 (4)
From (4), we get α = −2β. This, together with (3) gives γ = −β. These satisfy (1) and
(2) also, so taking β = 1, α = −2, γ = −1 gives us −2A + B − C = 0. Thus A, B, C are
dependent.
Question 2(a) Let A be an n × n matrix such that each diagonal entry is µ and each
off-diagonal entry is 1. If B = λA is orthogonal, determine λ, µ.
2
Question 2(b) Show that
2 −1 0
A = −1 2 0
2 2 3
is diagonalizable over R. Find P such that P−1 AP is diagonal and hence find A25 .
3
1 1
1 1 0 1 0 0 2 2
0
A25 = 1 −1 0 0 3 25
0 1
2
− 12 0
−2 0 1 0 0 325 1 1 1
1 1
1 325 0 2 2
0
= 1 −325 0 12 − 21 0
−2 0 325 1 1 1
1+325 1−325
2 2
0
25 1+325
= 1−32 2
0
−1 + 325 −1 + 325 325
Question 2(c) Let A = [aij ] be a square matrix of order n such that |aij | ≤ M . Let λ be
an eigenvalue of A, show that |λ| ≤ nM .
x
Let |xi | = max(|x1 |, |x2 |, . . . , |xn |), so | xji | ≤ 1 for all j.
x 1 x 2 x n
0 = aii − (−ai1 − ai2 − . . . − ain )
xi xi xi
x1 x2 xn
≥ |aii | − ai1 + ai2 + . . . + ain
xi xi xi
≥ |aii | − |ai1 | − |ai2 | − . . . − |ain |
n
X
which contradicts the premise |aij | ≤ aii Thus |A| 6= 0.
j=1
i6=j
4
n
X
Now the lemma tells us that if |λ − aii | > |aij | then |λI − A| =
6 0, so λ is not an
j=1
i6=j
n
X
eigenvalue of A. Thus |λ| ≤ |λ − aii | + |aii | ≤ |aij | ≤ nM as desired.
j=1
Question 3(a) Define a positive definite matrix and show that a positive definite matrix is
always non-singular. Show that the converse is not always true.
xn
xn xn
where (x1 , x2 , . . . , xn ) 6= (0, 0, . . . , 0), which means that A is not positive definite. Thus A
is positive definite =⇒ |A| 6= 0.
The converse is not true. Take
1 0 0
A = 0 1 0
0 0 −1
5
Question 3(b) Find the eigenvalues and their corresponding eigenvectors for the matrix
6 −2 2
−2 3 −1
2 −1 3
0 = |A − xI|
6 − x −2 2
= −2 3 − x −1
2 −1 3 − x
= (6 − x)((3 − x)2 − 1) + 2(−6 + 2x + 2) + 2(2 − 6 + 2x)
= (6 − x)(9 − 6x + x2 ) − 6 + x − 8 + 4x − 8 + 4x
0 = x3 − 12x2 + 36x − 32
= (x − 2)(x2 − 10x + 16)
Question 3(c) Find P invertible such that P reduces Q(x, y, z) = 2xy + 2yz + 2zx to its
canonical form.
6
which has all diagonal entries 0, so we cannot complete squares right away.
0 1 1 1 0 0 1 0 0
1 0 1 = 0 1 0 A 0 1 0
1 1 0 0 0 1 0 0 1
Add the second row to the first and the second column to the first.
2 1 2 1 1 0 1 0 0
1 0 1 = 0 1 0 A 1 1 0
2 1 0 0 0 1 0 0 1
1 − 12 0
2 0 2 1 1 0
0 − 21 0 = − 12 21 0 A 1 12 0
2 0 0 0 0 1 0 0 1
1 − 12 −1
2 0 0 1 1 0
0 − 1 0 = − 1 1 0 A 1 1 −1
2 2 2 2
0 0 −2 −1 −1 1 0 0 1
1 − 12 −1
2 0 0
Thus P = 1 21 −1 and P0 AP = 0 − 12 0
0 0 1 0 0 −2
2 1 2 2
So Q(x, y, z) −→ 2X − 2 Y − 2Z .
Alternative Solution. Let x = X, y = X + Y, z = Z
1 − 12 −1 1 − 21 −1
x 1 0 0 X 1 0 0 ξ ξ
y = 1 1 0 Y = 1 1 0 0 1 0 η = 1 12 −1 η
z 0 0 1 Z 0 0 1 0 0 1 ζ 0 0 1 ζ
1 − 21 −1
7
UPSC Civil Services Main 1998 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Given two linearly independent vectors (1, 0, 1, 0) and (0, −1, 1, 0) of R4 ,
find a basis of R4 which includes them.
Solution. Let v1 = (1, 0, 1, 0), v2 = (0, −1, 1, 0). Clearly these are linearly independent.
Let e1 , e2 , e3 , e4 be the standard basis. Then v1 , v2 , e1 , e2 , e3 , e4 generate R4 . We have to
find four vectors out of these which are linearly independent and include v1 , v2 .
If αv1 + βv2 + γe1 = 0, then α + γ = 0, −α = 0, α + β = 0 ⇒ α = β = γ = 0. Therefore
v1 , v2 , e1 are linearly independent.
We now show that v1 , v2 , e1 , e4 are linearly independent. Let αv1 + βv2 + γe1 + δe4 = 0
then δ = 0, and therefore α = β = γ = 0 because v1 , v2 , e1 are linearly independent.
Thus v1 , v2 , e1 , e4 is a basis of R4 .
Note that e2 = v1 − v2 − e1 , e3 = v1 − e1 .
Question 1(b) If V is a finite dimensional vector space over R and if f and g are two
linear transformations from V to R such that f (v) = 0 implies g(v) = 0, then prove that
g = λf for some λ ∈ R.
1
Question 1(c) Let T : R3 −→ R3 be defined by T(x1 , x2 , x3 ) = (x2 , x3 , −cx1 − bx2 − ax3 )
where a, b, c are fixed real numbers. Show that T is a linear transformation of R3 and that
A3 + aA2 + bA + cI = 0 where A is the matrix of T w.r.t. the standard basis of R3 .
Solution. Let x = (x1 , x2 , x3 ), y = (y1 , y2 , y3 ). Then
T(αx + βy) = (αx2 + βy2 , αx3 + βx3 , −c(αx1 + βy1 ) − b(αx2 + βy2 ) − a(αx3 + βy3 ))
= α(x2 , x3 , −cx1 − bx2 − ax3 ) + β(y2 , y3 , −cy1 − by2 − ay3 )
= αT(x) + βT(y)
Thus T is linear.
Clearly
T(1, 0, 0) = (0, 0, −c)
T(0, 1, 0) = (1, 0, −b)
T(0, 0, 1) = (0, 1, −a)
0 1 0
A= 0 0 1
−c −b −a
The characteristic equation of A is |A − λI| = 0.
−λ 1 0
0 λ 1 = 0
−c −b −a − λ
−λ2 (a + λ) − bλ − c = 0
λ3 + aλ2 + bλ + c = 0
Now by the Cayley-Hamilton theorem A3 + aA2 + bA + cI = 0.
Question 2(a) If A and B are two matrices of order 2 × 2 such that A is skew-Hermitian
and AB = B then show that B = 0.
Solution. We first of all prove that eigenvalues of skew-Hermitian matrices are 0 or pure
0
imaginary. Let A be skew-Hermitian, i.e. A = −A and let λ be its characteristic root. If
x is an eigenvector of λ, then
Ax = λx
⇒ x0 λx = x0 Ax
0
= −x0 A x
0
= −Ax x
= −λx0 x
Thus λ = −λ ∵ x0 x 6= 0, showing that the real part of λ is 0.
Now if B 6= 0 and c1 , c2 are the columns of B, then c1 6= 0 or c2 6= 0. AB = B means
that Ac1 = c1 and Ac2 = c2 . Since either c1 6= 0 or c2 6= 0, 1 must be an eigenvalue of A,
which is not possible. Hence c1 = 0 and c2 = 0, which means B = 0.
2
Question 2(b) If T is a complex matrix of order 2 × 2 such that tr T = tr T2 = 0, then
show that T2 = 0.
Solution. Let λ1 , λ2 be the eigenvalues of T, then λ21 , λ22 are the eigenvalues of T2 . Given
that
tr T = λ1 + λ2 = 0
tr T2 = λ21 + λ22 = 0
Question 2(c) Prove that a necessary and sufficient condition for an n × n real matrix A
to be similar to a diagonal matrix is that the set of characteristic vectors of A includes a set
of n linearly independent vectors.
Solution.
Necessity: By hypothesis there exists a nonsingular matrix P such that
λ1 0 . . . 0
0 λ2 . . . 0
P−1 AP = D = ... ... ... ...
0 0 . . . λn
0 0 . . . λn
3
Question 3(a) Let A be a m × n matrix. Show that the sum of the rank and nullity of A
is n.
Question 3(b) Find all real 2 × 2 matrices A with real eigenvalues which satisfy AA0 = I.
4
0 1
If |A| = −1, J = , then |JA| = 1. Also JA(JA)0 = JAA0 J0 = JJ0 = I. Thus
1 0
cos θ sin θ
JA =
− sin θ cos θ
−1 cos θ sin θ 0 1 cos θ sin θ − sin θ cos θ
A=J = =
− sin θ cos θ 1 0 − sin θ cos θ cos θ sin θ
Now the eigenvalues of A are given by
λ + sin θ − cos θ
0 = |λI − A| = = λ2 − sin2 θ − cos2 θ = λ2 − 1
− cos θ λ − sin θ
Hence λ = ±1, so the eigenvalues are always real. Thus the possible values of A are
1 0 −1 0 − sin θ cos θ
, , for all real θ
0 1 0 −1 cos θ sin θ
Question 3(c) Reduce to diagonal matrix by rational congruent transformation the sym-
metric matrix
1 2 −1
A= 2 0 3
−1 3 1
1 −2 − 32
1 0 0 1 0 0 1 2 −1
0 −4 0 = −2 1 5
0 2 0 3 0 1 4
0 0 25 4
− 23 54 1 −1 3 1 0 0 1
5
UPSC Civil Services Main 1999 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let V be the vector space of functions from R to R. Show that f, g, h ∈ V
are linearly independent where f (t) = e2t , g(t) = t2 and h(t) = t.
Solution. Let a, b, c ∈ R and let ae2t + bt2 + ct = 0 for all t. Setting t = 0 shows that
a = 0. From t = 1 we get b + c = 0, and t = −1 gives b − c = 0, hence b = c = 0. Thus
f, g, h are linearly independent.
Question 1(b) If the matrix linear transformation T on V2 (R) with respect to the
of the
1 1
basis B = {(1, 0), (0, 1)} is , then what is the matrix of T with respect to the ordered
1 1
basis B1 = {(1, 1), (1, −1)}.
1
Solution. The characteristic equation is
4 − x 2 2
0 = 2
4−x 2
2 2 4 − x
= (4 − x)((4 − x)2 − 4) + 2(4 − 8 + 2x) − 2(8 − 2x − 4)
= (4 − x)(12 − 8x + x2 ) − 8 + 4x − 8 + 4x
= 48 − 32x + 4x2 − 12x + 8x2 − x3 − 16 + 8x
= −(x3 − 12x2 + 36x − 32)
= −(x − 2)(x2 − 10x + 16) ∵ 2 is a root
= −(x − 2)(x − 2)(x − 8)
The characteristic roots are 2, 2, 8.
If (x1 , x2 , x3 ) is an eigenvector for λ = 8, then
−4 2 2 x1 0
2 −4 2 x2 = 0
2 2 −4 x3 0
Thus x1 = x2 = x3 , so (1, 1, 1) is an eigenvector for λ = 8.
Similarly for λ = 2,
2 2 2 x1 0
2 2 2 x2 = 0
2 2 2 x3 0
Thus x1 + x2 + x3 = 0. Take x1 = 1, x2 = 0, so (1, 0, −1) is an eigenvector. Take x1 = 0, x2 =
1, so (0, 1, −1)
is an eigenvector
for λ = 2. These
eigenvectors
are linearly independent.
1 1 0 8 0 0
Thus if P = 1 0 1 , then P−1 AP = 0 2 0
1 −1 −1 0 0 2
8 0 0
To check, verify that AP = P 0 2 0
0 0 2
1 0 0 i
Question 2(a) Test for congruency the matrices A = and B = . Prove
0 −1 −i 0
that A2n = B2m = I where m, n are positive integers.
Solution. A and B are not congruent, because A is symmetric and B is not. If A ≡ B
then ∃P non-singular such that P0 AP = B which implies that B should be symmetric.
2 1 0 1 0 1 0
A = =
0 −1 0 −1 0 1
0 i 0 i 1 0
B2 = =
−i 0 −i 0 0 1
2
Hence A2n = (A2 )n = I, and B2m = (B2 )m = I.
Question 2(b) If A is a skew symmetric matrix of order n then prove that (I−A)(I+A)−1
is orthogonal.
Solution.
O = (I − A)(I + A)−1
OO0 = (I − A)(I + A)−1 ((I + A)−1 )0 (I − A)0
= (I − A)(I + A)−1 (I − A)−1 (I + A) as A0 = −A
= (I − A)[(I − A)(I + A)]−1 (I + A)
= (I − A)[I − A2 )]−1 (I + A)
= (I − A)[(I + A)(I − A)]−1 (I + A)
= (I − A)(I − A)−1 (I + A)−1 (I + A)
= I
Question 2(c) Test for positive definiteness the quadratic form 2x2 + y 2 + 2z 2 + 2xy − 2zx.
3
or λ3 − 3λ2 = 0. Thus λ = 0, 0, 3.
We next determine the characteristic vectors. For λ = 0, we get
1 −1 1 x1 0
−1 1 −1 x2 = 0
1 −1 1 x3 0
√ 2
q
2
Shifting the origin to (0, 0, 6), we get X = 3
Z, showing that the equation is a parabolic
cylinder.
4
1 Reduction of Quadrics
For the sake of completeness, we give the complete theoretical discussion for the above
question.
Let
F (X, Y, Z) = λ1 X 2 + λ2 Y 2 + λ3 Z 2 + 2U X + 2V Y + 2W Z + d = 0
5
Step II. We now consider 3 possibilities (ρ is rank of the matrix):
1. ρ(S) = 3 ⇒ λ1 λ2 λ3 6= 0. Shift the origin to (− λU1 , − λV2 , − W
λ3
), i.e. x = X + λU1 , y =
Y + λV2 , z = Z + W
λ3
. (Actually we are just completing the squares.) F gets transformed
to
λ1 x2 + λ2 y 2 + λ3 z 2 + d2 = 0
2. ρ(S) = 2. One characteristic root, say λ3 = 0. Shift the origin to (− λU1 , − λV2 , 0), and F
gets transformed to
λ1 x2 + λ2 y 2 + 2w2 z + d2 = 0
3. ρ(S) = 1. Two characteristic roots, say λ2 = λ3 = 0. Shift the origin to (− λU1 , 0, 0),
and F gets transformed to
λ1 x2 + 2v2 y + 2w2 z + d2 = 0
0 0 w 2 d2
d2
|Q| = −λ1 λ2 w22 . Since ρ(Q) = 4, w2 6= 0. Shifting the origin to (0, 0, − 2w 2
) we get
F (x, y, z) = λ1 x2 + λ2 y 2 + 2w2 z = 0
where w22 = −|Q|/λ1 λ2 . The surface is a paraboloid.
6
4. ρ(Q) = 3, ρ(S) = 2
F (x, y, z) = λ1 x2 + λ2 y 2 + 2w2 z + d2 = 0
F (x, y, z) = λ1 x2 + λ2 y 2 + d2 = 0
5. ρ(Q) = 2, ρ(S) = 2
λ1 0 0 0
0 λ2 0 0
Q=
0 0
0 0
0 0 0 d2
ρ(Q) = 2 ⇒ d2 = 0, and F (x, y, z) = λ1 x2 + λ2 y 2 = 0. The quadric is a pair of distinct
planes or a point, if λ1 = λ2 6= 0.
6. ρ(Q) = 4, ρ(S) = 1
0 v2 w2 d2
which shows that ρ(Q) = 4 is not possible.
7. ρ(Q) = 3, ρ(S) = 1
7
Rotate the axes by
x = X
v2 w2
y = p 2 2
Y −p 2 Z
v2 + w2 v2 + w22
w2 v
z = p 2 Y + p 2 Z
v2 + w22 v22 + w22
q
2
F (x, y, z) = λ1 X + 2v3 Y = 0 v3 = v22 + w22
Thus the quadric is a parabolic cylinder.
F (x, y, z) = λ1 X 2 + d2 = 0
The quadric is two parallel planes.
8
UPSC Civil Services Main 2000 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
T = {(x, y) | x, y ∈ V}
Solution.
1. v1 , v2 ∈ T ⇒ v1 + v2 ∈ T
4. Clearly v1 +v2 = v2 +v1 and (v1 +v2 )+v3 = v1 +(v2 +v3 ) as addition is commutative
and associative in V.
5. z ∈ C, v ∈ T ⇒ zv ∈ T
6. 1v = (1 + i0)(x, y) = (x, y)
7.
(α + iβ)((x1 , y1 ) + (x2 , y2 ))
= (α(x1 + x2 ) − β(y1 + y2 ), β(x1 + x2 ) + α(y1 + y2 ))
= (αx1 − βy1 , βx1 + αy1 ) + (αx2 − βy2 , βx2 + αy2 )
= (α + iβ)(x1 , y1 ) + (α + iβ)(x2 , y2 )
1
8.
Question 1(b) Show that if λ is a characteristic root of a non-singular matrix A, then λ−1
is a characteristic root of A−1 .
Solution.
Av = λv v 6= 0
−1 −1
⇒ A Av = λA v
⇒ A−1 v = λ−1 v
Thus λ−1 is a characteristic root of A−1 .
Define
1 − aa11 . . . − aa1n
12
11
0 1 ... 0
Q=
...
0 0 ... 1
2
0 a11 0
Then Q is non-singular, and Q AQ = , where S is (n − 1) × (n − 1) positive
0 S
definite. Let Q∗ be a (n − 1) × (n − 1) non-singular
matrix such that Q∗ 0 SQ∗ is diagonal,
1 0
by induction. Then let Q1 = , and let P = Q1 Q. Then P0 AP is diagonal
0 Q∗
(b11 , b22 , . . . , bnn ). Let B = diagonal ( √b111 , . . . , √b1nn ). Then B0 P0 APB = In .
The quadratic form Q(x, y, z) associated with the given matrix A is given by
1 2 3 x
x y z 2 5 7 y = x2 + 5y 2 + 11z 2 + 4xy + 6xz + 14yz
3 7 11 z
then x0 BB0 x = Q = x0 Ax, so A = BB0 as A and BB0 are both symmetric. Clearly
1 0 0
B= 2 1 0
3 1 1
Solution. If A is non-singular, then the system is consistent because the rank of the
coefficient matrix A = n = rank of the n × n + 1 augmented matrix (A, B). If x1 , x2 are
two solutions, then
Ax1 = B = Ax2
=⇒ A(x1 − x2 ) = 0
=⇒ A−1 A(x1 − x2 ) = 0
=⇒ x1 = x2
Thus the unique solution is given by the column vector x = A−1 B.
3
Question 2(c) Prove that two similar matrices have the same characteristic roots. Is the
converse true? Justify your claim.
Then A and B have the same characteristic polynomial (λ − 1)2 and thus the same charac-
teristic roots. But B can never be similar to A because P−1 BP = B whatever P may be.
4
UPSC Civil Services Main 2001 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Show that the vectors (1, 0, −1), (0, −3, 2) and (1, 2, 1) form a basis of the
vector space R3 (R).
Solution. Since dimR (R3 ) = 3, it is enough to prove that these are linearly independent.
If possible, let
a(1, 0, −1) + b(0, −3, 2) + c(1, 2, 1) = 0
This implies
a + c = 0, −3b + 2c = 0, −a + 2b + c = 0
Solving for c, c + 34 c + c = 0, so c = 0, hence a = b = 0. (Note that if these linearly
independent vectors were not a basis, they could be completed into one, but in R3 any four
vectors are linearly dependent, so this is a maximal linearly independent set, hence it is a
basis.
Alternate Solution. Since dim(R3 ) = 3, to show that (1, 0, −1), (0, −3, 2) and (1, 2, 1)
form a basis it is enough to show that these vectors generate R3 . In fact, given (x1 , x2 , x3 ),
we can always find a, b, c s.t. (x1 , x2 , x3 ) = a(1, 0, −1) + b(0, −3, 2) + c(1, 2, 1) as follows:
a + c = x1 , −3b + 2c = x2 , −a + 2b + c = x3 . Thus (c − x1 ) + 2(2c − x2 )/3 + c = x3 ,
so c + 34 c + c = x1 + 23 x2 + x3 . Thus c = 3x1 +2x 10
2 +3x3
, a = x1 − c = 7x1 −2x10
2 −3x3
, and
2c−x2 x1 −x2 +x3
b= 3 = 5
.
|A|
Question 1(b) If λ is a characteristic root of a non-singular matrix A, then prove that λ
is a characteristic root of Adj A.
Solution. If µ is a characteristic root of A, then aµ is a characteristic root of aA for a
constant a, because if Av = µv, v 6= 0 a vector, then aAv = aµv. Hence the result.
If λ is the characteristic root of A, |A| 6= 0, then λ 6= 0, and λ−1 is a characteristic root
of A−1 , because Av = λv =⇒ A−1 v = λ−1 v.
Since Adj A = A−1 |A|, it follows that |A| λ
is a characteristic root of Adj A.
1
1 0 0
Question 2(a) If A = 1 0 1 show that for all integers n ≥ 3, An = An−2 + A2 − I.
0 1 0
50
Hence determine A .
or (λ−1)(λ2 −1) = λ3 −λ2 −λ+1 = 0. From the Cayley-Hamilton theorem, A3 −A2 −A+I =
0 ⇒ A3 = A + A2 − I. Thus the result is true for n = 3. Suppose the theorem is true for
n = m i.e. Am = Am−2 + A2 − I. We shall prove it for m + 1.
Am+1 = Am A
= (Am−2 + A2 − I)A
= Am−1 + A3 − A
= Am−1 + A2 + A − A − I
= Am−1 + A2 − I
A50 = 25A
2
− 24I
25 0 0 24 0 0
= 25 25 0 − 0 24 0
25 0 25 0 0 24
1 0 0
= 25 1 0
25 0 1
2
Question
2(c) Determine
the orthogonal matrix P such that P−1 AP is diagonal where
7 4 −4
A= 4 −8 −1 .
−4 −1 −8
From the second and third we get 18x2 +18x3 = 0. Take x2 = 1. Then x3 = −1, x1 = 4,
so (4, 1, −1) is an eigenvector for λ = 9.
Let
0 − 13 √4
18
P= √1 2 √1
2 3 18
√1 − 32 − √118
2
3
Clearly P0 P = I, since the columns of P are mutually orthogonal unit vectors.
Moreover from
−9 0 0
Ax = xλ for the eigenvalues and eigenvectors, it follows that AP = P 0 −9 0 .
0 0 9
−9 0 0
−1
Thus P AP = 0 −9 0 , which is diagonal as required.
0 0 9
E = (X − x1 )2 + . . . + (X − xn )2
= nX 2 − 2X(x1 + . . . + xn ) + (x21 + x22 + . . . + x2n )
Setting b1 = b2 = . . . = bn = 1, we get
n
! n
!2
X X
n a2i − ai ≥0
i=1 i=1
4
UPSC Civil Services Main 2002 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Solution.
T(a, b, c) + T(x, y, z) = (a − b, b − c, a + c) + (x − y, y − z, x + z)
= (a − b + x − y, b − c + y − z, a + c + x + z)
= T(a + x, b + y, c + z)
Thus T is linear.
Now we show that
T(1, 0, 0) = (1, 0, 1)
T(0, 1, 0) = (−1, 1, 0)
T(0, 0, 1) = (0, −1, 1)
1
Thus (1, 0, 1), (−1, 1, 0), (0, −1, 1) are linearly independent.
Since (1, 0, 0), (0, 1, 0), (0, 0, 1) generate R3 , (1, 0, 1), (−1, 1, 0), (0, −1, 1) generate T(R3 ),
hence dim(T(R3 )) = 3. Thus T is non-singular.
Alternatively,
T(a, b, c) = (0, 0, 0) ⇐⇒ a − b = 0, b − c = 0, a + c = 0 =⇒ a = b = c = 0
Question 1(b) Prove that a square matrix A is non-singular if and only if the constant
term in its characteristic polynomial is different from 0.
Solution. Let
a11 ... a1n
a21 ... a2n
A=
. . .
... ...
an1 ... ann
Then characteristic polynomial of A = Det(xI − A). I = n × n unit matrix. Clearly
n
X
Det(xI − A) = xn − aii xn−1 + . . . + (−1)n DetA
i=1
Solution. Clearly
T (1, 0, 0, 0, 0) = (0, 0, 0, 0, 0)
T (0, 1, 0, 0, 0) = (1, 0, 1, 0, 1)
T (0, 0, 1, 0, 0) = (0, 0, 0, 0, 0)
T (0, 0, 0, 1, 0) = (−1, 1, 0, 2, 0)
T (0, 0, 0, 0, 1) = (0, 1, 0, 1, 1)
are generators of the range space of T . In fact, if v1 = (1, 0, 1, 0, 1), v2 = (−1, 1, 0, 2, 0), v3 =
(0, 1, 0, 1, 1) then v1 , v2 , v3 generate T (R5 ). We now show that v1 , v2 , v3 are linearly inde-
pendent. Let α1 v1 +α2 v2 +α3 v3 = 0. Then α1 −α2 = 0, α2 +α3 = 0, α1 = 0 ⇒ α2 = α3 = 0.
Thus v1 , v2 , v3 are linearly independent over R ⇒ T (R5 ) is of dimension 3 with basis
v 1 , v2 , v3 .
Thus the null space is of dimension 2, because dim(null space) + dim(range space) =
dim(given vector space = R5 ) = 5. Since e1 = (1, 0, 0, 0, 0) and e3 = (0, 0, 1, 0, 0) belong to
the null space of T , and both are linearly independent over R, e1 , e3 is a basis of the null
space of T .
2
Question 2(b) Let A be a 3 × 3 real symmetric matrix with eigenvalues 0, 0, 5. If the
corresponding eigenvectors are (2, 0, 1), (2, 1, 1), (1, 0, −2) then find the matrix A.
2 2 1 0 0 0 0 0 0
Solution. Let P = 0 1 0 , then P−1 AP = 0 0 0, so A = P 0 0 0 P−1 .
1 1 −2 2 0 0 5 0 0 5
1
5
−1 5
−1
A simple calculation shows that P = 0 1 0 , therefore
1
5
0 − 25
2
−1 15
2 2 1 0 0 0 5
1 0 −2
A = 0 1 0 0 0 0 0 1 0 = 0 0 0
1
1 1 −2 0 0 5 5
0 − 25 −2 0 4
1 0 −2
Thus 0 0 0 is the required symmetric matrix with 0, 0, 5 as eigenvalues.
−2 0 4
3
−1 − 4x4 −2 −3
1
x1 = − 5x4 + 2x5 3 5
6
17 − 3x4 + 4x5 1 −2
1
= − [(−1 − 4x4 )(−11) − 3(5x4 + 2x5 − 51 + 9x4 − 12x5 ) + 2(−10x4 − 4x5 − 85 + 15x4 − 20x5 )]
6
1
= − [−6 + 44x4 − 42x4 + 10x4 + 30x5 − 48x5 ]
6
= 1 − 2x4 + 3x5
1 −1 − 4x 4 −3
1
x2 = − −1 5x4 + 2x5 5
6
2 17 − 3x4 + 4x5 −2
1
= − [−10x4 − 4x5 − 85 + 15x4 − 20x5 − 8 − 32x4 + 51 − 9x4 + 12x5 + 30x4 + 12x5 ]
6
1
= − [−42 − 6x4 ]
6
= 7 + x4
1 −2 −1 − 4x 4
1
x3 = − −1 3 5x4 + 2x5
6
2 1 17 − 3x4 + 4x5
1
= − [51 − 9x4 + 12x5 − 5x4 − 2x5 − 34 + 6x4 − 8x5 − 20x4 − 8x5 + 7 + 28x4 ]
6
1
= − [24 − 6x5 ]
6
= −4 + x5
4
Question 2(d) Use Cayley-Hamilton theorem to find the inverse of the following matrix
0 1 2
A= 1 2 3
3 1 1
Check A−1 A = I.
5
UPSC Civil Services Main 2003 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let S be any non-empty subset of a vector space V over the field F . Show
that the set {a1 x1 + . . . + an xn | a1 , . . . , an ∈ F, x1 , . . . xn ∈ S, n ∈ N} is the subspace
generated by S.
1
Cayley-Hamilton theorem, we get A3 − 5A2 + 7A − 3I = 0. Now
Question 2(a) Prove that the eigenvectors corresponding to distinct eigenvalues of a square
matrix are linearly independent.
α 1 x1 + . . . + α r x r = 0 (1)
Question 2(b) If H is a Hermitian matrix, then show that (H + iI)−1 (H − iI) is a unitary
matrix. Also show that every unitary matrix A can be written in this form provided 1 is not
an eigenvalue of A.
2
x1
Solution. Let Q(x1 , x2 , x3 ) = x1 x2 x3 A x2 be the quadratic form associated with
x3
A. Then
1 − 31 31
X1 x1 x1 6 0 0
1
where X2 = 0 1 − 7
x2 = B x2 . Thus A = BDB where D = 0 73
0 0 0
16
X3 0 0 1 x3 x3 0 0 7
1 0 0
1
and B = − 3 1 0
1
3
− 17 1
Question 2(d) Reduce the quadratic form given below to canonical form and find its rank
and signature:
x2 + 4y 2 + 9z 2 + u2 − 12yx + 6zx − 4zy − 2xu − 6zu
Solution. Let
3
Put
X = x − 6y + 3z − u
1 3
Y = y− z+ u
2 4
3
Z = z− u
2
U = u
2
√ that ∗Q(x,√y, z, u)∗ is transformed∗2 to X∗2 − 32Y
so 2
+ 8Z 2 . We now put X ∗ = X, Y ∗ =
32Y, Z = 8Z, U = U to get X − Y + Z ∗2 as the canonical form of Q(x, y, z, u).
Rank of Q(x, y, z, u) = 3 = rank of the associated matrix. Signature of Q(x, y, z, u) =
number of positive squares - number of negative squares = 2 − 1 = 1.
4
UPSC Civil Services Main 2004 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let S be the space generated by the vectors {(0, 2, 6), (3, 1, 6), (4, −2, −2)}.
What is the dimension of S? Find a basis for S.
Solution. (0, 2, 6), (3, 1, 6) are linearly independent, because α(0, 2, 6) + β(3, 1, 6) = 0 ⇒
3β = 0, 2α + β = 0 ⇒ α = β = 0. Thus dim S ≥ 2.
If possible let (4, −2, −2) = α(0, 2, 6)+β(3, 1, 6), then 4 = 3β, −2 = 2α+β, −2 = 6α+6β
should be consistent. Clearly β = 43 , α = 12 (−2 − 43 ) = − 53 from the first two equations, and
these values satisfy the third. Thus (4, −2, −2) is a linear combination of (0, 2, 6) and (3, 1, 6).
Hence dim S = 2 and {(0, 2, 6), (3, 1, 6)} is a basis of S, being a maximal linearly inde-
pendent subset of a generating system.
Solution.
1
General solution. Clearly f : R3 −→ R is onto, thus the dimension of the range of
f is 1. From question 3(a) of 1998, dimension of nullity of f + dimension of range of f =
dimension of domain of f , so the dimension of the nullity of f = 2. Given this, we can pick
a basis for the kernel by looking at the given transformation.
Question 2(a) Show that T the linear transformation from R3 to R4 represented by the
matrix
1 3 0
0 1 −2
2 1 1
−1 1 2
is one to one. Find a basis for its image.
x + 3z = 5
−2x + 5y − z = 0
−x + 4y + z = 4
Solution. The first equation gives x = 5 − 3z, the second now gives 5y = z + 10 − 6z = 10 −
5z ⇒ y = 2−z. Putting these values in the third equation we get 4 = −5+3z+8−4z+z = 3,
hence the given system is inconsistent.
1 0 3 1 0 3 5
Alternative. Let A = −2 5 −1 be the coefficient matrix and B = −2 5 −1 0
−1 4 1 −1 4 1 4
be the augmented matrix, then it can be shown that rank A = 2 and rank B = 3, which
implies that the system is inconsistent. For consistency the ranks should be equal. This
procedure will be longer in this particular case.
2
1 1
Question 2(c) Find the characteristic polynomial of the matrix A = . Hence find
−1 3
A−1 and A6 .
x − 1 −1
Solution. The characteristic polynomial of A is given by |xI − A| = =
1 x − 3
(x − 1)(x − 3) + 1 = x2 − 4x + 4.
2
The Cayley-Hamilton theorem states that A satisfies its characteristic equation
i.e. A −
−3 1
4A + 4I = 0 ⇒ (A − 4I)A = A(A − 4I) = −4I. Thus A−1 = − A−4I = − 14 =
3
4 −1 −1
− 41
4
1 1
4 4
From A2 − 4A + 4I = 0 we get
A2 = 4A − 4I
A3 = 4A2 − 4A = 4(4A − 4I) − 4A = 12A − 16I
A6 = (12A − 16I)2 = 144A2 − 384A + 256I = 144(4A − 4I) − 384A + 256I
−128 192
= 192A − 320I =
−192 256
Question 2(d) Define a positive definite quadratic form. Reduce the quadratic form x21 +
x23 + 2x1 x2 + 2x2 x3 to canonical form. Is this quadratic form positive definite?
Solution. If Q(x1 , . . . , xn ) = ni=1 aij xi xj , aij = aji is a quadratic form in n variables with
P
j=1
aij ∈ R, thenPit is said to be positive definite if Q(α1 , . . . , αn ) > 0 whenever αi ∈ R, i =
1, . . . , n and i αi2 > 0.
Let the qiven be Q(x1 , x2 , x3 ). Then
Let X1 = x1 + x2 , X2 = x2 , X3 = x2 + x3 i.e.
x1 1 −1 0 X1
x2 = 0 1 0 X2
x3 0 −1 1 X3
then Q(x1 , x2 , x3 ) is transformed to X12 − 2X22 + X32 . Since Q(x1 , x2 , x3 ) and the transformed
quadratic form assume the same values, Q(x1 , x2 , x3 ) is an√indefinite form. The canonical
form of Q(x1 , x2 , x3 ) is Z12 − Z22 + Z32 where Z1 = X1 , Z2 = 2X2 , Z3 = X3 .
3
UPSC Civil Services Main 2005 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Find the values of k for which the vectors (1, 1, 1, 1), (1, 3, −2, k), (2, 2k −
2, −k − 2, 3k − 1) and (3, k − 2, −3, 2k + 1) are linearly independent in R4 .
is non-singular.
Now
1 1 1 1 1 0 0 0
2 −3 k − 1
1 3 −2 k 1 2 −3 k − 1
2 2k − 2 −k − 2 3k − 1 = 2 2k − 4 −k − 4 3k − 3 = 2k − 4 −k − 4 3k − 3
k−1 −6 2k − 2
3 k + 2 −3 2k + 1 3 k − 1 −6 2k − 2
2
−3 k − 1
= 2k − 4 −k − 4 3k − 3 = (k − 5)[−9k + 9 + (k − 1)(k + 4)] 6= 0
k−5 0 0
1
Question 1(b) Let V be the vector space of polynomials in x of degree ≤ n over R. Prove
that the set {1, x, x2 , . . . , xn } is a basis for V. Extend this so that it becomes a basis for the
set of all polynomials in x.
S
with coefficients from R. Thus {1, x, x2 , . . . , xn } is a basis for V.
We shall show that = {1, x, x2 , . . . , xn , xn+1 , . . .} is a basis for the space of all polyno-
mials.
S
(i) Linear Independence: Let {xi1 , . . . , xir } be a finite subset of . Let n = max{i1 , . . . , ir },
S
then {xi1 , . . . , xir } being a subset of the linearly independent set {1, x, x2 , . . . , xn } is linearly
independent, which shows the linear independence of .
S S
(ii) Let f be any polynomial. If degree of f is m, then f is a linear combination of
{1, x, x2 , . . . , xm }, which is a subset of . Thus is a basis of W, the space of all
polynomials over R.
3
Question 2(a) Let T bea linear transformation on R whose matrix relative to the standard
3
2 1 −1
basis of R is 1 2 2 . Find the matrix of T relative to the basis
3 3 4
B
= {(1, 1, 1), (1, 1, 0), (0, 1, 1)}.
B
7 6 3
This shows that the matrix of T with respect to given basis is −5 −3 −3
3 0 4
2
Question 2(c) Reduce the quadratic form
to a sum of squares. Also find the corresponding linear transformation, index and signature.
Solution.
√1 Z1
X1 q 6
3
X2 = 7 Z2
q
X3 7
Z
11 3
then Q(x1 , x2 , x3 ) is transformed to Z12 + Z22 + Z32 , which is its canonical form. Thus
Q(x1 , x2 , x3 ) is positive definite. The Index of Q(x1 , x2 , x3 ) = Number of positive squares in
its canonical form = 3. The signature of Q(x1 , x2 , x3 ) = Number of positive squares - the
number of negative squares in its canonical form = 3.
The required linear transformation which transforms Q(x1 , x2 , x3 ) to sums of squares is
given by (1), and the linear transformation which transforms it to its canonical form is given
by
√1
1 1 0 0
x1 1 3 −7 6 q Z1
3
x2 = 0 1 4 0 7
0 Z2
7 q
x3 0 0 1 0 0 7 Z3
11
3
UPSC Civil Services Main 2006 - Mathematics
Linear Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let V be a vector space of all 2 × 2 matrices over the field F. Prove that V
has dimension 4 by exhibiting a basis for V.
Solution. Let M1 = 10 00 , M2 = 00 10 , M3 = 01 00 , M4 = 00 01 . We will show that
{M1 , M2 , M3 , M4 } is a basis of V over F.
{M1 , M2 , M3 , M4 } generate V. Let A = ac db ∈ V. Then A = aM1 + bM2 + cM3 +
dM4 , where a, b, c, d ∈F. Thus {M1 , M2 , M3 , M4 } is a set of generators for V over F.
{M1 , M2 , M3 , M4 } are linearly independent over F. If aM1 + bM2 + cM3 + dM4 =
a b = 0 for a, b, c, d ∈F, then clearly a = b = c = d = 0, showing that {M , M , M , M }
c d 1 2 3 4
are linearly independent over F.
Hence {M1 , M2 , M3 , M4 } is a basis of V over F and dim V = 4.
1 3
Question 1(b) State the Cayley-Hamilton theorem and using it find the inverse of 2 4 .
Solution. Let A be an n × n matrix and let In be the n × n identity matrix. Then the n-
degree polynomial |xIn −A| is called the charateristic polynomial of A. The Cayley-Hamilton
theorem states that every matrix is a root of its characteristic polynomial:
if |xIn − A| = xn + a1 xn−1 + . . . + an
then An + a1 An−1 + . . . + an In = 0
1
B
Question 2(a) If T : R2 −→ R2 is defined by T(x, y) = (2x − 3y, x + y), compute the
matrix of T with respect to the basis = {(1, 2), (2, 3)}.
0 1 2 1
Operation R3 − R1 gives
1 2 6 3
0 1 0 0
A∼
0 −4 −9 −5
0 1 2 1
Operations R3 + 4R2 , R4 − R2 ⇒
1 2 6 3
0 1 0 0
A∼
0 0 −9 −5
0 0 2 1
R4 + 92 R3 ⇒
1 2 6 3
0 1 0 0
A∼
0 0 −9 −5
0 0 0 − 91
Clearly |A| = 1 ⇒ rank A = 4.
2
Question 2(c) Investigate for what values of λ and µ the equations
x+y+z = 6
x + 2y + 3z = 10
x + 2y + λz = µ
have (1) no solution (2) a unique solution (3) infinitely many solutions.
Solution.
(2) The equations will have a unique solution
for all values of µ if the coefficient
1 1 1 1 1 1 1 0
0
matrix 1 2 3 is non-singular. i.e. 1 2 3 = 1 1 2 = λ − 1 − 2 6= 0 i.e. λ 6= 3.
1 2 λ 1 2 λ 1 1 λ − 1
Thus for λ 6= 3 and for all µ we have a unique solution which can be obtained by Cramer’s
rule or otherwise.
(1) If λ = 3, µ 6= 10 then the system is inconsistent and we have no solution.
(3) If λ = 3, µ = 10, the system will have infinitely many solutions obtained by solving
x + y = 6 − z, x + 2y = 10 − 3z ⇒ x = 2 + z, y = 4 − 2z, z is any real number.
Question 2(d) Find the quadratic form q(x, y) corresponding to the symmetric matrix
5 −3
A=
−3 8
3
UPSC Civil Services Main 1979 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Define the centre of a group and show that a group of prime power has a
non-trivial centre. Hence or otherwise prove that a group of order p2 is abelian for every
prime p.
Solution. See theorem 2.11.2 Page 86 of Algebra by Herstein. See also the corollary to the
theorem.
Question 1(b) Show that any two cyclic groups of the same order are isomorphic.
3. T is onto is obvious.
Thus G1 ' G2 .
Case 2. ord(G1 ) = ord(G2 ) = n. Again define T (ar ) = br . Let α, β ∈ G1 ⇒ α =
a , β = as ⇒ T (αβ) = T (ar+s ). If r + s ≡ t mod n, then T (αβ) = T (at ) = bt = br+s =
r
1
√ √ √ √
Question 1(c) If Q is the field of rational numbers, prove that Q( 2, 3) = Q( 2 + 3),
where Q(a1 , a2 ) is the smallest subfield of the real field containing Q, a1 , a2 .
√ √ √ √ √ √
Solution. Clearly Q( √2, 3) √ ⊇ Q( 2 + 3). √ We√ shall prove
√ that√ the degree of√Q( 2, √ 3)
over Q =√degree√of Q( 2 + 3) = 4 ⇒ Q( 2, 3) = Q( √ 2 + 3). Let x = 2 +√ 3 so
that x − 2 = 3. Squaring both sides, we get x2 − 2 2x + 2 = 3 ⇒ x2 − 1 = 2 2x ⇒
x4 − 2x2 + 1 = 8x2 ⇒ x4 − 10x2 + 1 = 0. Now x4 − 10x2 + 1 is irreducible over Q — it has no
rational roots, as ±1 are not roots of the polynomial. Another way√to see √ this is to observe
that t2 −√10t + 1 √ has no rational roots,
√ so is irreducible.
√ Thus (Q( 2 + √3) : Q) = 24.
2
Now 3 6∈ Q( √2), because if 3 √ = a√ + b 2, a,√b ∈ Q, then 3 = √a √ + 2 2ab + 2b , which
would imply that 2 ∈ Q. Thus (Q( 2, 3) : Q( 2) = 2 ⇒ (Q( 2, 3) : Q) = 4.
2
UPSC Civil Services Main 1980 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let R be a relation on a non-empty set A and for every y ∈ A let
By = {x | (x, y) ∈ R}
Question 1(b) Let I be the set of integers and let R be a relation on I × I defined by
(m, n)R(p, q) if and and only if mq = np. Show that R is an equivalence relation and
identify the partition generated by R.
Solution. The question as stated is not correct. (2, 3)R(0, 0) and (0, 0)R(1, 2), but
(2, 3)R(1, 2) is false, as 2 × 2 6= 3 × 1. However if we define I ∗ = I − {0}, and R is de-
fined as a relation over I × I ∗ with the above definition, then we can show that it is an
equivalence relation.
1
Reflexive: Clearly (m, n)R(m, n), as mn = nm. Symmetric: (m, n)R(p, q) ⇒ (p, q)R(m, n)
because mq = np ⇒ qm = pn. Transitive: If (m, n)R(p, q), then mq = np. If (p, q)R(r, s)
then ps = qr. Thus mqs = nps = nqr ⇒ ms = nr because q 6= 0. Thus (m, n)R(r, s).
Clearly B(m,n) = {(a, b) | mb/n ∈ I, a = mb/n}. In fact this is isomorphic to the set of
all rational numbers.
Question 1(c) Let A and B be any two non-empty sets. Show that the collections of all
mappings from A to B is a proper subset of the collection of all relations from A to B.
Solution. Let f be a function from A to B. Then the set {(a, f (a)) | a ∈ A} is a relation
from A to B. Thus the set of all functions is a subset of the set of all relations. It is a proper
subset if B has more than one element — the R = A × B is a relation from A to B, but is
not a function.
Solution. Let G be the set of all transformations, and H be the set of all transformations
where a, b, c, d are integers.
• G is nonempty. I : x −→ x is in G, with a = d = 1, b = c = 0.
a x+b
a1 x+b1 a2 x+b2 a2 c 1x+d1 +b2 (a1 a2 +b2 c1 )x+a2 b1 +b2 d1
• If T1 (x) = c1 x+d1
, T2 (x) = c2 x+d2
, then (T2 ◦ T1 )(x) = 1
a x+b
1
= (c2 a1 +d2 c1 )x+c2 b1 +d1 d2
c2 c 1x+d1 +d2
1 1
is an element of G because (a1 a2 + b2 c1 )(c2 b1 + d1 d2 ) − (a2 b1 + b2 d1 )(c2 a1 + d2 c1 ) =
(a1 d1 − b1 c1 )(a2 d2 − b2 c2 ) = 1.
• T ◦ I = I ◦ T = T for every T ∈ G.
2
Question 2(b) Show that a group of order 15 is cyclic.
Solution. By Cauchy’s theorem, a group of order 15 has an element a such that the order of
a = o(a) = 5 and G has an element b such that o(b) = 3. Let H = hai , the group generated
by a, and K = hbi , the group generated by b. Then H ∩ K = {e}, because x ∈ H ⇒ x = e
or o(x) = 5, and x ∈ K ⇒ x = e or o(x) = 3.
Since G has a unique subgroup of order 5, and a unique subgroup of order 3, by Sylow’s
theorems, H, K are normal subgroups of G. Then ab = ba because aba−1 ∈ H, ba−1 b−1 ∈
K ⇒ aba−1 b−1 ∈ H ∩ K ⇒ ab = ba. Hence o(ab) = 15 ⇒ G is cyclic.
Here we have used the fact that if in a group G, o(x) = l, o(y) = m, (l, m) = 1, xy =
yx ⇒ o(xy) = lm.
Question 2(c) Let G be a finite group and F = {f : G −→ C} be the set of all complex
valued functions on G. If addition and multiplication in F are defined for f, g ∈ F by
Solution. F is a commutative group for addition is obvious, as the 0 function is the additive
identity, −f is the inverse of f , and + is commutative and associative in C.
Let e∗ : F −→ C be defined by e∗ (x) = 1 if x = e, 0 otherwise. Then
X
(f.e∗ )(x) = f (xy −1 )e∗ (y) = f (xe−1 ) = f (x)
y∈G
and X
(e∗ .f )(x) = e∗ (xy −1 )f (y) = f (x)
y∈G
3. (f + g)h = f h + gh
3
UPSC Civil Services Main 1981 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Solution.
A ∩ B ⊆ A ⇒ f (A ∩ B) ⊆ f (A)
A ∩ B ⊆ B ⇒ f (A ∩ B) ⊆ f (B)
⇒ f (A ∩ B) ⊆ f (A) ∩ f (B)
A ⊆ A ∪ B ⇒ f (A) ⊆ f (A ∪ B)
B ⊆ A ∪ B ⇒ f (B) ⊆ f (A ∪ B)
⇒ f (A) ∪ f (B) ⊆ f (A ∪ B)
Thus the two sides are contained in each other, hence must be equal.
1
Question 1(b) Define a binary relation on a set A. Give examples of relations which are
Solution.
1. Reflexive, symmetric but not transitive. A = {a, b, c}, and R = {(a, a), (b, b), (c, c), (a, b),
(b, c), (b, a), (c, b)}.
2. reflexive, transitive but not symmetric. A = {a, b, c}, and R = {(a, a), (b, b), (c, c), (a, b),
(b, c), (a, c)}.
3. symmetric, transitive but not reflexive. A = {a}, R = ∅. Note that if (x, y) ∈ R, then
by symmetry (y, x) ∈ R, and then by transitivity (x, x) ∈ R, (y, y) ∈ R. Hence for any
element a ∈ A, (a, a) 6∈ R ⇒ (a, b) 6∈ R, (b, a) 6∈ R for all b ∈ A.
2
2. G is closed w.r.t. multiplication, as shown in the following table.
A1 A2 A3 A4 A5 A6 A7 A8
A1 A1 A2 A3 A4 A5 A6 A7 A8
A2 A2 A1 A4 A3 A6 A5 A8 A7
A3 A3 A4 A1 A2 A7 A8 A5 A6
A4 A4 A3 A2 A1 A8 A7 A6 A5
A5 A5 A7 A6 A8 A1 A3 A2 A4
A6 A6 A8 A5 A7 A2 A4 A1 A3
A7 A7 A5 A8 A6 A3 A1 A4 A2
A8 A8 A6 A7 A5 A4 A2 A3 A1
3
UPSC Civil Services Main 1982 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
November 1, 2008
Solution.
1. If ∗ is any binary operation on any set S, then a ∗ a = a for all a ∈ S.
False. Take S = Z, ∗ = +, 2 + 2 6= 2.
2. If ∗ is any commutative binary operation on any set S, then a ∗ (b ∗ c) = (b ∗ c) ∗ a.
True.
1
3. If ∗ is any associative binary operation on any set S, then a ∗ (b ∗ c) = (b ∗ c) ∗ a.
1 0 1 0
False. Take S = 2×2 matrices, ∗ = multiplication. Let a = ,b = ,c =
0 0 1 0
1 0
. Then a ∗ (b ∗ c) = a, (b ∗ c) ∗ a = b 6= a.
0 1
4. Every binary operation defined on a set having exactly one element is both commutative
and associative.
True.
5. A binary operation on a set S assigns at least one element to each ordered pair of
elements of S.
True, since a binary operation assigns exactly one element to each ordered pair.
6. A binary operation on a set S assigns at most one element to each ordered pair of
elements of S.
True, same reason as above.
7. A binary operation on a set S may associate more than one element to some ordered
pair of elements of S.
False.
8. A binary operation on a set S may assign exactly one element to each ordered pair of
elements of S.
True.
2
Question 1(d) Let I be an ideal in a ring R and let the coset of the element x ∈ R be
defined by x + I = {x + i | i ∈ I}. Then the distinct cosets form a partition of R, and if
addition and multiplication are defined by (x+I)+(y +I) = x+y +I, (x+I)(y +I) = xy +I,
then the cosets constitute a ring R/I in which the 0 element is 0 + I and the inverse of x + I
is (−x) + I.
1. 0 + I = I ∈ R/I ⇒ R/I 6= ∅. R/I is clearly closed for addition. Note that addition is
well-defined i.e. if x + I = x1 + I, y + I = y1 + I ⇒ x + y + I = x1 + y1 + I.
2. (x + I) + (0 + I) = (x + 0) + I = x + I = (0 + I) + (x + I) for every x ∈ R, so 0 + I is
the additive identity of R/I.
4. Addition is associative and commutative, follows from the fact that this is so in R.
3
UPSC Civil Services Main 1983 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Show that the set I × I of integers is a commutative ring with unity with
respect to addition and multiplication defined as under:
(a, b) + (c, d) = (a + c, b + d)
(a, b)(c, d) = (ac, bd)
2. (0, 0) + (a, b) = (a, b) + (0, 0) = (a, b). Thus (0, 0) is the additive identity of I × I.
3. (a, b)+(−a, −b) = (0, 0) = (−a, −b)+(a, b), thus every element has an additive inverse.
1
Question 1(b) Prove that the relation of isomorphism on the collection of groups is an
equivalence relation.
Question 1(c) Prove that a polynomial domain K[x] over a field K is a principal ideal
domain.
Solution. Let A be an ideal of K[x], A 6= h0i , A 6= K[x]. Let f (x) be a polynomial of the
smallest degree in A − {0}. Then f (x) is a generator of A, proved as follows: if g(x) 6= 0 be
any element of A. If f (x) does not divide g(x), then since K[x] is a Euclidean domain (proof
below), there exist polynomials q(x) and r(x) in K[x] such that g(x) = f (x)q(x) + r(x),
where deg(r(x)) < deg(f (x)). Since g(x), f (x) ∈ A and A is an ideal, it follows that
r(x) = g(x) − f (x)q(x) ∈ A, which contradicts the fact that f (x) has smallest degree in A.
Thus any element of A is divisible by f (x) ⇒ A = hf (x)i , the ideal generated by f (x) (note
that 0 = f (x)0).
Proof of the fact that K[x] is a Euclidean domain. The Euclidean function d : K[x] −
{0} −→ Z is the degree of a polynomial.
3. Given g(x) and f (x) 6= 0, we show that there exist q(x), r(x) such that g(x) =
q(x)f (x) + r(x) where r(x) = 0 or d(r(x)) < d(f (x)). The proof is by induction
on the degree n of g(x). If n < d(f (x)) = m, then q(x) = 0, r(x) Pn = g(x). Suppose
i
the result
P holds ifor all polynomials of degree < n. Let g(x) = i=0 bi x , bn 6= 0 and
f (x) = m a
i=0 i x . Let h(x) = g(x) − (bn /am )xn−m
f (x). Then degree of h(x) < n, and
therefore there exist q1 (x) and r(x) such that h(x) = q1 (x)f (x) + r(x) where r(x) = 0
or d(r(x)) < m. Hence g(x) = (q1 (x) + (bn /am )xn−m )f (x) + r(x).
2
UPSC Civil Services Main 1984 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Solution. Let a, b ∈ S.
• 0 ∈ S.
• ab ∈ S, given.
1
Question 1(c) Prove that for any two ideals A and B of a ring R, the product AB is an
ideal of R.
P
Solution. Note first that AB = { i∈F ai bi | ai ∈ A, bP
i ∈ B, F finite}.
AB isPa subring of R. If x ∈ AB, y ∈ AB, then x = i∈F ai bi | ai ∈ A, bi ∈ B, F finite
and y = i∈G ci di | ci ∈ A, di ∈ B, G finite. Clearly
X X
x−y = ai bi + ci di ∈ AB
i∈F i∈G
X X X
xy = ai bi ci di = xi yi where xi ∈ A, yi ∈ B
i∈F i∈G i∈H
2
UPSC Civil Services Main 1985 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) State and prove the fundamental theorem of homomorphisms of groups.
• φ is well defined: We need to show that φ does not depend on the choice of coset
representative i.e. if g1 N = g2 N then φ(g1 N ) = φ(g2 N ). Now g1 N = g2 N ⇒ g2−1 g1 ∈
N ⇒ f (g2−1 g1 ) = e0 ⇒ f (g1 ) = f (g2 ) ⇒ φ(g1 N ) = φ(g2 N ).
• φ is onto: Let y ∈ G0 , then f being onto, there exists x ∈ G such that f (x) = y.
Clearly φ(xN ) = f (x) = y.
1
Question 1(b) Prove that the order of each subgroup of a finite group divides the order of
the group.
4. The relation of isomorphism in the class of all groups is not an equivalence relation.
Solution.
4. The relation of isomorphism in the class of all groups is not an equivalence relation.
False.
• The relation ' is reflexive, as the identity map is an isomorphism from any group
to itself.
2
• If σ : G −→ G0 is an isomorphism, then σ −1 : G0 −→ G is an isomorphism, so '
is symmetric.
• If G1 ' G2 and σ1 : G1 −→ G2 , and G2 ' G3 , σ2 : G2 −→ G3 , then σ2 ◦ σ1 :
G1 −→ G3 is also an isomorphism, so G1 ' G3 , thus ' is transistive.
3
UPSC Civil Services Main 1986 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Prove that a map f : X −→ Y is injective if and only if f can be left
cancelled in the sense that f ◦ g = f ◦ h ⇒ g = h. Prove that f is surjective if and only if it
can be right cancelled in the sense that g ◦ f = h ◦ f ⇒ g = h.
Solution. Suppose that f is injective (1-1). Let f ◦ g = f ◦ h, where g, h are mappings
from Z −→ X, where Z can be arbitrary. We have to prove g(z) = h(z) ∀z ∈ Z. If
g(z) 6= h(z) then f (g(z)) 6= f (h(z)), since f is injective, consequently f ◦ g 6= f ◦ h. Thus
g(z) = h(z)∀z ∈ Z, so f ◦ g = f ◦ h ⇒ g = h.
Conversely let f ◦ g = f ◦ h ⇒ g = h. We have to prove that f is 1-1. Suppose it is
not 1-1. Then there exist x1 , x2 ∈ X, x1 6= x2 , f (x1 ) = f (x2 ). Define g, h : X −→ X by
g(x) = x1 , h(x) = x2 for all x ∈ X. Then ∀x ∈ X f (g(x)) = f (x1 ) = f (x2 ) = f (h(x)), so
f ◦ g = f ◦ h, but g 6= h, which is a contradiction. Thus f must be 1-1.
Suppose that f is onto. Given (g ◦ f )(x) = (h ◦ f )(x), we need to show that g(y) = h(y)
for all y ∈ Y . For any y ∈ Y , there exists x ∈ X such that f (x) = y, since f is onto. Thus
g(y) = (g ◦ f )(x) = (h ◦ f )(x) = h(y), showing that g ◦ f = h ◦ f ⇒ g = h.
Conversely let g ◦ f = h ◦ f ⇒ g = h. We have to prove that f is onto. Suppose it is
not onto. Then there exists y0 ∈ Y such that there is no x ∈ X such that f (x) = y0 . Let
g, h : Y −→ Z (for any Z) be defined by g(y) = h(y) if y 6= y0 , and g(y0 ) 6= h(y0 ). Clearly
(g ◦ f )(x) = (g ◦ f )(x) for every x ∈ X, but g 6= h, which is a contradiction. Thus f is onto.
1
UPSC Civil Services Main 1987 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
(g ◦ f ) ◦ (f −1 ◦ g −1 )(z) = (g ◦ f )f −1 (g −1 (z))
= (g ◦ f )(f −1 (g −1 (z)))
= g(f (f −1 (g(z))))
= g(g −1 (z)) = z ∀z ∈ Z
Thus (g ◦ f ) ◦ (f −1 ◦ g −1 ) = IZ .
Thus (f −1 ◦ g −1 ) ◦ (g ◦ f ) = IX , so f −1 ◦ g −1 = g ◦ f .
1
Question 1(c) If G is a finite group of order g and H is a subgroup of G of order h , then
prove that h is a factor of g.
2
UPSC Civil Services Main 1988 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) If H and K are normal subgroups of a group G such that H ∩ K = {e},
show that hk = kh for h ∈ H, k ∈ K.
Question 1(b) Show that the set of even permutations on n symbols, n > 1, is a normal
subgroup of the symmetric group Sn and has order n!/2.
Solution. Let An be the set of all even permutations, then An 6= ∅ because the identity
permutation is in An . If α, β ∈ An , then αβ ∈ An because α even, β even ⇒ αβ is an even
permutation. α ∈ An ⇒ α−1 ∈ An , because α even ⇒ α−1 even. Thus An is a subgroup of
Sn .
An is a normal subgroup. Let β ∈ An , then αβα−1 is even for all α ∈ Sn , because if α is
odd, then α−1 is odd, so αβα−1 is even, and if α is even, then α−1 is even, so αβα−1 is even.
Thus αβα−1 ∈ An for all α ∈ Sn , β ∈ An , so An is normal in Sn .
Since n > 1, Sn has an odd permutation, for example (1, 2). Then Sn = An ∪ An (1, 2) is
the coset decomposition of Sn modulo An : Let α ∈ Sn . If α is even, then α ∈ An . If α is
odd, then β = α(1, 2) is even, so β ∈ An . Now α = β(1, 2) ∈ An (1, 2), so Sn = An ∪ An (1, 2).
It is obvious the An ∩ An (1, 2) = ∅, so the index of An in Sn is 2, i.e. the order of An = n!/2
as required.
1
Question 1(c) Prove that the set of inner automorphisms of a group G is a normal subgroup
of the group of automorphisms of G.
Solution. Let A be the group of automorphisms of G and let I be the set of all inner
automorphisms (which are automorphisms of the form αa (x) = axa−1 for a ∈ G).
Thus I is a subgroup of G.
Let σ ∈ A be arbitrary. Then for any αa ∈ I,
Question 2(a) Show that the numbers 0, 2, 4, 6, 8 with addition and multiplication modulo
10 form a field isomorphic to J5 the ring of integers modulo 5. Give the isomorphism explic-
itly.
3. Clearly 2, 8 and 4, 6 are inverses of each other, so F is an abelian group under addition.
2
4. F is closed under multiplication. The multiplication table is
× 0 2 4 6 8
0 0 0 0 0 0
2 0 4 8 2 6
4 0 8 6 4 2
6 0 2 4 6 8
8 0 6 2 8 4
Question 2(b) If R is a commutative ring with identity and U is an ideal of R. Show that
U is maximal if and only if R/U is a field.
Solution. Let U be a maximal ideal. We already know that R/U is a commutative ring
with identity given by 1 + U . R/U will be a field if we show that every nonzero element
a + U ∈ R/U is invertible. Now a + U 6= U ⇒ a 6∈ U . Thus the ideal generated by a
and U contains U properly ⇒ ha, U i = R as U is maximal. Thus 1 = ab + u for some
b ∈ R, u ∈ U ⇒ (a + U )(b + U ) = 1 + U ⇒ a + U is invertible. Thus R/U is a field.
Conversely, let R/U be a field, and M ⊇ U be an ideal. We shall show that if M 6= U ,
then M = R ⇒ U is maximal. Now if M ) U ⇒ ∃a ∈ M, a 6= U . Thus a + U is a
non-zero element of R/U and therefore invertible i.e. there exists b + U ∈ R/U such that
(a + U )(b + U ) = 1 + U , or ab − 1 ∈ U ⇒ ab − 1 ∈ M . But ab ∈ M as a ∈ M , therefore
1 ∈ M ⇒ M = R ⇒ U is maximal.
See theorem 3.5.1 Page 138 of Algebra by Herstein for a different proof.
Question 2(c) Determine all the ideals U in J12 , the ring of integers modulo 12. In each
case describe J12 /U by finding a familiar ring with which the quotient ring is isomorphic.
Which of these ideals is maximal?
Solution. Let h[α]i denote the ideal generated by [α] ∈ J12 = {[0], [1], . . . [11]}. Since J12
3
is a principal ideal domain, we have to determine the distinct principal ideals. These are
h[0]i = {[0]}
h[1]i = J12 = h[11]i = h[5]i = h[7]i
h[2]i = {[0], [2], [4], [6], [8], [10]} = h[10]i
h[3]i = {[0], [3], [6], [9]} = h[9]i
h[4]i = {[0], [4], [8]} = h[8]i
h[6]i = {[0], [6]}
If U = h[2]i , then R/U = {[0]+U, [1]+U } ' Z/2Z, the isomorphism being σ([0]+U ) = 0
mod 2, σ([1] + U ) = 1 mod 2.
If U = h[3]i , then R/U = {[0] + U, [1] + U, [2] + U } ' Z/3Z, the isomorphism being
σ([0] + U ) = 0 mod 3, σ([1] + U ) = 1 mod 3, σ([2] + U ) = 2 mod 3.
If U = h[4]i , then R/U = {[0] + U, [1] + U, [2] + U, [3] + U } ' Z/4Z, the isomorphism
being σ([0] + U ) = 0 mod 4, σ([1] + U ) = 1 mod 4, σ([2] + U ) = 2 mod 4, σ([3] + U ) = 3
mod 4.
If U = h[6]i , then R/U = {[α] + U | 0 ≤ α ≤ 5} ' Z/6Z, the isomorphism being
σ([α] + U ) = α mod 6.
Clearly ideals generated by [2], [3] are maximal as R/h[2]i ' Z/2Z, and R/h[3]i ' Z/3Z,
which are fields.
Thus J12 has 6 ideals, namely h[0]i , h[1]i , h[2]i , h[3]i , h[4]i , h[4]i of which h[2]i , h[3]i are
maximal.
4
UPSC Civil Services Main 1989 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let G be a finite group of order 2p, p a prime. Show that G has a normal
subgroup of order p.
Solution. Assume that G has a subgroup H of p elements. We shall show that H is normal
in G. Clearly [G : H] i.e. the index of H in G is 2. Let G = H ∪ Hx, where H and Hx
are distinct right cosets i.e. x 6∈ H. Consider xH, xH 6= H because x 6∈ H ⇒ xH ∩ H =
∅ ⇒ xH ⊆ Hx. Similarly, Hx ⊆ xH. Thus if x 6∈ H, then Hx = xH. If x ∈ H, then
xH = H = Hx. Thus xHx−1 = H for every x ∈ G, so H is normal in G.
Existence of H: State Cauchy’s theorem, or better yet, prove it (See theorem 2.11.3 Page
87 of Algebra by Herstein). Let a be an element of G of order p, then H, the subgroup
generated by a is of order p.
Question 1(b) Give an example of an infinite group in which every element is of finite
order.
1
Question 1(c) Let G be a group and let H be the smallest group containing elements of the
form x−1 y −1 xy, x, y ∈ G. Show that H is normal in G and the factor group G/H is abelian.
Solution. Let x ∈ G, h ∈ H, then x−1 hx = x−1 hxh−1 h. But x−1 hxh−1 ∈ H by definition,
therefore x−1 hx = x−1 hxh−1 h ∈ H ⇒ x−1 Hx = H for every x ∈ G. Thus H is normal in G.
Now in the factor group G/H, xH.yH = xyH. Since x−1 y −1 xyH = H as x−1 y −1 xy ∈ H,
it follows that xyH = yxH = yH.xH, thus G/H is abelian.
Question 2(a) If each element of a ring is idempotent, show that the ring is commutative.
Question 2(b) If a finite field F has q elements, then show that q = pn , where p is the
characteristic of F .
Question 2(c) Let A be a ring and I be a two-sided ideal generated by the subset of all
elements of the form ab − ba, a, b ∈ A. Prove that the residue class ring A/I is commutative.
Solution.
2
UPSC Civil Services Main 1990 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let G be a group having no proper subgroup. Show that G should be a finite
group of order which is a prime, or unity.
Solution. See question 1(a), 1991. Once we have proved that G is finite, then we observe
that G has exactly one element if and only if the order of G is 1. If the order of G > 1, then
we show that it is a prime number.
Question 1(b) If the order of a group is 20, show that its 5-Sylow subgroup is a normal
subgroup. Also prove that a group of order 16 has a proper normal subgroup.
Solution. We know from various Sylow theorems that the numbr of 5-Sylow subgroups
≡ 1 mod 5 and is a divisor of 20 and therefore 4. Thus G, a group of order 20, has exactly
one Sylow subgroup of order 5, say H. Now aHa−1 for any a ∈ G is also a subgroup of order
5, therefore by uniqueness, aHa−1 = H. Thus H is normal in G.
For the second part, we prove a general theorem of which this is a special case.
Theorem. Let G be a group of order pr , p a prime, then G has a normal subgroup of
order ps for every s, 0 ≤ s < r.
Proof: By induction on r. If r = 1, then G is cyclic of prime order, hence the result
is true. Assume true for groups of order pm , m < r. Since G is a group of order pr , the
power of a prime, its center is non-trivial. Since the order of the center is pn , n ≥ 1, the
center has an element, say a, of order p (Cauchy’s theorem, Theorem 2.11.3 of Algebra
by Herstein). Let H = hai be the group generated by a. Since a ∈ center of G, H is a
normal subgroup of G. Now G/H is a group of order pr−1 . Using the induction hypothesis,
we see that G/H has a normal subgroup N ∗ of order ps−1 , 0 ≤ s − 1 < r − 1. Let η :
G −→ G/H be the natural homomorphism. Set N = η −1 (N ∗ ), we show that N is a
normal subgroup of G of order ps . η −1 (N ∗ ) 6= ∅. If x, y ∈ N , then η(x), η(y) ∈ N ∗ ,
1
then η(x)(η(y))−1 ∈ N ∗ ⇒ η(xy −1 ) ∈ N ∗ ⇒ xy −1 ∈ N , so N is a subgroup of G. For
x ∈ N, a ∈ G, η(x) ∈ N ∗ ⇒ η(a)η(x)η(a)−1 = η(axa−1 ) ∈ N ∗ as N ∗ is a normal subgroup
of G/H. Thus axa−1 ∈ N , so N is a normal subgroup of G. N ⊇ H is immediate as
∀h ∈ H.η(h) = H, the identity element of G/H. Consider η : N −→ N ∗ , then η is a
homomorphism with kernel H ⇒ N/H ' N ∗ ⇒ o(N ) = o(N ∗ )o(H) = ps .
Now for a group of order 16, p = 2, r = 4, and the above theorem shows that it has
normal groups of order 2, 4, and 8.
Question 1(c) If C is the center of a group G, and G/C is cyclic, prove that G is abelian.
Question 2(a) Show that the set of Gaussian integers is a Euclidean ring. Find an HCF
of 5i and 3 + i.
2. N (αβ) ≥ N (α) for all α, β ∈ Z[i] because N (αβ) = N (α)N (β) and N (β) ≥ 1 if β 6= 0.
a+ib
3. Let α = a + ib, β = m + ni, β 6= 0. Then f racαβ = m+ni = x + iy, x ∈ Q, y ∈ Q.
Determine p, q ∈ Z such that |x−p| ≤ 2 , |y−q| ≤ 2 (take p = [x] if x = [x]+θ, 0 ≤ θ ≤ 21
1 1
2
Question 2(b) If K is a finite extension of a field F of degree n, prove taht any element
of K is algebraic over F with degree m where m divides n.
1
Let f (α) = a0 + a1 α + . . . + ar αr be any non-zero element of F [α]. Then the polynomial p(x) 6 | f (x) ⇒
(f (x), p(x)) = 1 ⇒ there exist b(x), c(x) ∈ F [x] such that p(x)b(x) + f (x)c(x) = 1 ⇒ f (α)c(α) = 1 ⇒ f (α)
is invertible
3
UPSC Civil Services Main 1991 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) If the group G has no non-trivial subgroups, show that G must be finite of
prime order.
Solution. We first prove that if G is a group with centre C such that G/C is cyclic, then
G is abelian. Let G/C be generated by the coset aC. Let x, y ∈ G, then xC = (aC)r
and yC = (aC)s for some integers r, s. This means that x ∈ ar C, y ∈ as C and therefore
x = ar c1 , y = as c2 , c1 , c2 ∈ C. Now xy = ar c1 as c2 = ar as c1 c2 since c1 ∈ C, so it commutes
with every element of G. Similarly, c2 ∈ C so it commutes with ar , so
xy = ar+s c1 c2 = as+r c2 c1 = as c2 ar c1 = yx
Hence G is abelian.
Now we prove that a group G of order p2 , p prime, is abelian. In particular, a group of
order 9 will be abelian. Let C be the center of G. Then C is of order p or p2 as the center
of a prime power group is non-trivial (Theorem 2.11.2 page 86 of Algebra by Herstein).
1
If the order of C is p2 , and G = C so G is abelian.
If order of C is p, then G/C is of order p and therefore is a cyclic group. Thus G must
be abelian as shown above. In either case G is abelian.
Question 1(c) If the characteristic of an integral domain D is finite, show that it is a prime
number.
Question 2(a) Find the greatest common divisor (GCD) in J[i], the ring of Gaussian in-
tegers of (i) 3 + 4i and 4 − 3i (ii) 11 + 7i and 18 − i.
Solution. (i) 4 − 3i = (−i)(3 + 4i), and −i is a unit in J[i] as i(−i) = 1. It follows that
4 − 3i and 3 + 4i are associates of each other. Thus the GCD of 4 − 3i and 3 + 4i can be
taken to be either of them.
(ii) N (11 + 7i) = (11 + 7i)(11 − 7i) = 170, N (18 − i) = 325. Since (170, 325) = 5, we can
find integers x, y such that 170x + 325y = 5, or
showing that if α divides 11 + 7i, 18 − i in J[i], then α divides 5. Therefore the GCD of
11 + 7i, 18 − i is a factor of 5, i.e. 1, 2 − i, 2 + i, 5.
Now 11+7i
2+i
= (11+7i)(2−i)
5
= 295
+ 35 i. Thus 2 + i 6 | 11 + 7i.
11+7i
2−i
= (11+7i)(2+i)
5
= 3 + 5i. Thus 2 − i | 11 + 7i. 18−i 2−i
= (18−i)(2+i)
5
= 37
5
+ 16
5
i, so
2 − i 6 | 18 − i.
Thus the GCD of 11 + 7i and 18 − i is 1.
Note: We could have got this by Euclid’s Algorithm also.
2
Question 2(b) Show that every maximal ideal of a commutative ring R with unit element
is a prime ideal.
Question 2(c) The field K is an extension of the field F . If α, β ∈ K are both algebraic
over F , show that α ± β, αβ, α/β (if β 6= 0) are all algebraic over F .
Solution. Let p(x) be the minimal polynomial of α over F , then F [x]/hp(x)i ' F [α], the
homomorphism from F [x] to F [α] being f (x) = f (α) with kernel hp(x)i . Thus F [α] = F (α)
(the smallest field containing F and α in K). If deg p(x) = n, then 1, α, . . . , αn−1 are linearly
independent over F and generate F (α). Hence (F (α) : F ) = n ⇒ if γ ∈ F (α), γ is algebraic
over F as 1, γ, . . . , γ n are linearly dependent over F , so γ is a root of a polynomial of degree
≤ n.
Now β being algebraic over F , is algebraic over F (α) ⇒ F (α.β) is a finite extension of
F (α), and (F (α, β) : F (α)) = degree of the minimal polynomial of β over F (α) ≤ degree
of the minimal polynomial of β over F . Since (F (α, β) : F ) = (F (α, β) : F (α))(F (α) : F )
(see question 2(c) of 1993), it follows that F (α, β) is an algebraic extension over F . In fact
if (F (α, β) : F ) = m and ζ ∈ F (α, β), then 1, ζ, ζ 2 , . . . , ζ m are linearly dependent, so ζ is a
root of a polynomial of degree ≤ m. Thus α ± β, αβ, α/β, being elements of F (α, β) are all
algebraic over F .
3
UPSC Civil Services Main 1992 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) If H is a cyclic normal subgroup of a group G, then show that every subgroup
of H is a normal subgroup of G.
Solution. Let K be a normal subgroup of H. Let H = hai, and let K = har i, where r is
the least positive integer such that ar ∈ K.
Then k ∈ K ⇒ k = (ar )m for some m.
Note: Cyclic subgroups need not be normal. G = S3 , H = {I, (1, 2)} is cyclic but not
normal in S3 .
Solution. o(G) = 3 · 2 · 5.
n5 = number of Sylow groups of order 5 is 1 or 6 because n5 ≡ 1 mod 5 and n5 | 30.
n3 = number of Sylow groups of order 3 is 1 or 10 because n3 ≡ 1 mod 3 and n3 | 30.
If G has 6 Sylow groups of order 5, then G has 24 elements of order 5, because if H and
K are two subgroups of order 5, then H ∩ K {e} when H 6= K. Thus each Sylow subgroup
of order 5 gives rise to 4 distinct elements of order 5.
If G has 10 subgroups of order 3, then G has 20 elements of order 3. Thus either n3 = 1
or n5 = 1. So G has a unique Sylow subgroup of order 3 or 5, which has to be a normal
subgroup of G. Thus G is not simple.
Note that n5 > 1, n3 > 1 means that G must have at least 45 elements.
1
Question 1(c) Let p be the smallest prime factor of the order of a group G, then prove that
any subgroup of index p is normal in G.
Solution. Let G/H = {x1 H, x2 H, . . . , xp H}. For any x ∈ G consider the mapping πx :
G/H −→ G/H defined by πx (xj H) = xxj H = xk H for some k, 1 ≤ k ≤ p. Clearly πx is
one-one and therefore gives rise to a permutation on p symbols. Let Sp denote the symmetric
group on p symbold. Define φ : G −→ Sp by φ(x) = πx . Then φ is a homomorphism as
πxy (xj H) = xy(xj (H)) = x(yxj H) = πx (πy (xj H) ⇒ φ(xy) = φ(x)φ(y)
Thus by the fundamental theorem of homomorphisms G/K is isomorphic to a subgroup of
Sp , where K is the kernel of φ.
K ⊆ H. Proof: Let x ∈ K. Then πx is the identity permutation in Sp i.e. πx (xj H) =
xxj H = xj H for every j, 1 ≤ j ≤ p. Let xr be such that xr H = H, such an xr exists then
xH = xxr H = xr H = H ⇒ x ∈ H. Thus K ⊆ H.
(G : K) = (G : H)(H : K) — This follows immediately from (G : K) = o(G)/o(K).
(Note that all groups are of finite order here. This statement also holds for groups of infinite
order).
Let (H : K) = r. Then (G : K) = pr and therefore pr | p!, because G/K is isomorphic
to a subgroup of Sp , so order of G/K = (G : K) divides o(Sp ) = p!. Thus r | (p − 1)!. But
r divides o(G) also, because K is a subgroup of H which is a subgroup of G. Consequently
r divides ((p − 1)!, o(G)). But ((p − 1)!, o(G)) = 1 as p is the smallest prime factor of o(G).
Thus r = 1 ⇒ K = H. Hence H being a kernel of a homomorphism φ : G −→ Sp is a
normal subgroup of G.
Remark: We don’t need it in the above proof, but it is worth noticing that
K = ∩a∈G aHa−1
For x ∈ K ⇔ xxj H = xj H ∀j.1 ≤ j ≤ p
⇔ x ∈ xj Hx−1
j ∀j.1 ≤ j ≤ p
−1
⇔ x ∈ aHa ∀a ∈ G
(Note that aHa = xj Hx−1
−1
j if a = xj H).
Proof of (G : K) = (G : H)(H : K). Let G/H = {x1 H, x2 H, . . . , xn H} and H/K =
{y1 K, . . . , ym K}. Then we will show that G/K = {xi yj K | 1 ≤ i ≤ m, 1 ≤ j ≤ n}.
xi y j ≡ xk y l mod K ⇒ yl−1 x−1
k xi y j ∈ K
⇒ yl−1 x−1
k xi y j ∈ H
−1
⇒ xk xi ∈ H (∵ yl , yj ∈ H)
⇒ x k H = xi H ⇒ k = i
⇒ yl−1 yj ∈ K
⇒ yl K = yj K ⇒ l = k
Given x ∈ G, xH = xj H for some j, 1 ≤ j ≤ n. Since x−1 −1
j x ∈ H, xj xK = yk K for some
k, 1 ≤ k ≤ m. Therefore xK = xj yk K, so {xi yj K | 1 ≤ i ≤ m, 1 ≤ j ≤ n} is a complete
system of representation of cosets of G/K. This implies (G : K) = mn = (G : H)(H : K).
2
Question 2(a) If R is a unique factorization domain, then prove that any f ∈ R[x] is an
irreducible element of R[x] if and only if either f is an irreducible element of R or f is an
irreducible polynomial in R[x].
Solution. We first observe that units of R and R[x] are the same — let f, g ∈ R[x] be such
that f g = 1 then deg f + deg g = 0 ⇒ deg f = 0, deg g = 0 ⇒ f, g ∈ R and both are units
in R.
If f is an irreducible element of R, then f is an irreducible element of R[x] — if f = gh
then deg g + deg h = 0 ⇒ deg g = 0, deg h = 0 ⇒ g, h ∈ R, but since f is irreducible in R,
either g is a unit in R or f is a unit in R, and therefore in R[x].
Conversely, if f is an irreducible element in R[x] and f ∈ R, then f has to be irreducible
in R also, because if f = gh is a proper factorization of f ∈ R, then this would be a proper
factorization of f in R[x] also, because units of R and R[x] are the same, so g, h cannot be
units in R[x].
Now let f ∈ R[x] be an irreducible element of R[x] and f 6∈ R, then f is an irreducible
polynomial. But an irreducible polynomial need not be an irreducible element of R[x]. For
example, 2x2 + 2 is an irreducible polynomial in Z[x] but is not an irreducible element. Thus
the correct question would be — f ∈ R[x] is an irreducible element of R[x] if and only if
either f is an irreducible element of R or f is an irreducible primitive polynomial in R[x].
Question 2(b) Prove that the polynomials x2 + 1 and x2 + x + 4 are irreducible over F , the
field of integers modulo 11. Prove that F [x]/hx2 + 1i and F [x]/hx2 + x + 4i are isomorphic
fields each having 121 elements.
3
x2 + x + 4 mod 11. This shows that σ gives rise to a map from K1 = F [x]/hx2 + 1i to
K2 = F [x]/hx2 + x + 4i . Any typical element of K1 is of the form a0 + a1 x + hx2 + 1i where
a0 , a1 ∈ F . Then σ(a0 + a1 x + hx2 + 1i ) = a0 + a1 (x − 5) + hx2 + x + 4i .
We now check that σ is an isomorphism. We write αx + β = α + βx + hx2 + 1i . Then
Now
Thus σ((αx + β)(γx + δ)) = σ((αx + β))σ((γx + δ)) showing that σ is a homomorphism.
σ is 1 − 1: The kernel of σ is an ideal of K1 , but K1 is a field, therefore the only ideals
of K1 are the trivial ideal h0i and K1 . Since σ is not a zero map, it follows that the kernel
of σ is h0i , thus σ is 1 − 1.
σ is onto: Since K1 and K2 have 121 elements each, and sigma is one-one, σ(K1 ) = K2 .
Thus σ is an isomorphism from K1 to K2 .
Question 2(c) Find the degree of the splitting field of f (x) = x5 − 3x3 + x2 − 3 over Q, the
field of rationals.
Solution. f (x) has -1 as a root, so f (x) = (x + 1)(x4 − x3 − 2x2 + 3x − 3). It does not
have any other linear factors as −1, 1, 3, −3 are not roots of x4 − x3 − 2x2 + 3x + 3.
Let x4 − x3 − 2x2 + 3x + 3 = (x2 + bx + c)(x2 + dx + e), where b, c, d, e ∈ Z. Then
b + d = −1, c + e + bd = −2, be + dc = 3, ce = −3. From ce = −3, we get c = −1, e = 3 or
c = 1, e = −3 (the other choices are symmetric). Using c = 1, e = −3, we get −3b + d = 3,
and now from b + d = −1, we get b = −1, d = 0. Thus we get
4
√ √
Consequently, the splitting field of f (x) over Q is the smallest field containing ± 3, 1±i2 3 ,
namely the √roots of x2 − 3 and x2 − x + 1. √ √ √
Thus Q( 3, i)√ is the required
√ splitting field. Since Q( 3, i) ⊇ Q( 3) ⊇
√ Q, and (Q( 3) :
Q) = 2 and (Q( 3, i) : Q( 3)) = 2 it follows that the splitting field Q( 3, i) of f (x) has
degree 4 over Q.
5
UPSC Civil Services Main 1993 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let G be a cyclic group of order n and p | n. Prove that there exists a
homomorphism of G onto a cyclic group of order p. What is the kernel of the homomorphism?
Solution. The number of 7-Sylow subgroups of ≡ 1 mod 7 and divides 56, so can be 1 or
8. If 1, then the 7-Sylow group is normal in G. If the number is 8, then G has 48 elements of
order 7, because if H, K are different Sylow subgroups of order 7, then H ∩ K = {e} because
7 is a prime.
Thus the Sylow subgroups of order 8 can come from the remaining elements which are
only 8 in number (including e). Thus there is a unique Sylow subgroup of order 8, which
has to be normal.
Thus any group of order 56 has a normal subgroup of order 7 or of order 8, so it cannot
be simple.
1
Question 1(c) Let H and K be normal subgroups of G (finite), with H a normal subgroup
of K. If P = K/H, S = G/H, show that G/K ' S/P .
Question 2(b) Construct the addition and mutiplication table for Z3 [x]/hx2 + 1i, where Z3
is the set of integers modulo 3 and hx2 + 1i is the ideal generated by 1 + x2 .
(−1)r/2
r
x ≡ r−1 mod x2 + 1
(−1) 2 x
it follows that
f (x) ≡ a0 + a1 x − a2 − a3 x + a4 + . . . mod x2 + 1
= [bo ] + [b1 ][x]
where [x] is the residue class of x modulo x2 + 1 and [b0 ], [b1 ] are residue classes in Z3 .
Conversely, [bo ] + [b1 ][x] always belongs to Z3 [x]/hx2 + 1i.
2
Thus Z3 [x]/hx2 + 1i has 9 elements, namely
{0, 1, 2, x, x + 1, x + 2, 2x, 2x + 1, 2x + 2}
Note that we have listed representative elements of distinct residue classes modulo x2 + 1.
Now addition is simply: (a0 + a1 x) + (b0 + b1 x) = c0 + c1 x where ci ≡ ai + bi mod 3 for
i = 0, 1.
Multiplication is defined by (a0 + a1 x)(b0 + b1 x) = c0 + c1 x where c0 ≡ a0 b0 − a1 b1 mod 3
and c1 ≡ a0 b1 +a1 b0 mod 3. The reader can now expand these into the appropriate addition
and multiplication tables.
Notice the strong resemblance between the addition and multiplication rules derived
above and the corresponding rules for complex numbers. This is a consequence of the fact
that i is a root of x2 + 1, in fact the ring of Gaussian integers is isomorphic to Z[x]/hx2 + 1i.
Question 2(c) Let Q be the rational number field, and Q(21/2 , 21/3 ) by the smalled extension
field containing 21/2 , 21/3 . Find a basis of Q(21/2 , 21/3 ) over Q.
3
UPSC Civil Services Main 1994 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) If G is a group such that (ab)n = an bn for three consecutive integers for all
a, b ∈ G, then show that G is abelian.
Solution. We are given that (ab)i = ai bi , (ab)i+1 = ai+1 bi+1 , (ab)i+2 = ai+2 bi+2 .
Now (ab)i+1 = abai bi = abai bi = ai+1 bi+1 . Thus ai b = bai .
Also, (ab)2 (ab)i = ai+2 bi+2 = a2 ai b2 bi = a2 ai bbbi = a2 bai bbi = a2 b2 ai bi , because ai b = bai .
But (ab)i = ai bi , hence (ab)2 = a2 b2 ⇒ abab = a2 b2 ⇒ ba = ab. Thus G is abelian.
Note that the result is false if we only have two consecutive integers e.g. G = S3 has
(ab)6 = e = a6 b6 , and (ab)7 = (ab)6 ab = ab = a7 b7 .
Solution. By Sylow theorems, the number of 7-Sylow groups is ≡ 1 mod 7, and divides
42, and therefore divides 6 ⇒ there is only 1 Sylow group of order 7, which has to be normal,
thus a group of order 42 cannot be simple.
Question 1(c) Show that the additive group of integers modulo 4 is isomorphic to the mul-
tiplicative group of the non-zero elements of integers modulo 5. State the two isomorphisms.
Solution.
Two cyclic groups of the same order are isomorphic. φ : Z/(4) −→ Z/h5i:
1
φ([1]) = [2]
φ([1] + [1]) = φ([2]) = [2]2 = [4]
φ([3]) = φ(3.[1]) = [2]3 = [3]
φ([4]) = φ(4.[1]) = [2]4 = [1]
f : Z/h5i −→ Z/(4).
f ([2]) = [1]
f ([4]) = f ([2]2 ) = f ([2]) + f ([2]) = [2]
f ([3]) = f ([2]3 ) = f ([2]) + f ([2]) + f ([2]) = [3]
f ([1]) = f ([2]4 ) = f ([2]) + f ([2]) + f ([2]) + f ([2]) = [4]
Question 2(a) Find all the units of the integral domain of Gaussian integers.
Solution. Let Z[i] = {a + ib | a, b ∈ Z}. Let N (a + ib) = a2 + b2 . We will show that
α ∈ Z[i] is a unit ⇔ N (α) = 1.
If α is a unit then αβ = 1 for some β ∈ Z[i] ⇒ N (αβ) = N (α)N (β) = 1 ⇒ N (α) = 1
because N (α), N (β) are positive integers.
Conversely, N (α) = 1 ⇒ a2 + b2 = 1 ⇒ (a + ib)(a − ib) = 1 ⇒ α is a unit.
Now the only integer solutions to N (α) = a2 + b2 = 1 are a = ±1, b = 0 or a = 0, b = ±1.
Thus the only units are {±1, ±i}.
Question 2(b) Prove or disprove: The polynomial ring I[x] over the ring of integers is a
Principal Ideal Domain (PID).
Solution. It is not a PID. The ideal generated by 2 and x is not a principal ideal. Suppose
h2, xi = hf (x)i. Then 2 ∈ hf (x)i ⇒ f (x)g(x) = 2 for some g(x). This means that f (x) is a
constant and divides 2, so f (x) = 1or2.
f (x) = 2 ⇒ x 6∈ hf (x)i ∵ 2g(x) = x is not possible for any g(x) ∈ I[x].
f (x) = 1 ⇒ 1 ∈ h2, xi ⇒ 1 = 2p(x) + xq(x) ⇒ 2× the constant term of a(x) = 1, which
is not possible. Thus h2, xi is not a principal ideal.
Question 2(c) Let R be an integral domain (not necessarily a unique factorization domain),
and F its field of quotients. Show that any element f (x) ∈ F [x] is of the form f (x) = f0a(x)
where f0 (x) ∈ R[x] and a ∈ R.
Solution.Qf (x) = a0 + a1 x + . . . am xm , where ai ∈ F . Now ai = bi /ci , where bi , ci ∈ R.
Then f (x) i ci = A0 + A1 x + . . . + Am xm where Ai ∈ R.
Thus f (x) = f0a(x) , where f0 (x) = A0 + A1 x + . . . + Am xm , and a = i ci .
Q
2
UPSC Civil Services Main 1995 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let G be a finite set closed under an associative binary operation such that
ab = ac ⇒ b = c, ba = ca ⇒ b = c for all a, b, c ∈ G. Prove that G is a group.
Question 1(b) Let G be a subgroup of order pn , where p is a prime number and n > 0. Let
H be a proper subgroup of G and N (H) = {x ∈ G | x−1 hx ∈ H for every h ∈ H} = {x ∈
G | x−1 Hx = H}. Prove that N (H) 6= H.
Solution. The proof is by induction over n. If n = 1, then H = {e} is the only possibility
for a proper subgroup, since G is cyclic. N (H) = G 6= H. If n = 2, it is well known that G
is abelian, and therefore for any proper subgroup H of G, N (H) = G 6= H.
1
Assume as induction hypothesis that the result is true for all groups of order pm where
m < n.
Let G be a group of order pn and let H be a proper subgroup of G. We consider the
following two possible cases
Case (i): H does not contain C, the center of G, then there exists an element z ∈ C − H.
Clearly z ∈ N (H) and therefore N (H) ⊃ H properly.
Case (ii): H ⊇ C. In this case H = H/C is a proper subgroup of G = G/C. Since G
is a prime power group, it is known that the center C of G is nontrivial, therefore |G| =
order of G = pm where m < n. Thus by the induction hypothesis the normalizer of H in G
contains H properly, i.e. there exists an element b ∈ G such that b 6∈ H and b ∈ N (H) i.e.
−1
b Hb = H. It is now obvious that b 6∈ H and b−1 Hb ⊆ HC = H i.e. b ∈ N (H). Hence
N (H) 6= H.
Alternative presentation: Let Co = {e}, C1 = center of G. If C1 6= G, let Z1 be
the center of G/C1 . Let C2 = η −1 (Z1 ), where η : G −→ G/C1 is the natural map. Thus
C2 /C1 = Z1 . If C2 6= G, we define C3 = η −1 (center of G/C2 ), where η is now the natural
map from G ont G/C2 .
Clearly C0 ( C1 ( C2 ( . . . because the center of a prime power group is non-trivial.
Since G is finite, we have Cr = G for some r. Thus C0 ( C1 ( C2 ( . . . ( Cr = G. Now
each Ci is normal in G, because Z1 is normal in G/C1 ⇒ η −1 (Z1 ) = C2 is normal in G and
so on.
Since C0 ⊆ H, and Cr 6⊆ H, there is a k, 0 ≤ k < r such that Ck ⊆ H, Ck+1 6⊆ H. Let
x ∈ Ck+1 , x 6∈ H. For any g ∈ G, x−1 g −1 xg ∈ Ck , because xCk ∈ center of G/Ck , x ∈ Ck+1 ,
which means that xgCk = xCk gCk = gCk xCk = gxCk . Thus x−1 g −1 xg ∈ Ck .
In particular x−1 h−1 xh ∈ Ck ∀h ∈ H. Thus x−1 h−1 xh ∈ H because Ck ⊆ H, or
x−1 h−1 x ∈ H for all h ∈ H. Thus x ∈ N (H). But x 6∈ H, so N (H) 6= H.
2
Case 2: Let |Hi ∩ Hj | = 4 for i 6= j. Let H = H1 ∩ H2 , then |H| = 4. We have proved
in question 1(b) that NH1 (H) (the normalizer of H in H1 ) contains H properly and also
NH2 (H) contains H properly. Thus each of NH1 (H) and NH2 (H) have 8 or 16 elements.
Case 2(a): One of the normalizers has 16 elements — suppose without loss of generality
that NH1 (H) = H1 , then NG (H) contains H1 and NH2 (H) and therefore NG (H) contains
at least 16 × 8/4 elements, and 16 divides |NG (H)| as H1 ⊂ NG (H) — note that |Hi | =
16, |NH2 (H)| ≥ 8 and H1 ∩ NH2 (H) being a subgroup of H1 ∩ H2 has at most 4 elements.
Thus as in case 1, we get NG (H) = G, so H is a normal subgroup of G, showing that G is
not simple.
Case 2(b): NH1 (H) 6= H1 and NH2 (H) 6= H2 , then |NH1 (H)| = |NH2 (H)| = 8. In this
case NG (H) contains at least 8 × 8/4 elements and 8 divides |NG (H)|. Thus |NG (H)| = 16
or 56. If |NG (H)| = 16, then it is one of the Hi , say NG (H) = H3 , in this case |H1 ∩ H3 | = 8,
which contradicts the precondition for case 2 i.e. |Hi ∩Hj | = 4 for i 6= j. Thus |NG (H)| = 56,
and in this case G is not simple as NG (H) is a proper normal subgroup of G.
This completes the proof.
Alternative Presentation. o(G) = 24 · 7. The number of 7-Sylow subgroups ≡ 1
mod 7 and divides o(G). Thus the number of 7-Sylow subgroups is 1 or 8. If 1, then the
7-Sylow subgroup of G is normal in G, and G is not simple. Otherwise we will show that G
has a unique 16-Sylow subgroup, which will be normal in G and hence G will not be simple.
Let the number of 7-Sylow subgroups be 8. This accounts for 49 elements, 48 of order 7,
and the identity. Note that if H and K are Sylow subgroups of order 7, then H ∩ K = {e}
if H 6= K because order of H is prime.
We are now left with 63 elements + identity. The number of 2-Sylow groups is ≡ 1
mod 2 and divides 7. Thus out of these 64 elements we should get 7 16-Sylow subgroups
(because if there is only one 16-Sylow subgroup, it is normal, hence G is not simple). These
7 subgroups of order 16 will have a unique subgroup of order 8, which would be normal in
G.
Thus in all cases, G is not simple.
Question 2(a) Let R be a ring with identity. If an element of R has more than one right
inverse, show that it has infinitely many right inverses.
Thus we get three distinct right inverses (if xa − e + x = ya − e + x then xax = yax ⇒
x = y). So given n inverses a1 , a2 , . . . , an of a, by considering a1 , a1 a − e + a1 , a2 a − e +
a1 , . . . , an a − e + a1 we can get n + 1 distinct right inverses. Hence there must be infinitely
many right inverses.
3
Question 2(b) Let hp(x)i be an ideal generated by an irreducible polynomial in F [x], F a
field. Prove that it is a maximal ideal.
Solution. f 0 (x) = 0 ⇔ rar = 0 ⇔ ar = 0 when r 6≡ 0 mod p. Thus f (x) = tm=0 amp xmp
P
where t = [n/p]. Let g(y) = a0 + ap y + . . . atp y t . Then g(xp ) = f (x) = (g(x))p .
4
UPSC Civil Services Main 1996 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let R be the set of all real numbers and G = {(a, b) | a, b ∈ R, a 6= 0}. Let
x : G × G −→ G be defined by (a, b) ∗ (c, d) = (ac, bc + d). Show that (G, ∗) is a group. Is it
abelian? Is (H, ∗) a subgroup of (G, ∗) where H = {(1, b) | b ∈ R}?
Solution.
1. α = (a, b) ∈ G, β = (c, d) ∈ G ⇒ α ∗ β ∈ G ∵ ac 6= 0 when a 6= 0, c 6= 0.
2. (a, b) ∗ (1, 0) = (a, b.1 + 0) = (a, b). (1, 0) ∗ (a, b) = (a, 0.a + b) = (a, b). Hence (1, 0) is
identity of G.
3. (a, b) ∗ (1/a, −b/a) = (1, b/a − b/a) = (1, 0). (1/a, −b/a) ∗ (a, b) = (1, (−ab/a) + b) =
(1, 0). Thus the inverse exists for every (a, b) ∈ G.
4. (a, b) ∗ [(c, d) ∗ (e, f )] = (a, b) ∗ (ce, de + f ) = (ace, bce + de + f ). [(a, b) ∗ (c, d)] ∗ (e, f ) =
(ac, bc + d) ∗ (e, f ) = (ace, bce + de + f ). Thus ∗ is associative.
Hence G is a group.
G is not abelian: (c, d) ∗ (a, b) = (ac, da + b). Thus if (a, b) ∗ (c, d) = (c, d) ∗ (a, b), then
bc + d = da + b. This need not be true, for example if a = d = 1, b = 0.
If (1, a), (1, b) ∈ H, then (1, a) ∗ (1, b) = (1, a + b) ∈ H. (1, 0) ∈ H. Finally (1, a)−1 =
(1, −a) ∈ H, hence H is a subgroup of G.
Question 1(b) Let f be a homomorphism of a group G onto a group G0 with kernel H. For
each subgroup K 0 of G0 , define K as K = {x | x ∈ G, f (x) ∈ K 0 }. Prove that
1. K 0 is isomorphic to K/H.
2. G/K is isomorphic to G0 /K 0 .
1
Solution.
Question 1(c) Prove that a normal subgroup H of a group G is maximal ⇔ the quotient
G/H is simple.
η −1 (H 0 ) = {x | x ∈ G, η(x) = Hx ∈ H 0 }
Question 2(a) In a ring R, prove that the cancellation law holds in R ⇔ R has no zero
divisors.
2
Question 2(b) If S is an ideal of R and T any subring of R then prove that S is an ideal
of S + T = {s + t | s ∈ S, t ∈ T }.
Question 2(c) Prove that the polynomial x2 + x + 4 is irreducible over the field of integers
modulo 11.
Solution. If x2 + x + 4 were reducible modulo 11, then it would have a linear factor i.e. it
would have a root in the field Z11 . But
3
UPSC Civil Services Main 1997 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Show that a necessary and sufficient condition for a subset H of a group G
to be a subgroup is HH −1 = H.
Solution. Let H be a subgroup. Clearly H ⊆ HH −1 because h ∈ H can be written as
h = he where h ∈ H, e ∈ H −1 ⇒ h ∈ HH −1 . If x ∈ HH −1 , then x = hk −1 where h, k ∈ H.
But H is a group, so hk −1 ∈ H, thus HH −1 ⊆ H ⇒ HH −1 = H.
Conversely, let H = HH −1 and assume H 6= ∅.
1. a ∈ H ⇒ a−1 ∈ H −1 ⇒ aa−1 ∈ HH −1 = H ⇒ e ∈ H.
2. x, y ∈ H ⇒ xy −1 ∈ H. Thus x ∈ H ⇒ x−1 = ex−1 ∈ H. x, y ∈ H ⇒ y −1 ∈ H ⇒ y ∈
H −1 ⇒ xyinH.
Thus H is a subgroup of G.
Question 1(b) Show that the order of each subgroup of a finite group is a divisor of the
order of the group.
Solution. Lagrange’s theorem, see Theorem 2.4.1 page 41 of Algebra by Herstein.
Question 1(c) In a group G, the commutator of (a, b), a, b ∈ G is the element aba−1 b−1
and the smallest subgroup containing all commutators is called the commutator subgroup of
G. Show that a quotient group G/H is abelian ⇔ H contains the commutator subgroup of
G.
Solution. Let G/H be abelian. Then HaHb = HbHa ⇒ Hab = Hba ⇒ Haba−1 b−1 =
H ⇒ aba−1 b−1 ∈ H. This means H contains all the commutators, and therefore contains
the group generated by them (i.e. the commutator subgroup).
Conversely, if H contains the commutator subgroup, then for any a, b ∈ G, aba−1 b−1 ∈
H ⇒ Haba−1 b−1 = H ⇒ Hab = Hba ⇒ HaHb = HbHa ⇒ G/H is abelian.
1
Question 2(a) If x2 = x for all x in a ring R, show that R is commutative. Give an
example to show that the converse is not true.
Question 2(b) Show that an ideal S of the ring of integers Z is a maximal ideal ⇔ S is
generated by a prime integer.
Solution. Let S be maximal. Since Z is a PID, we have S = hqi for some q ∈ Z, q 6= 0, 1, −1.
We will prove that if q | ab, q - a then q | b showing that q is prime. Since q - a, we
have a 6∈ S. Consider the ideal generated by S and a. It is Z, because S is maximal.
hS, ai = Z ⇒ 1 = α + ta, α ∈ S. Thus 1 = xq + ta, α = xq. Hence b = xbq + tab. Clearly
q | RHS, so q | b ⇒ q is a prime.
Conversely let S = hpi where p is a prime. We wish to show that S is maximal. Let A
be an ideal, A ⊃ S and A 6= S, then we shall show that A = Z. Since A ⊃ S, ∃a ∈ A, a 6∈ S.
Now a 6∈ S ⇔ p - a ⇔ (a, p) = 1 ⇔ xa + yp = 1 for some x, y ∈ Z ⇒ 1 ∈ A(∵ a ∈ A ⇒ xa ∈
A, p ∈ A ⇒ yp ∈ A). Hence Z = A, so S is a maximal ideal.
Question 2(c) Show that in an integral domain every prime element is irreducible. Give
an example to show that the converse is not true.
Solution. Let R be an integral domain with unity. Let p be a prime element of R i.e.
if p | ab then p | a or p | b. We have to show that if a | p then either a is an associate
of p or a is a unit. If a | p, then p = ab for some b ∈ R. But p is a prime, therefore
p = ab ⇒ p | ab ⇒ p | a or p | b. If p | a, then p is an associate of a as a | p. If p | b, then
b = px for some x ∈ R. Thus p = pax ⇒ ax = 1 as R is an integral domain, thus a is a unit.
Hence a prime element is irreducible.
The converse is not
√ true. Let R be an √integral domain which is not a unique factorization
domain e.g. R = Z[ −5]. For α = a + b −5, N (α) = a2 + 5b2 . 2 is an irreducible element
of R — 2√= αβ ⇒ N (α)N (β) = 4 ⇒ N (α) = 1, 2, 4. N (α) = 1 ⇒ α is a unit, because if
α = a + b −5 then a2 + 5b2 = 1 ⇒ b = 0, a = ±1 ⇒ a is a unit. If N (α) = 4, then N (β) = 1
2 2
so β is a unit. N (α) = 2 is impossible
√ as a +√5b = 2 is not possible.
√ √
Now 2 is not
√ prime — 2 | (1 + −5)(1 − −5). But 2 - 1 + −5 because
√ (1 + −5) =
2α = 2(a + b −5) ⇒ 2a = 1, which is not possible. Similarly 2 - 1 − −5. So 2 is not
prime.
2
UPSC Civil Services Main 1998 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Prove that if a group has only 4 elements then it must be abelian.
Solution. Let G be a group of order 4. If it has an element of order 4, then G is cyclic
and therefore abelian. If G has no elements of order 4, then the order of all elements other
than identity is 2 because the order of an element must be a divisor of 4. Let x, yinG, then
(xy)2 = xyxy = e ⇒ yx = x−1 ey −1 = x−1 y −1 = xy because x−1 = x, y −1 = y. Hence
xy = yx for every x, y ∈ G so G is abelian.
Question 1(b) If H and K are subgroups of G then show that HK is a subgroup of G if
and only if HK = KH.
Solution. See Lemma 2.5.1 page 44 of Algebra by Herstein.
Question 1(c) Show that every group of order 15 has a normal subgroup of order 5.
Solution. By Sylow’s theorem a group G of order 15 has a subgroup of order 5. Again by
one of Sylow’s theorems the number of subgroups is ≡ 1 mod 5, and this number divides 3.
Therefore there is exactly 1 subgroup of order 5, say H. Now aHa−1 is also a subgroup of G
of order 5, but H is the only such subgroup, so aHa−1 = H, hence H is a normal subgroup.
Hence every group of order 15 has a normal subgroup of order 5.
Question 2(a) Let (R, +, .) be a system satisfying all the axioms for a ring with unity with
the possible exception of a + b = b + a. Prove that (R, +, .) is a ring.
Solution. Let e denote unity of R. Then (a+b)(e+e) = a(e+e)+b(e+e) = ae+(a+b)e+be.
Also (a+b)(e+e) = (a+b)e+(a+b)e = ae+be+ae+be. Thus ae+be = be+ae ⇒ a+b = b+a.
Thus R is a ring.
A similar question is the following. Let (R, +, .) be a system satisfying all the axioms for
a ring with the possible exception of a + b = b + a. If there is an element c ∈ R such that
ac = bc ⇒ a = b for every a, b ∈ R, then show that R is a ring.
1
Question 2(b) If p is a prime then prove that Zp is a field. Discuss the case when p is not
a prime.
Solution. Zp is a commutative ring with unity. Let [a] ∈ Zp such that a 6≡ 0 mod p
i.e. [a] 6= [0]. Let {[x1 ], . . . , [xp ]} = Zp . Then [a][x1 ], . . . , [a][xp ] are all distinct, since
[a][xi ] = [a][xj ] ⇒ a(xi − xj ) ≡ 0 mod p ⇒ xi ≡ xj mod p because a 6≡ 0 mod p. Thus
there exists k such that [a][xk ] = [1] ⇒ every non-zero element in Zp has an inverse. Thus
Z∗p = Zp − {[0]} is a group, so Zp is a field.
If p is not prime, then Zp is not even an integral domain — if p = n1 n2 , n1 > 1, n2 > 1,
then [n1 ][n2 ] = [0], but [n1 ] 6= [0], [n2 ] 6= [0] in Zp .
See corollary to Lemma 3.2.2 page 128 of Algebra by Herstein.
Question 2(c) Let D be a principal ideal domain. Show that every element that is neither
0 nor a unit in D is a product of irreducible elements.
Solution.
2
UPSC Civil Services Main 1999 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(b) If p is a prime number pα | o(G), then prove that G has a subgroup of order
pα .
Solution. This is Sylow’s theorem. See theorem 2.12.1 page 92 of Algebra by Herstein.
Question 1(c) Let R be a commutative ring with unit element whose only ideals are the
zero ideal and R itself. Show that R is a field.
1
UPSC Civil Services Main 2000 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let n be a fixed positive integer and let Zn be the ring of integers modulo n.
Let
G = {[a] ∈ Zn | a 6= 0, (a, n) = 1}
Show that G is a group under multiplication defined in Zn . Hence or otherwise show that
aφ(n) ≡ 1 mod n for all integers a relatively prime to n, where φ(n) denotes the number of
positive integers that are less than n and relatively prime to n.
Solution. The only thing we have to show is that every element in G is invertible as we
already know that G is multiplicatively closed, and has identity element namely [1]. Let
a1 , . . . , am , m = φ(n) be representatives of prime residue classes modulo n. Let a be any
integer such that (a, n) = 1, i.e. a is coprime with n. Then [aa1 ], [aa2 ], . . . , [aam ] are all
distinct because aai ≡ aaj mod n ⇒ a(ai − aj ) ≡ 0 mod n, but (a, n) = 1, therefore
ai − aj ≡ mod n, which is not true. Thus there exists a j such that aaj ≡ 1 mod n, note
that G = {[a1 ], [a2 ], . . . , [am ]} = {[aa1 ], [aa2 ], . . . , [aam ]} and [1] ∈ G. Consequently [a] is
invertible, in fact [a][aj ] = [1].
We know that if G is a group of order n, then x ∈ G ⇒ xn = e for every x ∈ G, where e
is the identity of G — consider H the cyclic subgroup of G generated by x. Using Lagrange’s
theorem, which says that the order of a subgroup divides the order of a group if the group
is finite, we get o(x) = o(H) | o(G) = n. Thus n = o(x)k, so xn = xo(x)k = ek = e.
Thus if a is any integer such that (a, n) = 1, then [a] ∈ G ⇒ [a]φ(n) = [1] because
o(G) = φ(n). Hence aφ(n) ≡ 1 mod n.
Question 1(b) Let M be a subgroup and N a normal subgroup of a group G. Show that
M N is a subgroup of G and M N/N is isomorphic to M/M ∩ N .
Solution.
1
1. M N 6= ∅
2. x, y ∈ M N ⇒ x = m1 n1 , y = m2 n2 where m1 , m2 ∈ M, n1 , n2 ∈ N . Then xy =
m1 n1 m2 n2 = m1 m2 m−1 −1
2 n1 m2 n2 . Since N is a normal subgroup, m2 n1 m2 ∈ N , there-
fore xy = m1 m2 n∗1 n2 where n∗1 = m−12 n1 m2 , showing that xy ∈ M N .
3. x ∈ M N ⇒ x−1 = n−1 −1 −1 −1 −1
1 m1 = m1 m1 n1 m1 ∈ M N
Thus M N is a subgroup of G.
Consider the function f : M −→ M N/N defined by f (m) = mN . Then
3. ker f = {m | f (m) = mN = N ⇔ m ∈ N } = M ∩ N .
Question 2(a) Let F be a finite field. Show that the characteristic of F must be a prime
integer p and the number of elements in F must be pm for some positive integer m.
Question 2(b) Let F be a field and F [x] denote the set of all polynomials defined over F .
If f (x) is an irreducible polynomial in F [x], show that the ideal hf (x)i generated by f (x) in
F [x] is maximal and F [x]/hf (x)i is a field.
Solution. Let A by an ideal, A ⊃ hf (x)i. Since F [x] is a principal ideal domain, let
A = hg(x)i. Then A ⊃ hf (x)i ⇒ f (x) = g(x)h(x). But f (x) is irreducible, so either g(x) is
a unit or g(x) is an associate of f (x). Thus hg(x)i = F [x] or hg(x)i = hf (x)i ⇒ hf (x)i is
maximal.
In order to show that F [x]/hf (x)i is a field, the only thing we have to show is that any
non-zero element in F [x]/hf (x)i is invertible. Let g(x) + hf (x)i be any non-zero element in
F [x]/hf (x)i i.e.f (x) - g(x). This means that f (x), g(x) are comprime, therefore there exist
2
a(x), b(x) such that a(x)g(x) + b(x)f (x) = 1. Consequently a(x)g(x) ≡ 1 mod f (x), thus
g(x) + hf (x)i has a(x) + hf (x)i as an inverse in F [x]/hf (x)i.
Alternately, let g(x) be as above. Consider M = ideal generated by f (x), g(x). Since
f (x) - g(x), M 6= hf (x)i, and as hf (x)i is maximal, M = F [x]. Thus there exists a(x), b(x) ∈
F [x] such that a(x)g(x) + b(x)f (x) = 1 and we get the same conclusion as above.
Question 2(c) Show that a finite commutative ring with no zero divisors must be a field.
3
UPSC Civil Services Main 2001 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let K be a field and G be a finite subgroup of the multiplicative group of
the non-zero elements of K. Show that G is a cyclic group.
Solution. Let a ∈ G be chosen that o(a) ≥ o(b) ∀b ∈ G — this is possible because G is
finite. We shall show that G = hai.
Step 1. For any b ∈ G, o(b) | o(a). If not, there exists an element b ∈ G s.t. o(b) =
pl r, (p, r) = 1, o(a) = pm s, (p, s) = 1 where l > m ≥ 0, because if all primes occurring in
m
o(b) have power less than that occurring in o(a), then o(b) | o(a). Define x = br , y = ap ⇒
o(x) = pl , o(y) = s ⇒ o(xy) = pl s(∵ (o(x), o(y)) = 1, xy = yx) ⇒ o(xy) > o(a) which is a
contradiction. Hence o(b) | o(a).
Step 2. If o(a) = n, then bn = 1 ∀b ∈ G. Thus all elements of G are roots of xn − 1 = 0.
But this equation has at most n roots in K, thus |G| ≤ n. But o(a) = n ∴ 1, a, . . . , an−1 are
all distinct in G. Therefore o(G) ≥ n.
Thus o(G) = n ⇒ hai = G so G is cyclic.
Question 1(b) Prove that the polynomial 1 + x + . . . xp−1 , where p is a prime number, is
irreducible over the field of rational numbers.
xp −1
Solution. f (x) is irreducible ⇐⇒ f (1 + x) is irreducible. f (x) = x−1
. Thus
(x + 1)p − 1
f (1 + x) =
x
x + p1 xp−1 + p p
p
2
xp−2 + . . . + p−1
x
=
x
p−1 p p−2 p p−3 p p−r−1 p
= x + x + x + ... + x + ... +
1 2 r p−1
p p p!
Now p | r for r = 1, 2, . . . , p − 1, as r = r!(p−r)! , and p | p!, but p - r!, p - (p − r)!. Thus
the Eisenstein criterion gives the result.
1
Question 2(a) Let N be a normal subgroup of a group G. Show that G/N is abelian ⇔ for
all x, y ∈ G, xyx−1 y −1 ∈ N .
Question 2(b) If R is a commutative ring with unit element and M is an ideal of R, show
that M is a maximal ideal of R if and only if R/M is a field.
Question 2(c) Prove that every finite extension of a field is an algebraic extension. Give
an example to show that the converse is not true.
2
UPSC Civil Services Main 2002 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Solution. Let G be a group of order 35. By Sylow’s theorem, G has a subgroup of order 7
and the number of such groups is ≡ 1 mod 7 and divides 35. If the number is 7t + 1, then
7t + 1 | 35 ⇒ 7t + 1 | 5 ⇒ t = 0. Thus G has a unique Sylow subgroup H of order 7, which
must be a normal subgroup of G. Similarly the number of 5-Sylow subgroups is ≡ 1 mod 5
and divides 35. If this number is 5r + 1, then 5r + 1 | 35 ⇒ 5r + 1 | 7 ⇒ r = 0. Thus G has
a unique 5-Sylow group say K which is normal in G.
This means HK is a subgroup of G. o(H) = 7, o(K) = 5 ⇒ H ∩ K = {e}. Let
x ∈ H, o(x) = 7, y ∈ K, o(y) = 5. Now xyx−1 y −1 = x · yx−1 y −1 ∈ H, xyx−1 · y −1 ∈ K ⇒
xyx−1 y −1 = e ⇒ xy = yx ⇒ o(xy) = 35. Thus G is cyclic, xy being a generator.
More generally, o(G) = pq, p < q, p - q − 1 ⇒ G is cyclic of order pq, using a similar
argument.
Question 1(b) Show that the polynomial 25x4 + 9x3 + 3x + 3 is irreducible over the field of
rational numbers.
Question 2(a) 1. Show that a group of order p2 is abelian where p is a prime number.
Solution.
1
1. o(G) = p2 . Let C be the center of G. Then the center of G is nontrivial ∵ o(G) is a
power of a prime. If o(C) = p2 , then G = C ⇒ G is abelian. If o(C) = p, then G/C is
cyclic of order p. Let G/C be generated by aC. Let x, y ∈ G ⇒ xC = ar C, yC = as C
for some r, s, 1 ≤ r, s < p. Then
⇒ x = ar c1 , y = as c2 for some c1 , c2 ∈ C
⇒ xy = ar c1 as c2
⇒ xy = ar as c1 c2 ∵ c1 as = as c1
⇒ xy = as c2 ar c1 = yx
Thus G is abelian.
Question 2(b) Prove that in the ring F [x] of polynomials over a field F , the ideal I = [p(x)]
is maximal ⇐⇒ p(x) is irreducible over F .
Solution. Let I be maximal. If g(x) is any divisor of p(x), then [g(x)] ⊇ I ⇒ [g(x)] = F [x]
or [g(x)] = [p(x)]. Thus g(x) is a unit or g(x) is an associate of p(x). Thus p(x) is irreducible.
Conversely let p(x) be irreducible. Let M be an ideal, M ⊇ [p(x)]. Since F [x] is Euclidean
and therefore a Principal Ideal Domain, M = [f (x)] say. Then p(x) ∈ [f (x)] ⇒ f (x) | p(x).
Thus f (x) is a unit or f (x) is an associate of p(x) ⇒ M = F [x] or M = [p(x)] ⇒ I is
maximal.
Solution.
2
UPSC Civil Services Main 2003 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
α a + ib (a + ib)(c − id)
= = = p + iq
β c + id c2 + d2
where p, q are rational numbers. We determine integers x, y so that |p−x| ≤ 21 , |q −y| ≤ 1
2
— x, y are the integers nearest to p, q respectively. Let γ = x + iy. Then
α
= γ + (p − x) + (q − y)i ⇒ α = βγ + βη = βγ + δ
β
where δ = βη. Clearly δ = α − βγ is a Gaussian integer, and if δ 6= 0, then N (δ) =
N (β)[(p − x)2 + (q − y)2 ] ≤ N (β)[ 41 + 41 ] < N (β). This completes the proof.
1
Question 2(a) 1. Let R be the ring of all real-valued continuous functions on the closed
interval [0, 1]. Let M = {f (x) ∈ R | f ( 31 ) = 0}. Show that M is a maximal ideal of
R.
Solution.
1. M is an ideal. M 6= ∅ since the function f (x) = 0 clearly belongs to M .
Let f, g ∈ M then the function (f − g)(x) = f (x) − g(x) is continuous everywhere on
[0, 1] and (f − g)( 13 ) = f ( 13 ) − g( 31 ) = 0, so f − g ∈ M . Thus M is a subgroup of the
group (R, +).
If g ∈ M and f ∈ R, then the function (f g)(x) = f (x)g(x) is continuous everywhere
on [0, 1] and (f g)( 31 ) = f ( 13 )g( 13 ) = 0 as g( 31 ) = 0, thus f g ∈ M . Thus M is an ideal of
R. Note that R is a commutative ring with unity I, where I(x) = 1.
Let M ⊆ A ⊆ R where A is an ideal of R. If M 6= A, we shall show that A = R. Let
β ∈ A − M , thus β( 13 ) = c 6= 0. Define α : [0, 1] −→ [0, 1] by α(x) = c for all x ∈ [0, 1].
Then the function µ = β − α ∈ M ⊂ A as µ( 31 ) = 0. Thus α = β − µ ∈ A as β, µ ∈ A.
Now consider γ : [0, 1] −→ [0, 1] defined by γ(x) = 1c for all x. Clearly γ ∈ R. Since A
is an ideal, γα ∈ A. But γα(x) = 1c c = 1, thus γα = I ∈ A. Since I is unity in R, it
follows that A = R, hence M is a maximal ideal of R.
Note: The converse of the above statement is also true i.e. if M is a maximal ideal
of R, then there exists number r ∈ [0, 1] such that M = {f | f ∈ R, f (r) = 0}. The
proof needs compactness of [0, 1] which is not an algebraic concept.
√
Question 2(b) 1. Show that Q( 3, i) is the splitting field for x5 − 3x3 + x2 − 3 where Q
is the field of rational numbers.
2. Prove that x2 + x + 4 is irreducible over F , the field of integers modulo 11 and prove
further that F [x]/hx2 + x + 4i is a field with 121 elements.
2
Solution.
1. x5 − 3x3 + x2 − 3 = x3 (x2 − 3) + x2 − 3 = (x2 − 3)(x3 +√1) = (x2 − 3)(x + 1)(x2 − x + 1).
√
Thus the roots of x5 − 3x3 + x2 − 3 are −1, ± 3, 1±i2 3 . Consequently all the roots of
√
the given polynomial lie in the field Q( 3, i). Conversely, if K√ is any field containing
√ the roots of the √given polynomial, then 3 ∈ K, and therefore
Q, which contains
i ∈ K, thus Q( 3, i) ⊆ K. Thus √ Q( 3, i) is the smallest field containing all the roots
5 3 2
of x − 3x + x − 3. Thus Q( 3, i) is the splitting field of the given polynomial over
Q.
2. See question 2(c) from 1996 for the irreducibility of x2 + x + 4 over F .
See question 2(b) from 1992 for the second part.
Question 2(c) If R is a unique factorization domain (UFD), then prove that R[x] is also
a UFD.
Solution. Let F denote the field of quotients of R.
Result 1. If f (x) ∈ R[x] is irreducible, then f (x) remains irreducible in F [x]. (Note that
the converse is obvious as R[x] ⊆ F [x].) Let f (x) be reducible in F [x] i.e. f (x) = g(x)h(x),
where deg g(x) < deg f (x), deg h(x) < deg f (x) and g(x), h(x) ∈ F [x]. We can write g(x) =
a1 b−1 −1
1 g1 (x), h(x) = a2 b2 h1 (x), where g1 (x), h1 (x) ∈ R[x] and are primitive and a1 , b1 , a2 , b2 ∈
R (b1 is the LCM of all the denominators of g(x), and a1 is the GCD of the numerators). Thus
b1 b2 f (x) = a1 a2 g1 (x)h1 (x). But by Gauss Lemma, the product of two primitive polynomials
is primitive, therefore g1 (x)h1 (x) is primitive. Since f (x) is irreducible in R[x], therefore it
is also primitive. Consequently b1 b2 = content of b1 b2 f (x) = a1 a2 = content of a1 a2 g(x)h(x)
and therefore we get f (x) = g1 (x)h1 (x), thus f (x) is reducible in R[x]. Hence if f (x) is
irreducible in R[x] then it is irreducible in F [x].
Result2. Factorization exists in R[x]. Let f (x) ∈ R[x], f (x) 6= 0 and f (x) not a unit.
Let a = c(f ) = content of f then f = af ∗ where f ∗ is a primitive polynomial in R[x] of the
same degree as f . Since F [x] is a UFD (being a Euclidean domain), we can write f ∗ (x) =
p1 (x) . . . pr (x), where each pi (x) is an irreducible element of F [x]. Let pi (x) = ai b−1i qi (x),
where ai , bi ∈ R, and qi (x) ∈ R[x] is a primitive polynomial. Thus we get
b1 . . . br f ∗ (x) = a1 . . . ar q1 (x) . . . qr (x)
But the product q1 (x) . . . qr (x) is again primitive (Gauss Lemma), therefore equating the
contents of both sides (note that f ∗ (x) is primitive), we get b1 . . . br = a1 . . . ar , therefore
f ∗ (x) = q1 (x) . . . qr (x)
where each qi (x) ∈ R[x] and is irreducible in F [x] and therefore irreducible in R[x]. Since R
is a UFD, a = π1 . . . πt , where π1 , . . . , πt are irreducible in R. Thus
f (x) = π1 . . . πt q1 (x) . . . qr (x)
3
where π1 , . . . , πt , q1 (x), . . . , qr (x) are irreducible elements of R[x]. Note that π1 , . . . , πt being
constants cannot have a proper factorization in R[x] if they do not have one in R. Hence
the result is established.
Result 3. Uniqueness. If possible, let
where π1 , . . . , πt , π10 , . . . , πu0 are irreducible elements in R and q1 (x) . . . qr (x), g1 (x) . . . gs (x) are
irreducible elements of R[x]. Using Gauss Lemma, we get that the products q1 (x) . . . qr (x),
g1 (x) . . . gs (x) are primitive. Comparing the contents of both sides, we get π1 . . . πt =
π10 . . . πu0 . But R is a UFD, so t = u, and we can reorder the πi0 to ensure that each πi
is an associate of πi0 . Thus we are left with q1 (x) . . . qr (x) = g1 (x) . . . gs (x). We consider this
equation in F [x]. By the first result each qi , gj , 1 ≤ i ≤ r, 1 ≤ j ≤ s is irreducible in F [x].
Since F [x] is a UFD, we get r = s and by reordering, we get that qi (x) is an associate of
gi (x) in F [x]. We can assume w.l.o.g. that qi (x) = (unit in F [x])gi (x), 1 ≤ i ≤ r. Since
units in F [x] are non-zero constants, these are of the form cd−1 where c, d ∈ R. Thus we
get di qi (x) = ci gi (x). Using contents, we conclude that di = ci , thus qi (x) is an associate of
gi (x) in R[x], so the factorization is unique.
Thus R[x] is a UFD.
4
UPSC Civil Services Main 2004 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) If p is a prime number of the form 4n + 1, n a natural number, then show
that the congruence x2 ≡ −1 mod p is solvable.
Solution. Consider the multiplicative group G of non-zero residue classes modulo p. In this
group [1] and [p − 1] are the only two elements which are there own inverses as the equation
x2 = [1] has exactly two solutions in the field Z/pZ. Since order of G is φ(p) = p − 1 = 4n,
the remaining 4n − 2 elements form 2n − 1 pairs, in each pair each element is the inverse of
the other. Thus Y
[r] = [1]
1<r<p−1
as each one of the 2n − 1 pairs when multiplied would give us [1]. Consequently
Y
[r] = [p − 1] =⇒ (p − 1)! ≡ p − 1 ≡ −1 mod p
1≤r≤p−1
p − 1 p + 1
(p − 1)! = 1 · 2 · ... · · . . . · (p − 1)
2 2
p − 1 p − 1 p − 3
= 1 · 2 · ... · p− p− . . . (p − 1))
2 2 2
p−1 p − 1 2
≡ (−1) 2 ( )! mod p
2
p−1
Since p ≡ 1 mod 4, (−1) = 1 and we get
2
p − 1 2
( )! ≡ (p − 1)! ≡ −1 mod p
2
showing that the congruence x2 ≡ −1 mod p is solvable.
1
Question 1(b) Let G be a group and let a, b ∈ G. If ab = ba and (O(a), O(b)) = 1 then
show that O(ab) = O(a)O(b).
Solution. Let O(a) = l, O(b) = m and O(ab) = k. Now (ab)lm = alm blm because ab = ba.
But alm = (al )m = e, blm = (bm )l = e therefore (ab)lm = e and consequently k divides lm.
Also e = (ab)k = ak bk ⇒ ak = b−k ⇒ akm = b−km = e ⇒ l | km, but (l, m) = 1, therefore
l | k. Considering e = akl = b−kl , we get m | k. Since (l, m) = 1, we get lm | k. Hence
k = lm completing the proof.
Question 2(a) Verify that the set E of the four roots of x4 − 1 = 0 forms a multiplicative
group. Also prove that a transformation T, T (n) = in is a homomorphism from I+ (group of
all integers with addition) onto E under multiplication.
2πi 4πi 6πi 8πi πi 3πi
Solution. Clearly E = {e 4 , e 4 , e 4 , e 4 } = {e 2 , eπi , e 2 , e2πi } = {1, −1, i, −i}. The
following multiplication table shows that E is a multiplication group.
1 −1 i −i
1 1 −1 i −i
−1 −1 1 −i i
i i −i −1 1
−i −i i 1 −1
In fact
1. α, β ∈ E ⇒ αβ ∈ E
Question 2(b) Prove that if the cancellation law holds for a ring R then a(6= 0) ∈ R is not
a zero divisor and conversely.
Solution. Assume the cancellation law holds. If a 6= 0 and ab = 0 for some b ∈ R, then we
get ab = a0 and since a 6= 0, the cancellation law gives us b = 0, showing that a is not a zero
divisor. Conversely assume R has no zero divisors. Let a 6= 0 and ax = ay ⇒ a(x − y) = 0.
This should imply x − y = 0 because otherwise a will be a zero divisor. Thus ax = ay, a 6=
0 =⇒ x = y i.e. cancellation law holds. This completes the proof.
2
Question 2(c) Show that the residue class ring Z/(m) is a field if m is a prime number.
4. If [a] ∈ Z/(m) then [−a] ∈ Z/(m) and [a] + [−a] = [a + (−a)] = [0], hence [−a] is the
additive inverse of [a].
5. [a] + ([b] + [c]) = [a] + [b + c] = [a + b + c] = [a + b] + [c] = ([a] + [b]) + [c] showing the
operation is additive.
8. [a]([b] + [c]) = [a][b + c] = [a(b + c)] = [ab + ac] = [a][b] + [a][c] and ([a] + [b])[c] =
[a][c] + [b][c].
Thus Z/(m) is a commutative ring with identity. To show that it is a field, we have to show
that every non-zero element is invertible.
Let [a] ∈ Z/(m), [a] 6= [0]. This means that a 6≡ 0 mod m. Since m is a prime, it
follow that (a, m) = 1, and therefore there exist integers b and c such that ab + cm = 1.
Consequently ab ≡ 1 mod m, or [a][b] = [1] i.e. [a] is invertible and [b] is its inverse.
Hence Z/(m) is a field when m is a prime.
Note: Z/(m) is not even an integral domain when m > 1 and is not prime. m = bc where
1 < b < m, 1 < c < m and therefore [b], [c] 6= [0] but [b][c] = [bc] = [0], showing that Z/(m)
has zero divisors and is not an integral domain.
Question 2(d) Define an irreducible element and a prime element in an integral domain
D with unit. Prove that every prime element in D is irreducible, but the converse of this is
not in general true,
3
Prime. An element a 6= 0, a not a unit is is said to be a prime element if a | bc ⇒ a | b
or a | c.
Every prime is irreducible. Let a be a prime element in D. If possible let a = bc, we
shall show that either b or c is a unit. Since a | bc and a is a prime element, a | b or a | c. If
a | b then there exists x ∈ D such that b = xa =⇒ a = xac. But D is an integral domain
and therefore cancellation holds. Thus a = xac ⇒ 1 = xc i.e. c is a unit. Similarly we can
show that if a | c then b is a unit. Thus a is an irreducible element i.e. it has no proper
divisors.
Example where an irreducible need not be prime.
√ √
D = Z[ −5] = {a + b −5 | a, b ∈ Z}
√
We define for α ∈ D, N (α) = a2 + 5b2 where α = a + b −5. Clearly for α, β ∈ D,
N (αβ) = N (α)N (β). Moreover α ∈ D is a unit if and only if N (α) = 1. Thus D has only
two units namely ±1.
Now we show that 2 is irreducible but not a prime. If possible, let 2 = αβ, then
N (2) = 4 = N (α)N (β), showing that N (α) = 1, 2, 4 ⇒ √ N (β) = 4, 2, 1. If N (α) = 1, then α
is a unit, and if N (α) = 4, then β is a unit. If α = a + b −5, then N (α) = 2 ⇒ a + 5b2 = 2,
which is not possible for√a, b ∈ Z. Hence
√ 2 is irreducible.
√ √
However√2 · 3 = (1 + √ −5)(1 − −5), i.e. 2 | (1 + −5)(1 √ − −5) but 2 does not divide
either (1 + −5) or (1 − −5), √ because N (2) = 4, N (1 ± −5) = 6 and 4 - 6. Hence 2 is
irreducible but not prime in Z[ −5].
4
UPSC Civil Services Main 2005 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) If M and N are normal subgroups of a group G such that M ∩ N = {e},
show that every element of M commutes with every element of N .
Question 1(b) Show that (1 + i) is a prime element in the ring R of Gaussian integers.
Solution. The ring of Gaussian integers is a Euclidean domain with Euclidean function
N (a + ib) = a2 + b2 , therefore any two elements α, β ∈ R have a GCD (greatest common
divisor). If d is the GCD of α, β, then there exist γ, δ ∈ R such that αγ + βδ = d. Moreover
α is a unit in R if and only if N (α) = 1, because if N (α) = 1 then αα = 1, implying that
α is a unit, and conversely, if α is a unit, then there exist β ∈ R such that αβ = 1, and
therefore N (αβ) = N (α)N (β) = 1 ⇒ N (α) = N (β) = 1 as both are positive integers.
First of all we prove that 1 + i is an irreducible element (note that it is not a unit as
N (1 + i) = 2). Let 1 + i = αβ. Taking norm of both sides, we get N (αβ) = N (α)N (β) =
2 ⇒ N (α) = 1 or N (β) = 1, so either α is a unit or β is a unit. Thus 1 + i is an irreducible
element.
Let 1 + i divide αβ and assume that 1 + i does not divide α. We shall show that 1 + i
divides β. Since the only divisors of 1 + i are 1 + i and units, and 1 + i does not divide α, it
follows that GCD of α and 1 + i is 1. Thus there exists γ, δ ∈ R such that γ(1 + i) + δα = 1
or γβ(1 + i) + δαβ = β. Since (1 + i) divides the left hand side of this equation, it follows
that 1 + i divides β. Hence 1 + i is a prime element in R.
1
Question
p 2(a) p H and K be two subgroups of a finite group G, such that |H| >
1. Let
|G| and |K| > |G|. Prove that H ∩ K 6= {e}.
Solution.
|H||K|
1. We prove that |HK| = |H∩K|
.
If H ∩ K = {e}, then hk = h1 k1 ⇔ h−1 1 h = k1 k
−1
⇔ h−1 1 h, k1 k
−1
∈ H ∩ K ⇔ h−11 h =
k1 k −1 = e ⇔ h = h1 , k = k1 . Thus there are no repetitions in HK = {hk | h ∈
|H||K|
H, k ∈ K}, so |HK| = |H||K| = |H∩K| . (This is sufficient to prove the result, but for
completeness we show the result when H ∩ K 6= {e}.)
If H ∩ K 6= {e}, then hk = h1 k1 ⇔ h−1 1 h, k1 k
−1
∈ H ∩ K ⇔ h−11 h = k1 k
−1
=u∈
−1
H ∩ K ⇔ h = h1 u, k = u k1 with u ∈ H ∩ K. Thus hk is duplicated at least |H ∩ K|
times as hk = (hu)(u−1 k) with u ∈ H ∩K. It is duplicated no more than |H ∩K| times,
|H||K|
because hk = h1 k1 ⇒ h = h1 u, k = u−1 k1 with u ∈ H ∩ K. Hence |HK| = |H∩K| .
√ √
|H||K| |G| |G|
Now |G| ≥ |HK| = |H∩K| ≥ |H∩K| Thus |H ∩ K| > 1, so |H ∩ K| 6= {e}.
2. Let o(a) = order of a = m and order of f (a) = o(f (a)) = n. Then e0 = f (am ) = f (a)m ,
where e0 is the identity of G0 , showing that n divides m. Conversely, f (e) = e0 =
f (a)n = f (an ) ⇒ an = e as f is one-one. This means that m divides n. Thus m = n,
which was to be proved.
Question 2(b) Prove that any polynomial ring F [x] over a field F is a UFD.
Solution. We know that F [x] is a Euclidean domain with the Euclidean function being
the degree of the polynomial — the algorithm being: given f (x), g(x) 6= 0 belonging to
F [x], there exist q(x), r(x) ∈ F [x] such that f (x) = q(x)g(x) + r(x) where r(x) = 0 or
deg r(x) < deg g(x).
Step 1. If f (x), g(x) ∈ F [x], both not 0, then they have a GCD d(x), and there exist
λ(x), µ(x) ∈ F [x] such that d(x) = f (x)λ(x) + g(x)µ(x). Let S = {f (x)a(x) + g(x)b(x) |
a(x), b(x) ∈ F [x]}. Then S 6= ∅, as f (x), g(x) ∈ S. Let d(x) be a non-zero polynomial is S
with minimal degree, i.e. deg d(x) ≤ deg h(x) for every nonzero h(x) ∈ S. Clearly if any d0 (x)
divides f (x) and g(x), then d0 (x) divides d(x) because d(x) is of the form f (x)a(x)+g(x)b(x).
Moreover d(x) divides both f (x) and g(x), otherwise we have q(x), r(x) ∈ F [x] such that
f (x) = d(x)q(x) + r(x) where deg r(x) < deg d(x), but this is not possible as r(x) ∈ S as it is
of the form f (x)a(x) + g(x)b(x) so deg r(x) ≥ deg d(x). So d(x) divides f (x), and similarly
d(x) divides g(x).
2
Step 2. An irreducible element of F [x] is a prime element i.e. if f (x) is irreducible and
f (x) | g(x)h(x) and f (x) - g(x) then f (x) | h(x).
If f (x) - g(x), then f (x) is irreducible implies its only divisors are units or associates of
f (x). Therefore the GCD of f (x) and g(x) is 1. By Step 1, we have 1 = f (x)a(x) + g(x)b(x)
for some a(x), b(x) ∈ F [x]. Thus h(x) = h(x)f (x)a(x) + h(x)g(x)b(x). Clearly f (x) divides
the right hand side, so f (x) | h(x), as required.
Step 3. Every non-zero non-unit element in F [x] can be written as the product of
irreducible elements in F [x].
The proof is by induction on the degree of f (x). If deg f (x) = 0, then f (x) is a non-zero
constant, therefore a unit in F [x], so we have nothing to prove.
Let the result be true for all polynomials whose degree is < deg f (x). If f (x) is irre-
ducible, we have nothing to prove. If f (x) is not irreducible, then there exist g(x), h(x),
1 ≤ deg g(x), deg h(x) < deg f (x) such that g(x)h(x) = f (x). Now by induction both g(x)
and h(x) are products of irreducible elements, therefore f (x) is the product of irreducible
elements.
Step 4: Uniqueness. If possible let
If r < s, then after r steps we shall get gr+1 (x) . . . gs (x) = 1, which is not possible, hence
r ≥ s, similarly s ≥ r so r = s. Now by relabelling g1 , . . . , gr we get each fi (x) is an associate
of gi (x), 1 ≤ i ≤ r. Hence F [x] is a UFD.
3
UPSC Civil Services Main 2006 - Mathematics
Algebra
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let S be the set of all real numbers except −1. Define ∗ on S by
a ∗ b = a + b + ab
2∗x∗3=7
in S.
Solution. Clearly S 6= ∅.
1. S is closed for the operation (∗). If a+b+ab = −1, then a+b+ab+1 = (a+1)(b+1) =
0 ⇒ a = −1 or b = −1. Thus a, b ∈ S ⇒ a 6= −1, b 6= −1 ⇒ a+b+ab 6= −1 ⇒ a∗b ∈ S.
4. a ∗ b = b ∗ a for every a, b ∈ S.
1
Question 1(b) If G is a group of real numbers under addition and N is the subgroup of
G consisting of the integers, prove that G/N is isomorphic to the group H of all complex
numbers of absolute value 1 under multiplication.
2. Let z be any complex number with |z| = 1, then z 6= 0. Let θ = arg z, then
θ
f( ) = eiθ = z
2π
1. φ is well defined i.e.. if α = β then φ(α) = φ(β) i.e. φ does not depend on the choice
of representative in the coset. Clearly α = β ⇔ α − β ∈ N ⇒ e2iπα = e2iπβ ⇒ f (α) =
f (β).
Question 2(a) 1. Let O(G) = 108. Show that there exists a normal subgroup of order
27 or 9.
2. Let G be the set of all those ordered pairs (a, b) of real numbers for which a 6= 0 and
define in G an operation ⊗ as follows:
Solution.
2
1. According to one of the Sylow theorems, the number of subgroups of G of order 27 is
≡ 1 (modulo 3) and is a divisor of 108 and therefore of 4, thus the number of such
subgroups is 1 or 4. If G has a unique Sylow group H of order 27, then it has to be a
normal subgroup because O(a−1 Ha) = 27 and therefore a−1 Ha = H for every a ∈ G.
Let us therefore assume that G has more than one subgroup of order 27. Then G has
four subgroups of order 27, say H1 , H2 , H3 , H4 .
We first of all observer that Hi ∩ Hj must have at least 9 elements, because if not, then
|H ||H |
|Hi Hj |, the number of elements in Hi Hj , would be at least 243 as |Hi Hj | = |Hii∩Hjj | ,
and this is not possible. Let H = Hi ∩ Hj , i 6= j, then O(H) = 9, because Hi 6= Hj .
Now NHi (H), the normalizer of H in Hi , contains H properly (see 1995 question 1(b)),
showing that NHi (H) = Hi and similarly NHj (H) = Hj . Thus NG (H) ⊇ Hi as well as
Hj and therefore O(NG (H)) ≥ 81 and is divisor of 108. Hence NG (H) = G and H is
a normal subgroup of G. Thus G has a normal subgroup of order 27 or of order 9.
(a) G is closed with respect to the operation ⊗ i.e. (a, b), (c, d) ∈ G ⇒ (a, b) ⊗ (c, d) ∈
G.
(b) (1, 0) is identity of G w.r.t. ⊗ as (a, b)(1, 0) = (a, b) = (1, 0) ⊗ (a, b)
(c) If (a, b) ∈ G, then (a−1 , −ba−1 ) ∈ G as a 6= 0, and (a, b) ⊗ (a−1 , −ba−1 ) = (1, 0) =
(a−1 , −ba−1 )(a, b). Thus every element of G has an inverse w.r.t. the operation
⊗ and it belongs to G.
(d) (a, b) ⊗ ((c, d) ⊗ (e, f )) = (a, b) ⊗ (cd, de + f ) = (ace, bce + de + f ) = ((a, b) ⊗
(c, d)) ⊗ (e, f )
√ √
Question 2(b) Show that Z[ 2] = {a + 2b | a, b ∈ Z} is a Euclidean domain.
3
√
1. g(α) ≥ 0 for every α ∈ Z[ 2], α 6= 0.
√
2. For α, β ∈ Z[ 2], α 6= 0, β 6= 0, g(αβ) = g(α)g(β) ≥ g(α) because g(β) ≥ 1.
√ √
Note that if α = a + b 2, β = c + d 2, then
4
UPSC Civil Services Main 1979 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
1
Thus n x
f (r) (a)(x − a)r f (n+1) (t)(x − t)n
X Z
f (x) = + dt
r=0
r! a n!
as required. Now we use the result — if f (x) is continuous in [a, b], then
Z b
f (x) dx = f (µ)(b − a) for some µ ∈ (a, b)
a
Rb
This is obvious as m(b − a) ≤ a f (x) dx ≤ M (b − a), where m, M are respectively the
min and max of f (x) over [a, b]. and every value between m and M is attained (by the
intermediate value theorem).
Since f ∈ C n+1 , f (n+1) is continuous and we can use the above result. Therefore
Z x (n+1)
f (t)(x − t)n f (n+1) (X)(x − X)n
dt = (x − a)
a n! n!
where a < X < x.
Question 1(b) If 2 2
2xy x − y ,
(x, y) 6= (0, 0)
f (x, y) = x2 + y 2
0, (x, y) = (0, 0)
∂ 2f ∂ 2f
show that 6= . Explain this result.
∂x ∂y ∂y ∂x
Solution.
f (0, k) − f (0, 0) 0
fy (0, 0) = lim = lim = 0
k→0 k k→0 k
2 −k 2
f (h, k) − f (h, 0) 2hk hh2 +k 2
fy (h, 0) = lim = lim = 2h
k→0 k k→0 k
∂ 2f fy (h, 0) − fy (0, 0) 2h
(0, 0) = lim = lim =2
∂x ∂y h→0 h h→0 h
f (h, 0) − f (0, 0) 0
fx (0, 0) = lim = lim = 0
h→0 h h→0 h
2 2
f (h, k) − f (0, k) 2hk hh2 −k
+k2
fx (0, k) = lim = lim = −2k
h→0 h h→0 h
∂ 2f fx (0, k) − fx (0, 0) −2k
(0, 0) = lim = lim = −2
∂y ∂x k→0 k k→0 k
∂ 2f ∂ 2f
Thus 6= at (0, 0). The reason for this is that neither fxy nor fyx is continuous
∂x ∂y ∂y ∂x
at (0, 0). This implies that neither fx (x, y) nor fy (x, y) is differentiable at (0, 0). Thus the
criteria of Young’s or Schwartz theorem are not satisfied.
2
R1
Question 2(a) If B(x, y) = 0
tx−1 (1 − t)y−1 dt, x > 0, y > 0, then show that B(x, x) =
21−2x B(x, 12 ).
Γ( 21 )Γ(x) 1 [Γ(x)]2
Since = B(x, ) and = B(x, x), we get B(x, x) = 21−2x B(x, 12 ) as required.
Γ(x + 12 ) 2
Γ(2x)
Paper II
Question 3(a) Find the maximum of x21 x22 . . . x2n under the restriction x21 +x22 +. . .+x2n = 1.
Using the result derive the inequality
1 a1 + . . . + an
(a1 a2 . . . an ) n ≤
n
for positive real numbers a1 , . . . , an .
Solution. Let F (x1 , . . . , xn ) = x21 x22 . . . x2n + λ( ni=1 x2i − 1), where λ is Lagrange’s unde-
P
termined multiplier. For extreme values,
∂F
= 2x21 x22 . . . x2i−1 xi x2i+1 . . . x2n + 2λxi = 0, 1 ≤ i ≤ n
∂xi
Since x21 +x22 +. . .+x2n = 1, (x1 , . . . , xn ) 6= (0, . . . , 0), it follows that λ = −x21 x22 . . . x2i−1 x2i+1 . . . x2n
for 1 ≤ i ≤ n. Thus x21 = x22 = . . . = x2n = n1 , and λ = − nn−1 1
.
∂ 2F
= 2x21 x22 . . . x2i−1 x2i+1 . . . x2n + 2λ = 0 for 1 ≤ i ≤ n
∂x2i
n
∂ 2F Y 4 1
= 4xi xj x2r = at x21 = x22 = . . . = x2n =
∂xi ∂xj r=1,r6=i,j
nn−1 n
8 X
⇒ d2 F = dxi dxj (only the cross terms appear)
nn−1 1≤i<j≤n
Now x21 + x22 + . . . + x2n = 1, so 2 ni=1 xi dxi = 0 ⇒ ni=1 dxi = 0 ⇒ dxn = −(dx1 + . . . +
P P
dxn−1 ).
n−1
2 8 h X X 2 i
Thus d F = n−1 dxi dxj − dxi . Clearly d2 F < 0, so we have a
n 1≤i<j≤n−1 i=1
maximum when x21 = x22 = . . . = x2n = n1 .
3
Derivation of inequality:
1 n x2 + x2 + . . . + x2 n
1 2 n
x21 x22 . . . x2n ≤ = as x21 + x22 + . . . + x2n = 1
n n
2 2 2
1 x + x2 + . . . + xn
⇒ (x21 x22 . . . x2n ) n ≤ 1
n
Let x2i = ai , 1 ≤ i ≤ n, to get
1 a1 + . . . + an
(a1 a2 . . . an ) n ≤
n
as required.
x 2 1 2 2
e−x (t +1)
Z Z
−t2
Question 4(a) Define f (x) = e dt , g(x) = 2
dt. Show that g 0 (x) +
0 0 tZ + 1 √
x
0 π −t2 π
f (x) = 0 for all x. Deduce that (i) g(x) + f (x) = 4 (ii) lim e dt = .
x→∞ 0 2
Solution.
Z x
0 −t2
2
f (x) = 2 e dt e−x
0
1 2 2
∂ e−x (t +1)
Z
0
g (x) = dt
0 ∂x t2 + 1
1 2 (t2 +1)
e−x (−2x(t2 + 1))
Z
= dt
0 t2 + 1
2 Rx 2
Let xt = y in the second equation, then dy = x dt, g 0 (x) = −2e−x 0
e−y dy = −f 0 (x),
showing that f 0 (x) + g 0 (x) = 0 for all x.
R1
1. f 0 (x) + g 0 (x) = 0 ⇒ f (x) + g(x) = C, a constant. Clearly f (0) = 0, g(0) = dt
0 t2 +1
=
i1
tan−1 t = π4 . So C = f (0) + g(0) = π4 , thus g(x) + f (x) = π4 .
0
2 2
1
e−x t
Z
2
2. lim g(x) = lim 2
dt e−x .
x→∞ x→∞ 0 t +1
Z 1 −x2 t2 Z 1
e dt π 2 2 2
But 2
dt ≤ 2
= , ∵ e−x t ≤ 1. Thus 0 ≤ g(x) ≤ π4 e−x ⇒
0 t +1 0 1+t 4
limx→∞ g(x) = 0.
Z x 2 Z x √
−t2 π −t2 π
Thus lim f (x) = lim e dt = =⇒ lim e dt = , as both sides are
x→∞ x→∞ 0 4 x→∞ 0 2
positive.
4
UPSC Civil Services Main 1980 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let f be a real continuous function on the interval [a, b] which is differen-
tiable in the open interval (a, b). Prove that there exists at least one point x ∈ (a, b) at which
f (b) − f (a) = (b − a)f 0 (x).
Solution. (This is the mean value theorem of calculus.)
Consider the function φ(x) = f (x)−f (a)−(x−a)A, where A is a constant so determined
f (b) − f (a)
that φ(b) = 0 ⇒ A = . Thus φ(b) = φ(a) = 0, φ(x) is continuous in [a, b] as
b−a
it is the sum of functions continuous over [a, b], and φ(x) is differentiable over (a, b) as
f (x), f (a), (x − a)A are all differentiable over (a, b). Thus φ(x) satisfies the conditions of
Rolle’s theorem, so there is at least one point c ∈ (a, b) such that φ0 (c) = 0 i.e. f 0 (c) − A =
f (b) − f (a)
0 ⇒ f 0 (c) = , thus f (b) − f (a) = (b − a)f 0 (c).
b−a
Question 1(b) Find the volume of the solid of revolution formed by rotating the area cut
off from y 2 = 4ax by the line y = x through 2π radians about the x-axis.
Solution. The curve y 2 = 4ax intersects y = x at (0, 0) and (4a, 4a). The required volume
V = Volume of rotating y 2 = 4ax about the x-axis - Volume of rotating y = x about the
x-axis. Thus
Z 4a Z 4a
2
V = πy1 dx − πy22 dx
Z0 4a 0
Z 4a
= π4ax dx − πx2 dx
0 0
2 4a 3 4a
x x
= 4aπ −π
2 0 3 0
2
16a 64a3 32πa3
= 4aπ −π =
2 3 3
1
Question 2(a) A rectangular box open at the top is to have a capacity of 4m3 . Find the
dimensions of the box requiring least material for its construction.
Solution. Let x be the length, y be the breadth, and z the height of the box. Then the
capacity of the box is xyz = 4. The surface area of the box is S = 2xz + 2yz + xy =
4
xy + 2(x + y) xy = xy + x8 + y8 . For extreme values
∂S 8 ∂S 8
= y − 2 = 0, =x− 2 =0
∂x x ∂y y
x4
Thus y = x82 , substituting in the second equation we get x = 8
⇒ x = 0, 2. Since x = 0 is
inadmissible, x = 2 ⇒ y = 2, z = 1.
∂ 2S 16 ∂ 2 S 16 ∂ 2 S
= , = , =1
∂x2 x3 ∂y 2 y 3 ∂x ∂y
2 2
∂ 2S ∂ 2S ∂ S ∂ 2S ∂ 2S
Thus − = 4 − 1 > 0 when x = 2, y = 2, and = 2 > 0, = 2 > 0.
∂x2 ∂y 2 ∂x ∂y ∂x2 ∂y 2
So x = 2, y = 2 is a minimum for S.
Thus the dimensions of the required box are 2 meters × 2 meters × 1 meter.
2
UPSC Civil Services Main 1981 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
|x|
Question 1(a) Let f (x) = . Discuss the value of limx→0 f (x) and f (0). Justify your
x
answer. Discuss the differentiability of f and f 2 at x = 0.
Solution. Clearly (
1, x>0
f (x) =
−1, x < 0
Thus limx→0+ f (x) = 1, limx→0− f (x) = −1, showing that limx→0 f (x) does not exist. Thus
no matter what value is given to f (x) at 0, f (x) cannot be continuous at x = 0.
Since f (x) is not continuous at x = 0, the question of its differentiability does not arise., as
f (x0 + h) − f (x0 )
differentiability implies continuity — note that f (x0 + h) − f (x0 ) = h, so if
h
f (x0 + h) − f (x0 )
f (x) is differentiable at x0 , then limh→0 f (x0 +h)−f (x0 ) = limh→0 limh→0 h =
0
h
f (x0 ) · 0 = 0, so limh→0 f (x0 + h) = f (x0 ).
Clearly f 2 (x) = 1 for every x 6= 0, therefore f 2 would become differentiable at x = 0 if
we define f (x) = 1 or −1, making f 2 (x) = 1 for all x. In any other case f 2 (x) would not be
differentiable at x = 0, as it would not be continuous at x = 0.
x
Question 2(a) Suppose a manufacturer can sell x items at a price P = 200 − paisa
100
per item, and it costs y = 50x + 20000 paise to produce the x items. What is the production
level for maximum profits, and the selling price per item?
x
Solution. Selling price of x items = 200 − x
100
Cost price of x items = 50x + 20000.
1
x
Profict P on the sale of x items = 200 − x − (50x + 20000).
100
For extreme values,
dP x x x
= 200 − − − 50 = 150 − = 0 =⇒ x = 7500
dx 100 100 50
d2 P 1
2
=− <0
dx 50
showing that the profit is maximum when 7500 items are sold at 125 paisa per item.
Z ∞Z ∞
2 2
Question 2(b) Evaluate the double integral e−(x +y ) dx dy.
0 0
Γ(p)Γ(q)
Question 3(b) Show that B(p, q) = .
Γ(p + q)
Solution. See 1991 question 2(c).
2
UPSC Civil Services Main 1982 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Show that f (x) has a removable discontinuity at every rational point, but is continuous for
irrational values.
Solution.
1
Let > 0, and let δ > 0 be chosen so that 0 < δ < . Let x ∈ R, 0 < |x − pq | < δ.
2q
Then
|f (x) − 0| = |0 − 0| < if x 6∈ Q
m p
If x ∈ Q, let x = , x 6= , then
n q
p m p qm − pn qm − pn
x − = − = < ⇒ <
q n q qn 2q n 2
2 qm − pn m p
Now |f (x) − 0| = | n22 − 0| ≤ < because |qm − pn| ≥ 1 as 6= .
n n n n q
Hence we have shown that 0 < |x − pq | < δ with δ < ⇒ |f (x) − 0| < , i.e.
2q
limx→ pq f (x) = 0, showing that f (x) has a removable discontinuity at all rational
points.
Question 1(b) If f (x) is differentiable three times in (a − h, a + h), prove that there is a
point c in the interval such that
f (a + h) + f (a − h) h2
− f 0 (a) = f 000 (c)
2h 6
Solution. In order to prove this we prove the following particular case.
If f (x) is thrice differentiable and f (a) = 0, f (a − h) = 0, f (a + h) = 0, f 0 (a) = 0 then
there exists a point c ∈ (a − h, a + h) such that f 000 (c) = 0.
1. f (a − h) = f (a) = 0 and f 0 (x) exists, therefore Rolle’s theorem tells us that there
exists ξ1 ∈ (a − h, a) such that f 0 (ξ1 ) = 0.
2. f (a + h) = f (a) = 0 and f 0 (x) exists, therefore Rolle’s theorem tells us that there
exists ξ2 ∈ (a, a + h) such that f 0 (ξ2 ) = 0.
3. f 0 (ξ1 ) = f 0 (a) = 0 and f 00 (x) exists in [ξ1 , a], Rolle’s theorem gives a point η1 ∈ (ξ1 , a)
such that f 00 (η1 ) = 0.
4. f 0 (a) = f 0 (ξ2 ) = 0 and f 00 (x) exists in [a, ξ2 ], Rolle’s theorem gives a point η2 ∈ (a, ξ2 )
such that f 00 (η2 ) = 0.
5. Finally f 00 (η1 ) = f 00 (η2 ) = 0 and f 000 (x) exists in [η1 , η2 ], then Rolle’s theorem gives a
point c ∈ (η1 , η2 ) such that f 000 (c) = 0. Clearly, c ∈ (η1 , η2 ) ⊆ (a − h, a + h).
2
Now to prove the main result, let
Q(x) = f (a) + (x − a)f 0 (a) + B(x − a)2 + A(x − a)3
where A, B are so determined that Q(a + h) = f (a + h), Q(a − h) = f (a − h). Thus
f (a + h) − Q(a + h) = 0 ⇒ f (a + h) − f (a) − hf 0 (a) − h2 B − h3 A = 0 (1)
f (a − h) − Q(a − h) = 0 ⇒ f (a − h) − f (a) + hf 0 (a) − h2 B + h3 A = 0 (2)
Subtracting (2) from (1) we get
f (a + h) − f (a − h) − 2hf 0 (a) − 2h3 A = 0 (3)
We now take φ(x) = f (x) − Q(x), then φ(a) = 0, φ0 (a) = 0, φ(a − h) = 0, φ(a + h) = 0,
so by the result proved above, we get a point c ∈ (a − h, a + h) such that φ000 (c) = 0. But
000
φ000 (c) = f 000 (c) − Q000 (c) = f 000 (c) − 6A ⇒ A = f 6(c) . Substituting in (3) we have
h3 000
f (a + h) − f (a − h) − 2hf 0 (a) = f (c)
3
or
f (a + h) + f (a − h) h2
− f 0 (a) = f 000 (c)
2h 6
as required.
Note: In such questions the general tendency is to take φ(t) = f (a + th) − f (a − th), 0 ≤
t ≤ 1 and apply Taylor’s theorem to φ(t) in [0, 1]. We get
1 00
φ(1) = φ(0) + φ0 (0) + φ (θ), 0 < θ < 1
2!
φ(1) = f (a + h) − f (a − h)
φ(0) = 0
φ0 (0) = h(f 0 (a) − (−h)f 0 (a) = 2hf 0 (a)
φ00 (0) = h2 f 00 (a) − h2 f 00 (a) = 0
φ000 (θ) = h3 f 000 (a + θh) − (−h3 )f 000 (a − θh) = h3 [f 000 (a + θh) + f 000 (a − θh)]
Thus
f (a + h) + f (a − h) h2
− f 0 (a) = [f 000 (a + θh) + f 000 (a − θh)]
2h 6
i.e. we get two points in (a − h, a + h) and not one, so such a solution does not work in our
case.
Question 1(c) The arc of the parabola y 2 = 4ax from the vertex to one extremity of the
latus rectum is√revolved about the corresponding chord. Prove that the volume of the spindle
2 5 3
so formed is πa .
75
Solution.
3
Arc OL joining (0, 0) to (a, 2a) is rotated
about the chord OL. Let P be the point L
(x, y), M the foot of the the perpendicular on (a, 2a)
|y − 2x| P
OL i.e. y = 2x. Therefore P M = √ .
5 M
y 2 − 4xy + 4x2 O
OM 2 = OP 2 − P M 2 = x2 + y 2 −
5
4y 2 + 4xy + x2
=
5 √
2y + x 4 ax + x y 2 = 4ax
OM = √ = √
5 5
The required volume is V , given by
Z a
V = π(P M )2 d(OM )
0
√
y 2 − 4xy + 4x2 4ax − 4ax · 4x + 4x2
(P M )2 = =
√
5 5
a √ √
2 √x + 1 2 a+ x
d(OM ) = √ dx = √ dx
5 5x
Z a √ √
4 √ 2 a + x
⇒V = π x a − 2 ax + x √ dx
0 5 5x
Z a
4π √ √ √ 3
= √ x2 + ax − 2x ax + 2a ax − 4ax + 2 ax 2 dx
5 5 0
a
4π x3 x2
3 2 3
= √ − 3a + 2a 2 x 2
5 5 3 2 3 0
√ 3 3 3
√
4 5π a 3a 4a 2 5 3
= − + = πa
25 3 2 3 75
as required.
4
Differentiate x cos u + y sin u = 1 with respect to y to get
∂u ∂u
−x sin u + sin u + y cos u =0
∂y ∂y
or
∂u ∂u ∂u
sin u − (x sin u − y cos u) = sin u − v =0 ⇒ v = sin u (2)
∂y ∂y ∂y
Differentiate (1) with respect to y to get
∂u ∂ 2u ∂u ∂v
− sin u =v +
∂y ∂x ∂y ∂x ∂y
But
∂v ∂u ∂u ∂u
= x cos u − cos u + y sin u = − cos u
∂y ∂y ∂y ∂y
as x cos u + y sin u = 1. Therefore
∂u ∂ 2u ∂u ∂u ∂u
− sin u =v + − cos u
∂y ∂x ∂y ∂x ∂y ∂x
Multiplying by v, and substituting (1), (2), we get
∂ 2u ∂u ∂u
− sin u(sin u) = v 2 +v − cos u(cos u)
∂x ∂y ∂x ∂y
or
∂ 2u ∂u ∂u
v2 +v = cos2 u − sin2 u = cos 2u
∂x ∂y ∂x ∂y
as required.
√ 1 √ 1 2
1
π2 Γ 3= 3 Γ
6 3
on putting x = sin2 θ.
1
1. We take n = 2
to get
π
Γ( 12 )Γ(m)
Z
2
=2 sin2m−1 θ dθ
Γ(m + 21 ) 0
5
2. We take m = n to get
π π
π
[Γ(n)]2
Z Z Z
2
2n−1 1 2
2n−1 1
=2 (sin θ cos θ) dθ = (sin 2θ) dθ = (sin φ)2n−1 dφ
Γ(2n) 0 22n−2 0 22n−1 0
by putting 2θ = φ. But
π
Z π Z
2
2n−1
(sin φ) dφ = 2 (sin φ)2n−1 dφ
0 0
so π
[Γ(n)]2
Z
1 2
= 2n−2 (sin θ)2n−1 dθ
Γ(2n) 2 0
π 2
1
2π 5
1
Now Γ(n)Γ(1 − n) = , so Γ 3
Γ 3
= √ and Γ 6
Γ 6
= 2π. Thus we get
sin nπ 3
2π
Γ( 61 )
2 √
√
1 1 3
Γ = π 23
3 2π
so 2
√ 1 √ 1 1
3 Γ = π 23 Γ
3 6
as required.
Question 2(c) Find a point within a triangle such that the sum of its distances from the
angular points may be a minimum.
Solution.
6
Let the point be P = (x, y), and the A
vertices of the triangle ABC be (xi , yi ), i =
1,
P2, 3.p Then u = P A + P B + P C =
3 2 2
r1
i=1 (x −
pxi ) + (y − yi ) = r1 + r2 + r3 , a c
where ri = (x − xi )2 + (y − yi )2 , i = 1, 2, 3. P γ
For extreme values α
∂u
3
x − xi β
X r2 r3
= =0
∂x ri
i=1 B b C
3
∂u X y − yi
= =0
∂y i=1
ri
Thus
x − x1 x − x2 x − x3 y − y1 y − y2 y − y3
+ =− , + =−
r1 r2 r3 r1 r2 r3
Squaring and adding, we get
2
2+ (x − x1 )(x − x2 ) + (y − y1 )(y − y2 ) = 1
r1 r2
or
1 1
(x − x1 )(x − x2 ) + (y − y1 )(y − y2 ) = −
r1 r2 2
Now by the cosine formula, r12 + r22 − 2r1 r2 cos α = a2 or
Thus
1
cos α = (2x2 − 2xx1 − 2xx2 + 2x1 x2 + 2y 2 − 2yy1 − 2yy2 + 2y1 y2 )
2r1 r2
1 1
= (x − x1 )(x − x2 ) + (y − y1 )(y − y2 ) = −
r1 r2 2
Thus α = 2π 3
. By symmetry, β = γ = 2π 3
, i.e. the sides of the triangle subtend the same
angle at P .
Note that this solution is inadmissible when any angle of the triangle is > 2π3
. In this case,
the partial derivatives of u do not vanish anywhere inside the triangle, hence the minimum
must lie at one of the vertices. A simple check shows that the minimum is at the vertex
whose angle is > 2π3
.
7
3 3
∂ 2u X ∂ 2 ri X ∂ x − xi
= =
∂x2 i=1
∂x2 i=1
∂x ri
3
X 1 x − xi x − xi
= −
i=1
r i ri2 ri
3 3
(x − xi )2 (y − yi )2
X
X 1
= 1− 2
= 3
>0
i=1
ri ri i=1
r i
∂2u
Similarly ∂y 2
> 0.
3 3 3 3
∂ 2u X ∂ x − xi X x − xi ∂ri X x − xi y − y i X (x − xi )(y − yi )
= =− 2
=− 2
=−
∂x ∂y i=1
∂y ri i=1
ri ∂y i=1
ri ri i=1
ri3
2 2
∂ 2u ∂ 2u ∂ u
Now we need to check that 2 2
− > 0. To make the calculations easier,
∂x ∂y ∂x ∂y
let x − xi = ri cos αi , y − yi = ri sin αi . Then
2 3 3 3 2
∂ 2u ∂ 2u ∂ 2u sin2 αi cos2 αi
X X X
sin αi cos αi
− = −
∂x2 ∂y 2 ∂x ∂y i=1
ri i=1
ri i=1
ri
1
= [sin2 α1 cos2 α2 + cos2 α1 sin2 α2 − 2 sin α1 cos α2 cos α1 sin α2 ] + . . .
r1 r2
1 1 1
= [sin α1 cos α2 − cos α1 sin α2 ]2 + [. . .]2 + [. . .]2 > 0
r1 r2 r1 r3 r2 r3
Thus u = P A + P B + P C is at a minimum when P is the point at which the sides subtend
the same angle.
Note: This is called the Steiner’s problem, and the point P is called the Fermat Point or
the Fermat-Torricelli Point of the triangle.
Paper II
Question 3(a) Find the extreme values of f (x1 , x2 , x3 ) = x21 +x22 +x23 subject to 3i,j=1 aij xi xj =
P
1, where aij = aji .
Solution. Let F (x1 , x2 , x3 ) = x21 + x22 + x23 − λ 3i,j=1 aij xi xj − 1 . For extreme values,
P
3
∂F X
= 2xi − 2λ aij xj = 0, 1 ≤ i ≤ 3 (∗)
∂xi j=1
8
3 3
X ∂F X
This implies 0 = xi = 2f − 2λ aij xi xj = 2f − 2λ ⇒ f = λ at the extreme values.
i=1
∂xi i,j=1
Now the equations (*) are a set of linear equations, which can be written as 2(I−λA)x =
0, where I is a 3 × 3 identity matrix,
P3 and A = (aij ) is a 3 × 3 symmetric matrix, so has
real eigenvalues. Since x 6= 0 as i,j=1 aij xi xj = 1, I − λA must be singular ⇒ λ 6= 0, so
A − λ−1 I is singular. Thus λ−1 is an eigenvalue of A.
Hence the extreme values of f are λ−1 , where λ is an eigenvalue of A = (aij ).
9
UPSC Civil Services Main 1983 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Thus
log(2 + x), 0 ≤ x < 1
f (x) = log 3−sin
2
1)
, x=1
− sin x, 1 < x ≤ π2
Clearly f (0) = log 2 > 0, f ( π2 ) = − sin π2 = −1 < 0, and f (x) 6= 0 for any x ∈ [0, π2 ].
The reason why this can happen is that f (x) is not continuous in the interval [0, π2 ], so
the intermediate value theorem does not apply. The function is discontinuous at x = 1 as
limx→1+ f (x) = − sin 1, limx→1− f (x) = log 3 and both of these are different from f (1).
1
Question 1(b) Prove that there is a point a ∈ (−h, h) such that
Z h
2h3 00
f (x) dx = h[f (h) + f (−h)] − f (a)
−h 3
Solution. Integrating by parts, we get
Z h ih Z h Z h
0
f (x) dx = xf (x) − xf (x) dx = h[f (h) + f (−h)] − xf 0 (x) dx
−h −h −h −h
R0
Now put x = −t in −h
xf 0 (x) dx to get
Z 0 Z 0 Z h
0 0
xf (x) dx = (−t)f (−t)(−dt) = − tf 0 (−t) dt
−h h 0
Thus Z h Z h
x f 0 (x) − f 0 (−x) dx
f (x) dx = h[f (h) + f (−h)] −
−h 0
0 0
f (x) − f (−x) f (x) + f 00 (−x)
00
f 0 (x) − f 0 (−x)
We now note that lim = lim = 2f 00 (0), showing that
x→0 x x→0 1 x
is Riemann integrable in [0, h]. Since x2 keeps the same sign, the first mean value theorem
of integral calculus gives us
Z h 0 0
2 f (x) − f (−x) f 0 (ξ) − f 0 (−ξ) h 2
Z
x dx = x dx
0 x ξ 0
2
Question 1(c) Find the least perimeter of an isoceles triangle in which a circle of radius r
can be inscribed.
Solution.
The perimeter
P = BD + DC + CE + AE + BF + AF
= 4BD + 2AE = 4r(1 + csc α) tan α + 2r cot α
= 4r tan α + 4r sec α + 2r cot α
dP
= 4r sec2 α + 4r sec α tan α − 2r csc2 α = 0
dα
2 2 sin α 1
⇒0 = + −
cos2 α cos2 α sin2 α
⇒ 0 = 2 sin α + 2 sin α − cos2 α
2 3
⇒ 0 = 2 sin3 α + 3 sin2 α − 1
⇒ 0 = (sin α + 1)2 (2 sin α − 1)
Thus dP
dα
= 0 ⇒ sin α = 21 , since sin α = −1 is not possible as 2α is the angle of a triangle.
Thus α = π6 .
d2 P
= 8r sec2 α tan α + 4r(sec α tan2 α + sec3 α) − 4r csc α(− csc α cot α) > 0
dα2
for α = π6 . Therefore we have a minimum when α = π6 . The required perimeter is 4r √13 +
√ √
4r √23 + 2r 3 = 6r 3.
that x+y
f (x) + f (y) = f
1 + xy
3
x+y
Solution. Let u = f (x) + f (y), v = 1+xy
. Then
∂v (1 − xy)(1) − (x + y)(−y) 1 + y2
= =
∂x (1 − xy)2 (1 − xy)2
∂v (1 − xy)(1) − (x + y)(−x) 1 + x2
= =
∂y (1 − xy)2 (1 − xy)2
∂(u, v) 12 1
1+x 1+y 2
= 1+y2 1+x = 0
2
∂(x, y) (1−xy)2 (1−xy) 2
x+y
Therefore u, v are functionally dependent. Let u = φ(v) ⇒ f (x) + f (y) = φ .
1 − xy
Substituting y = x0+gives us f (x) + f (0) = φ(x) or φ(x) = f (x) as f (0) = 0. Hence
y
f (x) + f (y) = f , which was to be proved.
1 − xy
Question 2(b) Show that under the transformation u = x2 − y 2 , v = 2xy the equation
∂ 2H 2
2∂ H ∂H ∂H
y2 2
− x 2
=x −y
∂x ∂y ∂x ∂y
∂ ∂ ∂H
becomes u −v = 0.
∂v ∂u ∂v
Solution.
∂H ∂H ∂u ∂H ∂v ∂H ∂H
= + = 2x + 2y
∂x ∂u ∂x ∂v 2∂x ∂u ∂v 2
∂ 2H 2
∂ 2H
∂H ∂ H ∂ H ∂ H
= 2 + 2x 2x + 2y + 2y 2x + (2y)
∂x2 ∂u ∂u2 ∂u ∂v ∂v ∂u ∂v 2
∂H ∂ 2H ∂ 2H ∂ 2H
= 2 + 4x2 2 + 8xy + 4y 2 2 (1)
∂u ∂u ∂u ∂v ∂v
∂H ∂H ∂u ∂H ∂v ∂H ∂H
= + = −2y + 2x
∂y ∂u ∂y ∂v ∂y ∂u ∂v
2
2 2
2
∂ 2H
∂ H ∂H ∂ H ∂ H ∂ H
= −2 − 2y (−2y) + 2x + 2x (−2y) + (2x)
∂y 2 ∂u ∂u2 ∂u ∂v ∂v ∂u ∂v 2
∂H ∂ 2H ∂ 2H ∂ 2H
= −2 + 4y 2 2 − 8xy + 4x2 2 (2)
∂u ∂u ∂u ∂v ∂v
∂H ∂H ∂H ∂H ∂H ∂H
x −y = 2x2 + 2xy + 2y 2 − 2xy
∂x ∂y ∂u ∂v ∂u ∂v
∂H
= 2(x2 + y 2 ) (3)
∂u
4
Using (1), (2), (3) we get
2 2
2∂ H 2∂ H ∂H ∂H
0 = y −x − x −y
∂x2 ∂y 2 ∂x ∂y
2 2 2
2 ∂H 2 2∂ H 3 ∂ H 4∂ H
= 2y + 4x y + 8xy + 4y
∂u ∂u2 ∂u ∂v ∂v 2
2 2
∂H ∂ H ∂ H ∂ 2H ∂H
+2x2 − 4x2 y 2 2 + 8x3 y − 4x4 2 − 2(x2 + y 2 )
∂u ∂u ∂u ∂v ∂v ∂u
2 2
∂ H ∂ H
= 8xy(x2 + y 2 ) + 4(y 4 − x4 ) 2
∂u ∂v ∂v
2 2
∂ H ∂ H
⇒0 = (y 2 − x2 ) 2 + 2xy
∂v ∂u ∂v
∂ 2H ∂ 2H
⇒0 = −u 2 + v
∂v ∂u
∂v
∂ ∂ ∂H
⇒0 = u −v
∂v ∂u ∂v
as required.
Question 2(c) Prove that the volume of the solid generated by the revolution of the tractrix
t
x = a cos t + a log tan , y = a sin t
2
about the asymptote is equal to half the volume of a sphere of radius a.
Solution. The x-axis is the asymptote, as t → 0 ⇒ x → ∞, y → 0. The volume required
is twice the volume in the first quadrant.
Z π
2 dx
V = 2 πy 2 dt
0 dt
Z π
2 a
= 2π a2 sin2 t(−a sin t + ) dt
0 sin t
Z π
2
3
= 2πa (sin t − sin3 t) dt
0
Z π
2
3
= 2πa sin t cos2 t dt
0
π
cos3 t 2 2πa3
3
= 2πa − =
3 0 3
3
1 4πa 1
= = × Volume of a sphere of radius a
2 3 2
5
Paper II
Question 3(a) Obtain a set of sufficient conditions such that for a function f (x, y)
∂ 2f ∂ 2f
=
∂x ∂y ∂y ∂x
Solution. Euler’s Theorem: If the partial derivatives fxy and fyx are continuous at (a, b)
then fxy (a, b) = fyx (a, b).
Proof: Let Ψ(h, k) = f (a + h, b + k) − f (a + h, b) − f (a, b + k) + f (a, b) where (a + h, b +
k), (a + h, b), (a, b + k) all belong to a neighborhood N of (a, b) — we can take for N an open
disc with center (a, b) in which fxy and fyx exist.
Let G(x) = f (x, b + k) − f (x, b) for x ∈ Ih where Ih = [a, a + h] or [a + h, a] according
as h > 0 or h < 0. Clearly G0 (x) = fx (x, b + k) − fx (x, b) for x ∈ Ih . We apply Lagrange’s
Mean Value Theorem to G(x) and obtain:
G(a+h)−G(a) = Ψ(h, k) = hG0 (a+θh) = h[fx (a+θh, b+k)−fx (a+θh, b)] (∗)
∂ 2f
F (b + k) − F (b) = k (a + θh, b + θ1 k)
∂y ∂x
Ψ(h, k) ∂ 2f ∂ 2f
lim = lim (a + θh, b + θ1 k) = (a, b)
h→0,k→0 hk h→0,k→0 ∂y ∂x ∂y ∂x
Now instead of G(x), we start with H(y) = f (a+h, y)−f (a, y) for y ∈ Ik , and proceeding
exactly as above, we get
Ψ(h, k) ∂ 2f
lim = (a, b)
h→0,k→0 hk ∂x ∂y
∂ 2f ∂ 2f
Hence (a, b) = (a, b), which completes the proof.
∂x ∂y ∂y ∂x
6
Question 3(b) Find the maximum and minimum values of x2 + y 2 + z 2 subject to the
conditions x + y + z = 1, xyz + 1 = 0.
2xy
2z − 2(x + y) + =0
z
But x + y = 1 − z, xy = − z1 , so we get 2z − 2(1 − z) − z22 = 0 ⇒ 2z 3 − z 2 − 1 = 0 ⇒
(z − 1)(2z 2 + z + 1) = 0. But 2z 2 + z + 1 has no real roots, so the only real root is z = 1.
Thus we get λ2 = 2, z = 1, λ1 = 0(∵ x + y + z = 1 ⇒ x + y = 0 ⇒ λ1 = 0), x = ±1, y =
∓1(∵ x + y = 0, xy = 1 ⇒ x2 = 1 ⇒ x = ±1, y = ∓1). Hence the stationary values are
(1, −1, 1), (−1, 1, 1) and f (x, y, z) = 3 at these points.
On taking y 6= z we shall get (1, 1, −1), (1, −1, 1) as stationary points (by symmetry),
and for x 6= z, we get (1, 1, −1), (−1, 1, 1). f (x, y, z) is always equal to 3, hence we cannot
say whether it is a maximum or minimum without checking d2 F .
Considering the point (−1, 1, 1),
7
UPSC Civil Services Main 1984 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
is continuous at 0.
π
2. tan x is not continuous at x = 2
Solution.
√
1. Given > 0, let δ =√ , then |x| ≤ δ =⇒ |x2 sin2 x1 | ≤ |x2 | < , because | sin2 x1 | ≤ 1.
Thus |x − 0| < δ = ⇒ |f (x) − f (0)| < , showing that f (x) is continuous at x = 0.
1
2. Since limx→ π2 sin x = 1, given = 2
there exists δ1 > 0 such that 0 < |x − π2 | < δ1 ⇒
| sin x − 1| < 21 ⇒ sin x > 12 .
Since limx→ π2 cos x = 0, given any real number G > 0 there exists δ2 > 0 such that
0 < |x − π2 | < δ2 ⇒ | cos x| < 2G
1
.
Let δ = min(δ1 , δ2 ). Then δ > 0 and 0 < |x − π2 | < δ ⇒ | tan x| > 12 · 2G = G. This
shows that tan x is not bounded in any neighborhood of π2 , therefore limx→ π2 tan x does
not exist, so tan x is not continuous at x = π2 .
Note that if limx→a f (x) = l, then f (x) is bounded in a neighborhood of a, because given
> 0, there exists δ > 0 such that 0 < |x − a| < δ ⇒ l − < f (x) < l + .
1
Question 1(b) Find the volume of the torus generated by revolving a disc of radius r about
a line at a distance a > r from the center of the circle.
Solution. Let the line be the x-axis, and let the circle have center (0, a).√ The circle’s
equation is x2 + (y − a)2 = r2√
. The upper semicircle is given by f1 (x) = a + r2 − x2 , and
the lower one by f2 (x) = a − r2 − x2 , and the desired volume is given by
Z r
V = π (f12 (x) − f22 (x)) dx
Z−rr
= π (f1 (x) − f2 (x))(f1 (x) + f2 (x)) dx
−r
Z r √
= π (2 r2 − x2 )(2a) dx
−r
Z r√
= 8aπ r2 − x2 dx
0
Put x = r sin θ
Z π
2
= 8aπ r cos θ · r cos θ dθ
0
Z π
2
2
= 8ar π cos2 θ dθ
0
1 π
= 8ar2 π = 2π 2 ar2
22
We could get the same result by applying Pappus’ Theorem — the volume of a solid of
revolution generated by rotating a plane figure about an external axis is equal to the product
of the area of the figure and the distance traveled by its geometric centroid during revolution.
Thus V = πr2 · 2aπ = 2π 2 ar2 .
Solution. (i) Given > 0, let δ1 = δ2 = 2 . Then |x| < δ1 , |y| < δ2 ⇒ |f (x, y) − f (0, 0)| =
|(x + y) sin( x1 + y1 )| ≤ |x| + |y| < , as | sin( x1 + y1 )| ≤ 1. Thus f (x, y) is continuous at (0, 0).
(ii) Since |x sin( x1 + y1 )| ≤ |x|, it follows that limx→0 x sin( x1 + y1 ) = 0. Thus if limx→0 f (x, y)
exists for y 6= 0, then limx→0 y sin( x1 + y1 ) should also exist, for y 6= 0, because y sin( x1 + y1 ) =
(x + y) sin( x1 + y1 ) − x sin( x1 + y1 ).
Let g(x) = y sin( x1 + y1 ). Suppose limx→0 g(x) = l for y = π2 . Then given > 0, < π2 ,
there exists δ > 0 such that 0 < |x| < δ ⇒ |g(x) − l| < 2 . Let x1 = 2nπ 1 1
, x2 = (2n+1)π , n large
2
so that |x1 | < δ, |x2 | < δ. Now
Solution.
1 x 1
y 2 ix 1 1 3
ZZ Z Z Z Z
1
I1 = xy dx dy = xy dy dx = x dx = x dx =
4 x=0 y=0 0 2 0 2 0 8
Z 2 Z 1
x2 i 2 y 2 i 1 3 1
ZZ
3
I2 = xy dx dy = xy dy dx = · = · =
x=1 y=0 2 1 2 0 2 2 4
Z 3 Z (x−3)2 Z 3
y 2 i(x−3)2
ZZ
I3 = xy dx dy = yx dy dy = x dx
R x=2 0 x=2 2 0
1 3 1 0 4 1 h u6 u5 i0
Z Z
4 1 3 1 13
= x(x − 3) dx = u (u + 3) du = +3 = − =
2 2 2 −1 2 6 5 −1 2 5 6 60
1 3 13 131
Thus the given integral = I1 + I2 + I3 = + + =
8 4 60 120
3
Question 2(b) If B(p, q) is the Beta function, show that
pB(p, q) = (q − 1)B(p + 1, q − 1)
where p, q are real, p > 0, q > 1. Hence or otherwise find B(p, n) where n is an integer > 0.
Z 1
Solution. By definition, B(p, q) = xp−1 (1 − x)q−1 dx. Integrating by parts, we get
0
p
1 1
xp
Z
x
B(p, q) = (1 − x)q−1 + (q − 1)(1 − x)q−2 dx
p 0 0 p
Since p > 0, (q − 1) > 0, we get
Z 1
pB(p, q) = (q − 1) xp+1−1 (1 − x)(q−1)−1 dx = (q − 1)B(p + 1, q − 1)
0
x+y ∂(u, v)
Question 2(c) If u = and v = tan−1 x + tan−1 y, find . Are u and v func-
1 − xy ∂(x, y)
tionally related? If so, find the relationship.
Solution.
∂u (1 − xy) · 1 − (x + y)(−y) 1 + y2
= =
∂x (1 − xy)2 (1 − xy)2
∂u (1 − xy) · 1 − (x + y)(−x) 1 + x2
= =
∂y (1 − xy)2 (1 − xy)2
∂v 1
=
∂x 1 + x2
∂v 1
=
∂y 1 + y2
∂u ∂u
∂(u, v) ∂x ∂y ∂u ∂v ∂u ∂v
= ∂x ∂y − ∂y ∂x = 0
∂v ∂v =
∂(x, y)
∂x ∂y
4
This shows that u, v are functionally related. Let x = tan θ, y = tan φ. Then v = θ + φ.
tan θ + tan φ
u= = tan(θ + φ) = tan v.
1 − tan θ tan φ
Alternatively, usingv = tan−1 x + tan−1 y we write
tan v − tan(tan−1 y) tan v − y
x = tan(v − tan−1 y) = −1
=
1 + tan v tan(tan y) 1 + y tan v
tan v−y
1+y tan v
+y (tan v)(1 + y 2 )
u = tan v−y = = tan v
1 − y 1+y tan v
1 + y2
as before.
Paper II
Question 3(a) Show that the maximum and minimum values of the function u = x2 +y 2 +xy
where ax2 + by 2 = ab, a > b > 0 are given by 4(u − a)(u − b) = ab.
Solution. Let F (x, y) = x2 +y 2 +xy +λ(ax2 +by 2 −ab) where λ is Lagrange’s undetermined
multiplier. The extreme values are obtained from
∂F ∂F
= 2x + y + 2λax = 0, = 2y + x + 2λby = 0
∂x ∂y
∂F ∂F
0 = x +y = 2(x2 + y 2 + xy) + 2λ(ax2 + by 2 ) = 2u + 2λab
∂x ∂y
u
Thus λ = − ab . Consequently 2x + y − 2ux b
= 0 ⇒ 2x(b − u) + yb = 0, and 2y + x − 2uy a
=
0 ⇒ 2y(a − u) + ax = 0.
Since ax2 + by 2 = ab > 0, (x, y) 6= (0, 0), so the coefficient matrix of the above linear
2(b − u) b
equations must be singular i.e. = 0 or 4(a − u)(b − u) − ab = 0.
a 2(a − u)
Thus the maximum and minimum √ values are √ given by 4(a − u)(b − u) − ab = 0.
Note: We can substitute x = b cos t, y = a sin t to make u a function of one variable,
and proceed accordingly.
Solution.
1. The function is continuous at (0, 0), because |f (x, y) − f (0, 0)| = 0 or ≤ π2 (x2 + y 2 ).
5
2. fxy (0, 0) 6= fyx (0, 0). For this we calculate the following:
(b)
f (h, k) − f (0, k) h2 tan−1 k
h
− k 2 tan−1 h
k
fx (0, k) = lim = lim
h→0 h h→0 h
h
tan−1
Now limh→0 h tan−1 k
h
= 0, limh→0 h
k
= 1
k
— if θ = tan−1 hk , hk = tan θ, then
h
tan−1 θ
h
= k tan
k
θ
, and tanθ θ → 1 as θ → 0.
Thus fx (0, k) = −k, in particular fx (0, 0) = 0.
(c) By symmetry, fy (x, y) = x − 2y tan−1 x
y
is x 6= 0, y 6= 0, and fy (h, 0) = h.
fx (0, k) − fx (0, 0) −k − 0
fyx (0, 0) = lim = lim = −1
k→0 k k→0 k
fy (h, 0) − fy (0, 0) h−0
fxy (0, 0) = lim = lim =1
h→0 h h→0 h
3. The function is differentiable at (0, 0) as both fx (x, y) and fy (x, y) are continuous at
(0, 0). Note that limx→0,y→0 fx (x, y) = limx→0,y→0 fy (x, y) = 0 and fx (0, 0) = 0 =
fy (0, 0).
6
UPSC Civil Services Main 1985 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) If (
xy
x2 +y 2
, (x, y) 6= (0, 0)
f (x, y) =
0, (x, y) = (0, 0)
Show that both the partial derivatives fx , fy exist at (0, 0), but the function is not continuous
there.
Question 1(b) If for all values of the parameter λ and some constant n, F (λx, λy) =
∂F ∂F
λn F (x, y) identically, where F is assumed to be differentiable, prove that x +y =
∂x ∂y
nF (x, y).
Question 1(c) Prove the relation between the beta and gamma functions
Γ(m)Γ(n)
β(m, n) =
Γ(m + n)
1
Question 2(a) If a function f defined on [a, b] is continuous on [a, b] and differentiable on
(a, b), and f (a) = f (b), then prove that there exists at least one real number c, a < c < b
such that f 0 (c) = 0.
x2 x3 x4
log(1 + x) = x − + − + ...
2 3 4
Hence find the value of log(1 + x + x2 + x3 + x4 ).
Solution. Since log(1 + x) possesses continuous derivatives of all orders for every value of
x for which 1 + x > 0 i.e. x > −1, we have
x2 00 xn−1 (n−1)
f (x) = log(1 + x) = f (0) + xf 0 (0) + f (0) + . . . + f (0) + Rn
2! (n − 1)!
where
xn (n) xn (n − 1)!
Rn = f (θx) = (−1)n−1 , 0<θ<1
n! n! (1 + θx)n
(−1)n−1 (n − 1)!
as f (n) (x) for f (x) = log(1 + x) is .
(x + 1)n
x 1
Let 0 < x ≤ 1, so that 0 < < 1, then |Rn | < n
and therefore Rn → 0 as n → ∞.
1 + θx
Let −1 < x ≤ 0, we consider the expansion
x2 00 xn−1 (n−1)
f (x) = log(1 + x) = f (0) + xf 0 (0) + f (0) + . . . + f (0) + Rn
2! (n − 1)!
where
n−1
xn
n−1 (n) n n 1−θ 1
Rn = (1 − θ) f (θx) = (−1) x , 0<θ<1
(n − 1)! 1 + θx 1 + θx
2
— this is Cauchy’s form of the remainder — note that we consider Cauchy’s form of the
remainder as Lagrange’s form of the remainder does not enable us to prove that Rn → 0 as
n → ∞. when −1 < x < 0.
1−θ 1 1
Since 0 < θ < 1 and |x| < 1, 0 < < 1. Also, < . Now since xn → 0
1 + θx 1 + θx 1 − |x|
as n → ∞, we get Rn → 0 as n → ∞.
Now using the fact that f (n) (0) = (−1)n−1 (n − 1)!, we get the required result
x2 x3 x4
log(1 + x) = x − + − + ...
2 3 4
1 − x5
log(1 + x + x2 + x3 + x4 ) = log( ) = log(1 − x5 ) − log(1 − x)
1−x
x10 x15 x2 x3 x4
= −(x5 + + + . . .) + (x + + + + . . .)
2 3 2 3 4
x2 x3 x4 1 x6 x7 x8 x9 x10 1
= x+ + + + x5 −1 + + + + + − 1 + ...
2 3 4 5 6 7 8 9 2 5
which is the required expansion.
Question 2(c) Find the volume generated by revolving y 2 = 4ax about the latus rectum.
Solution.
Z Z 2a
2
V = 2 π(P M ) d(SM ) = 2π (a2 − 2ax + x2 ) dy
0
2a
y2 y4
Z
= 2π + a2 − dy
0 2 16a2
2a
y3 y5 8a3 32a5
2 3
= 2π a y − + = 2π 2a − +
6 80a2 0 6 80a2
30 − 20 + 6 32πa3
= 2πa3 =
15 15
3
Paper II
Question 3(a) Show that for the function
( 2
x y2
x2 +y 2
, (x, y) 6= (0, 0)
f (x, y) =
0, x = 0, y = 0
1. fx is not differentable at (0, 0).
2. fyx is not continuous at (0, 0).
3. fxy (0, 0) = fyx (0, 0).
Solution.
1. For (x, y) 6= (0, 0),
(x2 + y 2 )2xy 2 − x2 y 2 (2x) 2xy 4
fx (x, y) = = 2
(x2 + y 2 )2 (x + y 2 )2
2.
h2 y 2
f (h, y) − f (0, y) h2 +y 2
−0 hy 2
fx (0, y) = lim = lim = lim =0
h→0 h h→0 h h→0 h2 + y 2
4
9. If fx were differentiable at (0, 0), we would have
√
fx (h, k) = fx (0, 0) + hfxx (0, 0) + kfyx (0, 0) + h2 + k 2 φ(h, k)
2hk 4 1
φ(h, k) = √
(h2 + k 2 )2 h2 + k 2
2m4
Now we can see that limh→0,k→0 φ(h, k) does not exist — if k = mh, φ(h, mh) = 5 ,
(1+m2 ) 2
so limh→0 φ(h, mh) is different for different values of m (say 0, 1).
5
UPSC Civil Services Main 1986 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
1 x
Z
lim (x − 3y)f (y) dy
x→0 x2 0
Solution.
f (x) − f (0)
1. By definition, f 0 (0) = lim , if this limit exists.
x→0 x
f (x) − f (0) 1 1 1
lim = lim e1− x2 sin
x→0 x x→0 x x
1 − 12 1
= e lim 2 e x lim x sin
x→0 x x→0 x
1 1
= e lim te−t · 0 Letting t = 2
, also lim x sin = 0
t→∞ x x→0 x
= 0 ∵ lim te−t = 0
t→∞
1
2. Define
Z x
F (x) = (x − 3y)f (y) dy
0
Z x Z x
= x f (y) dy − 3 yf (y) dy
0 0
Z x Z x
0
F (x) = f (y) dy + xf (x) − 3xf (x) = f (y) dy − 2xf (x)
0 0
F 00 (x) = f (x) − 2f (x) − 2xf 0 (x) = −f (x) − 2xf 0 (x)
Note that F 00 (x) exists because f 0 (x) exists.
F (x)
The required limit is lim 2 . Since lim F (x) = 0, lim x2 = 0 and both are differen-
x→0 x x→0 x→0
tiable, we can apply L’Hospital’s rule to get
F (x) F 0 (x)
lim = lim
x→0 x2 x→0 2x
Question 1(b) Use Rolle’s theorem to establish that under suitable conditions (to be stated)
f (a) f (b) f (a) f 0 (ξ)
g(a) g(b) = (b − a) g(a) g 0 (ξ) , a < ξ < b
2
1. continuous in the closed interval [a, b].
2. differentiable in the open interval (a, b)
3. F (a) = F (b) = 0.
Thus F (x) satisfies the requirements of Rolle’s theorem, consequently, there exists ξ, a <
ξ < b such that F 0 (ξ) = 0. But
1
F 0 (ξ) = [f (a)g 0 (ξ) − g(a)f 0 (ξ)] − [f (a)g(b) − g(a)f (b)]
b−a
f (a) f 0 (ξ)
− 1 f (a) f (b) = 0
= 0
g(a) g (ξ) b − a g(a) g(b)
therefore
f (a) f (b) 0
= (b − a) f (a) f 0 (ξ) , a < ξ < b
g(a) g(b) g(a) g (ξ)
Let f (x) = xn , g(x) = 1, then the above result implies
n n n
b a b nξ n−1
1 1 = (a − b) 1
, b < ξ < a
0
or an − bn = (a − b)nξ n−1 . Now since bn−1 < ξ n−1 < an−1 , we get
nbn−1 (a − b) < an − bn < nan−1 (a − b), as required.
(ax3 + by 3 )n ∂ 2u ∂ 2u ∂ 2u
Question 1(c) If u = + xf ( xy ), find the value of x2 2 + 2xy + y2 2 .
3n(3n − 1) ∂x ∂x ∂y ∂y
Solution. We use the result proved in 2006, question 2(b): If f (x, y) is a homogeneous
function of degree n possessing continuous partial derivatives of degree 2,
∂ 2f ∂ 2f 2
2∂ f
x2 + 2xy + y = n(n − 1)f
∂x2 ∂x ∂y ∂y 2
(ax3 + by 3 )n
Let v = , then v is homogeneous of degree 3n, so
3n(3n − 1)
2
2∂ v ∂ 2v 2
2∂ v (ax3 + by 3 )n
x 2
+ 2xy +y 2
= 3n(3n − 1) = (ax3 + by 3 )n
∂x ∂x ∂y ∂y 3n(3n − 1)
Let w = xf ( xy ), then w is homogeneous of degree 1, so
∂ 2w ∂ 2w 2
2∂ w
x2 + 2xy + y = 1(1 − 1)w = 0
∂x2 ∂x ∂y ∂y 2
Now u = v + w, so adding the above equations we have
∂ 2u ∂ 2u 2
2∂ u
x2 + 2xy + y = (ax3 + by 3 )n
∂x2 ∂x ∂y ∂y 2
3
Question 2(a) 1. Without evaluating the involved integrals, show that
1
Z x Z
t dt x dt
+ =0
1 1 + t2 1 t(1 + t2 )
Z a+T
2. If f (x) is periodic of period T , show that f (t) dt is independent of a.
a
Solution.
du t 1 u2 u
1. Let t = u1 , so that dt = − 2
and 2
= 2
= , implying that
u 1+t u 1+u 1 + u2
Z x Z 1 Z 1
t dt x u du x du
2
= 2
− 2
= − 2
1 1+t 1 1+u u 1 u(1 + u )
Thus 1
Z x Z
t dt x dt
+ =0
1 1 + t2 1 t(1 + t2 )
Z a+T
2. Define F (a) = f (t) dt. We shall prove that F (a) = F (b) for any b. In particular
Ra T
F (a) = F (0) = 0
f (t) dt which is independent of a.
Z b+T Z a+T
F (b) − F (a) = f (t) dt − f (t) dt
b a
Z b+T Z a+T Z b
= f (t) dt − f (t) dt − f (t) dt
b b a
Z b+T Z b Z b
= f (t) dt + f (t) dt − f (t) dt
b a+T a
Z b+T Z b
= f (t) dt − f (t) dt
a+T a
Z b Z b
= f (u + T ) du − f (t) dt ∵u+T =t
a a
Z b Z b
= f (u) du − f (t) dt = 0 ∵ f (u + T ) = f (u)
a a
4
Question 2(b) Find the volume of the solid generated by revolving one arc of x = a(t −
sin t), y = a(1 − cos t) about its base.
Solution. One arc is given by 0 ≤ t ≤ 2π and the base is the x-axis. Thus
Z 2π
dx
V = π y 2 dt
dt
Z0 2π Z 2π
2 2 3 t 3
= π a (1 − cos t) a(1 − cos t) dt = πa 2 sin2 dt
0 0 2
Z π
3 t
= 8πa 2 sin6 θ dθ (θ = )
0 2
Z π
2
= 32πa3 sin6 θ dθ (sin(π − θ) = sin θ, so double the integral and half the limit)
0
5·3·1 π
= 32πa3 = 5π 2 a3
6·4·2 2
Z 2 Z x − 21
Question 2(c) Evaluate (x−y)2 +2(x+y)+1 dx dy by using the transformation
0 0
x = u(1 + v), y = v(1 + u). Assume u, v are positive in the region concerned.
Solution.
1. The Jacobian of the transformation is
∂(x, y) 1 + v u
= =1+u+v >0
∂(u, v) v 1 + u
because u ≥ 0, v ≥ 0.
2. The region of integration in the xy-plane is the triangle bounded by the lines y = 0, y =
x, x = 2.
3. The region of integration in the uv-plane lies in the first quadrant as u ≥ 0, v ≥ 0.
Clearly
x=y ⇔ u=v
x = 2 ⇔ u(1 + v) = 2
y = 0 ⇔ v = 0 (∵ 1 + u > 0)
(1, 1)
v-axis
u(1 + v) = 2
5
The curve u(1 + v) = 2 meets the u-axis at (2, 0) and the line u = v at (1, 1). The
region of integration is bounded by v = 0, v = u, u(1 + v) = 2 and therefor consists
of the triangle with vertices (0, 0), (1, 0), (1, 1) and the portion bounded by u = 1, v =
0, u(1 + v) = 2, in which u varies from 1 to 2, and v varies from 0 to 2−u u
.
4.
− 12 − 21
(x − y)2 + 2(x + y) + 1 = (u − v)2 + 2(2uv + u + v) + 1
1
= (u2 + v 2 + 2uv + 2u + 2v + 1)− 2 = (1 + u + v)−1
Thus
Z 2 Z x − 21
2
I = (x − y) + 2(x + y) + 1 dx dy
0 0
2
Z 1 Z u Z 2 Z
u
−1
= dv du + dv du
0 0 1 0
Z 2
1 2
= + du − 1
2 1 u
1
= 2 log 2 −
2
Paper II
Question 3(a) Find the maximum and minimum values of f (x, y) = 7x2 + 8xy + y 2 where
x, y are constrained by the relation x2 + y 2 = 1.
Solution. Let F (x, y) = 7x2 +8xy +y 2 +λ(x2 +y 2 −1), where λ is Lagrange’s undetermined
multiplier. For extreme values
∂F ∂F
= 14x + 8y + 2λx = 0, = 8x + 2y + 2λy = 0
∂x ∂y
∂F ∂F
x +y = 14x2 + 8xy + 2λx2 + 8xy + 2y 2 + 2λy 2 = 2f + 2λ(x2 + y 2 ) = 0
∂x ∂y
6
Since x2 + y 2 = 1, we get f = −λ ⇒ at stationary points f = 9, −1. Thus the maximum
value of f is 9, minimum value is −1.
Check: We have found the maximum and minimum values without finding the stationary
points.
1 2
λ = −9 ⇒ x = 2y, x2 + y 2 = 1 ⇒ 5y 2 = 1 ⇒ y = ± √ , x = ± √
5 5
1 2
λ = 1 ⇒ y = −2x, x2 + y 2 = 1 ⇒ 5x2 = 1 ⇒ x = ± √ , y = ∓ √
5 5
7
UPSC Civil Services Main 1987 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
1 9 1 9
Question 1(a) If x1 = x+ and for n > 0, xn+1 = xn + , find the value of
2 x 2 xn
limn→∞ xn (x > 0 is assumed).
Solution.
1
1. Substituting the given values, we get f (a) = f (−a) + 2af 0 (−a + 2aθ). Now f (x) =
1 2
x 3 ⇒ f 0 (x) = 13 x− 3 , so
1 12a 2
a 3 = (−a) 3 + (−a + 2aθ)− 3
3
1 2a − 2 2
= −a 3 + a 3 (2θ − 1)− 3
3
2 2
⇒2 = (2θ − 1)− 3
3
2
⇒3 = (2θ − 1)− 3
⇒ 27 = (2θ − 1)−2
1
⇒ ±√ = 2θ − 1
27
So θ = 21 (1 ± 1
√
3 3
).
2. To establish that u, v, w have a functional relation, we have to show that the Jacobian
∂(u, v, w)
= 0. Clearly
∂(x, y, z)
1 1 −1 1 1 0
∂(u, v, w)
=1 −1 1 =1
−1 0 = 0
∂(x, y, z) 2x 2(y − z) −2(y − z) 2x 2(y − z) 0
x n1 +1 + y n1 +1 12
Question 1(c) If u = csc−1 , show that
x+y
∂ 2u ∂ 2u 2
2∂ u 1
x2 2
+ 2xy + y 2
= 2 tan u(2n + sec2 u)
∂x ∂x ∂y ∂y 4n
1
Solution. Let v = csc u. Then v is a homogeneous function of degree 2n
, because
(ax) n1 +1 + (ay) n1 +1 12 1
x n1 +1 + y n1 +1 12 1
v(ax, ay) = = a 2n = a 2n v(x, y)
a(x + y) x+y
2
Applying Euler’s theorem to v,
∂v ∂v 1
x +y = v
∂x ∂y 2n
∂u ∂u 1 ∂v ∂u
−x csc u cot u − y csc u cot u = csc u ∵ v = csc u, = − csc u cot u
∂x ∂y 2n ∂x ∂x
∂u ∂u 1
x +y = − tan u (1)
∂x ∂y 2n
2 2
∂u ∂ u ∂ u 1 ∂u
+x 2 +y = − sec2 u Differentiating (1) w.r.t. x (2)
∂x ∂x ∂x ∂y 2n ∂x
2
∂ u ∂u ∂ 2u 1 ∂u
x + +y 2 = − sec2 u Differentiating (1) w.r.t. y (3)
∂x ∂y ∂y ∂y 2n ∂y
2 2
∂ 2u
∂ u ∂ u 1 ∂u ∂u
x2 2 + 2xy + y2 2 = (−1 − 2
sec u) x +y (2) × x + (3) × y
∂x ∂x ∂y ∂y 2n ∂x ∂y
1 1
= − (2n + sec2 u)(− tan u) From (1)
2n 2n
1
= tan u(2n + sec2 u)
4n2
Solution.
Z 1
1. By definition B(y, x) = z y−1 (1 − z)x−1 dz.
0
2
Put z = cos θ, dz = −2 cos θ sin θ dθ, to get
Z 0
B(y, x) = cos2y−2 θ sin2x−2 θ (−2 cos θ sin θ) dθ
π
2
Z π
2
= 2 sin2x−1 θ cos2y−1 θ dθ
0
3
1
Now, put z = t+1
in B(y, x),
Z 1
B(y, x) = z y−1 (1 − z)x−1 dz
0
Z 0
1 y−1 1 x−1 −dt
= 1−
t+1 t+1 (1 + t)2
Z∞∞
tx−1
= dt
0 (1 + t)x+y
as required.
x3
Question 2(b) Find the volume of the solid generated by revolving the curve y 2 = ,a >
2a − x
0 about its asymptote x = 2a.
Solution. Consider a thin vertical strip of thickness dx, and rotate it about the asymptote
4
r
x3
— its volume is 2πrh dx = 2π(2a − x)2 dx. Thus
2a − x
s
Z 2a
x3
V = 4π (2a − x) dx
0 2a − x
√
Z 2a
3
= 4π 2a − x x 2 dx
0
Put x = 2a sin2 θ ⇒ dx = 4a sin θ cos θ dθ
Z π√
2 3
= 4π 2a cos θ(2a) 2 sin3 θ 4a sin θ cos θ dθ
0
Z π
2
3
= 64πa sin4 θ cos2 θ dθ
0
3·1·1 π
= 64πa3 = 2π 2 a3
6·4·2 2
ZZ
1 1 2
Question 2(c) Evaluate x 2 y 3 (1 − x − y) 3 dx dy where D is the domain bounded by the
D
lines x = 0, y = 0, x + y = 1.
Solution. We convert this to a Dirichlet integral using the standard transformation. Put
x + y = u, y = uv, so that dx dy = u du dv, (see 1989, question 3(a) for example).
Z 1Z 1
1 1 1 1 2
I = u 2 (1 − v) 2 u 3 v 3 (1 − u) 3 u du dv
Z0 1 Z0 1
11 2 1 1
= u 6 (1 − u) 3 v 3 (1 − v) 2 du dv
0 0
Γ( 17
6
)Γ( 53 ) Γ( 34 )Γ( 32 ) 2
3
Γ( 23 ) 31 Γ( 13 )Γ( 32 ) 16 2 1
= = = Γ Γ
Γ( 276
) Γ( 17 6
) 753
222
Γ( 32 ) 945 3 3
But Γ( 23 )Γ( 13 ) = π
sin π3
= 2π
√
3
. Thus I = 32π
√ .
945 3
Paper II
5
Question 4(a) Find the maximum and minimum value of f (x, y) = xy subject to the con-
dition that x2 + y 2 + xy = a2 .
2 4 2
d2 F = − (dx)2 − (dx)2 − (dx)2 < 0
3 3 3
so we have a local maximum at x = y = ± √a3 .
6
UPSC Civil Services Main 1988 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Solution. Clearly sin x = f (x) cos x. Using Leibnitz’s formula for the derivative of the
product of two functions, we get
n
dn sin x X n (n−r)
= f (x) cos(r) (x)
dxn r=0
r
dr rπ dr rπ dr
Now cos x = cos(x + 2
) and sin x = sin(x + 2
). Therefore, cos x = 0 when
dxr r
dxr n
dxr
d n d
x = 0, n odd, and r
cos x = (−1) 2 when x = 0, n even. Also, sin x = sin nπ
2
when
dx dxn
x = 0.
Thus
nπ (n) n (n−2) n (n−4)
sin = f (0) − f (0) + f (0) − . . .
2 2 4
.
1
Thus λ = −2x = −2y = −2z ⇒ x = y = z. From x + y + z = k we have x = y = z = k3 .
Now
∂ 2F ∂ 2F ∂ 2F ∂ 2F ∂ 2F ∂ 2F
d2 F = (dx)2
+ (dy)2
+ (dz)2
+ dx dy + dy dz + dz dx
∂x2 ∂y 2 ∂z 2 ∂x ∂y ∂y ∂z ∂z ∂x
= 2(dx)2 + 2(dy)2 + 2(dz)2
Now dx + dy + dz = 0 from x + y + z = k, so substituting dz = −dx − dy, we get
d2 F = 2(dx)2 + 2(dy)2 + 2(dx + dy)2 = 4(dx)2 + 4(dy)2 + 4dx dy
dy 2 3 2
= 4 dx + + (dy) > 0
2 4
k k2 2 2 k2
Thus x2 +y 2 +z 2 is minimum when x = y = z = 3
and the minimum value of 9
+ k9 + k9 = 3
.
Question 2(a) Find the center of gravity of one loop of the lemniscate of Bernoulli r2 =
a2 cos 2θ.
Solution.
2
Because of symmetry, y = 0. The area of
the lemniscate is
Z π Z π π4
1 4 2 4 sin 2θ a2
r dθ = a2 cos 2θ dθ = a2 =
2 − π4 0 2 0 2
π
Now θ= 4
Z π
2 4
3
θ = − π4
x = r cos θ dθ
3a2 − π4
Z π
4a 4 3
= (1 − 2 sin2 θ) 2 cos θ dθ
3 0
√ cos t dt
Let 2 sin θ = sin t ⇒ cos θ dθ = √
2
Z π Z π √
4a 2
2 3 4a 2
4 4a 3 · 1 · π π 2a
= √ (1 − sin t) 2 cos t dt = √ cos t dt = √ =
3 2 0 3 2 0 3 24·2·2 8
√
the centroid is π 82a , 0 .
Thus
ZZ
3
Question 2(b) Evaluate x 2 y 2 (1 − x2 − y 2 ) dx dy over the positive quadrant of the circle
x2 + y 2 = 1.
dX dY
Solution. Substitute x2 = X, y 2 = Y ⇒ dx dy = 1 1 and the region of integration is
4X 2 Y 2
transformed to X ≥ 0, Y ≥ 0, X + Y ≤ 1. The required integral becomes
ZZ ZZ
3 dX dY 1 1 1
I= X Y (1 − X − Y )
4
1 1 = X 4 Y 2 (1 − X − Y ) dX dY
X≥0,Y ≥0 4X 2 Y 2 4 X≥0,Y ≥0
X+Y ≤1 X+Y ≤1
1 1 1 1
Z Z
1 1 1
I = u 4 (1 − v) 4 u 2 v 2 (1 − u)u du dv
4 0 0
1 1 7
Z Z 1
1 1
= u 4 (1 − u) du v 2 (1 − v) 4 dv
4 0 0
1 11 3 5 1 Γ( 114
)Γ(2) Γ( 32 )Γ( 54 ) 1 Γ( 32 )Γ( 54 )
= B( 4 , 2)B( 2 , 4 ) = =
4 4 Γ( 19 4
) Γ( 114
) 4 Γ( 19 4
)
3
Question 2(c) Show that the volume of the solid obtained by revolving the curve (a−x)y 2 =
π 2 a3
a2 x about its asymptote is .
2
Solution. The asymptote is x = a, because a − x is the coefficient of the highest degree
term in y present in the equation of the curve. Thus
Z ∞
V = π(a − x)2 dy
−∞
Z ∞ Z ∞
ay 2 2 6 dy
= 2π a− 2 2
dy = 2πa
0 a +y 0 (a + y 2 )2
2
Paper II
4
Question 4(a) Show that a local extreme value of f given by
f (x) = xk1 + . . . + xkn , x = (x1 , . . . , xn )
subject to the condition x1 + . . . + xn = a is ak n1−k .
Solution. Let F (x) = xk1 +. . .+xkn −λ(x1 +. . .+xn −a) where λ is Lagrange’s undetermined
multiplier. For extreme values, for all i
∂F λ
= kxk−1
i − λ = 0 ⇒ xk−1
i =
∂xi k
λ a
Thus xk−1
1 = . . . = xk−1
n = , or x1 = . . . = xn . Using x1 + . . . + xn = a we get xi = , so
n
k n
X a k nak
the extreme value is = k = ak n1−k .
i=0
n n
Note: To decide the nature of the extreme value, we consider
d2 F = k(k − 1)xk−2 2 2
1 [(dx1 ) + . . . + (dxn ) ]
Thus for any (x, y) belonging to the open disc with center (0, 0) and radius δ = i.e. for
x2 + y 2 < 2 , we get |f (x, y) − f (0, 0)| < , so f (x, y) is continuous at (0, 0).
Let v = (cos θ, sin θ), then by definition the directional derivative at (a, b) in the direction
of v is given by
f (a + t cos θ, b + t sin θ) − f (a, b)
lim
t→0 t
when this limit exists, and it is denoted by fv (a, b).
Here (a, b) = (0, 0), so
f (t cos θ, t sin θ) t2 cos2 θ t sin θ
fv (0, 0) = lim = lim = cos2 θ sin θ
t→0 t t→0 t3
Thus all directional derivatives exist.
However for f to be differentiable, all directional derivatives should be equal — this is
clearly not the case here, as the directional derivative for θ = 0 is 0, but for θ = π4 it is 2√1 2 .
5
UPSC Civil Services Main 1989 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
h2 00
f (a + h) = f (a) + hf 0 (a) + f (a + θh)
2!
where θ lies between 0 and 1, and prove that limh→0 θ = 13 .
Solution. Let
(a + h − x)2
φ(x) = f (a + h) − f (x) − (a + h − x)f 0 (x) − A
2!
where A is so determined that φ(a + h) = φ(a). Clearly φ(a + h) = 0, and φ(a) = f (a + h) −
2 2
f (a) − hf 0 (a) − h2! A, so φ(a) = 0 ⇒ h2! A = f (a + h) − f (a) − hf 0 (a).
Now φ satisfies the requirements of Rolle’s theorem in [a, a + h], therefore there exists
θ ∈ (0, 1) such that φ0 (a + θh) = 0, note that a + θh ∈ (a, a + h). But
h2 00
f (a + h) = f (a) + hf 0 (a) + f (a + θh)
2!
as required.
Now consider the equality
h2 00
f (a + h) − f (a) − hf 0 (a) − 2
f (a) h2 f 00 (a + θh) − f 00 (a)
=
h3 2 h3
1
Taking the limit as h → 0 on both sides, we get
2
f (a + h) − f (a) − hf 0 (a) − h2 f 00 (a)
LHS = lim
h→0 h3
f (a + h) − f (a) − hf 00 (a)
0 0
= lim L’Hospital’s rule
h→0 3h2
f 00 (a + h) − f 00 (a)
= lim L’Hospital’s rule
h→0 6h
1 000
= f (a)
6
f 00 (a + θh) − f 00 (a) θ f 00 (a + θh) − f 00 (a)
RHS = lim = lim
h→0 2h h→0 2 θh
θ 000
= f (a)
2
Thus θ = 31 as h → 0, provided f 000 (a) 6= 0.
The question above is a particular case of the following:
Taylor’s Theorem: Let f (n−1) , the (n − 1)-th derivative of a real valued function be
continuous in the closed interval [a, a + h], and let f (n) exist in the open interval (a, a + h),
then there exists a real number θ, 0 < θ < 1, such that
hn−1 (n−1)
f (a + h) = f (a) + hf 0 (a) + . . . + f (a) + Rn
(n − 1)!
where
hn (1 − θ)n−p (n)
Rn = f (a + θh), 0 < θ < 1
(n − 1)!p
Proof: The condition that f (n−1) (x) is continuous in [a, a + h] ⇒ f, f 0 , f 00 , . . . , f (n−2) are
continuous in [a, a + h]. Let
(a + h − x)n−1 (n−1)
φ(x) = f (x) + (a + h − x)f 0 (x) + . . . + f (x) + A(a + h − x)p
(n − 1)!
where A is a constant to be determined so that φ(a + h) = φ(a) i.e.
0 (hn−1 (n−1)
f (a + h) = f (a) + hf (a) + . . . + f (a) + Ahp
(n − 1)!
Now (i) φ(x) is continuous in [a, a + h] (ii) φ(x) is differentiable in (a, a + h) and (iii)
φ(a + h) = φ(a). Thus all requirements of Rolle’s theorem are satisfied,so there exists a real
number θ, 0 < θ < 1 such that φ0 (a + θh) = 0 (note that any real number c ∈ (a, a + h) can
be written as c = a + c−a
h
h, and since a < c < a + h, we get 0 < θ = c−a
h
< 1). But
(a + h − x)n−1 (n)
φ0 (x) = f (x) − pA(a + h − x)p−1
(n − 1)!
2
so
(h(1 − θ))n−1 (n) hn−p (1 − θ)n−p (n)
φ0 (a+θh) = f (a+θh)−pAhp−1 (1−θ)p−1 = 0 ⇒ A = f (a+θh)
(n − 1)! (n − 1)!p
Thus
hn−1 (n−1) hn (1 − θ)n−p (n)
f (a + h) = f (a) + hf 0 (a) + . . . + f (a) + f (a + θh)
(n − 1)! (n − 1)!p
If we put n = p we get
hn−1 (n−1) hn
f (a + h) = f (a) + hf 0 (a) + . . . + f (a) + f (n) (a + θh)
(n − 1)! n!
h2 00
f (a + h) = f (a) + hf 0 (a) + f (a + θh)
2!
Now we prove the second part: If f (n+1) (x) is continuous from the right at x = a, then
1
θ → n+1 as h → 0 provided f (n+1) (a) 6= 0.
In the given question, n = 2, and f (3) (x) is continuous in [a, a + h] so θ → 13 .
f (n+1) (x) is continuous from the right at x = a ⇒ there exists k, 0 < k < h, such that
f (n+1) (x) exists in [a, a + k]. Thus by the above theorem:
where 0 < θ < 1, 0 < φ < 1. Subtracting the first from the second,
k
f (n) (a + θk) − f (n) (a) = f (n+1) (a + φk)
n+1
Now we use Lagrange’s mean value theorem for f (n) (x) in [a, a + θk] and obtain
k
θkf (n+1) (a + θθ1 k) = f (n+1) (a + φk), 0 < θ1 < 1
n+1
1
Taking limit as h → 0 i.e. k → 0, we get limh→0 θ = n+1 as f (n+1) (a+θθ1 k) and f (n+1) (a+φk)
both tend to f (n+1) (a) as k → 0, and f (n+1) (a) 6= 0.
Question 1(b) Prove that the√volume of a right circular cylinder of greatest volume which
can be inscribed in a sphere is 33 times that of a sphere.
3
Solution. Let the radius of the sphere be a, and the radius and height of the cylinder be r
and h respectively. Then r2 + ( h2 )2 = a2 . Letting r = a cos θ, h = 2a sin θ, the volume of the
cylinder is 2πa3 cos2 θ sin θ.
dV
For extreme values, = 2πa3 [cos3 θ − 2 cos θ sin2 θ] = 0. Now cos θ = 0 ⇒ θ = π2 ⇒
dθ
r = 0, which is not admissible. So cos2 θ − 2 sin2 θ = 0 ⇒ tan θ = √12 as 0 < θ < π2 . Thus
q
sin θ = √13 , cos θ = 23 .
d2 V 3
q
2
= 2πa [−3 cos θ sin θ + 2 sin θ − 4 cos θ sin θ] < 0 for sin θ = 3 , cos θ = 23 . Thus
3 2 2 √1
dθ
V is maximum when tan θ = √12 .
√
V = 2πa3 23 · √1 = 4 πa3 · 3
√ 3 3 3
3
Thus V is 3
times the volume of the sphere.
∂ 2z
Question 1(c) Show that at the point of the surface xx y y z z = c where x = y = z, =
∂x ∂y
−[x log ex]−1 .
∂ 2z 1 ∂z ∂z ∂ 2z 1 ∂z ∂z log ex log ey
(1 + log z) + =0⇒ =− =−
∂x ∂y z ∂y ∂x ∂x ∂y z log ez ∂y ∂x z(log ez)3
∂ 2z log ex log ex
Letting x = y = z, we get =− = −[x log ex]−1 as required.
∂x ∂y x(log ex)3
Question 2(a) Find the surface of the solid generated by revolving x = a cos3 t, y = a sin3 t
about the x-axis.
4
Solution. We confine ourselves to the first quadrant because of symmetry. The curve is
2 2 2
x3 + y 3 = a3 .
Z π
2 ds
S = 2 2πy dt
0 dt
Z π r
2
3 dx 2 dy 2
= 4π a sin t + dt
0 dt dt
Z π
2 1
sin3 t (−3a cos2 t sin t)2 + (3a sin2 t cos t)2 2 dt
= 4πa
0
Z π
2
= 4πa 3a sin4 t cos t dt
0
5
π2
2 sin t 12 2
= 12πa = πa
5 0 5
Question 2(b) If for a curve x sin θ + y cos θ = f 0 (θ) and x cos θ − y sin θ = f 00 (θ) then show
that S = f (θ) + f 00 (θ) + C.
dy
= −f 0 (θ) sin θ + f 00 (θ) cos θ − f 00 (θ) cos θ − f 000 (θ) sin θ
dθ
= − f 0 (θ) + f 000 (θ) sin θ
Z r 2 2 Z
dx dy 0
f (θ) + f 000 (θ) dθ
S = + dθ =
dθ dθ
00
= f (θ) + f (θ) + C
as required.
ZZZ
1
Question 2(c) Evaluate (1 − z) 2 dx dy dz over the interior of the tetrahedron with
faces x = 0, y = 0, z = 0, x + y + z = 1.
5
Solution.
Z 1 Z 1−z Z 1−y−z
1
I = (1 − z) 2 dx dy dz
z=0 y=0 x=0
Z1 Z1−z
1
= (1 − z) 2 (1 − y − z) dy dz
z=0 y=0
1
y2
Z h i1−z
1
= (1 − z) 2 y − − zy dz
z=0 2 0
Z 1
1
h (1 − z)2 i
= (1 − z) 1 − z −
2 − z(1 − z) dz
z=0 2
Z 1
3
h (1 − z) i
= (1 − z) 2 1 − − z dz
z=0 2
Z 1 1
1 5 1 −2 7 1
= (1 − z) 2 dz = (1 − z) 2 =
z=0 2 2 7 0 7
Paper II
taken over the interior of the triangle whose vertices are the origin and the points (0, 1) and
π
(1, 0) is 480 .
Z 1 Z 1
1 1 1 1
I = (1 − u)3 u 2 (1 − v) 2 u 2 v 2 u du dv
Z0 1 Z0 1
3 3
= (1 − u)4−1 u3−1 (1 − v) 2 −1 v 2 −1 du dv
0 0
Γ(4)Γ(3) Γ( 23 )Γ( 32 )
=
Γ(7) Γ(3)
3! π π
= =
6! 4 480
as Γ( 12 ).
6
Question 3(b) Obtain the largest and the least values of 2(x + y + z) − xyz on the closed
ball x2 + y 2 + z 2 ≤ 9.
7
(f) x = y = − √13 , z = − √53 : f (x, y, z) = − √143 + 5
√
3 3
= − 337
√ .
3
(g) x = y = √1 , z = √5 : f (x, y, z) = 14
√ − 5
√ = 37
√ .
3 3 3 3 3 3 3
We need not consider the other possibilities like y = z, z = −2λ as the situation is symmetric
and no new values will result. The greatest value of f (x, y, z) is 10, and the least value is
-10.
We don’t consider d2 F , as it is not needed. We use the fact the all the maximum and
minimum values occur at the extreme values. Calculation of d2 F is a very lengthy process.
8
UPSC Civil Services Main 1990 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) If a function f (x) of the real variable x has the first five derivatives 0 at a
given value x = a, show that it has a maximum or a minimum at x = a according as the
sixth derivative is negative or positive. What happens if only the first four derivatives are 0,
but not the fifth?
Solution. We shall take up the general case, which would cover both the cases —
Let f (n) (a) exist and f (n) (a) 6= 0. Let f (r) (a) = 0, 1 ≤ r ≤ n − 1. Then f (a) is not an
extreme value when n is odd, and if n is even, then f has a maximum at x = a if f (n) (a) < 0
and a minimum if f (n) (a) > 0.
Thus the above result is proved when n = 6. When n = 5, f (x) has neither maximum
nor minimum at x = a.
Proof: The existence of f (n) (a) imlies that f 0 (x), f 00 (x), . . . , f (n−1) (x) all exist in a certain
neighborhood of a, say (a − δ1 , a + δ1 ).
Case (1): If f (n) (a) > 0, then f (n−1) (x) is increasing at a i.e. there exists 0 < δ < δ1
such that f (n−1) (x) < f (n−1) (a) = 0 for a − δ < x < a, and f (n−1) (x) > f (n−1) (a) = 0 for
a < x < a + δ.
Case (2): If f (n) (a) < 0, then f (n−1) (x) is decreasing at a i.e. there exists 0 < δ < δ1
such that f (n−1) (x) > f (n−1) (a) = 0 for a − δ < x < a, and f (n−1) (x) < f (n−1) (a) = 0 for
a < x < a + δ.
Let h be such that |h| < δ, then by Taylor’s theorem
hn−1 (n−1)
f (a + h) = f (a) + hf 0 (a) + . . . + f (a + θh), 0 < θ < 1
(n − 1)!
hn−1 (n−1)
Thus f (a + h) − f (a) = f (a + θh) as f (r) (a) = 0, 1 ≤ r ≤ n − 2. Since
(n − 1)!
a + θh ∈ (a − δ, a + δ), we have the following conclusions:
1
1. n even and f (n) (a) > 0: If h < 0, then hn−1 < 0 and f (n−1) (a + θh) < 0 (by Case
(1) above, as a − δ < a + θh < a. If h > 0, then hn−1 > 0 and f (n−1) (a + θh) > 0 (as
a < a + θh < a + δ.
hn−1 (n−1)
In either case f (a + θh) > 0 for all h with |h| < δ, i.e. f (a + h) > f (a)
(n − 1)!
for |h| < δ, thus f (x) has a minimum at x = a.
hn−1 (n−1)
2. n even and f (n) (a) < 0: Using Case (2), we get f (a + θh) < 0 for all h
(n − 1)!
with |h| < δ, i.e. f (a + h) < f (a) for |h| < δ, thus f (x) has a maximum at x = a.
3. n odd and f (n) (a) > 0: If h < 0, then hn−1 > 0 and f (n−1) (a + θh) < 0, so f (a +
h) < f (a) for h < 0, |h| < δ. If h > 0, then hn−1 > 0 and f (n−1) (a + θh) > 0, so
f (a + h) > f (a) for 0 < h < δ. Thus f has neither minimum nor maximum at x = a.
The case for n odd and f (n) (a) < 0 is similar — h < 0 ⇒ f (a + h) > f (a), h > 0 ⇒
f (a + h) < f (a), so there is no extreme value at x = a.
Solution.
f 0 (x) = 2(x − 2)(x2 + 2bx + c)(x + 3)3 + (x − 2)2 (2x + 2b)(x + 3)3
+ 3(x − 2)2 (x2 + 2bx + c)(x + 3)2
f 0 (−1) = 2(−3)(1 − 2b + c)8 + 72(−2 + 2b) + 108(1 − 2b + c)
= −48 + 96b − 48c − 144 + 144b + 108 − 216b + 108c = −84 + 24b + 60c
Question 2(b) Assuming that the above condition is satisfied, examine the nature of f (x)
at its three critical points.
Solution.
2
1. x = 2.
(x − 2)2 (x2 + 2bx + c)(x + 3)3 = (x − 2)2 g(x)
f (x) =
f 0 (x) = 2(x − 2)g(x) + (x − 2)2 g 0 (x)
f 00 (x) = 2g(x) + 4(x − 2)g 0 (x) + (x − 2)2 g 00 (x)
f 00 (2) = 2g(2) = 250(4 + 4b + c)
= 250(4 + 14 − 10c + c) = 250 · 9(2 − c)
There is a maximum at x = 2 if 2 < c, and a minimum at x = 2 if 2 > c. The test
fails when c = 2. Considering f 000 (x) when x = 2, c = 2, 2b = −3,
f 000 (x) = 2g 0 (x) + 4g 0 (x) + 4(x − 2)g 00 (x) + (x − 2)2 g 000 (x) + 2(x − 2)g 00 (x)
f 000 (2) = 6 (4 + 2b)(2 + 3)3 + 3(4 + 4b + c)(2 + 3)2
= 6 125 + 75(4 − 6 + 2) 6= 0
so there is no maximum or minimum at x = 2 when c = 2.
2. x = −3
(x + 3)3 (x − 2)2 (x2 + 2bx + c) = (x + 3)3 h(x)
f (x) =
f 0 (x) = 3(x + 3)2 h(x) + (x + 3)3 h0 (x)
f 00 (x) = 6(x + 3)h(x) + 3(x + 3)2 h0 (x) + 3(x + 3)2 h0 (x) + (x + 3)3 h00 (x)
f 00 (−3) = 0
f 000 (x) = 6h(x) + 12(x + 3)h0 (x) + (x + 3)2 [some polynomial in x]
f 000 (−3) = 6h(−3) = 150(9 − 6b + c) = 150(9 − 21 + 15c + c) = 600(4c − 3)
So if c 6= 34 , f (x) does not have a maximum or minimum at x = −3. If c = 34 , then
3
So if c > 65 , then f 00 (−1) < 0 and f (x) has a maximum at x = −1. If c < 56 , f (x) has
a minimum at x = −1. If c = 56 , then this test fails, we consider higher derivatives at
y = 2 with c = 65 :
Question 2(c) Show that f (x) has at least three points of inflection irrespective of the
condition 2b + 5c = 7.
n
where f (m) denotes the m-th derivative of f (x) and i
are the binomial coefficients.
4
Differentiating both sides,
m
(m+1)
X m
(f g) (x) = f (m−i+1) (x)g (i) (x) + f (m−i) (x)g (i+1) (x)
i=0
i
m h
m (m+1) (0)
X m m i (m−i+1)
= f (x)g (x) + + f (x)g (i) (x)
0 i=1
i i − 1
m (0)
+ f (x)g (m+1) (x)
m
m
m + 1 (m+1) (0)
X m + 1 (m−i+1)
= f (x)g (x) + f (x)g (i) (x)
0 i=1
i
m + 1 (0)
+ f (x)g (m+1) (x)
m+1
m+1
X m + 1
= f (m+1−i) (x)g (i) (x)
i=0
i
We used m0 = 1 = m+1
m m+1
m m
m+1
0
, m
= 1 = m+1
, i
+ i−1
= i
. The result is now
established for n = m + 1, and hence by induction for all n.
Question 3(b) Show that the m-th derivative gm (x) of g(x) = tan−1 x satisfies
1
Solution. g1 (x) = or (1 + x2 )g1 (x) = 1.
1 + x2
Using Leibnitz’s theorem proved above and differentiating the above equation m times,
we get
m 2 m m
(1 + x )gm+1 (x) + 2xgm (x) + 2gm−1 (x) = 0
0 1 2
or
(1 + x2 )gm+1 (x) + 2mxgm (x) + m(m − 1)gm−1 (x) = 0
which is the required relation.
1 (−1)1−1 (1 − 1)!φ1 (x)
Now g1 (x) = = as φ1 (x) = 1.
1 + x2 (1 + x2 )1
5
−2x (−1)2−1 (2 − 1)!φ2 (x)
g2 (x) = = as φ2 (x) = 2x.
(1 + x2 )2 (1 + x2 )2
Assume that the result is true for all n ≤ m. From the relation proved above:
as φm+1 (x) = 2xφm (x) − (1 + x2 )φm−1 (x). This completes the proof.
Question 3(c) Find φm (x) for x ≤ 6. Can you find a general formula?
Solution.
φ1 (x) = 1
φ2 (x) = 2x
φ3 (x) = 2x · 2x − (1 + x2 ) = 3x2 − 1
φ4 (x) = 2x(3x2 − 1) − (1 + x2 )(2x) = 4x3 − 4x
φ5 (x) = 2x(4x3 − 4x) − (1 + x2 )(3x2 − 1) = 5x4 − 10x2 + 1
φ6 (x) = 2x(5x4 − 10x2 + 1) − (1 + x2 )(4x3 − 4x)
= 6x5 − 20x3 + 6x
6
5 4 5 2 5 0
φ5 (x) = x − x + x
4 2 0
6 5 6 3 6 1
φ6 (x) = x − x + x
5 3 1
n n−1 n n−3 n
φn (x) = x − x + xn−5 − . . .
n−1 n−3 n−5
2r+1≤n 2r+1≤n
X
r n n−2r−1
X
r n
= (−1) x = (−1) xn−2r−1
r=0
n − 2r − 1 r=0
2r + 1
Thus n n
dn x
−1
X n X n
(e tan x) = g r (0) = (−1)r−1 (r − 1)!φr (0)
dxn x=0 r=0
r r=1
r
as g(0) = 0 and gr (x) was computed above in terms of φr (x). Now φ2r (0) = 0, and φ2r+1 =
(−1)r . Thus
2r+1≤n
dn x
X n
−1
(e tan x) = (2r)!(−1)r
dxn x=0 r=0
2r + 1
or
dn x
n n n n
(e tan−1 x) = 0! − 2! + 4! − 6! + ...
dxn x=0 1 3 5 7
as required.
Paper II
Z π
2
Question 4(a) Discuss the convergence of the integral log(sin x) dx and if convergent,
0
evaluate it.
7
Solution.π The integrand log sin x has a discontinuity only at x = 0. We consider the
Z
2
integral − log(sin x) dx so that the integrand is positive.
0
Let g(x) = x−m , 0 < m < 1, then
By putting 2x = t. π
Z Z π
2 1
log(sin 2x) dx = log(sin t) dt
0 2 0
Now substituting t = π − y, we have
π
Z π Z 0 Z
2
log(sin t) dt = log(sin y) (−dy) = log(sin y) dy
π π
2 2
0
Z π Z π
2 2
∴ log(sin 2x) dx = log(sin y) dy
0 0
Z π
2 π
⇒ log(sin x) dx = − log 2
0 2
2
Question 4(b) Find the point on the parabola
√ y = 2x, z = 0 which is nearest to the plane
z = x + 2y + 8. Show that this distance is 6.
Solution. Let the point (x, y, 0) by on the parabola. Then the distance d from the plane
z = x + 2y + 8 is given by
|x + 2y − 0 + 8| |x + 2y + 8|
d= √ = √
1+4+1 6
8
⇒ 6d2 = x2 + 4xy + 4y 2 + 16x + 32y + 64.
Put 2x = y 2 , and let F = 6d2 to get
y4 2
F = 6d = + 2y 3 + 4y 2 + 8y 2 + 32y + 64
4
We need to minimize F . The critical points are given by
dF
= y 3 + 6y 2 + 24y + 32 = 0
dy
⇒ (y + 2)(y 2 + 4y + 16) = 0
d2 F
= 3y 2 + 12y + 24 = 12 − 24 + 24 > 0
dy 2
at y = −2. Hence y = −2 is a minimum. √
When y = −2, x = 2, and d = |2−4+8|
√
6
= 6 as required.
x2 y 2 z 2 π 2 a2 b2 c2
over the volume bounded by 2 + 2 + 2 = 1 is equal to .
a b c 4
Solution. Let
ZZZ
1
I = 2
(a2 b2 c2 − b2 c2 x2 − c2 a2 y 2 − a2 b2 z 2 ) 2 dx dy dz
x2 2
{(x,y,z) | + y2 + z2 ≤1}
a2 b c
x2 y 2 z 2 21
ZZZ
= 8abc 1 − 2 − 2 − 2 dx dy dz
{(x,y,z) | x2 2 2
+ y2 + z2 ≤1,x≥0,y≥0,z≥0} a b c
a2 b c
du dv dw
Let X 2 = u, Y 2 = v, Z 2 = w, so that dX = √ , dY
2 u
= √ , dZ
2 v
= √
2 w
and
ZZZ
1 1 1 1
2 2 2
I=a b c (1 − u − v − w) 2 u− 2 v − 2 w− 2 du dv dw
u+v+w≤1
u≥0,v≥0,w≥0
9
We now convert this to a Dirichlet integral — let u + v + w = α, v + w = αβ, w = αβγ,
∂(u, v, w)
so that = −α2 β and
∂(α, β, γ)
Z 1Z 1Z 1
1 1 1 1
I = abc 2 2 2
(1 − α) 2 (α − αβ)− 2 (αβ − αβγ)− 2 (αβγ)− 2 α2 β dα dβ dγ
Z0 1 Z0 1 Z0 1
1 1 1 1 1
= a2 b2 c2 (1 − α) 2 α 2 (1 − β)− 2 (1 − γ)− 2 γ − 2 dα dβ dγ
0 0 0
3 3
2 2 2 Γ( 2 )Γ( 2 ) Γ( 21 )Γ(1) Γ( 21 )Γ( 21 )
= abc
Γ(3) Γ( 32 ) Γ(1)
1 1 4
2 2 2 2 Γ( 2 ) π 2 a2 b2 c2
= abc =
2 4
√
as required, as Γ( 12 ) = π.
10
UPSC Civil Services Main 1991 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
1
d2 y 5
7. 2
= 32 a2 b(x2 − a2 )− 2 2x > 0 for x > a, so the curve is downwards convex.
dx
A sketch is shown here:
x = −a x=a
y=b
y = −b
Question 1(b) Find the cubic curve which has the same asymptotes as the curve
x3 − 6x2 y + 11xy 2 − 6y 3 + x + y + 1 = 0
and which passes through the points (0, 0), (1, 0) and (0, 1).
Question 1(c) Show that the function f (x, y) = y 2 + x2 y + x4 has (0, 0) as the only critical
point and f (x, y) has a minimum at that point.
∂f ∂f
Solution. The critical points are given by = 2xy + 4x3 = 0 ⇒ x = 0, y = −2x2 , =
∂x ∂y
x2
2y + x2 = 0 ⇒ y = − .
2 2
When x = 0, y = − x2 ⇒ y = 0.
2
y = −2x2 , y = − x2 ⇒ x = 0, y = 0. Hence (0, 0) is the only critical point.
2
∂ 2f 2 ∂ 2f ∂ 2f
Now = 2y + 12x = 0 at (0, 0). = 2 and = 2x = 0 at (0, 0). Thus
∂x2 ∂y 2 ∂x ∂y
∂ 2 f ∂ 2 f ∂ 2 f 2
− = 0 at (0, 0)
∂x2 ∂y 2 ∂x ∂y
so we cannot say whether it is maximum or minimum. However f (x, y) = (x2 + y2 )2 + 34 y 2 ≥ 0
for all (x, y) ∈ R2 , so f (x, y) has a minimum at (0, 0).
Question 1(d) Find the percentage error in the volume of a right circular cone when an
error of 1% is made in measuring the height and an error of 0.5% is made in measuring the
base radius.
Solution.
π 2
V = r h
3
π
log V = log + 2 log r + log h
3
dV dr dh
= 2 +
V r h
dr dh dV
Now = 0.5% = 0.005, = 1% = 0.01. Thus = 0.02 = 2%. Hence the error in
r h V
measuring the volume is 2%.
ZZ
Question 2(a) Evaluate F (x + y)xm−1 y n−1 dx dy with F (u) = (1 − u)l−1 where D is
D
the interior of the triangle formed by x = 0, y = 0, x + y = 1 and l, m, n are all positive.
3
x2 y 2 z 2
Question 2(b) Find the center of gravity of the solid bounded by the ellipsoid 2 + 2 + 2 =
a b c
1 and lying in the positive octant.
ZZZ
Solution. Let S be the positive octant of the ellipsoid. Let M = dx dy dz.
ZZZ ZZZ Z Z ZS
1 1 1
Then x = x dx dy dz, y = y dx dy dz, z = z dx dy dz.
M S M S M S
Now put x = aX, y = bY, z = cZ so that
ZZZ
π
M = abc dX dY dZ = abc
X≥0,Y ≥0,Z≥0,
2 2 2
6
X +Y +Z ≤1
6a2 bc
ZZZ
x= X dX dY dZ
πabc X≥0,Y ≥0,Z≥0,
2 2 2
X +Y +Z ≤1
Put X 2 = u, Y 2 = v, Z 2 = w. Then
ZZZ
6a 1 1
−1 1 −1 1 −1
x = u≥0,v≥0,w≥0, u 2 u 2 v 2 w 2 du dv dw
π D: 2 2 2
u+v+w≤1
ZZZ ZZZ
3a 1 1 3a 1 1
= u0 v − 2 w− 2 du dv dw = u1−1 v 2 −1 w 2 −1 du dv dw
4π D 4π D
1 1
3a Γ(1)Γ( 2
)Γ( 2
) 3a
= =
4π Γ(2) 4
√ RRR 1−1 1 −1 1 −1
as Γ(2) = Γ(1) = 1, Γ( 12 ) = π. Note that in evaluating D
u v 2 w 2 du dv dw we
have used Dirichlet’s integral discussed above.
3a 3b 3c
3b 3c
Similarly y = 4 , z = 4 , so the center of gravity is , , .
4 4 4
Question 2(c) Prove, by considering the integral
ZZ
2 2
x2m−1 y 2n−1 e−x −y dx dy
E
Γ(m)Γ(n)
where E is the square [0, R, 0, R], or otherwise, that B(m, n) = .
Γ(m + n)
Solution. Let C1 be the part of the circle x2 + y 2 ≤ R2 lying in the first quadrant, and C2
be the part of the circle x2 + y 2 ≤ 2R2 lying in the first quadrant. Then
ZZ ZZ ZZ
2m−1 2n−1 −x2 −y 2 2m−1 2n−1 −x2 −y 2 2 2
x y e dx dy ≤ x y e dx dy ≤ x2m−1 y 2n−1 e−x −y dx dy
C1 E C2
4
Put x = r cos θ, y = r sin θ, so that dx dy = r dr dθ. Then
π
ZZ Z
2
Z R
2m−1 2n−1 −x2 −y 2 2
x y e dx dy = cos 2m−1
θ sin 2n−1
θ dθ r2m+2n−1 e−r dr
C1 0 0
π
√
ZZ Z
2
Z 2R
−x2 −y 2 2
x2m−1 y 2n−1 e dx dy = cos2m−1 θ sin2n−1 θ dθ r2m+2n−1 e−r dr
C2 0 0
R1
Consider B(m, n) = 0
xm−1 (1 − x)n−1 dx. Put x = cos2 θ, dx = −2 cos θ sin θ dθ, so
π
Z 0 Z
2
2m−2 2n−2
B(m, n) = cos θ sin θ(−2 cos θ sin θ) dθ = 2 cos2m−1 θ sin2n−1 θ dθ
π
2
0
R∞
Consider Γ(m) = tm−1 e−t dt. Put t = r2 , so that
0
Z ∞ Z ∞
2m−2 −r2 2
Γ(m) = r e 2r dr = 2 r2m−1 e−r dr
0 0
Thus ZZ
2 −y 2 B(m, n) Γ(m + n)
lim x2m−1 y 2n−1 e−x dx dy =
R−→∞ C1 2 2
and ZZ
2 −y 2 B(m, n) Γ(m + n)
lim x2m−1 y 2n−1 e−x dx dy =
R−→∞ C2 2 2
Thus ZZ
2 −y 2 B(m, n) Γ(m + n)
lim x2m−1 y 2n−1 e−x dx dy =
R−→∞ E 2 2
However
ZZ Z R Z R
2m−1 2n−1 −x2 −y 2 2m−1 −x2 2 Γ(m)Γ(n)
lim x y e dx dy = x e dx y 2n−1 e−y dy =
R−→∞ E 0 0 4
Γ(m)Γ(n)
Hence B(m, n) = as required.
Γ(m + n)
Paper II
∞
log(1 + a2 x2 )
Z
Question 3(a) Evaluate dx.
0 1 + b2 x 2
5
as the conditions for differentiating under the integral are satisfied.
∞ ∞
2ax2
Z Z
dI 2a 1 1
= dx = − dx
da 0 (1 + a2 x2 )(1 + b2 x2 ) b2 − a2 0 1 + a2 x 2 1 + b2 x 2
−1 −1
∞
2a tan ax tan bx
= 2 2
−
b −a a b 0
2a π 1 1 π
= 2 − =
b − a2 2 a b b(b + a)
π π
Thus I = log(b + a) + C. Since I = 0 when a = 0, C = − log(b) and therefore
π bb+ a b
I = log
b b
Question 4(a) If the rectangular axes are rotated through an angle α about the origin and
the new coordinates are (x, y), then show that for any u,
∂ 2u ∂ 2u ∂ 2u ∂ 2u
+ = +
∂x2 ∂y 2 ∂x2 ∂y 2
Solution. From standard coordinate geometry:
x = x cos α − y sin α
y = x sin α + y cos α
Thus
∂u ∂u ∂x ∂u ∂y ∂u ∂u
= + = cos α + sin α
∂x ∂x ∂x ∂y ∂x ∂x ∂y
∂ 2u ∂ ∂u ∂u ∂x ∂ ∂u ∂u ∂y
= cos α + sin α + cos α + sin α
∂x2 ∂x ∂x ∂y ∂x ∂y ∂x ∂y ∂x
∂ 2u 2
∂ u 2
∂ u 2
∂ u
= cos α + sin α cos α + cos α + 2 sin α sin α
∂x2 ∂x ∂y ∂y ∂x ∂y
2 2 2
∂ u 2 ∂ u ∂ u ∂ 2u 2
= cos α + cos α sin α + cos α sin α + sin α
∂x2 ∂x ∂y ∂y ∂x ∂y 2
∂u ∂u ∂x ∂u ∂y ∂u ∂u
= + = (− sin α) + cos α
∂y ∂x ∂y ∂y ∂y ∂x ∂y
∂ 2u ∂ 2u 2 ∂ 2u ∂ 2u ∂ 2u
= sin α − cos α sin α − cos α sin α + cos2 α
∂y 2 ∂x2 ∂x ∂y ∂y ∂x ∂y 2
Thus
∂ 2u ∂ 2u ∂ 2u 2 2 ∂ 2u 2 2 ∂ 2u ∂ 2u
+ = (cos α + sin α) + (cos α + sin α) = +
∂x2 ∂y 2 ∂x2 ∂y 2 ∂x2 ∂y 2
as required.
6
x2 y2
Question 4(b) A rectangle is inscribed in the ellipse 2 + 2 = 1, what is the maximum
a b
possible area of the rectangle?
Solution.
R S
7
UPSC Civil Services Main 1992 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
January 9, 2010
Question 1(a) If y = eax cos bx, prove that y2 − 2ay1 + (a2 + b2 )y = 0 and hence expand
eax cos bx in powers of x. Deduce the expansion of eax and cos bx.
Solution.
as required.
Thus y2 = 2ay1 − (a2 + b2 )y. Differentiating n − 2 times, yn = 2ayn−1 − (a2 + b2 )yn−2 .
Thus we have a recurrence relation for yn , which we can use to compute yn (0).
y(0) = 1
y1 (0) = a
y2 (0) = 2ay1 (0) − (a2 + b2 )y(0) = a2 − b2
y3 (0) = 2ay2 (0) − (a2 + b2 )y1 (0) = 2a3 − 2ab2 − a3 − ab2 = a3 − 3ab2
y4 (0) = 2a4 − 6a2 b2 − a4 + b4 = a4 − 6a2 b2 + b4
...
r≤ n
2
X n n−2r 2r
r
yn (0) = (−1) a b
r=0
2r
1
The last formula can be proved by induction — the coefficient of an−2r b2r in yn (0) from the
RHS of the recurrence relation is
r n−1 r n−2 r−1 n − 2
2(−1) − (−1) − (−1)
2r 2r 2r − 2
r n−1 n−2 n−2 n−2 n−2
= (−1) 2 − − + +
2r 2r 2r − 1 2r − 1 2r − 2
n−1 n−1 n−1
= (−1)r 2 − +
2r 2r 2r − 1
n−1 n−1
= (−1)r +
2r 2r − 1
n
= (−1)r
2r
Now by the Taylor-Maclaurin formula
∞
ax
X xn
y = e cos bx = yn (0)
n=0
n!
Putting a = 0, all terms in the odd yn (0) vanish, and all but the last in the even ones
vanish: ∞
X x2r
cos bx = (−1)r b2r
r=0
(2r)!
Note: It is possible to expand eax cos bx in powers of x directly without using the formula
y2 = 2ay1 − (a2 + b2 )y as shown below — however in this question we are required to use
the formula and proceed as above.
Put a = r cos θ, b = r sin θ, so that
Thus yn (0) = rn cos nθ. Using the standard formula for cos nθ, and then using a = r cos θ, b =
r sin θ, we see that this is the same as the above result (or alternatively using these results
we have derived the standard formula for cos nθ).
2
Question 1(b) If x = r sin θ cos φ, y = r sin θ sin φ, z = r cos θ then prove that
dx2 + dy 2 + dz 2 = dr2 + r2 dθ2 + r2 sin2 θ dφ2
Solution.
dx = sin θ cos φ dr + r cos θ cos φ dθ − r sin θ sin φ dφ
dy = sin θ sin φ dr + r cos θ sin φ dθ + r sin θ cos φ dφ
dz = cos θ dr − r sin θ dθ
We square and add these three equations.
Coefficient of dr2 = sin2 θ cos2 φ + sin2 θ sin2 φ + cos2 θ = 1
Coefficient of dθ2 = r2 cos2 θ cos2 φ + r2 cos2 θ sin2 φ + r2 sin2 θ = r2
Coefficient of dφ2 = r2 sin2 θ sin2 φ + r2 sin2 θ cos2 φ = r2 sin2 θ
Coefficient of 2 dr dθ = r sin θ cos θ(cos2 φ + sin2 φ) − r sin θ cos θ = 0
Coefficient of 2 dr dφ = −r sin2 θ cos φ sin φ + r sin2 θ cos φ sin φ = 0
Coefficient of 2 dθ dφ = −r2 cos θ cos φ sin θ sin φ + r2 cos θ sin φ sin θ cos φ = 0
Thus dx2 + dy 2 + dz 2 = dr2 + r2 dθ2 + r2 sin2 θ dφ2 .
Question 1(c) Find the dimensions of the rectangular parallelopiped inscribed in the ellip-
x2 y 2 z 2
soid 2 + 2 + 2 = 1 that has the greatest volume.
a b c
2a √
Solution. See 1997 question 1(b). The dimensions are √
3
, 2b3 , √2c3 .
Question 2(a) Prove that the volume enclosed by the cylinders x2 + y 2 = 2ax and z 2 = 2ax
is 128
15
a3 .
√ √
Solution.
√ Clearly
√ on the given volume z varies from − 2ax to 2ax, y varies from
− 2ax − x2 to 2ax − x2 and x varies from 0 to 2a (note that x2 + y 2 = 2ax is a circle in
the XY-plane in which x varies from 0 to 2a).
Z 2a Z √2ax−x2 Z √2ax Z 2a Z √2ax−x2 √
V = √ √
dz dy dx = 2 √
2ax dy dx
0 − 2ax−x2 − 2ax 0 − 2ax−x2
Z 2a √ √ √ Z 2a √
= 4 2
2ax 2ax − x dx = 4 2a x 2a − x dx
0 0
2
Put x = 2a sin θ
√ Z π2 √
= 4 2a 2a sin2 θ 2a cos θ 4a sin θ cos θ dθ
0
Z π
2 2·1 128 3
= 64a3 sin3 θ cos2 θ dθ = 64a3 = a
0 5·3·1 15
3
Question 2(b) Find the center of gravity of the volume formed by revolving the area bounded
by the parabolas y 2 = 4ax and x2 = 4by about the x-axis.
Solution.
x = a sin θ + b cos2 θ
2
4
and x = a ⇒ θ = π2 , x = b ⇒ θ = 0. Thus
Z 0
I = 2 (b − a)m+n+1 cos2m θ sin2n θ(− sin θ cos θ)dθ
π
2
Z π
2
m+n+1
= 2(b − a) cos2m+1 θ sin2n+1 θ dθ
0
2m+1
m+n+1 Γ( 2 + 21 )Γ( 2n+1
2
+ 12 )
= (b − a)
Γ( 2m+1
2
+ 2n+12
+ 1)
Γ(m + 1)Γ(n + 1)
= (b − a)m+n+1 = (b − a)m+n+1 B(m + 1, n + 1)
Γ(m + n + 2)
Substituting a = −1, b = 1, m = p, n = q we have
Z 1
Γ(p + 1)Γ(q + 1)
(1 + x)p (1 − x)q dx = 2p+q+1
−1 Γ(p + q + 2)
Paper II
z(y − x − 1) + x − y + 1 = 0 ⇒ (x − y + 1)(1 − z) = 0 ⇒ z = 1 or x − y + 1 = 0
5
Putting z = 1 in (i) and (iii) we get 2y + 2x − 6 = 0 ⇒ x = 3 − y and xy − 2x − y − 1 =
0 ⇒ y(3 − y) − 2(3 − y) − y − 1 = 0 ⇒ y 2 − 4y + 7 = 0. This gives imaginary values, showing
that z = 1 is not possible.
Putting x = y − 1 in equation (iii) we get y(y − 1) − 2(y − 1) − y + z − 2 = 0 ⇒
y 2 − 4y + z = 0 ⇒ z = 4y − y 2 . Substituting x = y − 1, z = 4y − y 2 in (i) we get
y(4y −y 2 )−2(4y −y 2 )+y −1−1 = 0 ⇒ 4y 2 −y 3 −8y +2y√ 2
+y −2 = 0 ⇒ y 3 −6y 2 +7y +2 = 0.
2
Factorizing this, (y − 2)(y − 4y − 1) = 0 ⇒ y = 2, 2 ± 5.
Case 1: y = 2, x = 1, z = 4. fxx = 2, fyy = 2, fzz = 2, fxy = 2z, fxz = 2y − 4, fyz = 2x − 2.
Thus the matrix associated with the quadratic form
when x = 1, y = 2, z = 4 is given by
2 8 0
8 2 0
0 0 2
2 0 2 8
of which the principle minors are , or 4, −60, showing that the quadratic form
0 2 8 2
d2 f is indefinite. Thus
√ the point√ (1, 2, 4) is neither maximum
√ nor √ minimum.
Case 2: x = 1 + 5, y = 2 + 5, z = y(4 − y) = (2 + 5)(2 − 5) = −1. The matrix B
associated with d2 f in this case is
√
2 −2 2√5
−2 2 2 5
√ √
2 5 2 5 2
√ √
2 −1
which again is indefinite as one principle minor is = 0. Thus (1 + 5, 2 + 5, −1)
−2 2
is also not a maximum √ or minimum.
√ √ √
Case 3: x = 1 − 5, y = 2 − 5, z = y(4 − y) = (2 − 5)(2 + 5) = −1. The matrix B
associated with d2 f in this case is
√
2 −2 −2√5
−2 2√ −2 5
√
−2 5 −2 5 2
√ √
which again is indefinite for the same reason as Case 2. Thus (1 − 5, 2 − 5, −1) is also
not a maximum or minimum.
6
Note: Consider the similar question: Examine f (x, y, z) = 2xyz − 4xz − 2yz + x2 + y 2 +
2
z − 2x − 4y + 4z for extreme values.
For extreme values,
fx = 2yz − 4z + 2x − 2 = 0 ⇒ yz − 2z + x − 1 = 0 (i)
fy = 2zx − 2z + 2y − 4 = 0 ⇒ xz − z + y − 2 = 0 (ii)
fz = 2xy − 4x − 2y + 2z + 4 = 0 ⇒ xy − 2x − y + z + 2 = 0 (iii)
Adding (ii) and (iii) we get x(z + y − 2) = 0 ⇒ x = 0 or y + z = 2.
Case (1): x = 0. Putting x = 0 in (i), (ii) we get yz − 2z − 1 = 0, and −z + y − 2 = 0.
Solving these, we get (z + 2)z − 2z − 1 = 0 ⇒ z 2 − 1 = 0 ⇒ z = ±1 ⇒ y = 3, 1. Thus
(0, 3, 1), (0, 1, −1) are extreme values.
Case (2): y + z = 2. From (i) we get x = 1 + 2z − z(2 − z). Using (ii) we get
z(1 + z 2 ) − z + 2 − z − 2 = 0 ⇒ z 3 − z = 0 ⇒ z = 0, ±1. Thus (1, 2, 0), (2, 1, 1), (2, 3, −1) are
also extreme values.
Now fxx = 2, fyy = 2, fzz = 2, fxy = 2z, fxz = 2y − 4, fyz = 2x − 2.
Case (i): x = 0, y = 3, z = 1. The matrix associated with d2 f is
2 2 2
2 2 −2
2 −2 2
2
2 2
d f is indefinite as one principle minor is = 0, so there is neither a minimum nor
2 2
maximum at (0, 3, 1).
Case (ii): x = 0, y = 1, z = −1. The matrix associated with d2 f is
2 −2 −2
−2 2 −2
−2 −2 2
2
2 −2
d f is indefinite as one principle minor is = 0, so there is neither a minimum nor
−2 2
maximum at (0, 1, −1).
Case (iii): x = 1, y = 2, z = 0. The matrix associated with d2 f is
2 0 0
0 2 0
0 0 2
7
2
2 2
d f is indefinite as one principle minor is = 0, so there is neither a minimum nor
2 2
maximum at (2, 1, 1).
Case (v): x = 2, y = 3, z = −1. The matrix associated with d2 f is
2 −2 2
−2 2 2
2 2 2
2
2 −2
d f is indefinite as one principle minor is = 0, so there is neither a minimum nor
−2 2
maximum at (2, 3, −1).
Question 4(a) Find the upper and lower Riemann integral for the function defined in the
interval [0, 1] as follows (√
1 − x2 , x ∈ Q
f (x) =
1 − x, x 6∈ Q
and show that f (x) is not Riemann integrable in [0, 1].
√
Solution. For 0 ≤ x ≤ 1, (1 − x)2 = 1 − 2x + x2√ ≤ 1 − 2x2 + x2 = 1 − x2 , so 1 − x ≤ 1 − x2 .
For any interval [a, b] ⊆ [0, 1], 1 − b ≤ 1 − x ≤ 1 − x2 , a ≤ x ≤ b. Thus for any partition
P = {0 = t0 < t1 < . . . < tn = 1} ofP [0, 1], we have
Lower Riemann Sum L(f, P ) = ni=1 (1 − ti )(ti − ti−1 ) = L(g, P ) where g(x) = 1 − x, 0 ≤
x ≤ 1. Thus Z 1 Z 1
f (x) dx = sup L(f, P ) = sup L(g, P ) = g(x) dx
0 P P 0
8
Question 4(b) Evaluate
ZZ s
a2 b2 − b2 x 2 − a2 y 2
dx dy
a2 b2 + b2 x 2 + a2 y 2
x2 y 2
over the positive quadrant of the ellipse + 2 = 1.
a2 b
Solution. Put x = aX, y = bY so that the given integral
r
1 − X2 − Y 2
ZZ
I = ab dX dY
X 2 +Y 2 ≤1 1 + X2 + Y 2
X≥0,Y ≥0
9
UPSC Civil Services Main 1993 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
January 9, 2010
Question 1(a) Prove that f (x) = x2 sin x1 , x 6= 0, f (0) = 0 is continuous and differentiable
at x = 0, but its derivative is not continuous at x = 0.
√
Solution. Let > 0, take δ = > 0. Now |x| < δ ⇒ |f (x) − f (0)| = |x2 sin x1 | ≤ |x2 | < ,
so f (x) is continuous at x = 0.
x2 sin x1 − 0
f 0 (x) = 2x sin x1 − cos x1 when x 6= 0, and f 0 (0) = lim = 0, so f is differen-
x→0 x
tiable.
The derivative is not continuous at 0 because limx→0 f 0 (x) does not exist — the exis-
tence of limx→0 f 0 (x) implies the existence of limx→0 cos x1 , as limx→0 x sin x1 exists. However
limx→0 cos x1 does not exist.
Proof: Let limx→0 cos x1 = m, then given 0 < < 1 there exists δ > 0 such that
0 < |x| < δ ⇒ | cos x1 − m| < /2. If 0 < |x1 | < δ, 0 < |x2 | < δ then | cos x11 − m| <
/2, | cos x12 − m| < /2 ⇒ | cos x11 − cos x12 | = | cos x11 − m + m − cos x12 | < .
2 1
But for any δ > 0, we can find x1 = (2n+1)π , x2 = 2nπ such that 0 < |x1 | < δ, 0 < |x2 | < δ.
However | cos x1 − cos x2 | = 1 6< . Thus limx→0 cos x and hence limx→0 f 0 (x) does not exist,
1 1 1
1
Clearly F (a) = F (b) = 0. Also, F (x) is the linear combination of functions f (x), φ(x), ψ(x),
so is differentiable, and therefore continuous in [a, b]. Thus F (x) satisfies the requirements
of Rolle’s theorem, so there is a point c ∈ [a, b] such that F 0 (c) = 0. Hence
f (a) φ(a) ψ(a)
f (b) φ(b) ψ(b) = 0
0
f (c) φ0 (c) ψ 0 (c)
Note that if we expand the determinant defining F (x) by the last row, we get F (x) =
0 0 0
Af (x) + Bφ(x)
+ Cψ(x), where A, B, C are constants. Hence F (x) = Af (x) + Bφ (x) +
f (a) φ(a) ψ(a)
0
Cψ (x) = f (b) φ(b) ψ(b)
f 0 (x) φ0 (x) ψ 0 (x)
Question 1(c) Find the triangle of maximum area which can be inscribed in a circle.
Solution.
A
Let the triangle be ABC inscribed in the
circle of radius r and center O. Let the an-
gles subtended by sides AB, BC, CA at the
center be β, α, γ respectively, as shown. Area β γ
O
of 4OBC = 24OBD = 2( 12 r2 cos α2 sin α2 ) = α
r2
2
sin α.
2
Thus the area of 4ABC = r2 [sin α +
B D C
sin β + sin γ]. Since α + β + γ = 2π, we get
2
4ABC = r2 [sin α + sin β − sin(α + β)]
Thus we want to maximize F = sin α + sin β − sin(α + β), subject to 0 < α < 2π, 0 < β <
2π, 0 < α + β < 2π. For extreme values,
∂F
= cos α − cos(α + β) = 0
∂α
∂F
= cos β − cos(α + β) = 0
∂β
Thus cos α = cos β = cos(α + β). From the first equality, α = β or α = 2π − β. However the
second solution violates α + β < 2π, so α = β. From the second, β = 2β or β = 2π − 2β.
The first gives β = 0, which is not possible, so α = β = 2π3
, γ = 2π − (α + β) = 2π
3
. Thus
α = β = γ, so the triangle must be equilateral.
2
2π
To show that this is a maximum, when α = β = 3
—
∂ 2F √
= − sin α + sin(α + β) = − 3 < 0
∂α2
∂ 2F √
= − sin β + sin(α + β) = − 3 < 0
∂β 2
√
∂ 2F 3
= sin(α + β) = −
∂α ∂β 2
2
∂ 2F ∂ 2F ∂ 2F
3
⇒ 2 2
− =3+ >0
∂α ∂β ∂α ∂β 4
Thus the area of the inscribed triangle is maximum when the triangle is equilateral.
Z ∞ √ Z ∞
−ax2 π 2
Question 2(a) Prove that e dx = √ (a > 0) and deduce that x2n e−x dx =
√ 0 2 a 0
π
(1 · 3 · 5 · · · (2n − 1)).
2n+1
√ √
Solution. Put t = ax, dt = a dx and
∞ ∞ 2 √
e−t
Z Z
−ax2 π
e dx = √ dt = √
0 0 a 2 a
Z ∞ √
2 π
because e−x dx = — see 2002, question 1(b).
0 Z ∞ 2
2
Let F (2n) = x2n e−x dx. Integrating by parts, we get
0
∞ ∞ ∞
x2n+1 x2n+1
Z Z
2n −x2 −x2 2 2
F (2n) = x e dx = e + 2xe−x dx = F (2n + 2)
0 2n + 1 0 0 2n + 1 2n + 1
2n+1
Hence F (2n + 2) = 2
F (2n). Using this formula repeatedly on F (2n), we get
(2n − 1) · (2n − 3) · · · 3 · 1
F (2n) = F (0)
2n
√
π
However, from above F (0) = 2
by letting a = 1. Thus
Z ∞ √
2n −x2 π
F (2n) = x e dx = (1 · 3 · 5 · · · (2n − 1))
0 2n+1
as required.
3
Question 2(b) Define the Gamma function and prove that
√
1 π
Γ(n)Γ(n + ) = 2n−1 Γ(2n)
2 2
Solution. See 1997 question 2(c).
Question 2(c) Show that the volume common to the sphere x2 + y 2 + z 2 = a2 and the
3
cylinder x2 + y 2 = ax is 2a9 (3π − 4).
RRR p
pSolution. Clearly V = dx dy dz, where the limits of z are from − a2 − x2 − y 2 to
a2 − x2 − y 2 and x, y vary over the cylinder D given above. Thus
ZZ p
V =2 a2 − x2 − y 2 dx dy
D
Because of symmetry, it is enough to compute the integral in the first quadrant. Let x =
r cos θ, y = r sin θ, dx dy = r dr dθ. x2 + y 2 = ax ⇒ r2 = ar cos θ ⇒ r = a cos θ, so the limits
of integration are 0 ≤ θ ≤ π2 , 0 ≤ r ≤ a cos θ.
π
Z
2
Z a cos θ
1
V = 4 (a2 − r2 ) 2 r dr dθ
0 0
Z π 1 a cos θ
2 2 2 2 23
= 4 (a − r ) · − dθ
0 3 2 0
Z π
4 2 3
= (a − a3 sin3 θ) dθ
3 0
4 3π 4 3 2 2a3
= a − a · = (3π − 4)
3 2 3 3 9
as required.
Paper II
Question 3(a) Find all the maxima and minima of
f (x, y) = x3 + y 3 − 63(x + y) + 12xy
Solution. For extreme values
fx = 3x2 − 63 + 12y = 0
fy = 3y 2 − 63 + 12x = 0
fx − fy = 0 ⇒ 3(x2 − y 2 ) + 12(y − x) = 0 ⇒ y − x = 0, 3(x + y) − 12 = 0.
Case 1. x = y ⇒ 3x2 + 12x − 63 = 0 ⇒ x2 + 4x − 21 = 0 ⇒ x = −7, 3. Thus in this case
the critical points are (−7, −7) and (3, 3).
Case 2. x + y = 4 ⇒ x2 − 21 + 4(4 − x) = 0 ⇒ x2 − 4x − 5 = 0 ⇒ x = −1, 5. Thus in
this case the critical points are (−1, 5) and (5, −1).
Now fxx = 6x, fxy = 12, fyy = 6y.
4
2
1. x = −7, y = −7 ⇒ fxx < 0, fxx fyy − fxy = (−42)2 − (12)2 > 0. Therefore (−7, −7) is
a maximum.
2
2. x = 3, y = 3 ⇒ fxx > 0, fxx fyy − fxy = (18)2 − (12)2 > 0. Therefore (3, 3) is a
minimum.
2
3. x = −1, y = 5 ⇒ fxx < 0, fxx fyy − fxy = −180 − (12)2 < 0. Therefore (−1, 5) is neither
a minimum nor a maximum.
2
4. x = 5, y = −1 ⇒ fxx > 0, fxx fyy − fxy = −180 − (12)2 < 0. Therefore (5, −1) is neither
a minimum nor a maximum.
So the only maximum is (−7, −7) and the only minimum is (3, 3).
Question 4(a) Examine the Riemann integrability over [0, 2] of the function f defined on
[0, 2] by (
x + x2 , x ∈ Q
f (x) =
x2 + x3 , x 6∈ Q
(
x − x3 > 0 for 0 < x < 1
Solution. Clearly (x + x2 ) − (x2 − x3 ) =
x − x3 < 0 for 1 < x < 2
1 1 1
x2 x3
Z Z
2 1 1 5
f (x) dx = (x + x ) dx = + = + =
0 0 2 3 0 2 3 6
Z 1 Z 1 3 4
1
x x 1 1 7
f (x) dx = (x2 + x3 ) dx = + = + =
0 0 3 4 0 3 4 12
Z 2 Z 2 3 4
2
x x 8 1 1 73
f (x) dx = (x2 + x3 ) dx =
+ = +4− − =
1 1 3 4 1 3 3 4 12
Z 2 Z 2 2
x2 x3
8 1 1 23
f (x) dx = (x + x2 ) dx = + = +2− − =
1 1 2 3 1 3 2 3 6
Z 2 Z 2
7 23 53 5 73 83
f (x) dx = + = , f (x) dx = + =
0
12 6 12 0 6 12 12
Z 2 Z 2
Thus f in not Riemann integrable over [0.2] because f (x) dx 6= f (x) dx.
0 0
Z 1 n
X
2 3 2
(Note: For any [a, b] ⊆ [0, 1], x + x < x + x so f (x) dx = inf U (f, P ) = inf (ti −
0 P P
i=0
Z 1
ti−1 )(ti + t2i ) = (x + x2 ) dx.)
0
5
ZZZ
dx dy dz
Question 4(b) Evaluate over the volume bounded by the coordinate
x+y+z+1
planes x = 0, y = 0, z = 0 and the plane x + y + z = 1.
6
UPSC Civil Services Main 1994 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
January 9, 2010
Solution. Clearly f (x) is continuous for 0 < x < a, a < x < b and x > b. The problem
points are x = a, b.
1. x = a:
1 1
lim− f (x) = lim (b2 − a2 ) = (b2 − a2 )
x→a x→a 2 2
1 2 x2 a3 1 a2 a3 1
lim+ f (x) = lim b − − = b2 − − = (b2 − a2 )
x→a x→a 2 6 3x 2 6 3a 2
1
Since lim− f (x) = lim+ f (x) = f (a) = (b2 − a2 ), f (x) is continuous at x = a.
x→a x→a 2
2. x = b:
1 2 b2 a3 1
lim− f (x) = b − − = (b3 − a3 )
x→b 2 6 3b 3b
3 3
1 b −a
lim+ f (x) =
x→b 3 b
1 3
Again lim− f (x) = lim+ f (x) = f (b) = (b − a3 ), so f (x) is continuous at x = b.
x→b x→b 3b
1
Thus f (x) is continuous everywhere.
Clearly f (x) is differentiable for all x > 0 except possibly at x = a, x = b, which we
examine next:
d 1 2 2
1. L.H.D at x = a is (b − a ) = 0.
dx 2
d 1 2 x2 a3 a a3
R.H.D at x = a is b − − = − + 2 = 0.
dx 2 6 3x x=a 3 3a
Thus the L.H.D = R.H.D at x = a, therefore f (a) exists and f 0 (a) = 0.
0
d 1 2 x2 a3 b a3 a3 − b3
2. L.H.D at x = b is b − − =− + 2 = .
dx 2 6 3x x=b 3 3b 3b2
1 b3 − a3 a3 − b3
R.H.D at x = b is − = .
3 b2 3b2
Thus f (x) is differentiable at x = b also.
It is obvious that f 0 (x) is continuous for 0 < x < a, a < x < b and x > b.
a a3
lim− f 0 (x) = 0, lim+ f 0 (x) = − + 2 = 0 = f 0 (a)
x−→a x−→a 3 3a
3 3 3
b a a −b
lim− f 0 (x) = − + 2 = 2
= lim+ f 0 (x) = f 0 (b)
x−→b 3 3b 3b x−→b
2
Question 1(b) If α, β lie between the greatest and the least values of a, b, c, prove that
f (a) f (b) f (c) f (a) f 0 (α) f 00 (β)
φ(a) φ(b)
φ(c) = K φ(a) φ0 (α) φ00 (β)
ψ(a) ψ(b) ψ(c) ψ(a) ψ 0 (α) ψ 00 (β)
Solution. (Note: The question should have been more clearly worded as : Show that there
exist α, β lying between the greatest and the least values of a, b, c, such that . . . .)
Consider the function
f (a) f (b) f (x)
(x − a)(x − b) f (a) f (b) f (c)
F (x) = φ(a) φ(b) φ(x) − φ(a) φ(b) φ(c)
ψ(a) ψ(b) ψ(x) (c − a)(c − b)
ψ(a) ψ(b) ψ(c)
Clearly, F (x) is the linear combination of functions f (x), φ(x), ψ(x) and a polynomial, so
it is twice differentiable — note that it is implied from the statement of the question that
f (x), φ(x), ψ(x) are twice differentiable. Since F (a) = F (b) = F (c) = 0, it follows that F (x)
satisfies the requirements of Rolle’s theorem in the intervals [a, c], [c, b] (we assume wlog
a < c < b). Thus there exist x1 , x2 such that a < x1 < c, c < x2 < b and F 0 (x1 ) = F (x2 ) = 0.
Applying Rolle’s theorem to F 0 (x) in the interval [x1 , x2 ] we get a real number β ∈ (x1 , x2 )
such that F 00 (β) = 0.
Now
f (a) f (b) f 00 (x) f (a) f (b) f (c)
2
F 00 (x) = φ(a) φ(b) φ00 (x) −
φ(a) φ(b) φ(c)
ψ(a) ψ(b) ψ 00 (x) (c − a)(c − b) ψ(a) ψ(b) ψ(c)
3
Clearly g(a) = 0 and g(b) = 0, as proved above. Thus using Rolle’s theorem for g(x) in the
interval [a, b] we get α ∈ (a, b) such that g 0 (α) = 0. Thus
f (a) f (α) f 00 (β) f (a) f (b) f (c)
2
g 0 (α) = φ(a) φ(α) φ00 (β) −
φ(a) φ(b) φ(c) = 0
ψ(a) ψ(α) ψ 00 (β) (c − b)(b − a)(c − a) ψ(a) ψ(b) ψ(c)
or
f (a) f (b) f (c) f (a) f 0 (α) f 00 (β)
1
φ(a) φ(b) φ(c) = (b − c)(c − a)(a − b) φ(a) φ0 (α) φ00 (β)
ψ(a) ψ(b) ψ(c) 2
ψ(a) ψ 0 (α) ψ 00 (β)
as required.
Question 1(c) Prove that of all rectangular parallelopipeds of the same volume, the cube
has the least surface.
V
Solution. Let V = xyz, then S = 2(xy + yz + zx) = 2(xy + x
+ Vy ).
∂S V ∂S V
=2 y− 2 , =2 x− 2
∂x x ∂y y
Solution. Put x − t = u in I.
Z z−t
du
I = . Put u = (z − t)v. Then
0 (z − t − u)1−α uα
Z 1 Z 1 Z 1
(z − t) dv dv
I = 1−α (z − t)1−α (z − t)α v α
= 1−α v α
= v −α (1 − v)−1+α dv
0 (1 − v) 0 (1 − v) 0
= B(−α + 1, α) = B(α, 1 − α)
Γ(α)Γ(1 − α) π
= = Γ(α)Γ(1 − α) =
Γ(α + 1 − α) sin πα
The last step follows from a standard result, which we prove here.
4
Z 1
B(m, 1 − m) = Γ(m)Γ(1 − m) = xm−1 (1 − x)(1−m−1) dx
0
2
Put x = sin θ so that dx = 2 sin θ cos θ dθ.
Z π Z π
2 2
2m−2 −2m
B(m, 1 − m) = sin θ cos θ 2 sin θ cos θ dθ = 2 tan2m−1 θ dθ
0 0
dz
Put tan θ = z ⇒ sec2 θ dθ = dz ⇒ dθ = 1+z 2
.
Z ∞
dz
B(m, 1 − m) = 2 z 2m−1
0 1 + z2
2
Put z = t, so that 2z dz = dt. Thus
∞
tm−1
Z
B(m, 1 − m) = dt 0<m<1
0 1+t
t
xm−1
Z
Consider the integral dx. Put x = y1 so that dx = − dy
y2
, and
1 1+x
Z t m−1 Z 1 1 m−1 Z 1 −m
x t
y −dy t y
dx = = − dy
1 1+x 1 1 + y1 y 2 1 1+y
Z ∞ m−1 Z 1 −m
x y
Letting t → ∞, we get dx = dy. Thus
1 1+x 0 1+y
Z ∞ m−1 Z 1 m−1 Z 1 −m Z 1 −m
x x y y + y m−1
I= dx = dx + dy = dy
0 1+x 0 1+x 0 1+y 0 1+y
k+1 k+1
Taylor’s expansion gives us (1 + y)−1 = 1 − y + y 2 − . . . + (−1)k y k + (−1)1+θyy , 0 < θ < 1.
Since
Z 1 k+1−m Z 1
y + y k+1+m−1 1 1
dy < (y k+m + y k−m+1 ) dy = +
0 1 + θy 0 k+m+1 k+2−m
1 1
Clearly k+m+1 + k+2−m → 0 as k → ∞, so we get
Z ∞ m−1 Z 1
x
dx = lim [y m−1 − y m + y m+1 − . . . + (−1)k y k+m−1 ] dy
0 1 + x k→∞ 0
Z 1
−m 1−m 2−m k k−m
+ [y − y +y − . . . + (−1) y ] dy
0
(−1)k (−1)k
1 1 1 1
= lim − + ... + + − + ... +
k→∞ m m+1 k+m 1−m 2−m k+1−m
∞ ∞
1 X 1 1 1 X 2m π
= + (−1)k − = + (−1)k 2 2
=
m k=1 m+k k−m m k=1 m −k sin mπ
5
ZZZ
dx dy dz
Question 2(b) Prove that the value of taken over the volume bounded
(x + y + z + 1)3
1 5 1 256
by the coordinate planes and the plane x + y + z = 1 is log 2 − = log 5
2 8 16 e
Solution.
Z 1 Z 1−x Z 1−x−y
dz
I = dx dy
0 0 0 (1 + x + y + z)3
1−x−y
1 1
Z Z 1−x
−2
= − dx (1 + x + y + z) dy
2 0 0 0
1 1
Z Z 1−x
−2 1
= dx (1 + x + y) − dy
2 0 0 4
1−x
1 1 (1 + x + y)−1 y
Z
= − dx
2 0 −1 4 0
1 1
Z
−1 1 1−x
= (1 + x) − − dx
2 0 2 4
1
3x x2
1
= log(1 + x) − +
2 4 8 0
1 5
= log 2 −
2 8
as required.
Because of symmetry, it is enough to compute the integral in the first octant. Let x =
r cos θ, y = r sin θ, dx dy = r dr dθ. (x2 + y 2 )2 = a2 (x2 − y 2 )√⇒ r4 = a2 r2 cos 2θ ⇒ r2 =
a2 cos 2θ, so the limits of integration are 0 ≤ θ ≤ π4 , 0 ≤ r ≤ a cos 2θ.
6
π
√
Z
4
Z a cos 2θ
1
V = 8 (a2 − r2 ) 2 r dr dθ
0 0
√
π
Z
42 2
3
1 a cos 2θ
= 8 (a − r2 ) 2 · − dθ
0 3 2 0
Z π
8 4 3 3
= a − a3 (1 − cos 2θ) 2 dθ
3 0
Z π
8a3 h π 4 3
3
i
= − 2 sin θ dθ
2
3 4 0
Z π
8a3 h π 3 4
i
= − 22 sin θ(1 − cos2 θ) dθ
3 4 0
8a3 h π 3
h cos3 θ i π4 i
= − 2 2 − cos θ +
3 4 3 0
3h
8a π 3
h 1 1 1 ii
= −2 1− √ + √ −
2
3 4 2 6 2 3
3
√
8a π 5 4 2
= + −
3 4 3 3
as required.
Paper II
Question 3(a) Let the function f be defined on [0, 1] by the conditionZ 1 f (x) = 2rx when
2
1 π
r+1
< x < 1r , r > 0, show that f is Riemann integrable in [0, 1] and f (x) dx = .
0 6
Solution. Clearly f (x) = 2(r − 1)x when 1r < x < r−1 1
, therefore
limx→ 1 +0 f (x) = limh→0 2(r − 1)( r + h) = 2(r − 1) r = 2 − 2r .
1 1
r
limx→ 1 −0 f (x) = limh→0 2r( 1r + h) = 2r 1r = 2.
r
Thus f ( 1r − 0) 6= f ( 1r + 0), so f is discontinuous at x = 1r , r = 2, 3, . . .. Since the points
of discontinuity have only one limit point, f is Riemann integrable. Now
Z 1 ∞ Z 1 ∞ r1
X r X
2
f (x) dx = 2rx dx = rx
1 1
0 r=1 r+1 r=1 r+1
∞
X 1 1
= 2
r−
r=1
r (r + 1)2
1 1 2 2 3 3
= − + − + − + ...
12 22 22 32 32 42
1 1 1 π2
= 2 + 2 + 2 + ... =
1 2 3 6
7
Question
Z ZZ 3(b) By means of the substitution x + y + z = u, y + z = uv, z = uvw evaluate
(x+y+z)n xyz dx dy dz taken over the volume bounded by x = 0, y = 0, z = 0, x+y+z =
1.
Solution. Clearly the region of integration is the interior of the tetrahedron bounded by
x = 0, y = 0, z = 0, x + y + z = 1. The substitution x + y + z = u, y + z = uv, z = uvw
implies 0 ≤ u ≤ 1, 0 ≤ v ≤ 1, 0 ≤ w ≤ 1, and conversely, when (u, v, w) is in the unit cube,
then (x, y, z) falls in the interior of the tetrahedron. Moreover
vw wu uv vw wu uv
∂(z, y, x)
= v − vw u − uw −uv = v u 0 = −u2 v
∂(u, v, w)
1−v −u 0 1 − v −u 0
Hence
ZZZ
I = (x + y + z)n xyz dx dy dz
x+y+z≤1
x≥0,y≥0,z≥0
Z 1Z 1Z 1
= n
u (u − uv)(uvw)(uv − uvw)u2 v du dv dw
Z0 1 Z0 1 Z0 1
= un+5 (1 − v)v 3 (1 − w)w du dv dw
0 0
Z 10 Z 1
1 4−1 2−1
= v (1 − v) dv w2−1 (1 − w)2−1 dw
n+6 0 0
1 Γ(4)Γ(2) Γ(2)Γ(2) 1 1
= =
n + 6 Γ(6) Γ(4) n + 6 5!
8
UPSC Civil Services Main 1995 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
January 9, 2010
1
Equating the right hand sides in (1), (2) and dividing thoughout by n!xn , we have the desired
result.
Question 1(c) Let f (x, y), which possesses continuous partial derivatives of degree 2, be a
homogeneous function of x and y of degree n. Prove that
∂ 2f ∂ 2f 2
2∂ f
x2 + 2xy + y = n(n − 1)f
∂x2 ∂x ∂y ∂y 2
Question 2(b) Let f (x), x ≥ √ 1 be such √ that the area bounded by the curve y = f (x) and
2
the lines x = 1 and x = b is 1 + b − 2 for all b ≥ 1. Does f attain its minimum, if so,
what is its value.
Z b √ √ Z √
Solution. The given area is f (x) dx = 1 + b2 − 2 ⇒ f (x) dx = 1 + x2 .
1 √
x 0
1 + x2 − x 2√2x
1+x2 1
Differentiating, we get f (x) = √ . Clearly f (x) = 2
= 3 >
1+x 2 1+x (1 + x2 ) 2
0. Thus f is monotonically increasing, hence its minimum value is f (1) = √12 .
2
Question 2(c) Show that
1 2 3 n − 1 (2π) n−12
Γ Γ Γ ...Γ = √
n n n n n
1 2 3 n − 1
Solution. Let P = Γ Γ Γ ...Γ , so that
n n n n
1 1 2 2 n − 1 n − 1
2
P =Γ Γ 1− Γ Γ 1− ...Γ Γ 1−
n n n n n n
(We have paired the first term with the last and so on.).
π
We now use Γ(x)Γ(1 − x) = so that
sin xπ
π π π
P2 = π 2π . . .
sin n sin n sin n−1
n
π
π 2π n−1 n π n−1 2n−1
We shall now prove that sin sin . . . sin π = n−1 , so that P 2 = ⇒
n−1
n n n 2 n
(2π) 2
P = √ as required.
n
π 2π n−1 n
Proof of sin sin . . . sin π = n−1 :
n n n 2
Consider F (x) = xn − 2 cos nθ + x−n . If x = cos θ + i sin θ, then xn = cos nθ + i sin nθ for
all n, so xn + x−n = 2 cos nθ. This shows that x − 2 cos θ + x1 is a factor of F (x). The same is
true if we replace θ by θr = θ + 2πr , 0 ≤ r ≤ n − 1. Hence F (x) = n−1 (x − 2 cos θr + x1 ). Put
Q
n r=0
x = 1, then 2 − 2 cos nθ = r=0 (2 − 2 cos θr ) ⇒ 4 sin2 (nθ/2) = 22n nr=0 sin2 (θr /2). Thus
Qn−1 Q
n
sin2 (nθ/2) 2n−2
Y
2 = 2 sin2 (θr /2)
sin (θ/2) r=1
Paper II
Question 3(a) Find and classify the extreme values of the function f (x, y) = x2 + y 2 + x +
y + xy.
3
Question 3(b) Suppose α is real and different from nπ, n ∈ Z, then prove that
Z ∞Z ∞
2 2 α
I= e−(x +2xy cos α+y ) dx dy =
0 0 2 sin α
Solution. The region of integration is the first quadrant. Switching to polar coordinates,
we have
Z πZ ∞
2 2
I = e−r (1+2 cos θ sin θ cos α) r dr dθ
0 0
Z π −r2 (1+2 cos θ sin θ cos α) ∞
2 e 1
= − dθ
0 1 + 2 cos θ sin θ cos α 2 0
Z π Z π
1 2 dθ 1 2 sec2 θ dθ
= = (Put tan θ = z)
2 0 1 + 2 cos θ sin θ cos α 2 0 sec2 θ + 2 tan θ cos α
1 ∞ 1 ∞ 1 ∞
Z Z Z
dz dz dz
= 2
= 2 2
= 2
2 0 1 + z + 2z cos α 2 0 1 − cos α + (z + cos α) 2 0 sin α + (z + cos α)2
∞
1 1 z + cos α
= tan−1
2 sin α sin α
0
1 1 π −1 1 1 π π π
= − tan cot α = − −α ∵ cot α = tan −α
2 sin α 2 2 sin α 2 2 2
α
= as required.
2 sin α
4
UPSC Civil Services Main 1996 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
January 9, 2010
and show that they pass through the points of intersection of the curve with the ellipse x2 +
4y 2 = 4.
Solution. The curve has no asymptotes parallel to the coordinate axes as the coefficients
of x4 and y 4 are constants, note that these are the highest powers of x, y present in the
equation.
If y = mx + c is an asymptote, then m is a root of Φ4 (m) = 4(1 + m4 ) − 17m2 = 0 —
this can be obtained by dividing by x4 and letting x −→ ∞, noting that xy −→ m.
Thus 4m4 − 17m2 + 4 = 0 ⇒ m2 = 4, m2 = 14 ⇒ m = 2, −2, 21 , − 21 .
Let Φ3 (m) = −4(4m2 − 1), then c is given as follows (provided it is determinate):
Φ3 (m) 16m2 − 4
c=− =
Φ04 (m) 16m3 − 34m
Thus
64 − 4
m=2 ⇒ c= =1
128 − 68
64 − 4
m = −2 ⇒ c = = −1
−128 + 68
1 4−4
m= ⇒ c= =0
2 2 − 17
1 4−4
m=− ⇒ c= =0
2 −2 + 17
1
Hence the asymptotes are y = 2x + 1, y = −2x − 1, 2y = x, 2y + x = 0.
Let P4 = 0 be the joint equation of the asymptotes, then
P4 = (y − 2x − 1)(y + 2x + 1)(2y − x)(2y + x)
= (y 2 − (2x + 1)2 )(4y 2 − x2 )
= 4y 4 − 17x2 y 2 − 16xy 2 − 4y 2 + 4x4 + 4x3 + x2
Thuis the points of intersection of the given curve (f (x, y) = 0) and the joint equation of
the asymptotes lie on f (x, y) − P4 = 0 = x2 + 4y 2 − 4. Thus the points of intersection lie on
the ellipse x2 + 4y 2 = 4.
Question 1(b) Show that any continuous function defined for all real x and satisfying
f (x) = f (2x + 1) must be a constant function.
n
Solution. Clearly f (x) = f ( x−1
2
) = f ( x2 − 12 ) = f ( 2x2 − 14 − 12 ) = . . . = f ( 2xn − 2 2−1
n ) =
x−1
f ( 2n − 1).
Since f is continuous, limn→∞ f (xn ) = f (limn→∞ xn ) for any convergent sequence of real
numbers. Thus
x − 1 x − 1
f (x) = lim f − 1 = f lim − 1 = f (−1)
n→∞ 2n n→∞ 2n
Thus f is a constant function.
Question 1(c) Show that the maximum and minimum of the radii vectors of the sections
of the surface
x2 y 2 z 2
(x2 + y 2 + z 2 )2 = 2 + 2 + 2
a b c
by the plane λx + µy + νz = 0 are given by the equation
a2 λ 2 b 2 µ2 c2 ν 2
+ + =0
1 − a2 r 2 1 − b2 r 2 1 − c2 r 2
Solution. We have to find extreme values of r2 = x2 + y 2 + z 2 subject to the constraints
x2 y 2 z 2
φ1 = 2
+ 2 + 2 − (x2 + y 2 + z 2 )2 = 0
a b c
φ2 = λx + µy + νz = 0
Let F (x, y, z) = x2 + y 2 + z 2 + λφ1 + λφ2 , where λ1 , λ2 are the undetermined Lagrange
multipliers. For extreme values:
∂F 2x 2
= 2x + λ1 2 − 4xr + λ2 λ = 0 (i)
∂x a
∂F 2y 2
= 2y + λ1 2 − 4yr + λ2 µ = 0 (ii)
∂y b
∂F 2z 2
= 2z + λ1 2 − 4zr + λ2 ν = 0 (iii)
∂z c
2
The operation x × (i) + y × (ii) + z × (iii) gives us
2
y2 z2
2 x 4
2r + 2λ1 2 + 2 + 2 − 2r + λ2 (λx + µy + νz) = 0
a b c
1
Thus r2 + λ1 (r4 − 2r4 ) = 0 ⇒ λ1 r4 = r2 ⇒ λ1 = r2
. Now from (i), (ii), (iii), we get
λ2 λ λ2 λ λ2 µ λ2 ν
x= 1
= , y = , z =
4r2 − a22 − 2r2 2 1 − a21r2 2 1 − b21r2 2 1 − c21r2
r2
a2 λ2 r2 b2 µ 2 r 2 c2 ν 2 r 2
+ + =0
a2 r 2 − 1 b2 r 2 − 1 c2 r 2 − 1
or
a2 λ 2 b 2 µ2 c2 ν 2
+ + =0
1 − a2 r 2 1 − b2 r 2 1 − c2 r 2
as r2 6= 0. Note that extreme values do exist and are roots of the given equation.
x2 y 2 z 2
Additional: If the surface under consideration is 2 + 2 + 2 = 1 instead on the one
a b c
2 λ2 λ λ2 µ λ2 ν
above, then λ1 = −r , x = r2 , y = r2 , z = r2 and the equation giving
2 a2 − 1 2 b2 − 1 2 c2 − 1
radius vectors of the sections is
a2 λ 2 b 2 µ2 c2 ν 2
+ + =0
r2 − a2 r2 − b2 r2 − c2
x2 y 2 z 2
Particular case: If the surface is + + = 1 then a2 = 4, b2 = 5, c2 = 25. If the
4 5 25
plane is z − x − y = 0, then λ = −1, µ = −1, ν = 1. The above equation becomes
4 5 25
+ 2 + 2 =0
r2 − 4 r − 5 r − 25
or
4[r4 − 30r2 + 125] + 5[r4 − 29r2 + 100] + 25[r4 − 9r2 + 20] = 0
75
or 34r4 − 490r2 + 1500 = 0 ⇒ r2 = 10, 17 .
x y z ∂u ∂u ∂u
Question 2(a) If u = f , , , prove that x +y +z = 0.
y z x ∂x ∂y ∂z
Solution. This follows from Euler’s theorem on homogeneous functions.
Theorem (Euler): If f (x, y, z) is a homogeneous function of degree n i.e.f (λx, λy, λz) =
λn f (x, y, z) then
∂f ∂f ∂f
x +y +z = nf (x, y, z)
∂x ∂y ∂z
3
Proof: Differentiating f (λx, λy, λz) = λn f (x, y, z) partially with respect to λ, we get
∂f ∂f ∂f
x (λx, λy, λz) + y (λx, λy, λz) + z (λx, λy, λz) = nλn−1 f (x, y, z)
∂x ∂y ∂z
∂f ∂f ∂f
x +y +z = nf
∂x ∂y ∂z
Q.E.D.
In the current case, n = 0 because
λx λy λz x y z
f( , , ) = λ0 f ( , , )
λy λz λx y z x
Thus x ∂u
∂x
+ y ∂u
∂y
+ z ∂u
∂z
= 0u = 0.
Note: The converse of Euler’s theorem is also true — if f (x, y, z) has continuous partial
derivatives of the second order, and
∂f ∂f ∂f
x +y +z = nf
∂x ∂y ∂z
then f is a homogeneous function of degree n.
Proof: Let (x0 , y0 , z0 ) ∈ R3 . Let φ(λ) = f (λx0 , λy0 , λz0 ), defined for λ > 0. Then
∂f ∂f ∂f n
φ0 (λ) = x0 (λx0 , λy0 , λz0 ) + y0 (λx0 , λy0 , λz0 ) + z0 (λx0 , λy0 , λz0 ) = f (λx0 , λy0 , λz0 )
∂x ∂y ∂z λ
from x ∂f
∂x
+ y ∂f
∂y
+ z ∂f
∂z
= nf , which evaluated at the point λx0 , λy0 , λz0 ) becomes
∂f ∂f ∂f
λx0 (λx0 , λy0 , λz0 ) + λy0 (λx0 , λy0 , λz0 ) + λz0 (λx0 , λy0 , λz0 ) = nf (λx0 , λy0 , λz0 )
∂x ∂y ∂z
Thus
λφ0 (λ) = nf (λx0 , λy0 , λz0 ) = nφ(λ)
Differentiating λ−n φ(λ) with respect to λ, we get
d −n
(λ φ(λ) = λ−n φ0 (λ) − nλ−n−1 φ(λ) = λ−n [φ0 (λ) − nλ−1 φ(λ)] = 0
dλ
Thus λ−n φ(λ) = C some constant, so φ(λ) = Cλn . For λ = 1, φ(1) = C = f (x0 , y0 , z0 ).
Thus
φ(λ) = f (λx0 , λy0 , λz0 ) = λn f (x0 , y0 , z0 )
Thus f is homogeneous of degree n.
4
Question 2(b) Evaluate
∞ ∞
e−y
Z Z
dy dx
0 x y
Solution. See 2006 question 2(c).
Question 2(c) The area cut off from the parabola y 2 = 4ax by the chord joining the vertex
to an end of the latus rectum is rotated through 4 right angles about the chord. Find the
volume of the solid so formed.
Solution.
(a, 2a)L
R a The volume
2
of the resulting solid is V =
0
π(P M ) d(OM ) where P M is perpendicu- P
lar to the chord y = 2x. M
Let P = (x, y). Then
|y − 2x|
PM = √
5 O (a, 0)
(OM )2 = (OP )2 − (P M )2
y 2 − 4xy + 4x2
= x2 + y 2 −
5
4y 2 + 4xy + x2
=
5 √
2y + x 4 ax + x √
OM = √ = √ ∵ y = 2 ax
5 5
√
√ √
2 √xa + 1 2 a+ x
d(OM ) = √ dx = √ dx
5 5x
√
y 2 − 4xy + 4x2 4ax − 4x 4ax + 4x2
(P M )2 = =
Z 5a √
5√ √
4π 2 2 a+ x
V = √ (ax − x 4ax + x ) √ dx
5 5 Z0 x
4π a √ √
= √ (a − 4ax + x)(2 ax + x) dx
5 5 Z0
a √
4π
= √ (x2 − 4ax + ax + 2a ax) dx
5 5 0
4π h x3 3ax2 3 3 2 ia
= √ − + 2a 2 x 2 ·
5 5 3 2 3 0
3 3
4π a h 3a 4 i 4π a3 2πa3
= √ − + a3 = √ = √
5 5 3 2 3 5 5 6 15 5
5
Paper II
where p, q are relatively prime integers. Is f Riemann integrable? Justify your answer.
Z π
2
Solution. We first evaluate I1 = sin x sin−1 (sin x sin y) dy.
0
Let sin x sin y = sin z, so that sin x cos y dy = cos z dz, when y = 0, z = 0 and when
y = π2 , sin z = sin
Z xx ⇒ z = x, as in the given Zintegral 0 ≤ x ≤ π2 , 0 ≤ y ≤ π2 .
x
z cos z dz z sin x cos z
Thus I1 = sin x q = p dz and the given integral
2 2 2
0 sin x 1 − sinsin z
2x
0 sin x − sin z
Z πZ x
2 z sin x cos z
becomes p dz dx.
0 0 sin2 x − sin2 z
We now change the order of integration in
the right hand side. Now x varies from z to
π z ( π2 , π2 )
2
and z varies from 0 to π2 . Thus the given
integral is x=z
π π π
x=
Z Z
2 2 sin x 2
z cos z p dx dz
0 sin2 x − sin2 z
z
Z π Z π
2 2 sin x
= z cos z √ dx dz
0 z cos z − cos2 x
2
z=0 x
Z π π Z π
2
cos x 2 2
= z cos z − sin−1 dz = z cos z sin−1 (1) dz
0 cos z z 0
Z π π2
π 2 π π π
= z cos z dz = z sin z + cos z = −1
2 0 2 0 2 2
6
UPSC Civil Services Main 1997 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
January 9, 2010
d −1
Question 1(a) Suppose f (x) = 17x12 − 124x9 + 16x3 − 129x2 + x − 1. Determine (f )
dx
at x = −1, if it exists.
Solution. Clearly f (0) = −1 and f 0 (x) = 204x11 − 1116x8 + 48x2 − 258x + 1. Since
f 0 (0) = 1 and f 0 is continuous, there exists a neighborhood of 0 in which f 0 (x) > 0, so f is
strictly increasing in a neighborhood of 0, thus f is one-one in a neighborhood of 0.
Now we use:
Theorem: If f : (a, b) −→ R is continuous and one-one, and f 0 (c) 6= 0 for all c ∈ (a, b),
then f −1 is differentiable at f (c) and
df −1 1
at f (c) = 0
dx f (c)
Thus,
df −1 1
at − 1 = 0 =1
dx f (0)
Question 1(b) Prove that the volume of the greatest parallelopiped that can be inscribed in
x2 y 2 z 2 8abc
the ellipsoid 2 + 2 + 2 = 1 is √ .
a b c 3 3
Solution. Let the sides of the parallelopiped be 2x, 2y, 2z. We have to maximize V = 8xyz
x2 y 2 z 2
subject to the conditions 2 + 2 + 2 = 1 and x > 0, y > 0, z > 0.
a b c
1
2
y2 z2
x
Let F = 8xyz + λ 2 + 2 + 2 − 1 , where λ is Lagrange’s undetermined multiplier.
a b c
For extreme values,
∂F x
= 8yz + 2λ =0 (i)
∂x a2
∂F y
= 8xz + 2λ 2 = 0 (ii)
∂y b
∂F z
= 8xy + 2λ 2 = 0 (iii)
∂z c
x × (i) + y × (ii) + z × (iii) gives us
2
y2 z2
x
24xyz + 2λ 2 + 2 + 2 = 0
a b c
x2 y 2 z 2 x2 x2 1
Since 2
+ 2
+ 2
= 1 we get λ = −12xyz. From (i) we now get 8yz−24 2
yz = 0 ⇒ 2
=
a b c a a 3
a b c 8abc
as y > 0, z > 0. Thus x = √ . Similarly, y = √ , z = √ and V = √ . This is the
3 3 3 3 3
maximum volume.
Check:
4abc x2 y 2 z 2
F = 8xyz − √ + 2 + 2 −1
3 a2 b c
2
∂ ∂ ∂
d2 F = dx + dy + dz F
∂x ∂y ∂z
2 2
∂ F 2 ∂ F 2 ∂ 2F 2 ∂ 2F ∂ 2F ∂ 2F
= (dx) + (dy) + (dz) + 2 dx dy + 2 dy dz + 2 dx dz
∂x2 ∂y 2 ∂z 2 ∂x ∂y ∂y ∂z ∂x ∂z
2λ 2λ 2λ
= 2
(dx)2 + 2 (dy)2 + 2 (dz)2 + 16(z dx dy + x dy dz + y dx dz)
a b c
2 2 2
x y z x dx y dy z dz a b c
Now since 2 + 2 + 2 −1 = 0, 2 + 2 + 2 = 0, and putting x = √ , y = √ , z = √
a b c a b c 3 3 3
dx dy dz dx dy dz
we get + + = 0 or − − = . Substituting this and the values of λ, x, y, z,
a b c a b c
we get
2
8abc (dx)2 (dy)2
2 dx dy dx dy dy dx dy dx dx dy
dF = −√ + 2 + + −2 +2 + +2 +
3 a2 b a b ab b a b a a b
2 2
8abc (dx) (dy) dx dy
= − √ 4 2 +4 2 +4
3 a b ab
2 2
32abc dx dy 3 dy
= − √ + +
3 a 2b 4 b
a b c 8abc
Clearly d2 F < 0 when x = √ , y = √ , z = √ . Hence V = √ is a maximum.
3 3 3 3 3
2
Question 1(c) Show that the four asymptotes to the curve
cut the curve again in eight points which lie on a circle of radius 1.
Let Pn = (y 2 − x2 )(y 2 − 4x2 ) − 6x3 + 5x2 y + 3xy 2 − 2y 3 − 3xy + y 2 . The joint equation of
the asymptotes is Pn = 0.
Now the equation of the given curve is Pn +x2 +y 2 −1 = 0, thus the points of intersection
of the asymptotes and the curve must satisfy Pn = 0, Pn + x2 + y 2 − 1 = 0 ⇒ x2 + y 2 − 1 = 0,
so all the intersection points must lie on the curve x2 + y 2 − 1 = 0, which is clearly a circle
of radius 1.
Note that any point where an asymptote cuts the circle satisfies the curve as well, so
each point where an asymptote intersects the circle is a point of intersection with the curve.
It can be easily checked that each asymptote cuts the circle twice, so there are eight points
of intersection (two of these coincide at (0, 1), so there are really only 7 distinct points of
intersection).
Question 2(a) An area bounded by a quadrant of a circle of radius a and the tangents at
its extremities revolves around one of the tangents. Find the volume thus generated.
Solution.
3
If P is (x, y), and the circle is x2 +y 2 = a2 , (0, a)
B L
then P M = a − x. P N = y.
Area AM LBA revolving around AL has P M
volume
Z Z a
2
V = π (P M ) d(AM ) = π (a − x)2 dy
0
Z π
2
V = π (a − a cos θ)2 a cos θ dθ
0
Z π
2
3
1 − 2 cos θ + cos2 θ cos θ dθ
= πa
0
3 1π 2 3 5 π
= πa 1 − 2 · + = πa −
2 2 3 3 2
To find the surface area of the above solid of revolution, we proceed as follows:
Z Z π
ds 2
S = 2π P M ds = 2π (a − a cos θ) dθ
0 dθ
s
2 2
ds dx dy p
= + = a2 sin2 θ + a2 cos2 θ = a
dθ dθ dθ
Z π
2
S = 2π (a − a cos θ)a dθ
0
h i π2
= 2πa2 θ − sin θ = πa2 (π − 2)
0
Z ∞ Z ∞
Question 2(b) Show how the change of order in the integral e−xy sin x dy dx leads
Z ∞ 0 0
sin x
to the evaluation of dx. Hence evaluate it.
0 x
Solution.
∞ Z ∞ ∞ ∞ ∞
e−xy
Z Z Z
−xy sin x
I = e
sin x dy dx = sin x − dx = dx
0 0 0 x 0 0 x
Z ∞ Z ∞
−xy
I = e sin x dx dy
0 0
4
Now
Z Z
−xy −xy
e sin x dx = −e (−y)e−xy cos x dx
cos x +
Z
−xy −xy −xy
= −e cos x − y e sin x − (−y)e sin x dx
Z
2
⇒ (1 + y ) e−xy sin x dx = −e−xy cos x − ye−xy sin x
e−xy
Z
⇒ e−xy sin x dx = − (cos x + y sin x)
1 + y2
Z ∞
1
⇒ e−xy sin x dx =
0 1 + y2
as e−xy (cos x +
Z y∞sin x) −→ 0 as x −→∞ ∞ and e Z
−xy
(cos x + y sin x) −→ 1 as x −→ 0.
∞
dy −1 π sin x π
Thus I = 2
= tan y = , hence dx =
0 1+y 0 2 0 x 2
on substituting x = sin2 θ.
Put n = 21 in (1). We get
π
Γ(m)Γ( 12 )
Z
2
=2 sin2m−1 θ dθ
Γ(m + 12 ) 0
Thus
Γ(m)Γ( 21 ) (Γ(m))2 2m−1
= 2
Γ(m + 12 ) Γ(2m)
5
or √
1 π
Γ(m)Γ(m + ) = 2m−1 Γ(2m)
2 2
as required.
Paper II
a2 b2 c2
ZZZ
Question 3(a) Show that xyz dx dy dz = where the domain D is given by
D 6
x2 y 2 z 2
+ 2 + 2 ≤ 1.
a2 b c
Solution. Note: There seems to be a misprint in this question — the integral
as given is actually 0. This is because the integrand is an odd function of x, y, z,
and the domain of integration is symmetric about the origin. We will compute
the integral for the positive octant only.
x2 y2 z2 a du b dv c dw
Put 2 = u, 2 = v, 2 = w so that dx = √ , dy = √ , dz = √ and the positive
a b c 2 u 2 v 2 w
octant of D is transformed to u + v + w ≤ 1, u ≥ 0, u ≥ 0, v ≥ 0, w ≥ 0.
The given integral is thus transformed into
ZZZ
1 1 1 abc 1 1 1
I = abc u 2 v 2 w 2 u− 2 v − 2 w− 2 du dv dw
u+v+w≤1 8
u≥0,v≥0,w≥0
a2 b2 c2 1 1−u 1−u−v
Z Z Z
= dw dv du
8 0 0 0
a2 b2 c2 1 1−u
Z Z
= (1 − u − v) dv du
8 0 0
a2 b2 c2 1 h (1 − u)2 i
Z
= (1 − u) − u(1 − u) − du
8 0 2
a2 b2 c2 1 a2 b2 c2
Z
= (1 − u)2 du =
16 0 48
a2 b2 c2
ZZZ
In fact, this shows that |xyz| dx dy dz = .
D 6
1
Question 3(b) If u = sin−1 (x2 + y 2 ) 5 , prove that
∂ 2u ∂ 2u 2
2∂ u 2
x2 2
+ 2xy + y 2
= tan u(2 tan2 u − 3)
∂x ∂x ∂y ∂y 25
6
Solution. If f (x, y) is a homogeneous function of degree n possessing continuous partial
derivatives of degree 2, then by the result from 2006, question 2(b), we have
∂ 2f ∂ 2f 2
2∂ f
x2 + 2xy + y = n(n − 1)f
∂x2 ∂x ∂y ∂y 2
1
Let v = sin u = (x2 + y 2 ) 5 , then v is homogeneous of degree 25 and therefore by the above
theorem,
2
∂ 2v 2
2∂ v 2∂ v 2 2
x + 2xy +y = −1 v
∂x2 ∂x ∂y ∂y 2 5 5
∂v
Now v = sin u, ∂x = cos u ∂u , ∂v = cos u ∂u
∂x ∂y ∂y
and
2
∂ 2v ∂u ∂ 2u
= − sin u + cos u
∂x2 ∂x ∂x2
2
∂ 2v ∂ 2u
∂u
= − sin u + cos u
∂y 2 ∂y ∂y 2
∂ 2v ∂ 2u
∂u ∂u
= − sin u + cos u
∂x ∂y ∂x ∂y ∂x ∂y
7
UPSC Civil Services Main 1998 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
January 2, 2010
φ3 (m) = (2 − 3m)2 (1 + m)
φ03 (m) = (2 − 3m)2 − 6(2 − 3m)(1 + m)
2
φ003 (m) = −12(2 − 3m) + 18(1 + m) − 6(2 − 3m) ⇒ φ003 = 30
3
φ2 (m) = 2(1 + m)(2 − 3m)
2
φ02 (m)= −6(1 + m) + 2(2 − 3m) ⇒ φ02 = −10
3
2
φ1 (m) = −7 + 3m ⇒ φ1 = −5
3
1
Thus 15c2 − 10c − 5 = 0 ⇒ c = 1, − 13 . So the asymptotes are y = 32 x + 1, y = 32 x − 13 or
2x − 3y + 3 = 0, 2x − 3y − 1 = 0.
The joint equation of the asymptotes is Pn = (x + y)(2x − 3y + 3)(2x − 3y − 1) = 0
or Pn = (2x − 3y)2 (x + y) + 2(2x − 3y)(x + y) − 3(x + y) = 0. The equation of the curve
is f (x, y) = Pn − 4x + 6y − 9 = 0. This implies that the points of intersection of f (x, y)
and Pn lie on 4x − 6y + 9 = 0, which is a straight line. But this line is parallel to the
two parallel asymptotes, which means that the two aymptotes do not cut the curve — this
can be verified by solving the simultaneous equations f (x, y) = 0, 2x − 3y + 3 = 0 and
9 9
f (x, y) = 0, 2x − 3y − 1 = 0. The asymptote x + y = 0 cuts the curve at (− 10 , 10 ), which
lies on the line 4x − 6y + 9 = 0.
(It seems that there is an error in the question. The following statement however is true
— if there are 3 points at which the asymptotes of a cubic curve intersect it, then these must
lie in a straight line.)
Question 1(b) A thin closed rectangular box is to have one edge n times another edge,
and the volume of the box is given to be V . Prove that the least surface S is given by
nS 3 = 54(n + 1)2 V 2 .
2 V
Solution. Let the edgesbe given by x, nx, y, so that V = nx y ⇒ y = nx2 . Then
(n + 1)V
S = 2(nx2 + xy + nxy) = 2 nx2 + . For critical points,
nx
dS (n + 1)V
= 2 2nx − =0
dx nx2
(n + 1)V
⇒ 2n2 x3 − (n + 1)V = 0 ⇒ x3 =
2n2
2
dS 2(n + 1)V (n + 1)V
2
= 2 2n + 3
= 2(2n + 4n) > 0(when x3 = )
dx nx 2n2
(n + 1)V
Thus S is minimum when x3 = .
2n2
2 2 3 3(n + 1)V
S= (n x + (n + 1)V ) = , so n3 x3 S 3 = 27(n + 1)3 V 3 ⇒ n(n + 1)V S 3 /2 =
nx nx
27(n + 1)3 V 3 ⇒ nS 3 = 54(n + 1)2 V 2 as required.
2
Let u = xn , v = y n = (1 − x)n , then
n! r
un−r = n(n − 1) . . . (n − (n − r) + 1)xn−(n−r) = x
r!
n!
vr = (−1)r n(n − 1) . . . (n − r + 1)(1 − x)n−r = (−1)r y n−r
(n − r)!
2
n n n! r r n! n−r r n
un−r vr = x (−1) y = (−1) n! xr y n−r
r r r! (n − r)! r
n 2
dn n n
X
r n
⇒ n ((x y ) = n! (−1) xr y n−r
dx r=0
r
2 2
n n n−1 n n−2 2 n n
= n! y − y x+ y x + . . . + (−1) x
1 2
π2
ZZZ
dx dy dz
Question 2(b) Show that p = where the integral is over all
1 − x2 − y 2 − z 2 8
positive values of x, y, z for which the expression is real.
Solution. Switching over to polar coordinates, x = r sin θ cos φ, y = r sin θ cos φ, z =
r cos φ, ∂(x,y,z)
∂(r,θ,φ)
, we get
π π
Z
2
Z
2
Z 1
1
I = (1 − r2 )− 2 r2 sin θ dr dθ dφ
0 0 0
Z 1
π 1
= (1 − r2 )− 2 r2 dr
2 0
Put r2 = t
Z 1 1
π − 12 t2
= (1 − t) dt
2 0 2
3
π 1
Z
1 3
= (1 − t) 2 −1 t 2 −1 dt
4 0
π 3 1 π Γ( 32 )Γ( 12 ) π 1 1 2 π 2 1 √
= B , = = Γ = ∵Γ = π
4 2 2 4 Γ(2) 4 2 2 8 2
Question 2(c) The ellipse b2 x2 + a2 y 2 = a2 b2 is divided into two parts by the line x = a/2
and the smaller part is rotated through four right angles about this line. Prove that the volume
generated is √
2 3 3 π
πa b −
4 3
Solution.
4
Paper II
Question 3(a) Show that the function f (x, y) = 2x4 − 3x2 y + y 2 has (0, 0) as the only
critical point but the function has neither a minimum nor a maximum at (0, 0).
5
UPSC Civil Services Main 1999 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
January 2, 2010
x
Question 1(a) Determine the set of all points where the function f (x) = is differ-
1 + |x|
entiable.
x (1 + x) − x 1
Solution. If x > 0, then f (x) = ⇒ f 0 (x) = 2
= , so f is
1+x (x + 1) (x + 1)2
differentiable for all x > 0.
x (1 − x) − x(−1) 1
If x < 0, then f (x) = ⇒ f 0 (x) = 2
= , so f is differentiable
1−x (1 − x) (1 − x)2
for all x < 0. x
1+x
−0
If x = 0, f (x) = 0. Right hand derivative at x = 0 is lim+ = 1. The Left hand
x
x→0 x
−0
1−x
derivative at x = 0 is lim− = 1.
x→0 x
Thus f (x) is differentiable everywhere.
x3 + 2x2 y − 4xy 2 − 8y 3 − 4x + 8y − 10 = 0
Also find the intercept of one asymptote between the other two.
1
Setting the coefficient of x2 to 0 we get 2c − 8mc − 24m2 c = 0. When m = 12 , we have
−8c = 0 ⇒ c = 0, so one asymptote is y = 21 x, or x − 2y = 0.
When m = − 12 , the coefficient of x2 is identically 0. So we set the coefficient of x to 0, i.e.
−4c2 − 24mc2 + 8m − 4 = 0 ⇒ 8c2 − 8 = 0 ⇒ c = ±1. So the asymptotes are y = − 21 x ± 1,
or x + 2y + 2 = 0, x + 2y − 2 = 0.
To determine the intercept, we first find the points of intersection. y = 21 x = − 12 x ± 1 ⇒
x = ±1 ⇒ y = ± 12 , so the points of intersection are (1, 21 ), (−1, − 12 ). The distance between
q √
them is (1 − (−1))2 + ( 12 − (− 12 ))2 = 5, which is the required intercept.
Question 1(c) Find the dimensions of the right circular cone of minimum volume which
can be circumscribed about a sphere of radius a.
Solution.
Thus dV
dy
= 0 ⇒ y = 3a, y = −a (not permissible). Clearly dV dy
< 0 when 0 < y < 3a, and
dV
dy
> 0 when y > 3a, so the sign changes from negative to positive, so V is a minimum when
√
y = 3a. h = 4a, r = 4a √a8a = a 2. V = 83 πa3 , and α = sin−1 13 .
Question 2(a) If f (x) is Riemann integrable over every interval of finite length and f (x +
y) = f (x) + f (y) for every x, y ∈ R, shaw that f (x) = cx where c = f (1).
2
Z x Z x+y
Let F (x) = f (t) dt, then F is a continuous function. F (x + y) = f (t) dt, let
0 0
(x + y)z = t, so t = 0 ⇔ z = 0, t = x + y ⇔ z = 1. It is enough to consider x > 0, because
f (x + (−x)) = f (0) = 0 = f (x) + f (−x), so f is an odd function of x.
Z 1
F (x + y) = f (xz + yz)(x + y) dz
0
Z 1 Z 1
F (x + y)
= f (xz) dz + f (yz) dz
x+y 0 0
( Let xz = u, yz = v)
Z x Z y
du dv
= f (u) + f (v)
0 x 0 y
F (x) F (y)
= +
x y
sin3 t
Question 2(b) Show that the area between the cissoid x = a sin2 t, y = a and its
cos t
3πa2
asymptote is .
4
Solution.
a2 sin6 t x3 x3
y2 = = = .
cos2 t a(1 − sin2 t) a−x x=a
Thus y 2 (a − x) = x3 , so x = a is an asymp-
tote. Z a
Required Area = 2 y dx. Sub- y
0
stituting for y and x using the
O δx A
parametric πequations, the area be-
Z 3
2 sin t
comes 2 a 2a sin t cos t dt =
0 cos t
Z π
2 3·1 π 3πa2
4a2 sin4 t dt = 4a2 = as re-
0 4·2 2 4
quired.
3
x2
ZZ
Question 2(c) Show that xm−1 y n−1 dxdy over the positive quadrant of the ellipse +
a2
y2 am bn Γ( m2 )Γ( n2 )
= 1 is .
b2 4 Γ( m2 + n2 + 1)
∂(x,y)
Solution. Put X = ax, Y = by, ∂(X,Y )
= ab. Thus
ZZ
I= am−1 X m−1 bn−1 Y n−1 ab dX dY
X≥0,Y ≥0
X 2 +Y 2 ≤1
∂(X, Y ) cos θ −r sin θ
Put X = r cos θ, Y = r sin θ ⇒ = = r. Then
∂(r, θ) sin θ r cos θ
Z πZ 1
2
m n
I = a b rm+n−2 sinm−1 θ cosn−1 θ r dr dθ
0 0
m n Z π2
a b
= sinm−1 θ cosn−1 θ dθ
m+n 0
am bn Γ( n−1+1 2
)Γ( m−1+1
2
)
= n−1 m−1
m + n 2Γ( 2 + 2 + 1)
am bn Γ( n2 )Γ( m2 )
=
4 m+n
2
Γ( n2 + m2 )
am bn Γ( n2 )Γ( m2 )
=
4 Γ( n2 + m2 + 1)
Here we used xΓ(x) = Γ(x + 1) and
Z π
2
m n Γ( n+1
2
)Γ( m+1
2
)
sin θ cos θ dθ = n m
0 2Γ( 2 + 2 + 1)
Paper II
Question 3(a) Find the shortest distance from the origin to the hyperbola x2 + 8xy + 7y 2 =
225, z = 0.
4
−y − 7λy
From the second equation we get x = . Substituting the value of x in the first
4λ
−(1 + λ)(1 + 7λ)y
equation, we get + 8λy = 0 or 16λ2 − (1 + 7λ)(1 + λ) = 0, since y 6= 0 —
2λ
note that y = 0 ⇒ x = 0 which is not possible because x2 + 8xy + y 2 = 225. Thus we get
9λ2 − 8λ − 1 = 0, so λ = 1, − 19 .
We shall now show that λ = 1 is not possible. λ = 1 ⇒ 4x + 8y = 0 ⇒ x = −2y ⇒
4y − 16y 2 + 7y 2 = 225, which is not possible, thus λ 6= 1.
2
1
F (x, y) = x2 + y 2 − (x2 + 8xy + 7y 2 − 225)
9
1h 2 i
= 8x + 2y 2 − 8xy + 225
9
1h i
= 2(2x − y)2 + 225
9
√
which is minimized when 2x = y. Thus the shortest distance is 25 = 5.
x−y
ZZ
Question 3(b) Show that the double integral dx dy does not exist over R =
R (x + y)3
[0, 1 : 0, 1].
x−y
Solution. For a fixed x 6= 0, the function (x+y)3
is a bounded function of y and
1 Z 1
x−y
Z
x+y 2x
dy = − + dy
0 (x + y)3 0 (x + y)3 (x + y)3
1
1 2x 1 x 1
= + 2
= − 2
=
x + y −2(x + y) 0 1 + x (1 + x) (1 + x)2
Now Z 1 Z 1
dx −2 1 1 1
= lim (1 + x) dx = lim+ − + =
0 (1 + x)2 →0+ →0 2 1+ 2
1 1
x−y
Z Z
1
Thus 3
dy dx = .
0 0 (x + y) 2
Similarly, if y 6= 0,
Z 1 Z 1
x−y x+y 2y
3
dx = − dx
0 (x + y) 0 (x + y)3 (x + y)3
1
1 2y 1
= − − 2
=−
x + y −2(x + y) 0 (1 + y)2
5
1 1 Z 1
x−y
Z Z
1 dy 1
Thus 3
dx dy = − , as 2
= as above.
0 Z0 Z (x + y) 2 Z Z0 (1 + y) 2
1 1 1 1
x−y x−y
Thus 3
dy dx 6= 3
dx dy showing that the double integral
0 0 (x + y) 0 0 (x + y)
does not exist, because if the double integral exists and the two repeated integrals exist,
x−y
these have to be equal. The reason is that the function (x+y) 3 is not bounded in the square
R[0, 1 : 0, 1].
6
UPSC Civil Services Main 2000 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
January 2, 2010
2
0 ≤ ζ ≤ 0.4 =
5
7
⇒1 ≤ 1+ζ ≤
5
5 1
⇒ x ≤ x≤x
7 1+ζ
2 2
⇒ ≤ log 1.4 ≤
7 5
1
Solution. Switching to polar coordinates, x = R cos θ, y = R sin θ and
Z rZ π
2
I = R2l−1 cos2l−1 θ R2m−1 sin2m−1 θ R dθ dR
0 0
Z r Z π
2
2l+2m−1
= R dR cos2l−1 θ sin2m−1 θ dθ
0 0
r 2l+2m Γ( 2 )Γ( 2m
2l
2
)
= 2l−1 2m−1
2l + 2m 2Γ( 2 + 2 + 1)
r2(l+m) Γ(l)Γ(m) 1 Γ(l)Γ(m)
= = r2(l+m)
4(l + m) Γ(l + m) 4 Γ(l + m + 1)
x2 y 2 z 2
Question 2(a) Find the center of gravity of the positive octant of the ellipsoid 2 + 2 + 2 =
a b c
1, if the density varies as xyz.
Solution. ZZZ
M ass = x2 2 2 xyz dx dy dz
+ yb2 + zc2 ≤ 1
a2
x ≥ 0, y ≥ 0, z ≥ 0
Let x = aX, y = bY, z = cZ. We get:
ZZZ
2 2 2
M ass = a b c XY Z dX dY dZ
X2 + Y 2 + Z2 ≤ 1
X ≥ 0, Y ≥ 0, Z ≥ 0
Z 1 Z √1−x2 Z √1−x2 −y2
= a2 b2 c2 x y z dz dy dx
0 0 0
√
2 2 2 Z 1 Z 1−x2
abc
= x y(1 − x2 − y 2 ) dy dx
2 0 0
1 √1−x2
a2 b2 c2 y 2 x2 y 2 y 4
Z
= x − − dx
2 0 2 2 4 0
a2 b2 c2 1
Z
x 2(1 − x2 ) − 2x2 (1 − x2 ) − (1 − x2 )2 dx
=
8 0
2 2 2 Z 1
abc
= (x − 2x3 + x5 ) dx
8 0
2 2 2
2 1
abc x x4 x6
= −2 +
8 2 4 6 0
2 2 2
a2 b2 c2
abc 1 1 1
= − + =
8 2 2 6 48
2
If (x, y, z) are the coordinates of the center of gravity, then
ZZZ
M ass × x = x2 y2 z2 x2 yz dx dy dz
a2 + b2 + c 2 ≤ 1
x ≥ 0, y ≥ 0, z ≥ 0
ZZZ
3 2 2
= abc X 2 Y Z dX dY dZ
X2 + Y 2 + Z2 ≤ 1
X ≥ 0, Y ≥ 0, Z ≥ 0
3 2 2 Z 1
abc
= (x2 − 2x4 + x6 ) dx
8
0
a3 b2 c2 1 2 1 a3 b2 c2
= − + =
8 3 5 7 105
a3 b2 c2
48 16 16a 16b 16c
Thus x = × 2 2 2 = a. By symmetry, the center of gravity is , , .
105 abc 35 35 35 35
(
0, x irrational
Question 2(b) Let f (x) =
1, x rational
Show that f is not integrable on [a, b].
Solution. Let P = {a = x0 < x1 < x2 < . . . xn = b} be any partition of [a, b]. In any
interval [xi−1 , xi ], 1 ≤ i ≤ n, there exist rationals as well as irrationals.
Thus mi = minxi−1 ≤x≤xi f (x) = 0, Mi = max Pn xi−1 ≤x≤xi f (x) = 1.
The Lower Riemann Pn Sum = L(P, f ) = i=1 mi (xi − xi−1 ) = 0. The Upper Riemann
Sum = U (P, f ) = i=1 Mi (xi − xi−1 ) = b − a.
Z b Z b
Thus f (x) dx = 0 and f (x) dx = b − a, showing that f is not Riemann integrable
a a
on [a, b].
dn log x
n n! 1 1 1
= (−1) n+1 log x − 1 − − − . . . −
dxn x x 2 3 n
3
Differentiating both sides, we get
dn+1 log x
n d 1 1 1 1
= (−1) n! log x − 1 − − − . . . −
dxn+1 x dx xn+1 2 3 n
n −(n + 1) 1 1 1 1 1
= (−1) n! n+2
log x − 1 − − − . . . − + n+1
x 2 3 n x x
n+1 1 1 1 1 1
= (−1) (n + 1)! n+2 log x − 1 − − − . . . − − n+2
x 2 3 n x (n + 1)
(n + 1)! 1 1 1 1
= (−1)n+1 n+2 log x − 1 − − − . . . − −
x 2 3 n n+1
which proves the result for n + 1, and thus by induction for all n.
An alternate method is to use the Leibniz rule:
n n−r
dn X n d u dr v
(uv) =
dxn r=0
r dxn−r dxr
Solution.
Z π
sin2 x − 2(ax2 + bx) sin x + (ax2 + bx)2 dx
F (a, b) =
π Z0 π π
1 − cos 2x
Z
x sin 2x π
sin2 x dx = dx = − =
0 0 2 2 4 0 2
Z π π Z π
(ax2 + bx) sin x dx = −(ax2 + bx) cos x + (2ax + b) cos x dx
0 0 0
π Z π
2
= (aπ + bπ) + (2ax + b) sin x − 2a sin x dx
0 0
π
= (aπ + bπ) + 2a cos x = aπ 2 + bπ − 4a
2
0
π
a2 π 5 abπ 4 b2 π 3
Z
(a2 x4 + 2abx3 + b2 x2 ) dx = + +
0 5 2 3
π a2 π 5 abπ 4 b2 π 3
⇒ F (a, b) = − 2(aπ 2 + bπ − 4a) + + +
2 5 2 3
1h 5 2 i
= 6π a + 15π 4 ab + 10π 3 b2 − (60π 2 − 240)a − 60πb + 15π
30
4
Let G(a, b) = 30F (a, b). Then at the maximum:
∂G
= 12π 5 + 15π 4 b − (60π 2 − 240) = 0
∂x
∂G
= 15π 4 a − 20π 3 b − 60π = 0
∂y
240 − 12π 2 20π 2 − 320
Solving these for a, b we get b = , a = .
π4 π5 2 2
∂ 2G 5 ∂ 2G 3 ∂ 2G 4 ∂ 2G ∂ 2G ∂ G
Now = 12π > 0, = 20π > 0, = 15π ⇒ − =
∂a2 ∂b2 ∂a ∂b ∂a2 ∂b2 ∂a ∂b
12π 5 × 20π 3 − (15π 4 )2 = 15π 8 > 0. Thus G(a, b) and hence F (a, b) is minimum when
240 − 12π 2 20π 2 − 320
b= , a = .
π4 π5
Paper II
Solution.
1. Clearly f (x) satisfies the requirements of Taylor’s theorem in [x, x + 2h]. Therefore
2
f (x + 2h) = f (x) + 2hf 0 (x) + (2h)
2!
f 00 (u) for some u ∈ (x, x + 2h). Thus
f (x + 2h) − f (x)
f 0 (x) = − hf 00 (u)
2h
as required.
Now
|f (x + 2h)| + |f (x)| M0 + M0 M0
|f 0 (x)| ≤ + h|f 00 (u)| ≤ + hM2 = + hM2
2h 2h h
for all x and h > 0. Therefore
0 M0
sup |f (x)| ≤ inf + hM2
x>0 h>0 h
5
2
√ √
q q
M0 M0
But h
+ hM2 = h
− M2 h + 2 M0 M2 , so for h = M 0
M2
, we have M0
h
+ hM2 =
√ √
M0
2 M0 M2 ⇒ inf h>0 h
+ hM2 ≤ 2 M0 M2 . Thus
0 M0 p
M1 = sup |f (x)| ≤ inf + hM2 ≤ 2 M0 M2
x>0 h>0 h
so M12 ≤ 4M0 M2 .
2. By Green’s theorem
ZZ
(x3 dy dz + x2 y dz dx + x2 z dx dy)
Z ZSZ
∂ 3 ∂ 2 ∂ 2
= x + x y + x z dx dy dz
x2 +y 2 ≤a2 ∂x ∂y ∂z
0≤z≤b
ZZ Z b ZZ
2
= 5x dz dy dx = 5b x2 dy dx
x2 +y 2 ≤a2 0 x2 +y 2 ≤a2
Z a Z 2π 4
a 5
= 5b r2 cos2 θ r dθ dr = 5b π = πa4 b
0 0 4 4
6
UPSC Civil Services Main 2001 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
January 2, 2010
Thus for any given > 0, we can choose δ = , and we get |x − 12 | < δ ⇒ |f (x) − f ( 12 )| < ,
so f is continuous at x = 12 .
f is discontinuous at x0 6= 21 : We know that both rationals and irrationals are dense in
R, so there exists a sequence of rationals {xn } such that lim xn = x0 and a sequence of
n→∞
irrationals {yn } such that lim yn = x0 .
n→∞
If x0 is rational, consider the sequence of irrationals {yn }. lim f (yn ) = lim (1 − yn ) =
n→∞ n→∞
1 − x0 6= x0 = f (x0 ), because x0 6= 12 . Thus f is discontinuous at x0 .
If x0 is irrational, consider the sequence of rationals {xn }. lim f (xn ) = lim xn = x0 6=
n→∞ n→∞
1 − x0 = f (x0 ), because x0 6= 21 . Thus again f is discontinuous at x0 .
Note: We use the fact that a function f is continuous at xo if and only if for all sequences
xn −→ x0 ⇒ f (xn ) −→ f (x0 ).
1
sin x1
Z
Question 1(b) Test the convergence of √ dx
0 x
1
1 1 Z 1 Z 1
√
Z
dx 1 dx dx
Solution. Consider √ = 2x 2 = 2 − 2 ⇒ lim+ √ = 2, so √ is
x →0 x x
Z 1 1 Z 1 0
sin x dx
convergent. Now √ dx ≤ √ , so the given integral is absolutely convergent, and
x x
0 0
hence convergent.
Question 2(a) Find the equation of the cubic curve which has the same asymptotes as
and which passes through the point (1, 1) and has the x-axis as tangent at the origin.
(x2 + y 2 + z 2 )2 = a2 x2 + b2 y 2 + c2 z 2
by the plane lx + my + nz = 0.
r 2 = x2 + y 2 + z 2
subject to φ1 = a2 x2 + b2 y 2 + c2 z 2 − (x2 + y 2 + z 2 )2 = 0
φ2 = lx + my + nz = 0
2
∂F
= 2x + λ1 [2a2 x − 4xr2 ] + λ2 l = 0 (1)
∂x
∂F
= 2y + λ1 [2b2 y − 4yr2 ] + λ2 m = 0 (2)
∂y
∂F
= 2z + λ1 [2c2 z − 4zr2 ] + λ2 n = 0 (3)
∂z
Multiplying (1) by x, (2) by y, (3) by z and adding, we get
2r2 + λ1 [2(a2 x2 + b2 y 2 + c2 z 2 ) − 4r4 ] + λ2 φ2 = 0
which gives us 2r2 +λ1 [2r4 −4r4 ] = 0, because a2 x2 +b2 x2 +c2 z 2 = (x2 +y 2 +z 2 )2 = r4 , φ2 = 0.
Thus λ1 = r12 .
λ2 lr2 λ2 mr2 λ2 nr2
Substituting this back, we get x = 1 (4r2λ−2a
2l
2 )−2 = 2(r 2 −a2 ) , and y = 2(r 2 −b2 ) , z = 2(r 2 −c2 ) .
r2
Since lx + my + nz = 0, we get
l2 m2 n2
+ + =0
r2 − a2 r2 − b2 r2 − c2
This is a quadratic equation in r2 , its roots give us the required extremum values. Note that
the extremum values have to exist.
ZZZ
Question 2(c) Evaluate (x + y + z + 1)2 dx dy dz over the region defined by x ≥ 0, y ≥
0, z ≥ 0, x + y + z ≤ 1.
Solution.
ZZZ
I = (x + y + z + 1)2 dx dy dz
Z 1 Z 1−x Z 1−x−y
= (x + y + z + 1)2 dz dy dx
0 0 0
Z 1 Z 1−x 1−x−y
(x + y + z + 1)3
= dy dx
0 0 3 0
Z 1 Z 1−x
8 (x + y + 1)3
= − dy dx
0 0 3 3
Z 1 1−x
8 (x + y + 1)4
= y− dx
0 3 12 0
Z 1
16 (x + 1)4
8
= (1 − x) − + dx
0 3 12 12
1
16 8 x2 (x + 1)5
= x− −
12 3 2 60 0
16 8 32 1 31
= − + − =
12 6 60 60 60
3
Note: This is actually Dirichlet’s Integral :
Γ(p)Γ(q)Γ(r) 1
ZZZ Z
p−1 q−1 r−1
F (x + y + z)x y z dx dy dz = F (u)up+q+r−1 du
A Γ(p + q + r) 0
where p, q, r are all positive, and A is the volume consisting of all positive values of x, y, z
subject to the condition x + y + z ≤ 1. The result is obtained by substituting x + y + z =
u, y + z = uv, z = uvw.
In this case, p = q = r = 1, F (u) = (u + 1)2 , so
1 1
1 u5 u4 u3
Z
1 2 2 1 1 1 1 31
I= (u + 1) u du = + + = + + =
Γ(3) 0 2! 5 2 3 0 2 5 2 3 60
as before.
Question 2(d) Find the volume of the solid generated by revolving the cardiod r = a(1 −
cos θ) around the initial line.
Solution.
Z A
V = πy 2 dx
B
Z 0
V = − πa2 (1 − cosθ)2 sin2 θ a sin θ(1 − 2 cos θ) dθ
π
Z π
3
= πa (1 − 2 cos θ + cos2 θ) sin3 θ(1 − 2 cos θ) dθ
Z0 π
= πa3 (1 − 4 cos θ + 5 cos2 θ − 2 cos3 θ) sin3 θ dθ
"0Z π Z π #
2 2
= πa3 2 sin3 θ dθ + 10 cos2 θ sin3 θ dθ (The other terms give us 0)
0 0
3 2 2 8
= 2πa +5 = πa3
3 5·3·1 3
4
Note: An easier way is to use the standard formula for the volume:
Z 0
2
V = π r3 sin θ dθ
3 π
Z π
2
= π a3 (1 − cos θ)3 sin θ dθ
3 0
2 3 2 3
Z
= πa z dz (Substituting z = 1 − cos θ)
3 0
8 3
= πa
3
Paper II
π
xn
Z
2
Question 3(a) Show that dx exists if and only if m < n + 1.
0 sinm x
π
xm
Z
2
n−m
Solution. Let I = x dx.
0 sinm x x m
Case (1): n−m ≥ 0. In this case the integral is a proper integral because lim+ =
x→0 sin x
1 and therefore there is no discontinuity.
Case (2): n − m < 0. Here 0 is the only point of discontinuity.
x Note that the integrand is
n m
m
positive when x > 0. Since sinxm x = sinxm x × xn−m , and lim+ = 1, the given integral
Z π x→0 sin x
2
converges if and only if xn−m dx converges.
Z π 0
2 1 π n−m+1
Now xn−m dx = − n−m+1
, which tends to a finite limit as
n−m+1 2
→ 0+ ⇔ n − m + 1 > 0 ⇔ m < n + 1.
Thus the given integral converges if and only if m < n + 1.
where p, q are relatively prime integers. Is f Riemann integrable? Justify your answer.
5
Solution. (1) Let α ∈ Q, f (α) 6= 0. Since (α − n1 , α + n1 ) contains uncountably many
q
p
irrationals not of the form q
(there are only countably many of those), we can get a
sequence {αn } such that |α − αn | < n1 i.e. αn −→ α. But f (αn ) = 0 6−→ f (α) 6= 0, therefore
f is q
discontinuous at α. The same argument shows that f (α) is discontinuous whenever
α = pq .
(2) f is continuous at all those α for which f (α) = 0. Let > 0. Let n be chosen that q
1
n
< . Since there are only finitely many q ≤ n, there are only finitely many numbers pq , pq
q
in [a, b]. Let δ = inf{|α − pq |, |α − pq |, q ≤ n}, then δ > 0. Now if x ∈ (α − δ, α + δ), we have
f (x) = 0, q12 , q13 with q > n. In all cases |f (x) − f (α)| = 0, q12 , q13 < n1 < , so f is continuous
at x = α.
Since the discontinuities of the given function in [a, b] are countable, they form a set
of measure zero, it follows that f is Riemann integrable — here we use the result that a
bounded function f is Riemann integrable on [a, b] if and only if the discontinuities of f form
a set of measure 0.
Alternate solution. Let > 0. Let us call a number α ∈ [a, b] exceptional if α = pq
q
or pq and 1q > 2(b−a)
(here if (b − a) < 1, we can always take 1q > 2 , and the rest of the
proof goes through). These α are finite in number. We enclose all these points in intervals
whose total length is < 2(b−a) . Since the oscillation of f in these intervals is < 1, therefore
the contribution to U (f, P ) − L(f, P ) =upper Riemann sum - lower Riemann sum < 2(b−a) ,
where P is a partition which the finite number of intervals containing the exceptional points
give rise to. Now the oscillation of f in any interval not containing the exceptional points
< 2(b−a) , because 1q < 2(b−a)
for any points pq that occur in that interval. Since the total length
of these intervals is ≤ (b − a), the total contribution to U (f, P ) − L(f, P ) < 2(b−a) (b − a).
Hence U (f, P ) − L(f, P ) < , so f is Riemann integrable.
Question 4(b) Show that U = xy + yz + zx has a maximum value when the three variables
are connected by the relation ax + by + cz = 1, and a, b, c are positive constants satisfying
the condition 2(ab + bc + ca) > a2 + b2 + c2 .
6
By symmetry, x = λ2 (a − b − c), y = λ2 (b − a − c). Substituting these values in the constraint,
we get λ2 (a2 − ab − ac + b2 − ba − bc + c2 − ca − cb) = 1 so
2
λ=
a2 + b2 + c2 − 2ab − 2bc − 2ca
Moreover, for these values x ∂F
∂x
+ y ∂F
∂y
+ z ∂F
∂z
= 2U + λ(ax + by + cz) = 0 ⇒ U = − λ2 =
1
2ab+2bc+2ca−(a2 +b2 +c2 )
.
2
Now d F = 2 dx dy + 2 dy dz + 2 dz dx and a, dx + b dy + c dz = 0 as ax + by + cz = 1.
Substituting the value of dz in d2 F , we get
a dx + b dy
d2 F = 2 dx dy + 2(dy + dx)
−c
2a 2b h b ai
= − (dx)2 − (dy)2 + 2 dx dy 1 − −
c c c c
2a h a + b − c b i
= − (dx)2 + dx dy + (dy)2
c a a
2a h a+b−c 2 b (a + b − c)2 2
i
= − dx + dy + − (dy)
c 2a a 4a2
2 2 2 2
Now ab − (a+b−c)
4a2
= 4ab−a −b −c4a−2ab+2bc+2ac
2 > 0 because 2(ab + bc + ca) > a2 + b2 + c2 . Hence
1
d2 F < 0, so U has a maximum value 2ab+2bc+2ca−(a 2 +b2 +c2 ) .
ZZZ
Question 4(c) Evaluate (ax2 + by 2 + cz 2 ) dx dy dz taken throughout the region x2 +
y 2 + z 2 ≤ R2 .
Solution. Switching to polar coordinates, x = r cos θ, y = r sin θ cos φ, z = r sin θ sin φ and
dx dy dz = r2 sin θ dφ dθ dr, we get
Z R Z π Z 2π
I = (ar2 cos2 θ + br2 sin2 θ cos2 φ + cr2 sin2 θ sin2 φ)r2 sin θ dφ dθ dr
0 0 0
Z R Z π
= r4 dr (2aπ cos2 θ sin θ + bπ sin3 θ + cπ sin3 θ) dθ
0 0
πR5 π
Z
= (2a cos2 θ sin θ + (b + c) sin3 θ) dθ
5 0
πR5 π
Z
= ((2a − b − c) cos2 θ sin θ + (b + c) sin θ) dθ
5 0
π
πR5 − cos3 θ
= (2a − b − c) + (b + c)(− cos θ)
5 3 0
5 5
πR 2(2a − b − c) + 6(b + c) 4πR (a + b + c)
= =
5 3 15
7
UPSC Civil Services Main 2002 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
January 1, 2010
b−a b−a
Question 1(a) Show that √ ≤ sin−1 b − sin−1 a ≤ √ for 0 < a < b < 1
1 − a2 1 − b2
Solution. Consider the function f (x) = sin−1 x on the interval [a, b]. Clearly f (x) is
differentiable on (a, b) and continuous on [a, b]. Thus f (x) satisfies the requirements of
Lagrange’s Mean Value Theorem on [a, b]. Therefore
1
f (b) − f (a) = sin−1 b − sin−1 a = (b − a) √
1 − c2
for some point a ≤ c ≤ b. Since
b−a b−a b−a
√ ≤√ ≤√
1 − a2 1 − c2 1 − b2
it follows that
b−a b−a
√ ≤ sin−1 b − sin−1 a ≤ √
1−a 2 1 − b2
Z ∞ Z ∞
2 +y 2 ) π
Question 1(b) Show that e−(x dx dy = .
0 0 4
Z R Z R
2 +y 2 )
Solution. Consider the integral IR = e−(x dx dy. Let C1 be part of the circle
0 0
x2 + y 2 = R2 in the first quadrant and let C2 be part of the circle x2 + y 2 = 2R2 in the first
2 2
quadrant. Since the integrand f (x, y) = e−(x +y ) > 0, it follows that
ZZ ZZ
f (x, y) dx dy ≤ IR ≤ f (x, y) dx dy
C1 C2
1
Put x = r cos θ, y = r sin θ, we get
π 2 R
R
π e−r
ZZ Z Z
2
−r2 π 2
f (x, y) dx dy = e r dr dθ = = 1 − e−R
C1 θ=0 r=0 2 −2 0 4
Similarly √
π
ZZ Z Z 2R
2 2 π 2
f (x, y) dx dy = e−r r dr dθ = 1 − e−2R
C2 θ=0 r=0 4
Thus by the squeeze principle,
Z ∞ Z ∞
2 +y 2 ) π
lim IR = e−(x dx dy =
R→∞ 0 0 4
Z ∞ Z R
−x2 2
Note: Consider the integral I = e dx, IR = e−x dx, so that
0 0 Z ∞ 2
Z RZ R
2 2 2
−(x +y ) 2 −x2 π
(IR ) = e dx dy. As shown above lim (IR ) = e dx = , so
Z ∞ 0 0 √ R→∞ 0 4
2 π
I= e−x dx = as I > 0.
0 2
(
xp sin x1 , x 6= 0
Question 2(a) Let f (x) =
0, x=0
Obtain a condition on p such that (i) f is continuous at x = 0 (ii) f is differentiable at
x = 0.
Solution. (i) f (x) is continuous at x = 0 when p > 0, because |xp sin x1 | ≤ |xp | < for
1
|x| < δ, δ = p (or lim |x|p = 0, p > 0 as | sin x1 | ≤ 1.
x→0
When p ≤ 0, f (x) is not continuous — if p = 0, it oscillates between 1 and −1, and when
p < 0, it oscillates between −∞ and ∞ infinitely often as x approaches 0.
(ii) f (x) is differentiable at x = 0 when f (x)−f
x
(0)
= xp−1 sin x1 has a limit, which is true if
p − 1 > 0 ⇒ p > 1. If p ≤ 1, this limit does not exist, as shown above.
Question 2(b) Consider the set of triangles having a given base and a given vertex angle.
Show that the triangle having maximum area will be isosceles.
Solution. Given ∠A and a as shown in the figure, the area of 4ABC = y = 12 bc sin A.
Now
a b c
= =
sin A sin B sin C
1 a2 sin B sin C
Therefore y = 2 sin A
. But C = π − (A + B) ⇒ sin C = sin(A + B). Thus
1 a2
y= sin B sin(A + B)
2 sin A
2
A
c b
B a C
dy 1 a2 h i 1 a2
= cos B sin(A + B) + sin B cos(A + B) = sin(A + 2B)
dB 2 sin A 2 sin A
dy π
Now dB = 0 ⇒ sin(A + 2B) = 0 ⇒ A + 2B = π (A + 2B = 0 ⇒ B < 0). So B = 2
− A2 , C =
π − (A + B) = π2 − A2 = B ⇒ the triangle is isosceles.
d2 y 1 a2 a2
= 2 cos(A + 2B) = cos(π) < 0
dB 2 2 sin A sin A
so y is at a maximum when B = C = π2 − A2 .
Thus the triangle having maximum area is isosceles.
x 23 y 23
Question 2(d) Find the center of gravity of the region bounded by the curve + =
a b
1 and both axes in the first quadrant, the density being ρ = kxy, where k is a constant.
3
π
Γ( p+1 )Γ( q+1 )
Z
2
p q 2 2
Using the result cos θ sin θ dθ = p+q+2 , we have
0 2Γ( 2 )
Paper II
Z ∞
Question 3(a) Prove that the integral xm−1 e−x dx converges if and only if m > 0.
0
x2 + y 2 + z 2 − yz − zx − xy
4
Thus the determinant is 0 when λ = 0, which is not admissible, or when λ = 32 — however
in this case −x − y − z = −3 from (1), and −x − y − z = 3 from (2), hence λ = 32 is also not
admissible. Thus the system of equations is solvable, we use Cramer’s rule.
−2λ −1 −1 1 1 1
−1
2λ 2 − 2λ 1
x = 2
−1 = 1 2 − 2λ
2
−1
2λ(2λ − 3) (2λ − 3)
6λ −1 2 − 2λ 3 −1 2 − 2λ
1 0 0
1
1 1 − 2λ
1 2 2λ + 3
= −2 = 4λ − 1 − 8 =
(2λ − 3)2 (2λ − 3)2 2λ − 3
3 −4 −1 − 2λ
2 − 2λ −2λ −1 2 − 2λ −1 −1
−1
−1
−1
y = 2λ −1 = −1 1 −1
2λ(2λ − 3)2 (2λ − 3)2
−1 6λ 2 − 2λ −1 3 2 − 2λ
2 − 2λ 1 − 2λ −3 + 2λ
−1
−1
−1 2
= 0 0 = (3 − 2λ) = −1
(2λ − 3)2 (2λ − 3)2
−1 2 3 − 2λ
2λ+3
6λ + x + y 6λ + 2λ−3 −1 12λ2 − 18λ + 6 3(1 − 2λ)
z = = = =
2 − 2λ 2 − 2λ (2 − 2λ)(2λ − 3) 2λ − 3
Question 4(b) A solid hemisphere H of radius a has density depending on the distance
R from the center, given by ρ = k(2a − R), where k is a constant. Find the mass of the
hemisphere by the method of multiple integration.
5
equation for the mass:
π
Z a Z
2
Z 2π
M = k(2a − r)r2 sin θ dφ dθ dr
0 0 0
π
Z a Z
2
= 2kπ (2a − r)r2 sin θ dθ dr
Z0 a 0
6
UPSC Civil Services Main 2003 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
January 1, 2010
Question 1(a) Let f be real function defined as follows — f (x) = x, −1 ≤ x < 1, f (x+2) =
x, ∀x ∈ R. Show that f is discontinous at every odd integer.
1
Solution. For f (x) to be differentiable at x = 0, it has to be continuous at x = 0. Thus
Question 2(a) A rectangular box, open at the top is to have a volume 4m3 . Using La-
grange’s method of multipliers find the dimensions of the box so that the material of a given
type required to construct it may be the least.
Solution. Let x, y, z be the length, breadth and the height of the box respectively. Then we
have to minimize S = xy + 2xz + 2yz subject to the constraints xyz = 4, x > 0, y > 0, z > 0.
Let λ be Lagrange’s undetermined multiplier. Then
2
Question 2(b) Test the convergence of the integrals
Z 1 Z ∞
dx sin2 x
(1) 1 (2) dx
2
0 x 3 (1 + x ) 0 x2
Z 1 1 Z 1
− 13 − 13 3 2 3 2 1
Solution. (1) Let φ(x) = x , then x dx = x 3 = (1 − ). Thus lim
3 x− 3 dx
2 2 →0
Z 1
1 1 1
exists, so x− 3 dx is convergent. Since lim 1 = 1, it follows that the integral
0 x→0 x 3 (1 + x ) φ(x)
2
Z 1 Z 1
dx
1 is convergent at x = 0 if and only if φ(x) dx is convergent. Since the
2
0 x 3 (1 + x ) 0
Z 1 Z 1
dx dx
integral 1 is proper for any δ > 0, it follows that the integral 1 is
2 2
δ x 3 (1 + x ) 0 x 3 (1 + x )
convergent. Z ∞
sin2 x sin2 x
(2) For the integral dx, the point 0 is not a singularity, since lim = 1.
Z z z0 x2 Z ∞ x→0 x2
dx 1 1 dx
Moreover 2
=− = 1 − , showing that is convergent. Since
1 x x 1 z 1 x2
Z ∞ 2 Z ∞
sin x dx
dx ≤
x2 x2
1 1
Z ∞
sin2 x
it follows that 2
dx is absolutely convergent, and therefore convergent. Since
Z 1 1 x
sin2 x
dx is a proper integral, the given integral is convergent.
0 x2
Solution.
y 2 = ax
3
Z a Z y
y dx dy
I = p
0 (a − x) ax − y 2
y2
a
Z a Z √ax
1 y dy
= p dx
0 a−x x ax − y 2
Z a p √ax
1
= − ax − y 2 dx
0 a−x x
a
√ Z a √
ax − x2
Z
x
= dx = √ dx
0 a−x 0 a−x
2
Substitute x = a sin θ to get
Z π √ Z π
2 a sin θ 2a sin θ cos θ 2 π πa
I= √ dθ = 2a sin2 θ dθ = 2a =
0 a cos θ 0 4 2
Question 2(d) Find the volume generated by revolving the area bounded by the curves (x2 +
4a2 )y = 8a3 , 2y = x and x = 0 about the y-axis
Solution.
A(0, 2a)
L(2a, a)
M
2y = x
O
The volume generated by the region OLM O is
Z a Z a a
2 2 4y 3 4πa3
V1 = πx dy = π 4y dy = π =
0 0 3 0 3
The volume generated by the region M LAM is
Z 2a Z 2a 3
2 8a 2
V2 = πx dy = π − 4a dy
a a y
2a
= π 8a3 log y − 4a2 y a
Paper II
Question 3(a) Let a be a positive real number and xn a sequence of rational numbers such
that limn→∞ xn = 0, show that limn→∞ axn = 1.
Solution. If f (x) is continuous at x = a and xn is a sequence of real numbers such that
limn→∞ xn = a, then limn→∞ f (xn ) = f (a). Let f (x) = ax , f is a continuous function,
therefore limn→∞ axn = alimn→∞ xn = a0 = 1.
4
Question 3(b) If a continuous function of x satisfies the functional equation f (x + y) =
f (x) + f (y), then show that f (x) = αx where α is a constant.
Question 4(a) Show that the maximum value of x2 y 2 z 2 subject to the condition x2 + y 2 +
z 2 = c2 is c6 /27. Interpret the result.
Solution. By symmetry around the origin, we can assume w.l.o.g that x, y, z are all non-
negative.
Let F (x, y, z) = x2 y 2 z 2 − λ(x2 + y 2 + z 2 − c2 ), where λ is Lagrange’s undetermined
multiplier. For extreme values, we have
∂F
= 2xy 2 z 2 − 2λx = 0
∂x
∂F
= 2x2 yz 2 − 2λy = 0
∂y
∂F
= 2x2 y 2 z − 2λz = 0
∂z
∂F ∂F ∂F
⇒ x +y +z = 3x2 y 2 z 2 − λ(x2 + y 2 + z 2 )
∂x ∂y ∂z
λc2
⇒ x2 y 2 z 2 =
3
√c c4
Since x, y, z cannot all be 0, λ = y 2 z 2 = z 2 x2 = x2 y 2 ⇒ x = 3
= y = z, λ = 9
.
Now
2 ∂ 2F 2 ∂ 2F 2 ∂ 2F 2 ∂ 2F ∂ 2F ∂ 2F
dF = (dx) + (dy) + (dz) + 2 dx dy + 2 dy dz + 2 dx dz
∂x2 ∂y 2 ∂z 2 ∂x ∂y ∂y ∂z ∂x ∂z
2 2 2 2 2 2 4
and ∂∂xF2 = ∂∂yF2 = ∂∂zF2 = 0 when x = y = z = √c3 . Also, ∂x
∂ F
∂y
∂ F
= ∂y ∂z
∂ F
= ∂x ∂z
= 4c9 . Finally,
x2 + y 2 + z 2 = c2 ⇒ 2x dx + 2y dy + 2z dz = 0, or dz = − 2x dx+2y2z
dy
= −dx − dy because
x = y = z.
Thus
8c4
d2 F =
dx dy + dy(−dx − dy) + dx(−dx − dy)
9
8c4
(dx)2 + (dy)2 + dx dy
= −
9
8c4
dy 2 3 2
= − dx + + (dy)
9 2 4
which is negative definite. Thus x2 y 2 z 2 is maximum subject to the constraint x2 +y 2 +z 2 = c2
c6
when x = y = z = √c3 and the maximum value is 27 (of course we can change the sign of
any of x, y, z and still get the same maximum value).
5
Interpretation: The maximum volume of a parallelopiped contained in the sphere x2 +
3
y + z 2 = c2 is √8c27 , since its volume will be 8xyz, whose maximum value is computed as
2
above.
Question 4(b) The axes of two equal cylinders intersect at right angles. If a be their radius,
find the volume common to the cylinders by the method of multiple integrals.
6
UPSC Civil Services Main 2004 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
January 1, 2010
Question 1(a) Prove that the functionR 4 f defined on [0, 4] by f (x) = [x], the greatest integer
≤ x, is integrable on [0, 4] and that 0 f (x) dx = 6.
Solution.
0, 0≤x<1
1, 1≤x<2
f (x) = 2, 2≤x<3
3, 3≤x<4
4, x=4
Clearly f (x) has only finitely many discontinuities in [0, 4], namely at 1, 2, 3, 4. Therefore f
is integrable in [0, 4]. Note that f (x) is bounded in [0, 4]. Now
Z 4 Z 1 Z 2 Z 3 Z 4
f (x) dx = 0 dx + 1 dx + 2 dx + 3 dx = 0 + 1 + 2 + 3 = 6
0 0 1 2 2
x2 x2
Question 1(b) Show that x − 2
< log(1 + x) < x − 2(1+x)
,x > 0.
2
Solution. Let f (x) = x − x2 − log(1 + x), then f (x) satisfies the requirements of Lagrange’s
Mean Value Theorem in the interval [0, x] and therefore
x2
f (x) − f (0) x− − log(1 + x) 1
= 2
= f 0 (ζ) = 1 − ζ −
x x 1+ζ
1
ζ 2 2
1
for some ζ ∈ (0, x). Clearly 1−ζ − 1+ζ = − 1+ζ < 0. Therefore for x > 0, x− x2 −log(1+x) <
2
0 ⇒ x − x2 < log(1 + x).
x2
Now let f (x) = x − 2(1+x) − log(1 + x). Again it satisfies the requirements of Lagrange’s
Mean Value Theorem in the closed interval [0, x], so
x2
f (x) − f (0) x− 2(1+x)
− log(1 + x) 1 ζ ζ2
= = f 0 (ζ) = 1 − − +
x x 1 + ζ 1 + ζ 2(1 + ζ)2
1 ζ ζ2 ζ2 x2
for some ζ ∈ (0, x). But 1 − 1+ζ
− 1+ζ
+ 2(1+ζ)2
= 2(1+ζ)2
> 0, so x − 2(1+x)
− log(1 + x) >
x2
0 ⇒ log(1 + x) < x − 2(1+x)
. Combining the two inequalities, we get the result.
Question 2(a) Let the roots of the equation in λ
(λ − x)3 + (λ − y)3 + (λ − z)3 = 0
be u, v, w. Prove that
∂(u, v, w) (y − z)(z − x)(x − y)
= −2
∂(x, y, z) (u − v)(v − w)(w − u)
Solution.
(λ − x)3 + (λ − y)3 + (λ − z)3 = 3λ3 − 3λ2 (x + y + z) + 3λ(x2 + y 2 + z 2 ) − (x3 + y 3 + z 3 )
= 3(λ − u)(λ − v)(λ − w)
Comparing coefficients of like powers, we get
F1 = u + v + w − (x + y + z) = 0
F2 = uv + vw + wu − (x2 + y 2 + z 2 ) = 0
x3 + y 3 + z 3
F3 = uvw − =0
3
−1 −1 −1 1 0 0
∂(F1 , F2 , F3 )
Now = −2x −2y −2z = −2 x y − x z − x
∂(x, y, z) 2 2
−x −y −z 2 x y − x z 2 − x 2
2 2 2
1 0 0
= −2(y − x)(z − x) x 1 1
2
x y + x z + x
= −2(x − y)(y − z)(z − x)
1 1 1 1 0 0
∂(F1 , F2 , F3 )
= v + w u + w u + v = v + w u−v u − w
∂(u, v, w) vw uw uv vw w(u − v) v(u − w)
= (u − v)(u − w)(v − w) = −(u − v)(v − w)(w − u)
∂(F1 ,F2 ,F3 )
∂(u, v, w) ∂(x,y,z) (y − z)(z − x)(x − y)
Thus = (−1)3 ∂(F1 ,F2 ,F3 ) = −2
∂(x, y, z) (u − v)(v − w)(w − u)
∂(u,v,w)
as required.
2
Question 2(b) Prove that an equation of the form xn = α where n ∈ N and α > 0 is a real
number has a positive root.
Solution. We divide the set of real numbers R into two sets X and Y such that X =
{x ∈ R | x ≤ 0 or x > 0, xn ≤ α} and Y = R − X. Clearly X 6= ∅. Y 6= ∅ as
any real number β > max(1, α) belongs to Y . Let x ∈ X, y ∈ Y , then x < y, otherwise
y ≤ x ⇒ y n ≤ xn ≤ α ⇒ y ∈ X. Thus the sets X and Y determine a section of real numbers.
Dedekind’s theorem says that there exists a real number β such that x < β ⇒ x ∈ X, and
y > β ⇒ y ∈ Y , and β may belong to any set X or Y .
Clearly β ≥ 0. If β = 0, then for any positive integer m, m1 > 0 and therefore belongs to
Y , so ( m1 )n > α. Since it is true for every m, we get α ≤ 0, which is a contradiction. Thus
β > 0. We now show that β n = α. Since β − m1 ∈ X, and β + m1 ∈ Y , we have
n n
1 1
β− ≤α< β+
m m
. Letting m → ∞, we get β n = α, so β is the required positive root of xn = α. Note that β
is unique.
Put θ = 2π − φ, so that
Z 0 q
2 2 2 2
I = (a cos φ + b sin φ) a−2 cos2 φ + b−2 sin2 φ (a sin φ) (−dφ)
2π
Z 2π q
= − (a2 cos2 φ + b2 sin2 φ) a−2 cos2 φ + b−2 sin2 φ (−a sin φ) dφ = −I
0
So 2I = 0 ⇒ I = 0.
3
Question 2(d) If the function f is defined by
(
xy
x2 +y 2
(x, y) 6= (0, 0)
f (x, y) =
0 (x, y) = (0, 0)
then show that f possesses both partial derivatives at (0, 0) but it is not continuous there at.
Solution. By definition,
f (h, 0) − f (0, 0) 0−0
fx (0, 0) = lim = lim =0
h→0 h h→0 h
f (0, k) − f (0, 0) 0−0
fy (0, 0) = lim = lim =0
k→0 k k→0 k
If f were continuous at (0, 0), then lim f (x, y) would exist. But lim f (x, y)
(x,y)→(0,0) (x,y)→(0,0)
mx2 m
does not exist, because if we put y = mx, we get lim = , which is different
x→0 x2 + m2 x2 1 + m2
for different values of m, whereas it should be the same for all m if lim f (x, y) were to
(x,y)→(0,0)
exist.
Thus f possesses both partial derivatives at (0, 0) but it is not continuous at (0, 0).
Paper II
Question 3(a) Show that the function defined as
(
1 1 1
n, 2n+1
<x≤ 2n
f (x) = 2
0, x = 0
is integrable in [0, 1] although it has infinite number of points of discontinuity. Show that
Z 1
2
f (x) dx = .
0 3
1
, 21n ], then [0, 1] = {0} ∪ ∞
S
Solution. Let In = ( 2n+1 n=0 In , and In ∩ Im = ∅ if m 6= n,
so In constitute a partition of (0, 1]. We define a sequence of functions fn (x) on [0, 1] for
n = 0, 1, . . . by (
1
n, x ∈ In
fn (x) = 2
0, x 6∈ In
Clearly each fn (x) is Riemann integrable, being a step function, and f (x) = ∞
P
n=0 fn (x).
Note that 0 6∈ In for any n, so fn (0)P for all n, so f (0) = 0.
Since |fn (x)| ≤ 21n it follows that ∞ n=0 fn (x) is uniformly convergent on [0, 1] (Weierstrass
M-test). Thus the sum function f (x) is Riemann integrable and
Z 1 ∞ Z 1 ∞ Z 1n ∞ X ∞ 1
X X 2 dx X 1 1 1 1 2 2
f (x) dx = fn (x) dx = = − = = 1 =
0 n=0 0 n=0 2n+1
1 2n n=0
2n 2n 2n+1 n=0
22n+1 1 − 22 3
Z 1
2
Hence f (x) dx = .
0 3
4
Question 3(b) Show that the function f (x) defined on R by
(
−x, x rational
f (x) =
x x irrational
is continuous only at 0.
Solution. The solution is completely analogous to 2001, question 1(a).
Question 4(a) If (x, y, z) are the lengths of the perpendiculars drawn from any interior
point P of a triangle ABC on the sides BC, CA, AB respectively, then find the minimum
value of x2 + y 2 + z 2 , when the sides of the triangle are a, b, c.
Solution.
A
Area of 4P BC = 12 P L · BC = 21 xa.
Area of 4P AC = 12 P M · AC = 12 by.
Area of 4P AB = 21 P N · AB = 12 cz.
4ABC = 4P BC + 4P AC + 4P AB, so
N M
area of 4ABC = 21 (ax + by + cz)
Since 4ABC is given, we have to mini- P
mize x2 + y 2 + z 2 with the constraint ax +
by + cz = k (k = 24ABC).
B L C
Let F (x, y, z) = x2 + y 2 + z 2 − λ(ax + by + cz − k), where λ is Lagrange’s undetermined
multiplier. For extreme values,
∂F ∂F ∂F
= 2x − λa = 0, = 2y − λb = 0, = 2z − λc = 0
∂x ∂y ∂z
2 2 2
Thus x = λa/2, y = λb/2, z = λc/2, so λa2 + λb2 + λc2 = k, or λ = a2 +b2k2 +c2 .
2 2 2 ∂2F ∂2F ∂2F
Now ∂∂xF2 = 2, ∂∂yF2 = 2, ∂∂zF2 = 2, ∂x ∂y
= 0 = ∂x ∂z
= ∂y ∂z
and d2 F = 2(dx)2 + 2(dy)2 +
2(dz)2 > 0, so we get that x2 + y 2 + z 2 is minimum when x = λa/2, y = λb/2, z = λc/2, λ =
2k
a2 +b2 +c2
. The minimum value of x2 + y 2 + z 2 is
2
b2 c2 4k 2 k2 4(area of 4ABC)2
a
+ + = =
4 4 4 (a2 + b2 + c2 )2 a2 + b2 + c2 a2 + b2 + c2
Question 4(b) Find the volume bounded by the paraboloid x2 + y 2 = az, the cylinder x2 +
y 2 = 2ay and the plane z = 0.
Solution. See 2005, question 2(d). In that question the cylinder is x2 + y 2 =
p2ax. In our
x2 +y 2
question, the limit of integration for z would be 0 to a , x varies from − 2ya − y 2 to
p
2ya − y 2 and y varies from 0 to 2a. The roles of x, y have been reversed.
5
Question 4(c) Let f (x) ≥ g(x) for every x ∈ [a, b] and f, g be both bounded and Riemann
integrable on [a, b]. At a point c ∈ [a, b] if f, g are continuous and f (c) > g(c), then prove
Z b Z b Z 1 3
1 x cos 5x 1
that f (x) dx > g(x) dx and hence show that − < 2
dx < .
a a 2 0 2+x 2
Solution. We first prove that if f (x) is continuous at x = c and f (c) > 0, then we can find
δ > 0 such that
f (c) 3f (c)
|x − c| < δ ⇒ < f (x) <
2 2
This follows from the continuity of f at c — choose = f (c) 2
, then there exists δ > 0 such
that |x − c| < δ ⇒ |f (x) − f (c)| < ⇒ f (c) − < f (x) < f (c) + , which is the above
inequality.
If f (x) is Riemann integrable in [a, b], continuous at c and f (x) ≥ 0 for x ∈ [a, b] and
Z b
f (c) > 0, then we will show that f (x) dx > 0. By the above result, there exists a closed
a
f (c) 3f (c)
interval [c1 , d1 ] containing c such that 2
< f (x) < 2
for x ∈ [c1 , d1 ]. Now
Z b Z c1 Z d1 Z b
f (x) dx = f (x) dx + f (x) dx + f (x) dx
a a c1 d1
Z d1
Clearly f (x) ≥ 0 implies that the first and third terms are non-negative, and f (x) dx ≥
c1
f (c) Rb
(d1 − c1 ) > 0 — note that a f (x) dx ≥ m(b − a), where m = mina≤x≤b f (x). Thus
Z2 b
f (x) dx > 0.
a
We get our result by considering the function F (x) = f (x) − g(x) — F satisfies all the
conditions above, so
Z b Z b Z b
F (x) dx = f (x) dx − g(x) dx > 0
a a a
1
x3 cos 5x x3 cos 5x
Z
1
We now consider dx. We know that | cos 5x| ≤ 1, so < , or
2+x 2 2+x 2 2
0
1 x3 cos 5x 1
− < 2
< .
2 2+x Z 2
1 3
1 x cos 5x 1
Thus − < 2
dx < .
2 0 2+x 2
6
UPSC Civil Services Main 2005 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
January 1, 2010
Question 1(a) Show that the function given below is not continuous at the origin:
(
0 if xy = 0
f (x, y) =
1 if xy 6= 0
Solution. If f (x, y) were continuous at (0, 0), then given any > 0, we should have δ > 0
such that p
x2 + y 2 < δ =⇒ |f (x, y) − f (0, 0)| < =⇒ |f (x, y)| <
as f (0, 0) = 0. Choose = 21 , then for any δ > 0, we see that if (x, y) = ( 2δ , 2δ ), then
q
2 2
p
x + y = δ4 + δ4 = √δ2 < δ, but |f (x, y)| = f ( 2δ , 2δ ) = 1 6< .
2 2
√ xy
(
(x, y) 6= (0, 0)
f (x, y) = x2 +y 2
0 x=y=0
Prove that fx and fy exist at (0, 0), but f is not differentiable at (0, 0).
Solution. By definition,
1
If f (x, y) were differentiable at (0, 0), then
√
f (h, k) = f (0, 0) + hfx (0, 0) + kfy (0, 0) + h2 + k 2 φ(h, k)
where φ(h, k) is a function of h, k such that φ(h, k) → 0 as (h, k) → (0, 0). Since f (0, 0) =
fx (0, 0) = fy (0, 0) = 0, this would mean that
1 hk
lim φ(h, k) = lim f (h, k) √ = lim =0
(h,k)→(0,0) (h,k)→(0,0) h2 +k 2 (h,k)→(0,0) h + k 2
2
hk m
But lim 2 2
does not exist (take k = mh, this becomes lim =
(h,k)→(0,0) h + k (h,k)→(0,0) 1 + m2
m
, which is different for different values of m — if the limit were to exist, it would have
1 + m2
been the same for all m).
Thus f (x, y) is not differentiable at (0, 0).
∂(x, y, z)
Question 2(a) If u = x + y + z, uv = y + z, uvw = z then find
∂(u, v, w)
2
Thus
1 Z ∞ 1 Z ∞
xm−1 + xn−1 xm−1 y m−1 xm−1
Z Z
I= dx = dx + dy = dx
0 (1 + x)m+n 0 (1 + x)
m+n
1 (1 + y)m+n 0 (1 + x)m+n
R1 1
We know that B(m, n) = B(n, m) = 0 xn−1 (1 − x)m−1 dx. Put x = y+1 so that dx =
1 y
− (1+y)2 dy, 1 − x = 1+y and when x = 1, y = 0, and when x = 0, y = ∞. Therefore
0 ∞
y m−1 y m−1
Z Z
1 1
B(n, m) = − dy = dy
∞ (1 + y)n−1 (1 + y)m−1 (1 + y)2 0 (1 + y)m+n
1
xm−1 + xn−1
Z
Hence the given integral I = dx = B(m, n) = B(n, m).
0 (1 + x)m+n
ZZZ
Question 2(c) Evaluate z dV where V is the volume bounded below by the cone x2 +
V
y 2 = z 2 , and above by the sphere x2 + y 2 + z 2 = 1, lying on the positive side of the y-axis.
Solution.
If an element of the area is r dθ, dr, when it is revolved it will generate a ring whose radius is
r sin θ, and therefore the volume of the ring is 2πr sin θ r dθ dr. Thus converting the integral
to polar coordinates, we get
1 π
1 π π
π − cos 2θ 4
ZZZ Z Z Z Z
4
3
4 π
z dV = r cos θ 2πr sin θ r dθ dr = πr dr sin 2θ dθ = =
V 0 0 0 0 4 2 0 8
Question 2(d) Find the x coordinate of the center of gravity of the solid lying inside the
cylinder x2 + y 2 = 2ax, between the plane z = 0 and the paraboloid x2 + y 2 = az.
3
RRR
x dV
Solution. The x-coordinate of the center of gravity of a uniform body is RRRV .
V
dV
√ x2 +y 2
ZZZ Z 2a Z 2ax−x2 Z
a
V = dV = √
dz dy dx
V 0 − 2ax−x2 0
√
2a Z 2ax−x2
x2 + y 2
Z
= √
dy dx
0 − 2ax−x2 a
√
Z 2a Z 2ax−x2
2
= (x2 + y 2 ) dy dx (The integrand is an even function of y)
a 0 0
Z 2a 3
√2ax−x2
2 y
= x2 y + dx
a 0 3 0
2 2a h 2 √
Z
2
1 2 32
i
= x 2ax − x + (2ax − x ) dx
a 0 3
Z ah
2 2
p
2 2
1 2 2 32
i
= (a + y) a − y + (a − y ) dy Let y = x − a, dy = dx
a −a 3
Z π
2 2 1
= [(a + a sin θ)2 + a2 cos2 θ]a2 cos2 θ dθ Let y = a sin θ, dy = a cos θ dθ
a − π2 3
Z π
2 4 2
= 2a3 [ + 2 sin θ + sin2 θ] cos2 θ dθ
− π2 3 3
π2 π2 !
4 θ sin 2θ 2 2 1 · 1 π
= 2a3 + + − cos3 θ + 2
3 2 4 −2 π 3 − π2 3 4·2 2
3πa3
2π π
= 2a3 + =
3 12 2
We now evaluate the numerator — we will use a different substitution, for illustration.
The limits of integration, and the first several steps are similar to the above derivation, so
are not repeated here.
2 2a h 3 √
ZZZ Z
1 3
i
x dV = x 2ax − x2 + x(2ax − x2 ) 2 dx
V a 0 3
Z π
2 2 7 1 1 5 3
(2a) 2 sin7 θ(2a) 2 cos θ + (2a) 2 sin5 θ(2a) 2 cos3 θ 4a sin θ cos θ dθ
=
a 0 3
2
(By letting x = 2a sin θ, dx = 4a sin θ cos θ dθ, 0 ≤ θ ≤ π2 )
Z π
4
2 1
sin8 θ cos2 θ + sin6 θ cos4 θ dθ
= 128a
3
0
4 7·5·3·1·1 π 1 5·3·1 3·1 π
= 128a + = 2πa4
10 · 8 · 6 · 4 · 2 2 3 10 · 8 · 6 · 4 · 2 2
Thus the x-coordinate of the centroid x = 34 a.
4
Paper II
Solution. Clearly (a + λ)(b + λ)(c + λ) − x(b + λ)(c + λ) − y(a + λ)(c + λ) − z(a + λ)(b + λ) =
(λ − u)(λ − v)(λ − w). Comparing coefficients of like powers of λ, we get
F1 = u + v + w − (x + y + z) + a + b + c = 0 (coefficient of λ2 )
F2 = uv + vw + wu + x(b + c) + y(c + a) + z(a + b) − (ab + bc + ca) = 0 (coeff. of λ)
F3 = uvw − xbc − yac − zab + abc = 0 (constant terms)
1 1 1 1 0 0
∂(F1 , F2 , F3 )
= v + w u + w u + v = v + w
u−v u − w
∂(u, v, w) vw uw uv vw w(u − v) v(u − w)
= −(u − v)(v − w)(w − u)
−1 −1 −1
∂(F1 , F2 , F3 )
= b + c c + a a + b = −(a − b)(b − c)(c − a)
∂(x, y, z) −bc −ac −ab
∂(x, y, z) 3 ∂(F1 , F2 , F3 ) ∂(F1 , F2 , F3 ) (u − v)(v − w)(w − u)
= (−1) =−
∂(u, v, w) ∂(u, v, w) ∂(x, y, z) (a − b)(b − c)(c − a)
ZZZ
Question 3(b) Evaluate log(x + y + z, dx dy dz where the integral is taken over all
positive values of x, y, z such that x + y + z ≤ 1.
Solution.
ZZZ Z 1 Z 1−x Z 1−x−y
I= log(x + y + z) dx dy dz = log(x + y + z) dz dy dx
x+y+z≤1
x≥0,y≥0,z≥0 0 0 0
Now Z Z
z
log(x + y + z) dz = z log(x + y + z) − dz
x+y+z
so
Z 1−x−y 1−x−y Z 1−x−y Z 1−x−y
z z
log(x+y+z) dz = z log(x+y+z) − dz = − dz
0 0 0 x+y+z 0 x+y+z
5
Z 1 Z 1−x Z 1−x−y ZZZ
z z
Thus I = − dz dy dx = − dz dy dx.
0 0 0 x+y+z x+y+z≤1 x+y+z
x≥0,y≥0,z≥0
Put u = x + y + z, uv = x + y, uvw = x, so that x + y + z ≤ 1, x ≥ 0, y ≥ 0, z ≥ 0 ⇔ 0 ≤
u ≤ 1, 0 ≤ v ≤ 1, 0 ≤ w ≤ 1. Moreover
vw uw uv vw uw uv
∂(x, y, z)
0 = uv −vu − u + uv = −u2 v
= v − vw u − uw −uv = v u
∂(u, v, w)
1−v −u 0 1 − v −u 0
Z 1 Z 1 Z 1
∴I = − u−1 (u − uv)u2 v du dv dw
0 0 0
Z 1 Z 1
= − u2 (1 − v)v du dv
0 0
2 1
1 v v3 1
= − − =−
3 2 3 0 18
ZZZ
1
Thus log(x + y + z, dx dy dz = −
x+y+z≤1 18
x≥0,y≥0,z≥0
Question 4(a) If f 0 , g 0 exist for every x ∈ [a, b] and g 0 (x) does not vanish anywhere in [a, b],
show that there exists c ∈ [a, b] such that
f (b) − f (a) f 0 (c)
= 0
g(b) − g(a) g (c)
Solution. Let φ(x) = f (x) + Ag(x) where A, a constant, is so determined that φ(a) = φ(b)
i.e.
f (a) + Ag(a) = f (b) + Ag(b) ⇒ A(g(b) − g(a)) = −(f (b) − f (a))
Since g 0 (x) 6= 0 for x ∈ [a, b], g(a) 6= g(b) — note that if g(a) = g(b), then g(x) satisfies
the requirements of Rolle’s theorem in [a, b], so there would exists some ξ ∈ [a, b] such that
g 0 (ξ) = 0.
f (b) − f (a)
Thus A = − .
g(b) − g(a)
Now (1) φ(x) is continuous in the closed interval [a, b], as f (x), g(x) are continuous in
[a, b] and A is a constant.
(2) φ(x) is differentiable in the open interval (a, b) as f (x), g(x) are differentiable in (a, b).
(3) φ(a) = φ(b) by choice of A.
Hence φ satisfies the requirements of Rolle’s theorem in [a, b], so there is a point c in
(a, b) such that φ0 (c) = f 0 (c) + Ag 0 (c) = 0. Hence
f 0 (c) f (b) − f (a)
−A = 0 =
g (c) g(b) − g(a)
which was to be proved. This result is known as Cauchy’s mean value theorem.
6
Z ∞
Question 4(b) Show that e−t tn−1 dt is an improper integral which converges for n > 0.
0
1. In a proper integral the range of integration is always a finite closed interval, here it is
not.
2. The integrand e−t tn−1 has infinite discontinuity at x = 0 when n < 1, whereas the
integrand in a proper integral must be bounded on the interval of integration.
Z 1 Z ∞
−t n−1
For convergence purposes, we consider two integrals e t dt and e−t tn−1 dt.
0 1
(Instead of 1, weZcould take any positive real number.)
1
−t tn−1
Convergence of e−t tn−1 dt: Let φ(t) = tn−1 , then limt→0 e φ(t) = 1, so the integral
Z 1 0 Z 1 Z 1
−t n−1 n−1 1 n
e t dt converges if and only if t dt converges. Clearly tn−1 dt = − −→ 0
0 Z0 1 n n
if and only if n > 0 as −→ 0. Thus e−t tn−1 dt converges for n > 0.
Z ∞ 0
−t n−1 k
Convergence of e t dt: It is well known that ex > xk! for any k when x > 0,
1 Z ∞
n−1 −x 1 dx
therefore x e < k x2 where k is a positive constant. Since is convergent, it
Z ∞ 1 x2
follows that e−t tn−1 dt is convergent.
Z ∞1
Hence e−t tn−1 dt is convergent when n > 0.
0
7
UPSC Civil Services Main 2006 - Mathematics
Calculus
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
January 1, 2010
1
Z 1
Question 1(b) Express xm (1 − xn )p dx in terms of the Gamma function, and hence
Z 1 √0
1 dt 1 dt 1 1 −1 m
Solution. Let xn = t, then dx = n−1
= n−1 = t n dt and xm = t n . The given
nx nt n n
integral
Z 1 Z 1
m 1 1
m n p
x (1 − x ) dx = t n (1 − t)p t n −1 dt
0 0 n
1 1 m+1 −1
Z
= t n (1 − t)p+1−1 dt
n 0
1 Γ( m+1
n
) Γ(p + 1)
= m+1
n Γ( n + p + 1)
Z 1
Γ(m)Γ(n)
since xm−1 (1 − x)n−1 dx = B(m, n) = .
0 Z 1 √ Γ(m + n)
To evaluate I = x6 1 − x2 dx, we set m = 6, n = 2, p = 1
2
in the above calculated
0
integral and obtain
Z 1 √
1 Γ( 27 )Γ( 32 ) 1 5 3 1 Γ( 1 ) 1 Γ( 1 ) 15
I= x6 1 − x2 dx = = 222 2 2 2 = π
0 2 Γ(5) 2 4! 32 × 24
√
as Γ( 12 ) = π. Thus
Z 1 √
5π
x6 1 − x2 dx =
0 256
Note: This integral can be easily evaluated by using the substitution x = sin θ, but the
question requires us to use the above integral and Γ functions.
2
Now L’Hospital’s rule is applicable for the evaluation of the given limit. Thus
sin x
a sin2 x + b log cos x 2a sin x cos x − b cos x
lim = lim
x→0 x4 x→0 4x3
2a cos2 x − b
= lim
x→0 4x2
sin x
since lim = 1.
x→0 x cos x
The limit on the right hand side would be finite when lim 2a cos2 x − b = 2a − b = 0.
x→0
Letting 2a − b = 0, we use L’Hospital’s rule again to get
∂ 2z ∂ 2z 2
2∂ z
x2 + 2xy + y =0
∂x2 ∂x ∂y ∂y 2
∂ 2f ∂ 2f 2
2∂ f
x2 + 2xy + y = n(n − 1)f
∂x2 ∂x ∂y ∂y 2
Proof: Euler’s theorem about homogeneous functions states that if f (x, y) is a homo-
geneous function of degree n possessing continuous partial derivatives of degree 1, then
x ∂f
∂x
+ y ∂f
∂y
= nf , and conversely, if f (x, y) has continuous partial derivatives of second order
and x ∂x + y ∂f
∂f
∂y
= nf , then f (x, y) is a homogeneous function of degree n. (For proof, see
1996, question 2(a)).
We first prove that ∂f , ∂f are homogeneous of degree n−1. Since f (x, y) is a homogeneous
∂x ∂y
function of degree n, we have f (αx, αy) = αn f (x, y). Differentiating this with respect to x
and using the chain rule, we get
∂f ∂f
α (αx, αy) = αn (x, y)
∂x ∂x
∂f ∂f
(αx, αy) = αn−1 (x, y)
∂x ∂x
3
Thus ∂f
∂x
and similarly ∂f
∂y
are homogeneous of degree n − 1. Now apply Euler’s theorem to
∂f ∂f
, :
∂x ∂y
∂ 2f ∂ 2f ∂f
x 2
+ y = (n − 1)
∂x ∂y ∂x ∂x
2 2
∂ f ∂ f ∂f
x + y 2 = (n − 1)
∂x ∂y ∂y ∂y
∂ f 2 2
Multiplying the first by x and the second by y, and remembering that ∂x ∂y
= ∂y∂ ∂x
f
because
f has continuous partial derivatives of second order, we get
2
∂ 2f 2
2∂ f 2∂ f ∂f ∂f
x + 2xy +y = (n − 1) x +y = n(n − 1)f
∂x2 ∂x ∂y ∂y 2 ∂x ∂y
as x ∂f
∂x
+ y ∂f
∂y
= nf . Q.E.D.
Applying this result to the current problem,
2
∂ 2z 2 2
∂ 2 w1 2
2∂ z 2∂ z 2∂
w1 2 ∂ w1
x + 2xy + y = x + 2xy +y
∂x2 ∂x ∂y ∂y 2 ∂x2 ∂x ∂y ∂y 2
2
∂ 2 w2 2
2 ∂ w2 2 ∂ w2
+ x + 2xy +y
∂x2 ∂x ∂y ∂y 2
= 1.0.w1 + 0. − 1.w2 = 0
4
Question 2(d) Find the volume of the uniform ellipsoid
x2 y 2 z 2
+ 2 + 2 =1
a2 b c
Solution. Let x = aX, y = bY, z = cZ, so that dx dy dz = abc dX dY dZ and the ellipsoid
is transformed into the sphere X 2 + Y 2 + Z 2 = 1.
Paper II
5
R1
Thus the first integral converges if and only if 0
2
φ(x) dx converges, and the second integral
R1
converges if and only if 1 ψ(x) dx converges.
2
1 21 r
√
Z
2
− 12 1 1
x dx = 2x 2 =2 −2
2
1− 1−
√
Z
− 12 1 1
(1 − x) dx = −2(1 − x) 2 = 2√ − 2
1
2
1
2
2
1 1
Z Z 1− Z
2 2 dx
showing that lim φ(x) dx and lim ψ(x) dx exist. Thus the integrals 1 1
→0 →0 1
2
0 x (1 − x) 2
2
Z 1
dx
and 1 1 are convergent, so the given integral is convergent.
1 x 2 (1 − x) 2
2
Question 3(b) Prove that the function defined below is nowhere continuous.
(
1, when x is rational
f (x) =
−1, when x is irrational
Solution. Let a ∈ R. If f is continuous at a, then given > 0 there exists δ > 0 such that
|x − a| < δ ⇒ |f (x) − f (a)| < 2 . Now for x1 , x2 with |x1 − a| < δ, |x2 − a| < δ, we get
|f (x1 ) − f (x2 )| ≤ |f (x1 ) − f (a)| + |f (a) − f (x2 )| <
But given 0 < < 1, whatever δ > 0, we can get x1 rational and x2 irrational, |x1 − a| <
δ, |x2 − a| < δ, so |f (x1 ) − f (x2 )| = |1 − (−1)| = 2 6< , therefore f (x) cannot be continuous
at a. Since a is arbitrary, f is not continuous anywhere.
Question 4(a) A twice differentiable function f is such that f (a) = f (b) = 0, and f (c) > 0
for a < c < b. Prove that there is at least one value of ξ, a < ξ < b for which f ”(ξ) < 0.
this would mean that 0 ≥ f 0 (b) ≥ f 0 (a) ≥ 0 ⇒ f 0 (a) = f 0 (b) = 0 ⇒ f 0 (x) = 0 as f 0 (x) is
non-decreasing. Thus f (x) is a constant on [a, b] ⇒ f (x) = 0 as f (a) = f (b) = 0. But this
contradicts f (c) > 0, so our assumption that f 00 (ξ) ≥ 0 must be incorrect — there must be
some ξ, a < ξ < b for which f ”(ξ) < 0.
(i) is continuous at (0, 0) (ii) possesses partial derivatives fx (0, 0) and fy (0, 0).
6
Solution. (i) Let x = r cos θ, y = r sin θ, then
r cos3 θ + 2r3 sin3 θ
3
p
|f (x, y) − f (0, 0)| = ≤ 3r = 3 x2 + y 2
r2
p
Thus given > 0, choose any δ, 0 < δ < 3 , such that x2 + y 2 < δ ⇒ |f (x, y) − f (0, 0)| < .
Thus f (x, y) is continuous at (0, 0).
h3
f (h, 0) − f (0, 0) h2
−0
(ii) fx (0, 0) = lim = lim = 1.
h→0 h h→0
3
h
2h
f (0, h) − f (0, 0) 2 − 0
fy (0, 0) = lim = lim h = 2.
h→0 h h→0 h
Thus both fx (0, 0) and fy (0, 0) exist.
x2 y 2 z 2
+ 2 + 2 =1
a2 b c
Solution. See above, question 2(d).
7
UPSC Civil Services Main 1979 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) If a function f (z) is analytic and bounded in the whole plane, show that
f (z) reduces to a constant. Hence show that every polynomial has a root.
Solution. See 1989, question 2(b) for the first part. See 1996 question 2(a) for the second
part.
1.
2π
sin2 θ
Z
dθ (a > b > 0)
0 a + b cos θ
2. 1
Z ∞
x 6 log x
dx
0 (1 + x)2
Solution.
1. Let
2π 2π
sin2 θ 1 − cos 2θ
Z Z
1
I= dθ = dθ
0 a + b cos θ 2 0 a + b cos θ
Z 2π
1 1
Let I1 = dθ. Put z = eiθ so that
2 0 a + b cos θ
Z Z
1 dz 1 dz
I1 = =
2 |z|=1 iz(a + 2b (z + z1 )) i |z|=1 bz 2 + 2az + b
1
√
1 −a + a2 − b2
The integrand has two simple poles at z1 = , z2 =
√ bz 2 + 2az + b b
−a − a2 − b2
. Since a > b > 0, |z2 | > 1, but |z1 z2 | = 1 so |z1 | < 1 i.e. the
b
pole at z = z1 lies within |z| ≤ 1.
z − z1 1 1 1 1
Residue at z1 is lim 2 = = √ . Thus I1 = 2πi √ =
z→z1 bz + 2az + b 2bz1 + 2a 2 a2 − b2 i 2 a2 − b2
π
√ . Let
a − b2
2
1 2π cos 2θ
Z 2π
e2iθ dθ
Z
1
I2 = dθ = Re
2 0 a + b cos θ 2 0 a + b cos θ
Z 2
1 1 2z dz
= Re
2 i |z|=1 bz 2 + 2az + b
1 z2
= Re × 2πi Residue of 2 at z = z1
i bz + 2az + b
1 z12
= 2π
b z1 − z2
Thus
2π 2πz12
I1 − I2 = −
b(z1 − z2 ) b(z1 − z2 )
2π
= √ (1 − z12 )
2 a2 − b2
√
π a2 − 2a a2 − b2 + (a2 − b2 )
= √ 1−
a2 − b2 b2
√ √
π a − a2 − b2
= √ 2 a2 − b2
a2 − b2 b2
2π
Thus I = √ .
a + a2 − b2
1
γR
log z
2. Let f (z) = z(1+z)
6
2 and the contour C as
2
(a) Clearly f (z) has a double pole at z = −1. Residue of f (z) at z = −1 is
1
1 d (z + 1)2 z 6 log z
1! dz (z + 1)2 at z=1
1
z6 1 5 log z + 6
= + z − 6 log z = 5 at z = eiπ
z 6 at z=−1=e iπ 6z 6
iπ
log e + 6 iπ + 6 5π 5π
= 5iπ = cos − i sin
6e 6 6 6 6
√
√
iπ + 6 3 1 1
= − − i = − (6 + iπ)( 3 + i)
6 2 2 12
(b) On γR , z = Reiθ , |z + 1| ≥ |z| − 1 = R − 1 and | log z| = | log Reiθ | = | log R + iθ| ≤
log R + θ ≤ log R + 2π as 0 ≤ θ ≤ 2π. Thus
Z 1 Z 2π 1 7
z 6 log z R 6 (log R + 2π) R6
2
dz ≤
R dθ = 2π (log R + 2π)
γR (1 + z) 0 (R − 1)2 (R − 1)2
7 7
R 6 log R 2πR 6
Clearly lim + = 0, and therefore
R→∞ (R − 1)2 (R − 1)2
Z 1
z 6 log z
lim dz = 0
R→∞ γ (1 + z)2
R
3
Equating real and imaginary parts, we get
1
1 ∞ x 6 log x
Z √ Z ∞ x 16 π √
dx + 3π dx = (6 + π 3) (1)
2 0 (1 + x)2 0 (1 + x)2 6
√ Z ∞ 1 1
3 x 6 log x
Z ∞
x6 π √
− 2
dx − π 2
dx = (π − 6 3) (2)
2 0 (1 + x) 0 (1 + x) 6
√
Multiplying (1) by 3 and adding
1
Z ∞
x 6 log x π √ √ π √
− 2
dx = 6 + π 3 + 3π − 18 = 2π 3 − 12
0 (1 + x) 6 6
Thus 1
∞
π2
Z
x 6 log x
dx = 2π − √
0 (1 + x)2 3
√
In addition, multiplying (2) by 3 and adding, we get
1
∞
π √ √
Z
x6
2π dx = 6 3 + 3π + π − 6 3
0 (1 + x)2 6
giving us
Z ∞ 1
x6 2π
dx =
0 (1 + x)2 3
4
UPSC Civil Services Main 1980 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
1
Question 1(a) Find the expansion in powers of z of in the region 0 < |z| <
z(z − 1)(z + 3)
4.
Solution. It can easily be seen that
1 1 1 1
f (z) = =− + +
z(z − 1)(z + 3) 3z 4(z − 1) 12(z + 3)
1. Region 0 < |z| < 1.
1 1 −1 1 z −1
f (z) = − − (1 − z) + 1+
3z 4 36 3
∞ ∞
1 1X n 1 X z n
= − − z + (−1)n
3z 4 n=0 36 n=0 3
∞
1 2 X n 1 (−1)n
= − − + z − +
3z 9 n=1 4 3n
This is the Laurent expansion of f (z) in the region 0 < |z| < 1. The given function
satisfies the requirements of Laurent’s theorem.
2. Region 1 < |z| < 3.
1 1 1 −1 1 z −1
f (z) = − + 1− + 1+
3z 4z z 36 3
∞ ∞
1 1 X 1 1 X z n
= − + n
+ (−1)n
3z 4z n=0 z 36 n=0 3
∞ ∞
1 X z n 1 1X 1
= (−1)n − +
36 n=0 3 12z 4 n=1 z n+1
1
This is again the Laurent expansion valid in the annular region 1 < |z| < 3.
3. Region |z| > 3
1 1 1 −1 1 3 −1
f (z) = − + 1− + 1+
3z 4z z 3z z
∞ ∞
1 1 X 1 1 X 3 n
= − + n
+ (−1)n
3z 4z n=0 z 3z n=0 z
∞
1 X 1 1 n−1 n
= + + 3 (−1)
4z n=1 z n+1 4
z2
The integrand 2
has two simple poles, which are given by 2z 2 + 5iz − 2 = 0
5iz + 2z − 2
or 2(z + 2i )(z + 2i) = 0. Out of the two poles z = −2i, − 2i , only z = − 2i is inside the
( 2i )2 i2
unit disc |z| ≤ 1. Residue at this pole is given by i = 4(3i) = 12i . Thus by
2(− 2 + 2i)
Cauchy’s residue theorem
Z 2π
z 2 dz e2iθ
Z
i π
2
= dθ = 2πi = −
|z|=1 5iz + 2z − 2 0 5 + 4 sin θ 12 6
2
Equating real and imaginary parts, we get
Z 2π Z 2π
cos 2θ π sin 2θ
dθ = − , dθ = 0
0 5 + 4 sin θ 6 0 5 + 4 sin θ
3
UPSC Civil Services Main 1981 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Solution.
We consider first of all C − {positive real axis} i.e. there is a cut along the real axis
for which x ≥ 0 to make log z single valued. We choose that branch of log z for which
log z = log x when z = x, x > 0.
1
R ∞ a−1 a−1
For 0 x1+x dx we take f (z) = z1+z and γR
the contour C as shown in the figure. γr
is a circle of radius r oriented clockwise, B C
and γR is a circle of radius R oriented an-
ticlockwise. BC is the line joining (r, 0) O
E D
to (R, 0), so is DE. We finally make γr
r → 0 and R → ∞. Note that on BC
z a−1 = xa−1 and on DE z a−1 = (xe2πi )a−1 .
z a−1
(a) Clearly f (z) = has a simple pole at z = −1 inside the contour. Residue at
1+z
z = −1 = eπi of f (z) is (eπi )a−1 . Thus
z a−1
Z
lim dz = 2πi(−eπia )
R→∞ C 1 + z
r→0
(c) Similarly
z a−1 ra
Z
dz ≤ 2π
γr 1 + z
1−r
z a−1
Z
because |z + 1| ≥ 1 − |z|. Thus lim dz = 0.
r→0 γ 1 + z
r
Thus
z a−1 xa−1 xa−1 e2πi(a−1)
Z Z Z
lim dz = lim dx + lim dx
R→∞ C 1+z R→∞ BC 1 + x R→∞ DE 1+x
r→0 r→0 r→0
Z ∞ a−1 Z 0 a−1
x x
= dx + e2πia dx
0 1+x ∞ 1+x
2
Alternate proof: This avoids the use of multiple valued functions. In 1991, question
2(c), we proved Z ∞
eax π
x
dx = for 0 < a < 1
−∞ 1 + e sin aπ
Put ex = t, then
Z ∞ Z ∞ a Z ∞ a−1
eax t dt t
x
dx = = dt
−∞ 1 + e 0 1+t t 0 1+t
Z ∞ a−1
t π
Thus dt = , 0 < a < 1.
0Z 1+t sin aπ
∞
sin2 x 1 ∞ sin2 x
Z
2. Clearly dx = dx
0 x2 2 −∞ x2 γR
2 2ix
sin x 1−e
and 2
is the real part of ,
x 2x2
2iz
1−e
therefore we take f (z) = and γr
2z 2
the contour C as shown. Finally we let
R → ∞, r → 0.
A(−R, 0) B(−r, 0) C(r, 0) D(R, 0)
where a−1 is the residue of f (z) at z = a. See 1985, question 1(c) for more details
and proof.
3
Thus ∞
1 − e2πiz 1 − e2πix
Z Z
lim dz = dx − π = 0
R→∞ C 2z 2 −∞ 2x2
r→0
1 sinh z
z+ +
z−1 z2
Solution.
1 1
1. z−1
is analytic in the annular region 0 ≤ |z| < 1, so we have the Taylor series for z−1
valid in 0 ≤ |z| < 1. In fact for |z| < 1,
∞
1 −1
X
= −(1 − z) = − zn
z−1 n=0
sinh z
2. z2
has a simple pole at z = 0 and is analytic everywhere else. We have Laurent
series valid in |z| > 0:
∞
sinh z 1 X z 2n+1
=
z2 z 2 n=0 (2n + 1)!
ez + e−z
Note that sinh z = , which gives us the desired expansion.
2
Thus ∞ ∞
1 sinh z X
n 1 X z 2n+1
z+ + = z − z +
z−1 z2 n=0
z 2 n=0 (2n + 1)!
or ∞ X ∞
1 sinh z 1 z X 2n+1 1
z+ + = − 1 + + z − 1 − z 2n
z−1 z2 z 3! n=1 (2n + 3)! n=1
4
UPSC Civil Services Main 1982 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(b) Find the function f (z), holomorphic within the unit circle, which takes the
values
a − cos θ + i sin θ
a2 − 2a cos θ + 1
on the circle.
if a > 1.
Solution. Note: Even though the question restricts us to a > 1, we shall also consider the
case 0 < a < 1 for completeness.
1
D(−π, R) C(π, R)
We take f (z) = 1−aez −iz and the con-
tour C is the rectangle ABCD where A =
(−π, 0), B = (π, 0), C = (π, R), D = (−π, R) C
oriented in the anticlockwise direction. We
let R → ∞ eventually. A(−π, 0) B(π, 0)
Clearly f (z) has simple poles at points z given by eiz = a = elog a+2nπi , n ∈ Z. Thus
z = −i log a + 2nπ, n ∈ Z.
Thus when a > 1 i.e. log a > 0, f (z) has no pole in the vertical strip bounded by
x = −π, x = π, y > 0. When 0 < a < 1, f (z) has a simple pole at z = −i log a inside C.
Residue at z = −i log a is given by limz→−i log a (z+i log a)z
1−ae−iz
−i log a
= aie − log a = − log a.
2π(π + |R|) R
Now limR→∞ = 0, so CD
f (z) dz = 0.
aeR − 1
2. Z Z π Z 0 Z π
x dx x dx x dx
f (z) dz = = +
AB −π 1 − ae−ix −π 1 − ae−ix 0 1 − ae−ix
Changing x to −x in the first integral, we get
Z Z π Z π
x dx x dx
f (z) dz = −
AB 1 − ae−ix 0 1 − ae
ix
Z0 π ix −ix
ax(−e + e )
= ix −ix ) + a2
dx
0 1 − a(e + e
Z π
−2iax sin x
= 2
dx
0 1 − 2a cos x + a
2
3. On BC, z = π + iy and on DA, z = −π + iy, dz = i dy, and
Z Z
lim f (z) dz + f (z) dz
R→∞ BC DA
Z ∞ Z 0
π + iy −π + iy
= i y−iπ
dy + i y+iπ
dy
0 1 − ae ∞ 1 − ae
Z ∞
π + iy −π + iy
= i − dy
0 1 + aey 1 + aey
Z ∞ ∞
e−y −y a+1
= 2πi −y
dy = −2πi log(e + a) = 2πi log
0 e +a 0 a
Thus
(
π
−2iax sin x
Z Z
a+1 0, when a > 1
lim f (z) dz = dx + 2πi log =
R→∞ C 0 1 − 2a cos x + a2 a −2πi log a, when 0 < a < 1
3
UPSC Civil Services Main 1983 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Obtain the Taylor and Laurent series expansions which represent the func-
z2 − 1
tion in the regions
(z + 2)(z + 3)
(i) |z| < 2 (ii) 2 < |z| < 3 (iii) |z| > 3.
1. |z| < 2. In this region f (z) is analytic and therefore will have Taylor series. It can be
checked easily using partial fractions that
3 8
f (z) = 1 + −
z+2 z+3
Therefore
−1 −1
3 z 8 z
f (z) = 1 + 1+ − 1+
2 2 3 3
∞ n ∞ n
3X n z 8X n z
= 1+ (−1) − (−1)
2 n=0 2 3 n=0 3
∞
1 X 3 8
= − + (−1)n n+1 − n+1 z n
6 n=1 2 3
1
2. 2 < |z| < 3: In this case we shall have a Laurent series.
−1 −1
3 2 8 z
f (z) = 1 + 1+ − 1+
z z 3 3
∞ n ∞ n
3 X
n 2 8 X
n z
= 1+ (−1) − (−1)
z n=0 z 3 n=0 3
∞ ∞
X
n 2n 5 8X zn
= 3 (−1) − − (−1)n n
n=1
z n+1 3 3 n=1 3
Solution.
a−1
z
We take f (z) = 1+z 2 and the contour
Now Z π a−1
z a−1 πRa
Z
≤ R
1 + z2 dz 2
R dθ ≤ → 0 as R → ∞ ∵ 0 < a < 2
Γ 0 R −1 R2 − 1
and Z π a−1
a−1
πra
Z
z
≤ r
1 + z2 dz 2
r dθ ≤ → 0 as r → 0 ∵ a > 0
γ 0 1−r r2 − 1
2
Here we use |1 + z 2 | ≥ 1 − |z|2 = 1 − r2 . Thus
Z Z 0 Z ∞
iπ
lim f (z) dz = f (xe )(− dx) + f (x) dx
R→∞ C −∞ 0
r→0
∞ Z ∞ a−1
xa−1 eiπ(a−1)
Z
x
= 2
dx + dx
0 1+x 0 1 + x2
Z ∞ a−1
x
= 1 + cos π(a − 1) + i sin π(a − 1) dx
0 1 + x2
1 π(a − 1) π(a − 1)
= 2πi · cos + i sin
2i 2 2
Equating the real parts on both sides,
∞
xa−1 π(a − 1)
Z
1 + cos π(a − 1) dx = π cos
0 1 + x2 2
or ∞
xa−1 π(a − 1)
Z
2
dx = π sec
0 1+x 2
Equating the imaginary parts also gives us the same answer.
Alternate solution: In 1984, question 1(b), we obtained
Z ∞ a−1 Z ∞ a−1
2 πa t log t t π2 πa
2 sin 2
dt + π sin πa 2
dt = cos
2 0 1+t 1+t 2 2
Z ∞ a−1 Z0 ∞ a−1 2
t log t t π πa
− sin πa 2
dt − π cos πa 2
dt = sin
0 1+t 0 1+t 2 2
Multiplying the first by cos πa
2
and the second by sin πa
2
and adding gives us
πa ∞ ta−1 π 2 2 πa
Z
πa 2 πa
π sin πa cos − π cos πa sin dt = cos + sin
2 2 1 + t2 2 2 2
Z0
aπ ∞ ta−1
π 2
=⇒ π sin aπ − dt =
2 1 + t2 2
Z0 ∞ a−1
t π 1 π π π
=⇒ 2
dt = aπ = π aπ
= sec(a − 1)
0 1+t 2 sin 2 2 cos 2 − 2 2 2
as calculated before.
Note: In this solution the advantage is that we avoid the use of the multiple valued
function log z, however it is much longer.
3
UPSC Civil Services Main 1984 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Z ∞
x sin mx
Question 1(a) Evaluate by contour integration method dx.
0 x 4 + a4
∞
xa−1 log x
Z
Question 1(b) Evaluate by contour integration method dx, 0 < a < 2.
0 1 + x2
1
2.
π
Z π
(−R + iy)e−aR+iay (−R + y)e−aR π(R + π)e−aR
Z Z
f (z) dz = i dy ≤ dy ≤
DA 0 1 + e2(−R+iy)
0 1 − e−2R 1 − e−2R
Z
−aR −aR 1
But limR→∞ Re = 0 (note that e ≤ a2 R2 ), therefore lim f (z) dz = 0.
R→∞ DA
∞
xeax
Z Z
3. lim f (z) dz = dx.
R→∞ AB −∞ 1 + e2x
−∞
(x + iπ)ea(x+iπ)
Z Z
4. lim f (z) dz = dx as z = x + iπ.
R→∞ CD ∞ 1 + e2x+2iπ
Thus
∞ Z ∞
xeax (x + iπ)ea(x+iπ)
Z Z
lim f (z) dz = dx − dx
R→∞ C −∞ 1 + e2x −∞ 1 + e2x
∞ Z ∞ ax iπa
xeax (1 − eiπa )
Z
e e
= dx − iπ dx
−∞ 1 + e2x −∞ 1 + e
2x
πi
The poles of f (z) are given by e2z = e(2n+1)πi . The only pole in the strip 0 ≤ y ≤ π is z = 2
and it is a simple pole.
πi πia
πi
zeaz (z − πi2
) 2
e 2 πi πia
Residue at z = 2 is limπi 2z
= πi
= − e 2 . Thus
z→ 2 1+e 2e 4
∞ ∞
xeax (1 − eiπa ) eax eiπa
Z Z
πi πia
dx − iπ dx = 2πi − e 2 (1)
−∞ 1 + e2x −∞ 1 + e2x 4
2
Put ex = t as before, to get
Z ∞ a−1 Z ∞ a−1
t log t t π2 πa
− sin πa 2
dt − π cos πa 2
dt = sin (3)
0 1+t 0 1+t 2 2
Multiplying (2) by cos πa and (3) by sin πa and adding we get
∞ ta−1 log t π2
Z
2 πa 2 πa πa
2 sin cos πa − sin πa dt = cos πa cos + sin πa sin
2 0 1 + t2 2 2 2
2 2
π πa π πa
= cos πa − = cos
2 2 2 2
πa πa h πa i
Now 2 sin2 cos πa − sin2 πa = 2 sin2 cos πa − 2 cos2
2 2 h 2
πa πa πa i
= 2 sin2 2 cos2 − 1 − 2 cos2
2 2 2
2 πa
= −2 sin
Z ∞ a−1 2
2
t log t π πa πa
⇒ 2
dt = − cos 2 sin2
0 1+t 2 2 2
2
π πa πa
= − cot csc
4 2 2
as required.
and this Laurent expansion is valid in some deleted neighborhood 0 < |z − z0 | < δ of z0 .
If limz→z0 f (z) does not exist, then f (z) has an essential singularity at z = z0 . (Note
that limz→z0 f (z) is not finite as z0 is not a removable singularity). In this case
∞
X
f (z) = an (z − z0 )n
n=−∞
and a−n 6= 0 for infinitely many n. Again this Laurent expansion is valid in some deleted
neighborhood 0 < |z − z0 | < δ of z0 .
3
The second part is Casorati-Weierstrass theorem. Let f (z) be analytic in some deleted
neighborhood N of a. Suppose that there exists > 0 such that |f (z) − η| < is not satisfied
1
for any z ∈ N i.e. |f (z) − η| ≥ for every z ∈ N . Let g(z) = f (z)−η . Then g(z) is analytic
in N and g(z) is bounded in N , therefore g(z) has a removable singularity at a. Since g(z)
is not constant as f (z) is not constant, either g(a) 6= 0 or g(z) has a zero of order k > 0 at
z = a. This means that f (z) − η is either analytic at z = a or f (z) − η has a pole of order k
at z = a. But this is not true, because f (z) has an essential singularity at z = a. Thus our
assumption is false i.e. we must have z ∈ N for which |f (z) − η| < . Note that we could
take our deleted neighborhood N of the type 0 < |z − a| < δ ≤ ρ.
4
UPSC Civil Services Main 1985 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Prove that every power series represents an analytic function within its
circle of convergence.
∞
X
Solution. Let f (z) = an z n have R as its radius of convergence. We shall show that for
n=0
∞
X
0
any z in the region C = {z : |z| < R}, f (z) = nan z n−1 . We first of all note that the
n=1
∞
1
X
radius of convergence of the series nan z n−1 is also R as lim n n = 1.
n→∞
n=1
Let z ∈ C and |z| < ρ < R and let h be chosen so small that |z| + |h| ≤ ρ < R. Thus
(z + h)n − z n
n−1
(z + h) − z ≤ (|z| + |h|)
+ |z|(|z| + |h|)n−2 + . . . + |z|n−1 ≤ nρn−1 (1)
∞
X
Since the series nan ρn−1 is convergent, given > 0 ∃N1 > 0 such that
n=1
∞
X r−1
r|ar |ρ < for n ≥ N1
r=n+1
3
∞
X
and in particular r|ar |ρr−1 < . (2)
r=N +1
3
1
(z − h)n − z n
n−1
Since lim an − nan z = 0, given > 0 there exists δ > 0 such that
h→0 h
N1 n n
X (z − h) − z n−1
a n − na n z < for |h| < δ (3)
n=1
h 3
1
Now
∞
f (z + h) − f (z) X n−1
− na n z
h n=1
N1 n n ∞ n n
∞
|a n (z + h) − z |
X (z + h) − z n−1
X X
≤
an − nan z + + |nan z n−1 |
n=1
h
n=N +1
h n=N +1
1 1
∞ ∞
X X
= + |an |nρn−1 + |an |nρn−1 for |h| < δ
3 n=N
1 +1 n=N1 +1
<
∞
f (z + h) − f (z) X
Thus lim = nan z n−1 = f 0 (z), so f (z) is analytic in C.
h→0 h n=1
Question 1(b) Prove that the derivative of a function analytic in a domain is itself an
analytic function.
Solution. Cauchy’s integral formula states that if f (z) is analytic within and on a simple
closedZ countour C oriented positively and if z0 is any interior point of C, then f (z0 ) =
1 f (z) dz
.
2πi C z − z0
Let f (z) be differentiable in a domain D and z0 ∈ D. Let C be a circle with center
z0 , the boundary of which is positively oriented, such that f (z) is differentiable within
and on C, and Z C along with its interior lies in D. Then by Cauchy’s integral formula,
1 f (z) dz
f (z0 ) = .
2πi C z − z0
Let h ∈ C be so small that z0 + h also lies in the interior of C.
Z
f (z0 + h) − f (z0 ) 1 f (z) f (z)
= − dz
h 2πih C z − z0 − h z − z0
Z
1 hf (z) dz
=
2πih C (z − z0 − h)(z − z0 )
Z
1 f (z) dz
=
2πi C (z − z0 − h)(z − z0 )
Now
f (z0 + h) − f (z0 )
Z
1 f (z) dz
−
h 2πi C (z − z0 )2
Z
1 f (z) f (z)
= − dz
2πi C (z − z0 − h)(z − z0 ) (z − z0 )2
Z
1 hf (z) dz
=
2πi C (z − z0 − h)(z − z0 )2
2
Let M = supz∈C |f (z)|, l = length of C, d = minz∈C |z − z0 |, d > 0. Since we are interested
in h → 0, we could have assumed in the beginning itself that 0 < |h| < d. Thus we get
f (z0 + h) − f (z0 ) M |h|l
Z
1 f (z) dz
− 2
≤
h 2πi C (z − z0 ) 2πd2 (d − |h|)
Since the right hand side of the above inequality tends to 0 as h → 0, it follows that
f (z0 + h) − f (z0 )
Z
1 f (z) dz
lim =
h→0 h 2πi C (z − z0 )2
i.e. f (z) is differentiable at z0 and since z0 is an arbitrary point of D, it follows that
Z
0 1 f (ζ) dζ
f (z) =
2πi C (ζ − z)2
where C is any positively oriented circle containing z in its interior.
We shall now prove that Z
00 2! f (z) dz
f (z0 ) =
2πi C (z − z0 )3
where z0 , C are as chosen above. Let h be also chosen as above. Then
f 0 (z0 + h) − f 0 (z0 )
Z
2! f (z) dz
−
h 2πi C (z − z0 )3
Z
1 1 1 2h
= f (z) − − dz
2πih C (z − z0 − h)2 (z − z0 )2 (z − z0 )3
(z − z0 )3 − (z − z0 − h)2 (z − z0 ) − 2h(z − z0 − h)2
Z
1
= f (z) dz
2πih C (z − z0 − h)2 (z − z0 )3
Now (z − z0 )3 − (z − z0 − h)2 (z − z0 ) − 2h(z − z0 − h)2
= (z − z0 )[(z − z0 )2 − (z − z0 − h)2 ] − 2h[(z − z0 )2 − 2h(z − z0 ) + h2 ]
= (z − z0 )h[2(z − z0 ) − h] − 2h(z − z0 )2 + 4h2 (z − z0 ) − 2h3
= h[2(z − z0 )2 − h(z − z0 ) − 2(z − z0 )2 + 4h(z − z0 ) − 2h2 ]
= h2 [3(z − z0 ) − 2h]
Thus we get
0
f (z0 + h) − f 0 (z0 ) f (z) dz M |h|(3ρ + 2|h|2 )l
Z
2!
− ≤
h 2πi C (z − z0 )3 2πd3 (d − |h|)2
where M, d, ρ are as before. Since the right hand side of the above inequality tends to 0 as
h → 0, it follows that
f 0 (z0 + h) − f 0 (z0 )
Z
00 2! f (z) dz
f (z0 ) = lim =
h→0 h 2πi C (z − z0 )3
i.e. f 0 (z) is also analytic in D.
3
Z ∞
x sin ax
Question 1(c) Evaluate by the method of contour integration dx.
0 x 2 − b2
zeiaz
Solution. We take f (z) = z 2 −b2
and the contour C consisting of the following
Eventually we will let R → ∞, r1 , r2 → 0. Now the integrand has no pole in the upper half
plane, therefore
zeiaz dz
Z
lim =0
R→∞ C (z 2 − b2 )
r1 →0
r2 →0
1. On Γ,
i iaReiθ
Z iaz
Z π
ze dz
≤ Re θe iθ
(z 2 − b2 ) Rie dθ
Γ 0 R 2 − b2
because of Γ, |z 2 − b2 | ≥ |z|2 − b2 = R2 − b2 .
Z π Z π
zeiaz dz R2 2R2
Z
2
−aR sin θ
e−aR sin θ dθ
(z 2 − b2 ) ≤ R2 − b2 e dθ = 2
R − b 2
Γ 0 0
(We can double the integral and halve the limit, because sin(π − θ) = sin θ). Using
Jordan’s inequality sin θ ≥ 2θ
π
for 0 ≤ θ ≤ π2 we get
Z π
zeiaz dz 2R2 2R2 1 − e−aR πR(1 − e−aR )
Z
2
−aR 2θ
≤
(z 2 − b2 ) R2 − b2 e π dθ = =
Γ 0 R2 − b2 2aR/π a(R2 − b2 )
zeiaz dz
Z
showing that lim = 0.
R→∞ Γ (z 2 − b2 )
2.
4
To get the value of the integral along γ1 , γ2
we observe that if f (z) has a simple pole at γr
z = a and γr is a part of a circle of radius
r with center a, then
Z
lim f (z) dz = ia−1 (θ2 − θ1 ) θ2
r→0 γr
Proof: Let
a−1 a−1
f (z) = + a0 + a1 (z − a) + a2 (z − a)2 + . . . = + φ(z)
z−a z−a
where φ(z) is analytic in the circle |z − a| ≤ r. Thus
Z
φ(z) dz ≤ M r(θ2 − θ1 )
γr
Z
where M = sup|z−a|=r |φ(z)|. Thus lim φ(z) dz = 0 and
r→0 γr
Z Z Z θ2
a−1 dz
lim f (z) dz = =i a−1 dθ = ia−1 (θ2 − θ1 )
r→0 γr γr z−a θ1
zeiaz
Now the residue of 2 at z = b is 21 eiab , and the residue at z = −b is 12 e−iab .
z − b2
Thus limr1 →0 γ1 f (z) dz = 12 ie−iab (0−π) = − iπ2 e−iab and limr2 →0 γ2 f (z) dz = 21 ieiab (0−
R R
π) = − iπ2 eiab .
Using the above data we get
Z ∞
zeiaz dz xeiax dx
Z
iπ iπ
0 = lim 2 2
= 2 2
− e−iab − eiab
R→∞ C (z − b ) −∞ (x − b ) 2 2
r1 →0
r2 →0
or ∞
xeiax dx
Z
= πi cos(ab)
−∞ (x2 − b2 )
Taking imaginary parts, we get
Z ∞
x sin ax dx
= π cos(ab)
−∞ (x2 − b2 )
or Z ∞
x sin ax dx π cos(ab)
2 2
=
0 (x − b ) 2
5
UPSC Civil Services Main 1986 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let f (z) be single valued and analytic within and on a simple closed curve
C. If z0 is any point in the interior of C, then show that
Z
1 f (z) dz
f (z0 ) =
2πi C z − z0
where the integral in taken in the positive sense around C.
Solution. This is known as the Cauchy integral formula. We shall show that given > 0
Z
1 f (z) dz
− f (z0 ) <
C z − z0
2πi
1
Therefore
Z Z Z
1 f (z) dz 1 f (z) dz dz
− f (z0 ) =
− f (z0 )
C z − z0 2πi C z − z0 γ z − z0
2πi
f (z) − f (z0 )
Z
1
=
dz
2πi γ z − z0
Z
1
≤ |dz| = length of γ =
2πρ γ 2πρ
Z
1 f (z) dz
Thus − f (z0 ) = 0 and the proof is complete.
2πi C z − z0
Question 1(b) By the contour integration method show that
Z ∞ √
dx π 2
1. = where a > 0.
0 x 4 + a4 4a2
Z ∞
sin x π
2. dx =
0 x 2
Solution.
1
1. We take f (z) = z4 +a 4 and the contour C Γ
consisting of Γ a semicircle of radius R
with center (0, 0) lying in the upper half
plane, and the line AB joining (−R, 0) and
(R, 0). C is positively oriented. A(−R, 0) (0, 0) B(R, 0)
πi
(a) Poles of f (z) are given by z = ±ae± 4 = ±a[cos π4 ± i sin π4 ], out of which z =
πi πi
ae 4 , z = −ae− 4 are in the upper half plane.
−1
πi 1 1 1 i
Residue at z = ae 4 is 3πi = −√ + √ .
4a3 e 4 4a3 2 2
−1
− πi −1 −1 1 i
Residue at z = −ae 4 is 3πi = −√ − √ .
4a 3 e− 4 4a3 2 2
√ √
2 1 1 i 2
Sum of residues is 3 + = − 3 . Thus
4a i − 1 1 + i 4a
√ √
2πi · −i 2
Z
dz 2 2π π
lim 4 4
= 3
= 3
=√
R→∞ C z + a 4a 4a 2a3
(b)
dz π Rieiθ
Z Z
πR
z 4 + a4 ≤ ≤ 4
4 4 R − a4
0 R −a
Γ
Z
4 4 4 4 4 4 dz
because on Γ |z + a | ≥ |z | − a = R − a . Thus lim = 0.
R→∞ Γ z 4 + a4
2
Z Z ∞ Z ∞
dz dx dx
(c) lim = =2 .
R→∞ AB z + a4
4
−∞ x + a4
4
0 x4 + a4
Z iz Z π −R sin θ Z π
e e 2
e−R sin θ dθ
dz ≤ R dθ = 2 (∵ sin(π − θ) = sin θ)
Γ z R
0 0
Z π
2 2θ π
≤ 2 e−R π dθ = 2 · [1 − e−R ]
0 2R
1 − e−R
Z iz
e
showing that lim dz = 0 as lim = 0.
R→∞ Γ z R→∞ R
3
iz
(c) Now ez = z1 + φ(z) where φ(z) is analytic atR z = 0. Thus given > 0, ∃δ >
0 such that |z| < δ ⇒ |φ(z)| < . Thus | γ φ(z) dz| ≤ · (length of γ) ⇒
R
limr→0 γ φ(z) dz = 0.
Z Z 0 iθ
dz re i dθ
= = −iπ
γ z π reiθ
(d)
0 ∞
eiz eix eiz eix
Z Z Z Z
lim dz = dx, lim dz = dx
R→∞,r→0 AB z −∞ x R→∞,r→0 CD z 0 x
Since
0 ∞
eix e−iy
Z Z
dx = − dy
−∞ x 0 y
we get
∞ ∞
eix e−ix
Z Z
dx − dx = iπ
0 x0 x
or Z ∞ ix Z ∞
e − e−ix 1 π sin x π
dx = ⇒ dx =
0 2i x 2 0 x 2
Z ∞ ix Z ∞
e sin x
Note that in (*) we cannot write dx = πi and conclude that dx =
Z ∞ Z ∞ −∞ x −∞ x
cos x cos x
π, dx = 0, because dx has convergence problem at x = 0.
−∞ x −∞ x
4
UPSC Civil Services Main 1987 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
1
Question 1(a) By considering the Laurent series for f (z) = prove that if C
(1 − z)(z
Z − 2)
is a closed contour oriented in the counter clockwise direction, then f (z) dz = 2πi.
C
Solution. Laurent’s theorem states that if f (z) is analytic throughout the annular region
R1 < |z − z0 | < R2 and C is any positively oriented simple closed curve lying in the annular
region and having z0 in its interior, then
∞ Z
X
n 1 f (z) dz
f (z) = an (z − z0 ) where an =
n=−∞
2πi C (z − z0 )n+1
Z
Thus f (z) dz = 2πia−1 .
C
Now in our case: R1 = 1, R2 = 2, z0 = 0 i.e. f (z) is analytic in 1 < |z| < 2. Moreover
−1 −1
1 1 1 1 1 z
f (z) = − = 1− + 1−
z−1 z−2 z z 2 2
∞ ∞
X 1 X zn
Since | z1 | < 1 and | z2 | < 1, we get f (z) = n+1
+ n+1
as the Laurent expansion of
n=0
z n=0
2
f (z) valid in 1 < |z| < 2. Thus
Z if C is a simple closed contour lying in 1 < |z| < 2 with the
origin in its interior, then f (z) dz = 2πi, since a−1 = 1.
C
Note that in this question, the curve C has not been Z clearly specified. If C is in the
region 1 < |z| < 2, but does not contain the origin, then f (z) dz = 0.
C
Note: What about the other cases — C lies in |z| < 1 or |z| > 2
1
Question 1(b) State and prove Cauchy’s residue theorem.
Proof: We enclose each zj , 1 ≤ j ≤ n is a small disc Cj such that Cj along with its
boundary lies within C and, and these discs are small enough that Cj and Ck , j 6= k do not
overlap, or even touch on their boundaries. We now use Cauchy-Goursat theorem:
Theorem (Caucy-Goursat): If C is a simple closed positively oriented contour and
C1 , . . . Cn are simple closed positively oriented contours which lie within C, and whose inte-
riors have no points in common, and if f (z) is a function which is analytic within and on C
except for the interiors of Cj , 1 ≤ j ≤ n, then
Z n Z
X
f (z) dz = f (z) dz
C j=1 Cj
2
UPSC Civil Services Main 1988 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Z
dz
Question 1(a) By evaluating over a suitable contour C prove that
z+2
Z π
1 + 2 cos θ
dθ = 0
0 5 + 4 cos θ
Z
dz
Solution. By using the unit circle |z| = 1 as contour, and integrating , we have
|z|=1 z + 2
Z 2π Z 2π
1 + 2 cos θ 1 + 2 cos θ
proved dθ = 0 — see 1997, question 1(b). Now in dθ put
0 5 + 4 cos θ π 5 + 4 cos θ
θ = 2π − φ so that
Z 2π Z 0 Z π
1 + 2 cos θ 1 + 2 cos(2π − φ) 1 + 2 cos φ
dθ = (−dφ) = dφ
π 5 + 4 cos θ π 5 + 4 cos(2π − φ) 0 5 + 4 cos φ
Z 2π Z π
1 + 2 cos θ 1 + 2 cos θ
Thus dθ = 2 dθ showing that
0 5 + 4 cos θ 0 5 + 4 cos θ
Z π
1 + 2 cos θ
dθ = 0
0 5 + 4 cos θ
.
Note: If the contour was not prescribed, we could have put z = eiθ to get
Z 2π
z2 + z + 1
Z
1 + 2 cos θ 1
dθ = dz
0 5 + 4 cos θ i |z|=1 z(5z + 2z 2 + 2)
1
The integrand has two poles at z = 0, z = − 21 inside |z| = 1, which are simple poles. The
residue at z = 0 is 12 and the residue at z = − 21 is − 12 , so we get
2π
z2 + z + 1
Z Z
1 + 2 cos θ
dz = 0 ⇒ dθ = 0
|z|=1 z(5z + 2z 2 + 2) 0 5 + 4 cos θ
Question Z 1(b) If f (z) is analytic in |z| ≤ R and x, y lie inside the disc, evaluate the
f (z) dz
integral and deduce that a function analytic and bounded for all finite
|z|=R (z − x)(z − y)
z is a constant.
Solution. Cauchy’s integral formula states that if f (z) is analytic on and within the disc
|z| ≤ R, then for any ζ which lies within the disc
Z
1 f (z) dz
f (ζ) =
2πi |z|=R ζ − z
Thus
Z Z Z
f (z) dz 1 f (z) dz f (z) dz 2πi
= − = f (x) − f (y)
|z|=R (z − x)(z − y) x−y |z|=R z−x |z|=R z−y x−y
Solution.
∞
X ∞
X ∞ X
X
|f (z)|2 = f (z) · f (z) = an z n am z m = ap aq z p z q
n=0 m=0 n=0 p+q=n
2
We know that if a power series has a radius of convergence R, then it is uniformly and
absolutely convergent in |z| ≤ r where 0 < r < R, therefore
Z 2π ∞ Z 2π X
1 X
2 1
|f (z)| dθ = ap aq rp rq ei(p−q)θ dθ
2π 0 n=0
2π 0 p+q=n
R 2π
Since 0
ei(p−q)θ dθ = 0 when p 6= q, we get
Z 2π ∞
1 2
X
|f (z)| dθ = |an |2 r2n
2π 0 n=0
P∞
(Note: This shows that if |f (z)| ≤ M on |z| = r, then n=0 |an |2 r2n ≤ M 2 .)
zez dz
Z
Question 2(a) Evaluate if a lies inside the closed contour C.
C (z − a)3
zez
Solution. Clearly the only pole of is of order 3 at z = a. The residue at this pole
(z − a)3
is
1 d2 (z − a)3 zez
1 d z z
1 z z z
a
a
= ze + e = ze + e + e = e 1 +
2! dz 2 (z − a)3 z=a 2 dz z=a 2 z=a 2
and ∞ √ −b2
Z
2
e−x cos 2bx dx = πe
−∞
Thus √ 2
∞ ∞
πe−b
Z Z
−x2 1 −x2
e cos 2bx dx = e cos 2bx dx =
0 2 −∞ 2
4
Question 2(c) Prove that the coefficients cn of the expansion
∞
1 X
= cn z n
1 − z − z2 n=0
analytic in the disc |z| < λ as both the singularities at z = λ and z = µ lie outside it. Thus
f (z) has Taylor P
series expansion with center zP= 0.
Let f (z) = n=0 cn z , then (1 − z − z ) ∞
∞ n 2 n
n=0 cn z = 1. Equating coefficients of like
powers we get
c0 = 1
c1 − c0 = 0
c2 − c1 − c0 = 0
...
cn − cn−1 − cn−2 = 0
Thus cn = cn−1 + cn−2 , n ≥ 2. The cn ’s are Fibonacci numbers.
Now
−1
f (z) =
(z − λ)(z − µ)
−1 1 1
= −
λ−µ z−λ z−µ
−1 −1
−1 1 z −1 z
= √ − 1− − 1−
5 λ λ µ µ
If we confine z to the disc |z| < λ, then | λz | < 1, | µz | < 1 and we have
∞ ∞ ∞
1 X zn zn
X X
f (z) = √ n+1
− n+1
= cn z n
5 n=0 λ n=0
µ n=0
where cn are given as above. But the Taylor series of a function is unique, therefore we have
1 1 1
cn = √ −
5 λn+1 µn+1
n+1 n+1
1 2 −2
= √ √ − √
5 5−1 5+1
√ n+1 √ n+1
1 2( 5 + 1) −2( 5 − 1)
= √ −
5 5−1 5−1
√ n+1 √ n+1
1 5+1 n 5−1
= √ + (−1)
5 2 2
5
UPSC Civil Services Main 1989 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
1
2. Both poles are in C, so
ez dz
Z
1 e
3
= Residue at 0 + Residue at 1 = 1 −
2πi C z(1 − z) 2
∞
X
Question 1(b) Let f have the Taylor expansion f (z) = an z n in |z| < R and let sn (z) =
n=0
m
X
ak z k . If 0 < r < R and if |z| < r show that
k=0
wn+1 − z n+1
= wn + wn−1 z + . . . + wz n−1 + z n = nk=0 wn−k z k , it follows
P
Solution. Since
w−z
that
n
f (w) wn+1 − z n+1
Z Z
1 1 f (w) X n−k k
n+1
dw = n+1
w z dw
2πi γ w w−z 2πi γ w k=0
Z X n
1 k f (w)
= z dw
2πi γ k=0 wk+1
n Z
1 X k f (w)
= z k+1
dw
2πi k=0 γ w
f (k) (0)
Z
1 f (w)
= dw
k! 2πi γ wk+1
Therefore n
f (w) wn+1 − z n+1 X f (k) (0)
Z
1
dw = zk
2πi γ wn+1 w−z k=0
k!
2
P∞ n
Since f (z) = n=0 an z and the series is uniformly and absolutely convergent within
|z| ≤ r, we can differentiate it termwise. Thus we obtain f (0) = a0 , f 0 (0) = a1 , f 00 (0) =
2a2 , . . . , f (k) (0) = k!ak , . . .. Substituting above, we get
n
f (w) wn+1 − z n+1
Z
1 X
dw = ak z k = sn (z)
2πi γ wn+1 w−z k=0
1
Question 1(c) By integrating around a suitable contour, prove that
1 + z5
Z ∞
dx π π
5
= sin
0 1+x 5 5
Solution. We shall present two proofs.
D(−R, 2π
5
) C(R, 2π
5
)
e z
2π
Proof 1: Let f (z) = 1+e 5z and the y= 5
contour be C, the rectangle ABCD where
A = (−R, 0), B = (R, 0), C = (R, 2π 5
), D = x = −R x=R
(−R, 2π
5
) oriented positively. We let R → C
∞ eventually. The only pole in the strip
bounded by y = 0 and y = 2π is z = πi y=0
5 5
and it is a simple pole. A(−R, 0) (0, 0) B(R, 0)
πi πi
πi
(z − πi
5
)ez e5 e5
Residue of f (z) at z = 5
is limπi 5z
= iπ = − . Thus
z→ 5 1+e 5e 5
πi
ez dz
Z
2πie 5
lim = −
R→∞ C 1 + e5z 5
Now we evaluate the integral on all 4 sides of the rectangle.
1. Z 2π Z 2π
ez dz 5 eR+iy eR 2π eR
Z
5
= i dy ≤
dy ≤
BC 1 + e5z 0 e5z + 1 0 e5R − 1 5 e5R − 1
5z 5z 5R+5iy
Z |e z + 1| ≥ |e | − 1 = |e
because | − 1 = e5R − 1. as on BC, z = R + iy. Thus
e dz
lim = 0.
R→∞ BC 1 + e5z
3
3. On AB, z = x so
∞
ez dz ex dx
Z Z
lim =
R→∞ AB 1 + e5z −∞ 1 + e5x
2πi
4. On CD, z = x + 5
, so
−∞ 2πi
ez dz ex e 5 dx
Z Z
lim =
R→∞ CD 1 + e5z ∞ 1 + e5x
4
2πi
3. On BO, z = Re 5 and R varies from ∞ to 0. Therefore
Z Z 0 2πi Z ∞
dz e 5 dR 2πi dR
lim = 2πi = −e 5
R→∞ BO 1 + z 5 ∞ 1 + (Re 5 ) 5 0 1 + R5
Thus
Z Z ∞ Z ∞
dz dx 2πi dR 2πi
lim = −e 5 = 4πi
R→∞ C 1 + z5 0 1+x 5
0 1+R 5
5e 5
∞ πi
e− 5
Z
dx 2πi 1 2πi
⇒ 5
= 4πi 2πi = 4πi
− πi πi
0 1+x 5e 5 1 − e 5 5e 5 e 5 − e 5
π 2i π π
= πi πi = sin
5 e5 −e 5 − 5 5
Note: We have provided both proofs because sometimes the examiner prescribes the contour.
Z 2π k ∞
1 2
X
2
X
|f (z) − pk (z)| dθ = |an − bn | + |an |2
2π 0 n=0 n=k+1
Clearly the right hand side is minimum if and only if kn=0 |an − bn |2 = 0 ⇒ an = bn for
P
5
Question 2(b) If f is regular in the whole plane and the values of f (z) do not lie in the
disc with center w0 and radius δ, show that f is constant.
Solution. Liouville’s Theorem: If f (z) is entire, i.e. regular in the whole plane, and
bounded, then f (z) is constant.
1
Consider the function F (z) = f (z)−w 0
. Since f (z) is entire and f (z) 6= w0 (note that if
f (z) = w0 for some z then one of its values would lie inside the disc with center w0 and
radius δ). it follows that F (z) is an entire function. Since |f (z) − w0 | > δ for every z,
|F (z)| < 1δ for every z, thus by Liouville’s theorem F (z) ≡ c a constant, and therefore f (z)
is a constant.
Proof of Liouville’s theorem: From Cauchy’s integral formula, we have for any z0 and ρ
however large Z
0 1 f (z) dz
f (z0 ) =
2πi |z−z0 |=ρ (z − z0 )2
Now f (z) is bounded, say |f (z)| ≤ M and |z − z0 | = ρ, so let z − z0 = ρeiθ , dz = ρieiθ dθ
which gives us
M M
|f 0 (z0 )| ≤ 2
2πρ =
2πρ ρ
Letting ρ → ∞, we get f 0 (z0 ) = 0 for any z0 , thus f 0 (z) = 0 so f is a constant.
1
Question 2(c) Find the singularities of sin( 1−z ) in the complex plane.
1 1
Solution. Since 1−z is analytic everywhere except z = 1, sin( 1−z ) is regular everywhere
1
except z = 1. At z = 1 the function has an essential singularity — Clearly sin( 1−z )=0⇔
1 1 1
1−z
= nπ, n 6= 0 ⇔ z = 1 − nπ , n ∈ Z, n 6= 0. Thus 1 is a limit point of zeros of sin( 1−z ) and
1
therefore sin( 1−z ) has an essential singularity at z = 1.
1 ζ
Note that sin( 1−z ) is regular at ∞ as sin( 1−ζ ) is regular at ζ = 0.
6
UPSC Civil Services Main 1990 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
March 5, 2010
Question 1(a) Let f be regular for |z| < R, prove that, if 0 < r < R,
Z 2π
0 1
f (0) = u(θ) exp(−iθ) dθ
πr 0
Solution. Using Cauchy’s integral formula, it is easily deduced that for any z in the interior
of {CR : |z| = R}, we have
f (t) (z)
Z
1 f (ζ)
= dζ
t! 2πi CR (ζ − z)t+1
Z
0 1 f (ζ)
In particular, f (0) = dζ.
2πi CR ζ 2
Putting ζ = Reiθ , dζ = Rieiθ dθ, we get
Z 2π Z 2π
0 1 f (Reiθ ) 1
f (0) = iθ
Rie dθ = f (Reiθ )e−iθ dθ (1)
2πi 0 R2 e2iθ 2πR 0
We now consider the integral
f (ζ)ζ t−1
Z
1
dζ
2πi CR (R − Rz ζ)t+1
By Cauchy’s residue theorem, the above integral is equal to 2πi(sum of residues of the
2
integrand within CR ). If t ≥ 1, the only possibility of a pole could be at the point ζ = Rz ,
1
2 2 2
but |z| = |z| < R, therefore | Rz | > RR = R, so Rz lies outside CR and hence the integrand
has no pole inside CR , so
f (ζ)ζ t−1
Z
1
dζ = 0 for t ≥ 1
2πi CR (R − Rz ζ)t+1
In particular, taking t = 1, z = 0,
Z
1 f (ζ)
dζ = 0
2πi CR R2
Thus we get
Z 2π
1
0 = f (Reiθ )eiθ dθ
2πR 0
Z 2π
1
⇒0 = f (Reiθ )e−iθ dθ (2)
2πR 0
Adding (1), (2), we get
Z 2π Z 2π
0 1 iθ iθ −iθ 1
f (0) = (f (Re ) + f (Re ))e dθ = u(θ) exp(−iθ) dθ
2πR 0 πR 0
as required.
Note 1: To get the desired form, we could have considered the integral over {Cr : |z| =
r < R} instead of CR and in that case ζ = reiθ and instead of R, we would have got r i.e.
Z 2π
0 1
f (0) = u(θ) exp(−iθ) dθ
πr 0
Note 2: The integral
f (ζ)ζ t−1
Z
1
dζ
2πi CR (R − Rz ζ)t+1
plays an important role in questions of this type, and has to be kept in mind.
Question 1(b) Prove that the distance from the origin to the nearest zero of f (z) = ∞ n
P
n=0 an z
r|ao |
is at least where r is any number not exceeding the radius of convergence of the
M + |a0 |
series, and M = M (r) = sup|z|=r |f (z)|.
Solution. By Cauchy’s integral formula,
Z Z
1 f (ζ) dζ 1 f (ζ) dζ
f (z) − f (0) = −
2πi |ζ|=r ζ − z 2πi |ζ|=r ζ
where |z| < r ≤ R, R is the radius of convergence. If f (z) = 0, then
Z 2π
rieiθ dθ
Z
1 = M |z|
1 1 M
|f (0)| ≤ M − dζ ≤ |z|
iθ
2π |ζ|=r ζ − z ζ 2π re (r − |z|) r − |z|
0
|f (0)|r
because |ζ −z| ≥ |ζ|−|z| = r−|z| on |ζ| = r. Thus r|f (0)| ≤ |z|(M +|f (0)|) ⇒ |z| ≥ M +|f (0)|
.
Here f (0) = a0 , and the result follows.
2
Question 1(c) If f = u + iv is regular throughout the complex plane, and au + bv − c ≥ 0
for suitable constants a, b, c then f is constant.
Thus F (z) is entire and bounded, hence is a constant by Liouville’s theorem. Now F 0 (z) =
f 0 (z)ef (z) = 0 ⇒ f 0 (z) = 0 because ef (z) 6= 0, so f (z) is constant.
Corollary: If f (z) = u + iv is entire, and u ≥ 0, then f is constant. Proof: Consider
−f (z) = −u − iv, then −u ≤ 0 and −f (z) is constant.
Now consider F (z) = (a − ib)f (z) − c = (au + bv − c) + i(av − bu). Now F (z) is entire,
and Re F (z) = au + bv − c ≥ 0, so F (z) is constant, hence f (z) is constant.
∞
x4 dx
Z
π π
Question 2(a) Prove that = √ sin using residue calculus.
−∞ 1 + x8 2 8
Solution.
4
We take f (z) = 1+z z
8 and the contour C
γ
consisting of γ a semicircle of radius R with
center (0, 0) lying in the upper half plane, and
the line joining (−R, 0) and (R, 0). Finally we
will let R → ∞.
(−R, 0) (0, 0) (R, 0)
By Cauchy’s residue theorem
Z ∞ 4
z 4 dz
Z Z 4
x dx z dz
lim 8
= 8
+ lim
R→∞ C 1 + z −∞ 1 + x R→∞ γ 1 + z 8
Now Z 4 Z π 4 4iθ iθ 5
z dz
≤ R e Rie dθ ≤ πR
1 + z8 R8 − 1 R8 − 1
γ 0
(2n+1)πi
f (z) has poles at zeros of z 8 + 1 = 0 ⇒ z 8 = −1 ⇒ z 8 = e(2n+1)πi ⇒ z = e 8 , n ∈ Z.
πi 3πi 5πi 7πi
Clearly z = e 8 , e 8 , e 8 , e 8 are the only poles of f (z) in the upper half plane and all these
3
z04 1
are simple poles. The residue at any simple pole z0 is 8z07
= 8z03
,
4
and therefore
n−1
n+1 (n+1)
X n
2 f (0) = 1 − 2p+1 n−p f (p+1) (0)
p=0
p
Note that odd p do not contribute anything to the summation, as n−p = 0 for odd p. Now we
can see by induction that f (n) (0) = 0 whenever n is odd and n > 1. f 0 (0) = 21 . 23 f (3) (0) =
1 − 2 · 12 = 0. Assume by induction hypothesis that f (3) (0) = f (5) (0) = . . . = f (2m−1) (0) = 0,
then letting n = 2m in the above formula,
m−1
X
2m+1 (2m+1) 2m 2p+1 (2p+1)
2 f (0) = − 2 f (0) = 0
p=1
2p
Case (2): When n is odd: The terms with even p in the formula above do not make any
contribution. Thus letting n = 2m + 1,
m−1
X m
2m+2 (2m+2) 2m + 1 2r+2 (2r+2) X 2m + 1 2r (2r)
2 f (0) = 1 − 2 f (0) = 1 − 2 f (0) (∗)
r=0
2r + 1 r=1
2r − 1
5
dn y
Here the determinant is (n + 1) × (n + 1), and yn = n .
dx
Proof: vy = u, therefore, by taking successive derivatives using Leibnitz product rule
we get
vy = u
v1 y + vy1 = u1
v2 y + 2v1 y1 + vy2 = u2
... ...
n
vn y + 1 vn−1 y1 + . . . + vyn = un
These are n + 1 equations in n + 1 unknowns y, y1 , . . . , yn , and the determinant of the
coefficient matrix is v n+1 . Thus by Cramer’s rule
v 0 0 ... u
v1 v 0 ... u1
1 2
yn = n+1 v2 1 1
v v ... u2
v . . .
. . . . . . ... . . .
vn n vn−1 n vn−2 . . . un
1 2
as required.
ez
Now f (z) = log(1 + ez ), f (0) = log 2. f 0 (z) = 1+e 0 1 z z
z , f (0) = 2 . Let u = e , v = 1 + e .
Then un (0) = 1 for every n, and v(0) = 2, vn (0) = 1 for n ≥ 1. Let F (z) = uv , then
2 0 0 . . . 0 1
1 2 0 ... 0 1
1
F (n) (0) = f (n+1) (0) = n+1 1 2 2 ... 0 1
2 . . .
n . . . . . .
n n
1 ... 1
1 2 n−1
(1) (2) 1 2 1 1
F (0) = f (0) = =
4 1 1 4
2 0 1
1
F (2) (0) = f (3) (0) = 1 2 1 = 0
8
1 2 1
2 0 0 1 2 0 0 1
1 1 2 0 1 1 −1 2 0 0 −2 1
F (3) (0) = f (4) (0) = = = =−
16 1 2 2 1 16 −1 2 2 0 16 8
1 3 3 1 −1 3 3 0
2 0 0 0 1
1 2 0 0 1
1
F (4) (0) = f (5) (0) = 1 2 2 0 1 = 0
32
1 3 3 2 1
1 4 6 4 1
Thus log(1 + ez ) has the expansion as given above.
6
1
Question 2(c) Determine the nature of singular points of sin and investigate its
cos z1
behavior at z = ∞.
Solution.
1
1. Let ζ = z1 , and φ(ζ) = f ( ζ1 ) = sin . Therefore lim φ(ζ) = sin 1, showing that
cos ζ ζ→0
φ(ζ) has a removable singularity at ζ = 0. In fact φ(ζ) is analytic at ζ = 0 if φ(0) is
defined to be sin 1. Note that
1 2 1
2. At all zeros of cos z i.e. z = the function sin has essential singu-
(2n + 1)π cos z1
larities because limx→∞ sin x does not exist — if it did, then given > 0, we would
have N such that x1 > N, x2 > N ⇒ | sin x1 − sin x2 | < . But for any N we can take
x1 = 2nπ + π2 > x2 = 2nπ > N , then | sin x1 − sin x2 | = 1 6< if < 1.
7
UPSC Civil Services Main 1991 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
March 5, 2010
Question 1(a) A function f (z) is defined for all finite values of z by f (0) = 0 and f (z) =
−4
e−z everywhere else. Show that the Cauchy-Riemann equations are satisfied at the origin.
Show also that f (z) is not analytic at the origin.
|dz|
Z
2πR
< 2
|z|=R |(z − a)(z + a)| |R − |a|2 |
1
Solution. On |z| = R, z = Reiθ , 0 ≤ θ ≤ 2π, |dz| = |Rieiθ dθ| = R dθ. |z 2 − a2 | ≥
|z|2 −|a|2 = R2 −|a|2 and |z 2 −a2 | ≥ |a|2 −|z|2 = |a|2 −R2 , showing that |z 2 −a2 | ≥ |R2 −|a|2 |,
with the strict inequality occurring when a = |a|eiθ , z 6= Reiθ . Thus
Z 2π
|dz|
Z
R dθ 2πR
< 2 2
= 2
|z|=R |(z − a)(z + a)| 0 |R − |a| | |R − |a|2 |
as required.
Question 1(c) If Z 2π
1
Jn (t) = cos(nθ − t sin θ) dθ
2π 0
show that
t 1 1 1 1
e 2 (z− z ) = J0 (t) + zJ1 (t) + z 2 J2 (t) + . . . − J1 (t) + 2 J2 (t) − 3 J3 (t) + . . .
z z z
t 1
Solution. The function f (z) = e 2 (z− z ) is analytic in 0 < |z| < ∞ and therefore by
Laurent’s theorem — If f (z) is analytic is the annular region D : R1 < |z − z0 | < R2 and
if C is any positively oriented simple closed contour lying within the region D, then for any
z ∈ D, we have
∞
X ∞
X
f (z) = n
an (z − z0 ) + bn (z − z0 )−n
n=0 n=1
where Z Z
1 f (z) dz 1 f (z) dz
an = , bn =
2πi C (z − z0 )n+1 2πi C (z − z0 )−n+1
or ∞ Z
X 1
n f (z) dz
f (z) = cn (z − z0 ) where cn =
n=−∞
2πi C (z − z0 )n+1
t 1
If we take f (z) = e 2 (z− z ) , R1 = 0, R2 = ∞, z0 = 0, then
∞ t 1
e 2 (z− z ) dz
Z
t
(z− z1 )
X
n 1
f (z) = e 2 = cn z where cn =
n=−∞
2πi C z n+1
2
Z 2π Z 2π
But sin(−nθ + t sin θ) dθ = 0, because if we put θ = 2π − η, then sin(−nθ +
0 Z 0 0
Hence ∞
t 1
X
e 2 (z− z ) = Jn (t)z n
n=−∞
Since on replacing z by − z1 , the function f (z) remains unaltered, we get J−n (t) = Jn (t) if n
is even, and J−n (t) = −Jn (t) if n is odd. Thus
t 1 1 1 1
e 2 (z− z ) = J0 (t) + zJ1 (t) + z 2 J2 (t) + . . . − J1 (t) + 2 J2 (t) − 3 J3 (t) + . . .
z z z
as required.
n=0
n! ζ n
powers, showing the same result.
z3
Question 2(b) Evaluate the residues of the function at all its singu-
(z − 2)(z − 3)(z − 5)
larities and show that their sum is 0.
3
Residue at ∞ is = − coefficient of z1 in the expansion of f (z) around ∞.
−1 −1 −1
2 3 5
f (z) = 1− 1− 1−
z z z
2 1 3 1
= 1 + + Higher powers of 1 + + Higher powers of
z z z z
5 1
1 + + Higher powers of
z z
10 1
= 1+ + Higher powers of
z z
Thus the residue at ∞ is −10.
16 − 81 + 125 − 60
Sum of all residues is = 0.
6
Note: The function f (z) has no singularity as such at ∞, but the residue at ∞ is always
defined as such. The function is actually analytic at ∞ as f ( z1 ) is analytic at z = 0.
Question 2(c) By integrating along a suitable contour show that
Z ∞
eax π
x
dx =
−∞ 1 + e sin aπ
where 0 < a < 1.
D(−R, 2π) C(R, 2π)
Solution.
y = 2π
eaz
Our f (z) = 1+ez
and the contour is C, the
rectangle ABCD where A = (−R, 0), B = x = −R x=R
(R, 0), C = (R, 2π), D = (−R, 2π) oriented in C
the anticlockwise direction. We let R → ∞
eventually. y=0
A(−R, 0) (0, 0) B(R, 0)
The function f (z) has only a simple pole at z = πi in the strip bounded by y = 0 and
z − πi az eaπi
y = 2π. Residue of f (z) at πi is lim e = πi = −eaπi .
z→πi 1 + ez Z e
eaz dz
Thus by Cauchy’s residue theorem lim = −2πieπia .
R→∞ C 1 + ez
We now evaluate the integral along the four lines.
1. On the line BC i.e. x = R, z = R + iy, dz = i dy and
eaz dz 2π ea(R+iy) i dy
Z 2π aR
2πeaR
Z Z
e dy
z
= ≤ =
BC 1 + e
0 1 + eR+iy 0 eR − 1 eR − 1
eaR
because |ez + 1| ≥ |ez | − 1 = |eR+iy | − 1 = eR − 1 on BC. Since limR→∞ eR −1
= 0 as
eaz dz
Z
0 < a < 1 using L’Hospital’s Rule, it follows that lim = 0.
R→∞ BC 1 + ez
4
2. On the line DA i.e. x = −R, z = −R + iy, dz = i dy. Since |ez + 1| ≥ 1 − |ez | =
1 − |e−R+iy | = 1 − e−R
az −aR
Z
e dz ≤ 2πe
(→ 0 as R → ∞)
DA 1 + e
z 1 − e−R
eaz dz
Z
thus lim = 0.
R→∞ DA 1 + ez
Thus ∞
eaz dz eax
Z Z
lim = (1 − e2πia ) dx = −2πieπia
R→∞ C 1 + ez −∞ 1 + ex
so ∞
eax −2πieπia −2πi
Z
π
x
dx = 2πia
= −πia πia
=
−∞ 1+e 1−e e −e sin aπ
as required.
5
UPSC Civil Services Main 1992 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
March 1, 2010
Question 1(a) If u = e−x (x sin y − y cos y), find v such that f (z) = u + iv is analytic. Also
find f (z) explicitly as a function of z.
Question 1(b) Let f (z) be analytic inside and on the circle C defined by |z| = R and let
reiθ be any point inside C. Prove that
Z 2π
iθ 1 (R2 − r2 )f (Reiφ )
f (re ) = dφ
2π 0 R2 − 2Rr cos(θ − φ) + r2
f (ζ)
We note that the function 2 has no singularity within and on CR , because f (ζ) is
ζ − Rz
2 2
analytic within and on CR and (ζ − Rz )−1 is also analytic within and on CR as Rz lies
2
outside CR and therefore ζ − Rz 6= 0 (Note that R2 = R · R > R|z|, because |z| = r < R,
2
thus | Rz | > R. Thus by Cauchy’s theorem
Z
f (ζ)
0= R2
dζ (2)
CR ζ − z
1
Using (1), (2) we get
Z
1 1 1
f (z) = f (ζ) − dζ
2πi |ζ|=r ζ − z ζ − Rz2
2
z − Rz
Z
1
= f (ζ) 2 dζ
2πi |ζ|=r (ζ − z)(ζ − Rz )
zz − R2
Z
1
= f (ζ) dζ
2πi |ζ|=r (ζ − z)(ζz − R2 )
Z 2π
r 2 − R2
1
⇒ f (reiθ ) = iφ
f (Re ) Reiφ i dφ
2πi 0 (Reiφ − reiθ )(rRei(φ−θ) − R2 )
Z 2π
r 2 − R2
1 iφ
= f (Re ) dφ
2π 0 (R − rei(θ−φ) )(rei(φ−θ) − R)
Z 2π
r 2 − R2
1 iφ
= f (Re ) dφ
2π 0 −R2 − r2 + rR(ei(θ−φ) + ei(φ−θ) )
Z 2π
R2 − r 2
1 iφ
= f (Re ) 2 dφ
2π 0 R + r2 + 2rR cos(θ − φ)
as required.
Question 1(c) Prove that all the roots of z 7 − 5z 3 + 12 = 0 lie between the circles |z| = 1
and |z| = 2.
(−1)n−1 z 2n−1
Question 2(a) Find the region of convergence of the series whose n-th term is .
(2n − 1)!
Solution. Clearly
Coefficient of the (n + 1)-th term (2n − 1)!
Coefficient of the n-th term = (2n + 1)! → 0 as n → ∞
1
Thus lim |Coefficient of the n-th term| n = 0. So the radius of convergence of the power
n→∞
∞
X (−1)n−1 z 2n−1
series is ∞, i.e. the region of convergence is the entire complex plane.
n=1
(2n − 1)!
2
1
Question 2(b) Expand f (z) = in a Laurent series valid for (i) |z| > 3, (ii) 1 <
(z + 1)(z + 3)
|z| < 3, (iii) |z| < 1.
Solution. (i) |z| > 3.
1 1 1 1 1 −1 3 −1
f (z) = − = 1+ − 1+
2 z+1 z+3 2z z z
Since | z1 | < 13 , | z3 | < 1, we have
∞ ∞
1 X (−1)n X (−1)n 3n
f (z) = −
2z n=0 z n n=0
zn
∞
1 X (−1)n (1 − 3n )
=
2z n=0 zn
∞
X (−1)n (1 − 3n ) 1
=
n=0
2 z n+1
3
UPSC Civil Services Main 1993 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
March 1, 2010
1
Question 1(a) In the finite plane, show that the function f (z) = sec has infinitely many
z
isolated singularities in a finite interval which includes zero.
1 1 π 2
Solution. We know that cos = 0 if and only if = (2n + 1) , n ∈ Z, or z = .
z z 2 (2n + 1)π
1
Moreover all these zeros are simple zeros of cos and are isolated singular points. Thus
z
2
the given function has infinitely many simple poles at the points z = . Since
(2n + 1)π
2
→ 0 as n → ∞, it follows that any finite interval containing 0 will have all but
(2n + 1)π
2
finitely many points of the type z = . Thus any finite interval containing 0 will
(2n + 1)π
1
have infinitely many isolated singularities (simple poles) of sec .
z
Question 1(b) Find the orthogonal trajectories of the family of curves in the xy-plane
defined by e−x (x sin y − y cos y) = α, where α is a real constant.
1
We use Milne Thompson’s method. We know
0 ∂u z + z z − z ∂u z + z z − z
f (z) = , −i ,
∂x 2 2i ∂y 2 2i
is an identity.
f 0 (z) = e−x sin y − e−x (x sin y − y cos y) − ie−x (x cos y − cos y + y sin y)
Putting z = z ⇒ x = z, y = 0 ⇒ f 0 (z) = −ie−z (z − 1), or f (z) = −i e−z (z − 1) dz = ize−z .
R
Thus
u + iv = i(x + iy)e−x (cos y − i sin y)
= e−x (x sin y − y cos y) + ie−x (x cos y + y sin y)
Thus v = e−x (x cos y + y sin y) = β is the required family of curves.
2
3 2
Question 2(a) If Z C is the curve y = x − 3x + 4x − 1 joining the points (1, 1) and (2, 3),
find the value of (12z 2 − 4iz) dz.
C
Solution. If C1 is any curve joining (1, 1) and (2, 3), then C and C1 form a closed contour.
Since 12z 2 − 4iz is analytic, by Cauchy’s theorem
Z Z
2
− (12z − 4iz) dz + (12z 2 − 4iz) dz = 0
C C1
so the integral is independent of the path between (1, 1) and (2, 3). Thus
Z 2+3i
2 3 2
(12z − 4iz) dz = 4z − 2iz
C 1+i
= 4[(2 + 3i) − (1 + i)3 ] − 2i[(2 + 3i)2 − (1 + i)2 ]
3
∞
X zn
Question 2(b) Prove that the series converges absolutely for |z| ≤ 1.
n=1
n(n + 1)
∞
X
1 1 1
Pn 1
Solution. Consider the series an where an = n(n+1)
= n
− n+1
. Now sn = r=1 ( r −
n=1
∞
zn
X
1 1
r+1
) = 1− n+1
. Thus sn → 1 as n → ∞, so an is convergent. Now
≤ an
n=1
n(n + 1)
∞
X zn
for |z| ≤ 1, therefore by Weierstrass M-test, the series converges absolutely (in
n=1
n(n + 1)
fact uniformly) in the region |z| ≤ 1.
Z ∞
dx
Question 2(c) Evaluate by choosing an appropriate contour.
0 x6 + 1
Solution.
1
We take f (z) = 1+z 6 and the contour Γ
γ consisting of Γ a semicircle of radius R
with center (0, 0) lying in the upper half
plane, and the line joining (−R, 0) and (R, 0).
(−R, 0) (0, 0) (R, 0)
3
Z
dz
By Cauchy’s residue theorem = 2πi(sum of residues at poles of f (z) in the upper
γ 1 + z6
half plane).
1 πi πi 5πi
Clearly 1+z 6 has simple poles at z = e
6 , z = e 2 and z = e 6 inside the contour.
1
Residue at z = ζ is 5 .
6ζ
1 1 1 1
Sum of residues = + 15πi + 25πi
6 e 5πi6 e 6 e 6
1 5π 5π π π −2i
= cos − i sin − i + cos − i sin =
6 6 6 6 6 6
−i
Z
dz 2π
as cos 5π
6
= − cos π6 , sin 5π
6
= sin π6 = 12 . Thus lim 6
= 2πi = .
R→∞ γ 1 + z 3 3
Now Z Z π
dz R πR
1 + z6 ≤ dθ = 6
6
Γ 0 R −1 R −1
iθ 6 6
Z z = Re and using |z + 1| ≥ R − 1 on Γ.
on putting
dz
Thus 6
→ 0 as R → ∞. Consequently,
Γ 1+z
Z Z ∞
dz dx 2π
lim = =
R→∞ γ 1 + z 6 −∞ 1 + x
6 3
Z ∞
dx π
and hence 6
= .
0 1+x 3
4
UPSC Civil Services Main 1994 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
March 1, 2010
Question 1(a) Suppose that z is the position vector of a particle moving on the ellipse
C : z = a cos ωt+ib sin ωt where ω, a, b are positive constants, a > b and t is time. Determine
where
Question 1(b) How many zeroes does the polynomial p(z) = z 4 + 2z 3 + 3z + 4 possess (i)
in the first quadrant, (ii) in the fourth quadrant.
Solution.
1. p(−1) = 0. p(−2) = −2 < 0, p(−3) = 22 > 0, therefore the intermediate value theorem
shows that there exists x, −3 < x < −2 such that p(x) = 0. Thus we have determined
that to zeros of p(z) lie on the negative real axis, and since p is a polynomial of degree
4 and hence has 4 zeros, we are left with the task of locating the the remaining two
zeros.
2. p(z) has no zeros on the positive real axis because p(x) > 0 when x ≥ 0.
3. p(z) has has no zero on the imaginary axis because p(iy) = y 4 + 4 − 2iy 3 + 3iy = 0 ⇒
y 4 + 4 = 0, 2y 3 − 3y = 0, but y 4 + 4 = 0 has no real zeros, so p(iy) 6= 0.
1
B(0, R)
We now consider the contour OABO
where OA is straight line joining (0, 0) and
(R, 0), AB is the arc of the circle x2 +y 2 = R2
in the first quadrant, and BO is the line join-
ing (0, R) to (0, 0). O(0, 0) A(R, 0)
1
By the Argument Principle, the number of zeros of p(z) in the first quadrant = 2π ×
(the change in the argument of p(z) when z moves along the contour OABO oriented anti-
clockwise as R → ∞).
Change in the argument along OA: On OA, p(z) = x4 + 2x3 + 3x + 4 > 0 ⇒ arg p(z) = 0
for every x on OA. Therefore as z moves from O to A, the change in the argument of p(z)
i.e. ∆OA arg p(z) = 0.
Change in the argument along BO: On BO, z = iy and p(z) = y 4 + 4 + i(3y − 2y 3 ).
3
−1 3y − 2y
Therefore arg p(z) = tan .
y4 + 4
3 0
−1 3y − 2y
∆BO arg p(z) = tan =0−0=0
y4 + 4 ∞
Question 1(c) Test for uniform convergence in the region |z| ≤ 1 the series
∞
X cos nz
n=1
n3
Solution. By definition
2
and therefore ∞ ∞ ∞
X cos nz X e−ny einx X eny e−inx
= +
n=1
n3 n=1
2n3 n=1
2n3
Case 1: y > 0.
∞ −ny inx ∞
X e e X 1
≤
2n3 2n3
n=1 n=1
Solution.
1. The function e2z is analytic everywhere in the complex plane. The Taylor series of e2z
with center z = 1 is given by
∞ dn e2z ∞
X 2n e2
2z
X
dz n
at z = 1
e = (z − 1)n = (z − 1)n
n=0
n! n=0
n!
3
dn e2z
because = 2n e2z . Thus
dz n
∞
e2z e2 2e2 4e2 X 2n e2
3
= 3
+ 2
+ + (z − 1)n−3
(z − 1) (z − 1) (z − 1) 2!(z − 1) n=3 n!
∞
e2 2e2 4e2 X 2n+3 e2
= + + + (z − 1)n
(z − 1)3 (z − 1)2 2!(z − 1) n=0 (n + 3)!
e2z
which is the required Laurent series of with center z = 1. It is valid in the
(z − 1)3
ring 1 < |z| < ∞.
1
2. Let f (z) = z2
then
2 (−2)(−3) (−2)(−3) . . . (−n − 1)
f 0 (z) = − 3
, f 00 (z) = 4
, . . . , f (n) (z) =
z z z n+2
and therefore
1 0 2 (n) (−1)n (n + 1)!
f (3) = , f (3) = − , . . . , f (3) =
32 33 3n+2
Thus the Taylor series of f (z) with center z = 3 is given by
∞
X (−1)n (n + 1)! ∞
X (−1)n (n + 1)
1 n
2
= n+2
(z − 3) = n+2
(z − 3)n
z n=0
3 n! n=0
3
Thus
∞ ∞
1 X (−1)n (n + 1) n−2 1 2 X (−1)m (m + 3)
2 2
= n+2
(z−3) = 2 2
− 3 + m+4
(z−3)m
z (z − 3) n=0
3 3 (z − 3) 3 (z − 3) m=0 3
1
is the required Laurent series of z 2 (z−3)2
with center z = 3 valid in 0 < |z| < 3.
Question 2(b) Find the residues of f (z) = ez csc2 z at all its poles in the finite plane.
Solution. The poles are at zeros of sin2 z, and sin2 z = 0 iff z = nπ, n ∈ Z, the set of
integers. All these poles are double poles.
1 d (z − nπ)2 ez
Residue at z = nπ of f (z) is . Now
1! dz sin2 z z=nπ
4
z − nπ 1
Using lim = = (−1)n , we get
z→nπ sin z cos nπ
2 z
d (z − nπ) e (z − nπ)
= enπ lim
2 3 (z − nπ) sin z + 2 sin z − 2(z − nπ) cos z
dz sin z z=nπ
z→nπ sin z
5
(2) On γ, z = reiθ , |z|2 + 1 ≥ 1 − |z|2 = 1 − r2 . Thus
Z 0
(log r)2 + θ2 π3
Z
f (z) dz ≤ r 2
r dθ = π(log r) +
γ
π 1 − r2 1 − r2 3
Z
But the right side → 0 as r → 0, it follows that lim f (z) dz = 0.
r→0 γ
(3) f (z) has a simple pole at z = i in the the upper half plane (inside C) and the residue
(log i)2 1 πi 2 π 2 i
at z = i of f (z) is = = . Thus
2i 2i 2 8
Z R Z r
π2i
Z
iπ iπ
lim f (z) dz = lim f (x) dx + f (xe ) dxe = 2πi
R→∞,r→0 C R→∞,r→0 r R 8
because on the line CD, z = x, and on the line AB, z = xeiπ . Hence
Z 0 Z ∞
(log(xeiπ ))2 (log x)2 π3
− 2 2πi
dx + dx = −
∞ 1+x e 0 1 + x2 4
6
UPSC Civil Services Main 1995 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Let u(x, y) = 3x2 y + 2x2 − y 3 − 2y 2 . Prove that u is a harmonic function.
Find a harmonic function v such that u + iv is an analytic function of z.
Solution. Clearly
∂u ∂u
= 6xy + 4x , = 3x2 − 3y 2 − 4y
∂x ∂y
∂ 2u ∂ 2u
= 6y + 4 , = −6y − 4
∂x2 ∂y 2
∂ 2u ∂ 2u
Thus + = 0, showing that u is a harmonic function.
∂x2 ∂y 2
Let f (z) = u + iv, where v is to be so determined that f (z) is analytic and v is harmonic.
∂u
Such a function v along with u would have to satisfy the Cauchy-Riemann equations =
∂x
∂v ∂u ∂v
, = − . Now
∂y ∂y ∂x
∂u ∂v ∂u ∂u
f 0 (z) = +i = −i
∂x ∂x ∂x ∂y
= 6xy + 4x − i(3x − 3y 2 − 4y)
2
1
Thus
f (z) = 2z 2 − iz 3
= 2(x + iy)2 − i(x + iy)3
= 2x2 − 2y 2 + 4ixy − ix3 + 3x2 y + 3ixy 2 − y 3
= 3x2 y + 2x2 − y 3 − 2y 2 + i(4xy − x3 + 3xy 2 )
∂ 2v ∂ 2v
so that + = 0, showing that v is a harmonic function.
∂x2 ∂y 2
z
Question 1(b) Find the Taylor series expansion of f (z) = around z = 0. Find also
z4 + 9
the radius of convergence.
Question 1(c) Let C be a circle |z| = 2 oriented counter-clockwise. Evaluate the integral
Z
cosh πz
2
dz with the aid of residues.
C z(z + 1)
2
Z
cosh πz
Solution. By Cauchy’s residue theorem, dz = 2πi(sum of residues at poles of
C z(z 2 + 1)
cosh πz
inside C).
z(z 2 + 1)
cosh πz
The only poles of are at z = 0, ±i all within |z| = 2. All these are simple poles.
z(z 2 + 1)
z cosh πz
Residue at z = 0 is lim = 1.
z→0 z(z 2 + 1)
(z − i) cosh πz cosh πi cos π 1
Residue at z = i is lim 2
= =− = .
z→i z(z + 1) i · 2i 2 2
(z + i) cosh πz cosh(−πi) 1
Residue at z = −i is lim = = .
Z z→−i z(z 2 + 1) (−i) · (−2i) 2
cosh πz h 1 1i
Thus 2
dz = 2πi 1 + + = 4πi.
C z(z + 1) 2 2
Z ∞
cos ax
Question 2(a) Evaluate the integral dx, a ≥ 0.
0 x2 + 1
Solution.
eiaz
Let f (z) = . Let γ be the con- Γ
z2 + 1
tour consisting of the line joining (−R, 0) and
(R, 0) and Γ, which is the arc of the circle of
radius R and center (0, 0) lying in the upper
half plane. γ is oriented counter-clockwise. (−R, 0) (0, 0) (R, 0)
Z ∞ iax
eiaz
Z Z
e
lim f (z) dz = 2
dx + lim dz
R→∞ γ −∞ x + 1 R→∞ Γ z 2 + 1
iθ
Since |z 2 + 1| ≥ R2 − 1 on Γ and |eiaz | = |eiaRe | = |e−aR sin θ | ≤ 1 because sin θ ≥ 0 in
0 ≤ θ ≤ π, so
iaz
Z
e πR
z 2 + 1 ≤ R2 − 1
dz
Γ
eiaz
Z
iθ
as dz = iRe dθ, showing that lim dz = 0.
R→∞ Γ z 2 + 1
R
By Cauchy’s residue theorem, limR→∞ γ f (z) dz = 2πi( Sum of residues at poles of
iaz
e
2
in the upper half plane). z = i is the only pole of f (z) in the upper half plane, and
z +1
(z − i)eiaz e−a
the residue there is given by lim = .
Z ∞ iax z→i z2 + 1 2i
e
Thus 2
dx = πe−a , so
−∞ x + 1
Z ∞ Z ∞
cos ax −a sin ax
2
dx = πe , 2
dx = 0
−∞ x + 1 −∞ x + 1
3
cos ax
Since is an even function of x,
x2 + 1
Z ∞
1 ∞ cos ax πe−a
Z
cos ax
dx = dx =
0 x2 + 1 2 −∞ x2 + 1 2
Question 2(b) Let f be analytic in the entire complex plane. Suppose that there exists a
constant A > 0, such that |f (z)| ≤ A|z| for all z. Prove that there is a complex number a
such that f (z) = az for all z.
Solution. We first prove (Cauchy’s inequality) that if f (z) is analytic in a domain G and
if the disc |z − z0 | ≤ ρ ⊆ G then
n!M (ρ)
|f (n) (z0 )| ≤
ρn
where M (ρ) = max |f (z)| on |z − z0 | = ρ — this follows from Cauchy’s Integral formula:
Z
(n) n! f (z)
f (z0 ) = dz
2πi |z−z0 |=ρ (z − z0 )n+1
and therefore
n! M (ρ) n!M (ρ)
|f (n) (z0 )| ≤ n+1
2πρ =
2π ρ ρn
We now prove that if f (z) is entire i.e. analytic over the whole complex plane, and
|f (z)| ≤ G|z|m for all |z| > R, then f (z) is a polynomial of degree ≤ m.
f (n) (0)
Let f (z) = ∞ n
P
n=0 a n z be a Taylor series of f (z) around z = 0. Then a n = .
f (n) (0) n!
M (r)
By Cauchy’s inequality proved above, |an | = ≤ where M (r) is maximum
n! rn
Grm G
of |f (z)| on |z| = r. Let r > R, then M (r) ≤ Grm and we get |an | ≤ n = n−m . and
r r
G
therefore as r → ∞, n−m → 0 for n > m i.e. |an | = 0 for n > m. Hence f (z) = m r
P
r=0 ar z
r
i.e. f (z) is a polynomial of degree ≤ m.
Now we are given |f (z)| ≤ A|z|. This means that f (z) = a0 + a1 z. But 0 ≤ |f (0)| ≤
A · 0 ⇒ f (0) = 0 ⇒ a0 = 0, so f (z) = a1 z, where a1 is a constant.
Note: An alternative statement of the above question is: If f (z) is an entire transcen-
dental function, then whatever G > 0, R > 0, m > 0 are prescribed, there exist points z such
that |f (z)| > G|z|m and |z| > R.
4
Alternate solution: Consider the function g(z) = f (z) z
, z 6= 0 and g(0) = f 0 (0). Note that
|f (z)| ≤ A|z| ⇒ f (0) = 0. Then g is continuous at 0, because
f (z) 0
f (z) − f (0) 0
lim |g(z) − g(0)| = lim − f (0)= lim − f (0)= 0
z→0 z→0 z z→0 z
Let f = u + iv, where u, v satisfy the Cauchy Riemann equations, since f is entire. Then
u + iv (ux + yv) + i(vx − uy)
g(z) = =
x + iy x2 + y 2
ux + yv vx − uy
Writing g(z) = U + iV , we get U = 2 2
,V = 2 . Now it is clear that g is analytic
x +y x + y2
over the entire complex plane except possibly at z = 0. We now check the Cauchy Riemann
equations for U, V at z = 0. Note that f (0) = 0 ⇒ u(0, 0) = v(0, 0) = 0.
u(h,0)
∂U U (h, 0) − U (0, 0) − ux (0, 0) u(h, 0) − hux (0, 0)
(0, 0) = lim = lim h = lim
∂x h→0 h h→0 h h→0 h2
ux (h, 0) − ux (0, 0) 1
= lim = uxx (0, 0)
h→0 2h 2
v(0,k)
∂U U (0, k) − U (0, 0) − ux (0, 0) v(0, k) − kux (0, 0)
(0, 0) = lim = lim k = lim
∂y k→0 k k→0 k k→0 k2
vy (0, k) − ux (0, 0) 1
= lim = vyy (0, 0)
k→0 2k 2
v(h,0)
∂V V (h, 0) − V (0, 0) − vx (0, 0) v(h, 0) − hvx (0, 0)
(0, 0) = lim = lim h = lim
∂x h→0 h h→0 h h→0 h2
vx (h, 0) − vx (0, 0) 1
= lim = vxx (0, 0)
h→0 2h 2
−u(0,k)
∂V V (0, k) − V (0, 0) − vx (0, 0) −u(0, k) − kvx (0, 0)
(0, 0) = lim = lim k = lim
∂y k→0 k k→0 k k→0 k2
−uy (0, k) − vx (0, 0) 1
= lim = − uyy (0, 0)
k→0 2k 2
Now by the Cauchy Riemann equations for u, v, ux = vy ⇒ uxx = vxy and uy = −vx ⇒
uyy = −vyx . Hence Ux (0, 0) = 12 uxx (0, 0) = 12 vxy (0, 0) = − 12 uyy (0, 0) = Vy (0, 0).
Also, vx = −uy ⇒ vxx = −uxy , and vy = ux ⇒ vyy = uyx . So Uy (0, 0) = 21 vyy (0, 0) =
1
u = − 12 vxx (0, 0) = −Vx (0, 0). Thus the Cauchy Riemann equations hold at (0, 0) also, so
2 yx
g(z) is analytic at 0, as it is continuous at 0. Thus g(z) is an entire function.
But |g(z)| = | f (z)
z
| ≤ A|z|
|z|
= A, so g is bounded over the complex plane. Hence by
Liouville’s theorem, g is a constant, say a. Thus f (z) = az, as required.
X∞
Question 2(c) Suppose a power series an z n converges at a point z0 6= 0. Let z1 be
n=0
such that |z1 | < |z0 | and z1 6= 0. Show that the series converges uniformly in the disc
{z : |z| ≤ |z1 |}.
5
Solution. Let | zz10 | = ρ, then ρ < 1. Since ∞ n n
P
n=0 an z0 is convergent, an z0 → 0 as n → ∞,
n
therefore there exists M such that |an z0 | < M for n ≥ 0. Now let z be any point such that
|z| ≤ |z1 |, then
r+p r+p r+p r+p r+p
n z n z n
X X X X X
n n
an z ≤ |an z | = an z0 ≤M =M ρn
z z
n=r n=r n=r 0 n=r 0 n=r
∞ r+p
X
n
X
Since the series ρ is convergent, given > 0 there exists N such that ρn <
n=0 n=r
M
for all r ≥ N and p = 1, 2, . . .. Clearly this N is independent of z. Thus given > 0 there
exists N independent of z such that
Xr+p
n
a z < for n ≥ N, p = 1, 2, 3, . . .
n
n=r
∞
X
i.e. the series an z n is uniformly convergent for all z with |z| ≤ |z1 |.
n=0
6
UPSC Civil Services Main 1996 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
x2 y2
Solution. We are given that x = A cos λt, y = B sin λt which implies that 2 + 2 = 1.
A B
Since A > B, it follows that it is the standard ellipse with 2A as the major axis and 2B as
the minor axis.
B(0, B)
A0
(−A, 0) O A(A, 0)
B 0 (0, −B)
1
dz
1. The velocity v = = −Aλ sin λt + iBλ cos λt.
dt
dz
Speed = magnitude of velocity =
p dt
2 2 2 2 2 2
= A λ sin λt + B λ cos λt
q
= λ (A2 − B 2 ) sin2 λt + B 2
Since A2 − B 2 > 0, the speed is minimum when sin2 λt = 0 i.e. when x(t) = ±A, y(t) =
0 i.e. when the particle is at the two ends of the major axis, the points A and A0 in
the figure.
d2 z
2. Acceleration = = −Aλ2 cos λt − iBλ2 sin λt.
dt2
√ p
Magnitude of acceleration = λ2 A2 cos2 λt + B 2 sin2 λt = λ2 (A2 − B 2 ) cos2 λt + B 2 .
Since A2 − B 2 > 0, acceleration is maximum when cos2 λt = 1 ⇒ cos λt = ±1 i.e. the
particle is at either end of the major axis, A or A0 . (Note that acceleration is minimum
when cos2 λt = 0 i.e. the particle is at either end of the minor axis).
1 − cos z
Question 1(b) Evaluate lim .
z→0 sin(z 2 )
Solution.
sin2 z2
1 − cos z 2 sin2 z2 2 ( z2 )2 1
lim = lim = lim sin(z 2 )
=
z→0 sin(z 2 ) z→0 sin(z 2 ) z→0 4 2
z2
Note that sin z has a simple zero at z = 0 and sin z = zφ(z) where φ(z) is analytic and
sin z
φ(0) = 1, so lim = 1.
z→0 z
√
sin z
Question 1(c) Show that z = 0 is not a branch point for the function f (z) = √ . Is it
z
a removable singularity?
√
Solution. We know that √ w = √z is a multiple valued function and has two branches. Once
we fix a branch of w = z, sin z is analytic, and
√ √
√ √ ( z)3 ( z)5
sin z = z − + + ...
3! 5!
or √
sin z z z2 z3
√ =1− + − + ...
z 3! 5! 7!
2
√ √
sin z sin z
Thus lim √ = 1, so z = 0 is not a branch point of the function f (z) = √ . In fact
z→0 z z
z = 0 is a removable singularity of f (z). In fact
( √
sin z
√ , z 6= 0
z
F (z) =
1, z=0
√
is analytic everywhere once a branch of z is specified.
Since |z| ≤ R is a compact set and f (z) is analytic on it, f (z) is bounded on |z| ≤ R.
Consequently f (z) is bounded on the whole complex plane. Now we use Liouville’s theorem
— If an entire function is bounded on the whole complex plane, then it is a constant. Thus
f (z) and therefore P (z) is a constant, which is not true, hence our assumption that P (z) 6= 0
for all z ∈ C is false. So there is at least one z1 ∈ C where P (z1 ) = 0. (This result is called
the fundamental theorem of algebra.)
We now prove by induction on n that P (z) has n zeros. If n = 1, P (z) = a0 + a1 z has
one zero namely z = − aa10 .
Assume as induction hypothesis that any polynomial of degree n − 1 has n − 1 zeros. By
Euclid’s algorithm, , we get P1 (z) and R(z) such that P (z) = (z − z1 )P1 (z) + R(z), where
R(z) ≡ 0 or deg R(z) < 1 i.e. R(z) is a constant. Putting z = z1 we get R(z) ≡ 0, so
P (z) = (z − z1 )P1 (z). Since P1 (z) is a polynomial of degree n − 1, by induction hypothesis
it has n − 1 roots in C, and therefore P (z) has n roots in C.
3
We now prove that P (z) has exactly n roots. Let z1 , z2 , . . . , zn be the (not necessarily
P (z)
distinct) roots of P (z). Let g(z) = . Clearly g(z) is analytic in
(z − z1 )(z − z2 ) . . . (z − zn )
the whole complex plane. Since
P (z) an + an−1z
+ an−2
z2
+ . . . + zan0
lim g(z) = lim = = an
z→∞ z→∞ (z − z1 )(z − z2 ) . . . (z − zn ) (1 − zz1 )(1 − zz2 ) . . . (1 − zzn )
it follows that given > 0 there exists R such that |g(z) − an | < for |z| > R, so g(z) is
bounded in the region |z| > R. The function g(z) being analytic is bounded in the compact
region |z| ≤ R. Thus by Liouville’s theorem g(z) is a constant, in fact g(z) = an , and
therefore
P (z) = an (z − z1 )(z − z2 ) . . . (z − zn )
Thus if ζ is a zero of P (z), then ζ = zj for some j, 1 ≤ j ≤ n. Thus P (z) has exactly n
zeroes.
Alternate Proof: We shall use Rouche’s theorem — Let γ be a simple closed rectifiable
curve. Let f (z), g(z) be analytic on and within γ. Suppose |g(z)| < |f (z)| on γ, then f (z)
and f (z) ± g(z) have the same number of zeroes inside γ.
Let f (z) = an z n and g(z) = an−1 z n−1 + . . . + a0 . Let R be so large that |g(z)| < |f (z)|
on |z| = R. Then f (z) and f (z) + g(z) = P (z) have the same number of zeroes within
|z| = R. But whatever R > 0 we take, f (z) has exactly n zeroes in |z| = R, therefore P (z)
has exactly n zeroes in C.
Note: Rouche’s theorem follows from the Argument Principle — Note that ∆γ (arg(f (z)+
g(z))) =change in argument of f (z)+g(z) as z moves along γ = ∆γ arg f (z)+∆γ arg(1+ fg(z) (z)
)
as f (z) 6= 0 along γ. But ∆γ arg(1 + fg(z)
(z)
) = 0 because | fg(z)
(z)
| < 1 and therefore fg(z)
(z)
continues
to lie in the disc |w − 1| < 1 as z moves on γ i.e. does not go around the origin.
4
Clearly f (z) has a simple pole at z = i in the upper half plane. The residue at z = i is
(z + i) log(z + i) log 2i 1 πi 1 π π 1
lim = = log 2e 2 = log 2 + i = − i log 2
z→i 1 + z2 2i 2i 2i 2 4 2
Thus by Cauchy’s residue theorem
Z Z Z ∞
log(z + i) log(z + i) log(x + i) π 1
lim 2
= lim 2
+ 2
dx = 2πi − i log 2
R→∞ γ 1+z R→∞ Γ 1+z −∞ 1+x 4 2
as z = x on the real axis. Z
log(z + i)
We shall now show that lim = 0. On Γ, z = Reiθ , so
R→∞ Γ 1 + z2
log(z + i) π log(Reiθ + i)Rieiθ
Z Z
= dθ
Γ 1 + z2 0 R2 e2iθ + 1
Now |R e + 1| ≥ R − 1, log(Re + i) = log Reiθ + log(1 + Reiiθ ). Clearly | log Reiθ | =
2 2iθ 2 iθ
1
Question 2(c) Find the Laurent expansion of f (z) = (z − 3) sin about the singu-
z+2
larity z = −2. Specify the region of convergence and the nature of the singularity at z = −2.
Solution. It is well known that
∞
1 X (−1)k−1 1 2k−1
sin =
z+2 k=1
(2k − 1)! z + 2
1 1 1
⇒ (z − 3) sin = (z + 2) sin − 5 sin
z+2 z+2 z+2
∞ k−1 ∞
X (−1) 1 2k−1 X (−1)k−1 1 2k−1
= (z + 2) −5
k=1
(2k − 1)! z + 2 k=1
(2k − 1)! z + 2
∞
X ak (−1)k−1 5(−1)k−1
= , a 2k−2 = , a 2k−1 =
k=0
(z + 2)k (2k − 1)! (2k − 1)!
5
The region of convergence of the series is 0 < |z + 2| < ∞. The Laurent expansion shows
that the function has an essential singularity at z = −2 — this also follows from the fact
that limz→0 sin z1 does not exist.
6
UPSC Civil Services Main 1997 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Prove that u = ex (x cos y−y sin y) is harmonic and find the analytic function
whose real part is u.
Solution.
∂u
= ex (x cos y − y sin y) + ex cos y
∂x
∂ 2u
= ex (x cos y − y sin y) + 2ex cos y
∂x2
∂u
= ex (−x sin y − sin y − y cos y)
∂y
∂ 2u
= ex (−x cos y − 2 cos y + y sin y)
∂y 2
∂ 2u ∂ 2u
Clearly + 2 = 0, showing that u is harmonic.
∂x2 ∂y z + z z − z z + z z − z
Let f (z) = u , + iv , . Then
2 2i 2 2i
f 0 (z) = ux + ivx = ux − iuy because of the C-R equations
z + z z − z z + z z − z
= ux (x, y) − iuy (x, y) = ux , − iuy ,
2 2i 2 2i
Since the above is an identity, we take z = z, so x = z, y = 0. Thus f 0 (z) = ux (z, 0) −
iuy (z, 0) = zez + ez . Then
Z Z
0
f (z) = f (z) dz = (z + 1)ez dz = zez + C
1
I Z 2π
dz 1 + 2 cos θ
Question 1(b) Evaluate where C is the unit circle. Deduce that dθ =
C z+2 0 5 + 4 cos θ
0.
I
dz 1
Solution. Cauchy’s theorem implies that = 0 because z+2
has no pole inside
C z+2
|z| = 1.
Putting z = eiθ , we get
2π
(i cos θ − sin θ) dθ
Z Z
dz
I = =
|z|=1 z+2 0 cos θ + 2 + i sin θ
2π
(i cos θ − sin θ)(cos θ + 2 − i sin θ)
Z
= dθ
0 (cos θ + 2)2 + sin2 θ
Z 2π
i(cos2 θ + sin2 θ + 2 cos θ) − 2 sin θ
= dθ
0 cos2 θ + 4 cos θ + 4 + sin2 θ
Z 2π Z 2π
2 sin θ 1 + 2 cos θ
= − dθ + i dθ
0 5 + 4 cos θ 0 5 + 4 cos θ
Since I = 0, it follows that
Z 2π Z 2π
2 sin θ 1 + 2 cos θ
dθ = 0, dθ = 0
0 5 + 4 cos θ 0 5 + 4 cos θ
A1 A2 An f (z)
Question 1(c) If f (z) = + + . . . + , find the residue at a for
z − a (z − a)2 (z − a)n z−b
where A1 , A2 , . . . An , a, b are constants. What is the residue at infinity?
f (z)
showing that has a pole of order n at z = a. The residue at z = a is the coefficient of
z−b
1 f (z)
z−a
in the Laurent expansion of around a. Now
z−b
1 1 z − a −1
= (z − a + a − b)−1 = 1+
z−b a−b a − b
f (z) A1 A2 An 1 z − a z − a 2 z − a 3
= + + ... + 1− + − + ...
z−b z − a (z − a)2 (z − a)n a − b a−b a−b a−b
2
1 f (z)
Thus the coefficient of i.e. the residue of is given by
z−a z−b
A1 A2 A3 (−1)n−1 An
− + + . . . + = −f (b)
a − b (a − b)2 (a − b)3 (a − b)n
Note: The same residue could be computed by using the formula — Residue at z = a is
1 dn−1 f (z)
(z − a)n but this calculation would be much more complicated.
(n − 1)! dz n−1 z−b
f (z)
Case (2): a = b. In this case has a pole of order n + 1 at z = a. Residue at z = a
n
z−b
1 d
is given by [(z − a)n f (z)] = 0.
n! dz n
Residue at ∞:
A1 a −1 A2 a −2 An a −n
f (z) = 1− + 2 1− + ... + n 1 −
z z z z z z
f (z) f (z) b −1 A1 1 1 1 b
= 1− = + 2 (. . .) + 3 (. . .) + . . . + + ...
z−b z z z z z z z2
1 f (z)
Since the term z
is not present in the Laurent expansion of the residue at ∞ is 0.
(z − b)
1
Question 2(a) Find the Laurent series for the function e z in 0 < |z| < ∞. Deduce that
1 π cos θ
Z
1
e cos(sin θ − nθ) dθ =
π 0 n!
for all n = 0, 1, 2, . . ..
3
D(−R, a) C(R, a)
y=a
2
Our f (z) = e−λz and the contour is Γ, the x = −R x=R
rectangle ABCD where A = (−R, 0), B = Γ
(R, 0), C = (R, a), D = (−R, a) oriented in
the anticlockwise direction. y=0
A(−R, 0) (0, 0) B(R, 0)
I
2
−λz 2
Since e is an entire function, and therefore has no poles, e−λz dz = 0.
Γ
Now we compute the integrals along the four sides.
1. Z Z a
−λz 2 2
e dz = e−λ(R+iy) i dy
BC 0
because z = R + iy on BC and 0 ≤ y ≤ a. Thus
Z Z a
−λz 2 −λR2 2 2
eλy dy = constant × e−λR
e dz ≤ e
BC 0
Z
2 2
Thus since e−λR → 0 as R → ∞, e−λz dz → 0 as R → ∞.
BC
Z
2
2. A similar argument shows that e−λz dz → 0 as R → ∞.
DA
3. Z Z ∞
−λz 2 2
lim e dz = e−λx dx
R→∞ AB −∞
as z = x on AB.
4. Z Z −∞
−λz 2 2
lim e dz = e−λ(x+ia) dx
R→∞ CD ∞
as z = x + ia on CD and orientation is from C to D. Thus
Z Z −∞
−λz 2 2 2
lim e dz = e−λ(x −a ) e−2iaλx dx
R→∞ CD
Z∞∞ Z ∞
−λ(x2 −a2 ) 2 2
= −e cos(2aλx) dx + i e−λ(x −a ) sin(2aλx) dx
−∞ −∞
Now
Z Z
2
0 = limf (z) dz = lim e−λz dz
R→∞ Γ R→∞ Γ
Z Z Z Z
−λz 2 −λz 2 −λz 2 −λz 2
= lim e dz + e dz + e dz + e dz
R→∞ AB BC CD DA
Z ∞ Z ∞ Z ∞
−λx2 λa2 −λx2 λa2 2
= e dx − e e cos(2aλx) dx + ie e−λx sin(2aλx) dx
−∞ −∞ −∞
4
Equating real and imaginary parts, we get
Z ∞
2
e−λx sin(2aλx) dx = 0
Z −∞
∞ Z ∞
−λx2 −λa2 2
e cos(2aλx) dx = e e−λx dx
−∞ −∞
√
(Substituting X = λx)
Z ∞
2 1 √ 1
= 2 e−X λ− 2 dX = πλ− 2
Z ∞ Z0 ∞
2 1 2 1 2 1√
⇒ e−λx cos(2aλx) dx = e−λx cos(2aλx) dx = e−λa λ− 2 π
0 2 −∞ 2
This completes the proof.
Question 2(c) Find the function f (z) analytic within the unit circle which takes the values
a − cos θ + i sin θ
, 0 ≤ θ ≤ 2π on the circle.
a2 − 2a cos θ + 1
Solution. Since f (z) is analytic within |z| < 1, the Maclaurin series of f (z) is given by
∞
f (n) (0)z n
Z
X
(n) n! f (z) dz
f (z) = , where f (0) =
n=0
n! 2πi |z|=1 z n+1
a − cos θ + i sin θ
We are given that on |z| = 1, f (z) = and we know that on |z| = 1,
a2 − 2a cos θ + 1
z = eiθ , dz = ieiθ dθ, 0 ≤ θ ≤ 2π, therefore
a − z1 a − z1 1
f (z) = 2 1 = 1 = on |z| = 1
a − a(z + z ) + 1 (a − z )(a − z) a−z
Now we use the Maclaurin series to compute the value of f inside the unit circle.
Z
(n) n! dz
f (0) =
2πi |z|=1 (a − z)z n+1
Z 2π iθ −(n+1)iθ
n! ie e
= dθ
2πi 0 a − eiθ
Z 2π
n! eiθ −1
= e−niθ 1 − dθ
2πa 0 a
Z 2π
n! eiθ e2iθ einθ
= e−niθ 1 + + 2 + . . . n + . . . dθ
2πa 0 a a a
Z 2π 2π Z 2π
ikθ eikθ
Since e dθ = = 0 for k 6= 0, and dθ = 2π, it follows that
0 ik 0 0
n! 1 n!
f (n) (0) = · n · 2π = n+1
2πa a a
5
Consequently
∞
X zn 1 z 1 z −1 1
f (z) = = + + . . . = 1 − =
n=0
an+1 a a2 a a a−z
6
UPSC Civil Services Main 1998 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
is continuous and C-R conditions are satisfied at z = 0, but f 0 (z) does not exist at z = 0.
x3 − y 3 x3 + y 3
Solution. Let f (z) = u + iv, then u = , v = for z 6= 0, and u(0, 0) =
x2 + y 2 x2 + y 2
v(0, 0) = 0.
h3
∂u u(h, 0) − u(0, 0) h2
−0
(0, 0) = lim = lim =1
∂x h→0 h h→0 h
−k3
∂u u(0, k) − u(0, 0) k2
−0
(0, 0) = lim = lim = −1
∂y k→0 k k→0 k
h3
∂v v(h, 0) − v(0, 0) 2 − 0
(0, 0) = lim = lim h =1
∂x h→0 h h→0 h
k3
∂v v(0, k) − v(0, 0) k2
−0
(0, 0) = lim = lim =1
∂y k→0 k k→0 k
∂u ∂v ∂u ∂v
Thus = , =− at (0, 0), i.e. the Cauchy Riemann equations are satisfied at
∂x ∂y ∂y ∂x
(0, 0).
f (z) is clearly continuous at z = 0, because
x − y 3 r3 (cos3 θ − sin3 θ)
3
p
|u(x, y) − u(0, 0)| = 2 = ≤ 2 x2 + y 2
x + y2 r2
p
|v(x, y) − v(0, 0)| ≤ 2 x2 + y 2
1
Thus u, v are continuous at (0, 0), so f (z) is continuous at (0, 0).
If f (z) is to be differentiable at 0, then
∂u ∂v
should exist and it should be equal to (0, 0) + i (0, 0) = 1 + i.
∂x ∂x
But if we take the limit along y = x, then
z
Question 1(b) Find the Laurent expansion of about the singularity z = −2.
(z + 1)(z + 2)
Specify the region of convergence and nature of singularity at z = −2.
Solution. Clearly
z 2 1 2 1
f (z) = = − = +
(z + 1)(z + 2) z+2 z+1 z + 2 1 − (z + 2)
∞
2 X
= + (z + 2)n for |z + 2| < 1 (∗)
z + 2 n=0
The function satisfies the requirements of Laurent’s theorem in the region 0 < |z + 2| < 1
and the right hand side of (∗) represents the Laurent series of f (z), which converges for
|z + 2| < 1, because we have a singularity at z = −1 which lies on |z + 2| = 1. The Laurent
series expansion (∗) shows that f (z) has a simple pole at z = −2, where its residue is 2.
Question 1(c) By using the integral representation of f (n) (0), prove that
x n 2 1
I
xn exz
= dz
n! 2πi C n!z n+1
Hence show that ∞ n Z 2π
X x 2 1
= e2x cos θ dθ
n=0
n! 2π 0
Solution. It is easily deducible from Cauchy’s Integral formula that if f (z) is analytic
within and on a simple closed contour C and z0 is a point in the interior of C, then
I
(n) n! f (z)
f (z0 ) = , dz
2πi C (z − z0 )n+1
2
Let f (z) = exz (Here x is not Re x but a parameter), then f (z) is an entire function and
therefore
exz
I
(n) n n!
f (0) = x = , dz
2πi C z n+1
where C is any closed contour containing 0 in its interior. Hence
x n 2 xn n!
I
exz 1
I
xn exz
= , dz = dz
n! (n!)2 2πi C z n+1 2πi C n!z n+1
as required.
We take C to be the unit circle for convenience. Then
∞ n ∞ I ∞
xn exz xn exz
I X
X x 2 1 X 1
= n+1
dz = n+1
dz
n=0
n! 2πi n=0 C n!z 2πi C n=0
n!z
as required.
Question 2(a) Prove that all roots of z 7 − 5z 3 + 12 = 0 lie between the circles |z| = 1 and
|z| = 2.
3
Solution.
zeimz
Let f (z) = 4 . We consider the in-
z + a4
R
tegral γ f (z) dz where γ is the contour con- Γ
sisting of the line joining (−R, 0) and (R, 0)
and Γ, the arc of the circle of radius R and
center (0, 0) lying in the upper half plane.
(−R, 0) (0, 0) (R, 0)
π
Z Reiθ eimR(cos θ+i sin θ) 2
Z
≤ R
iθ
f (z) dz = Rie dθ R 4 − a4 π
Γ 0 z 4 + a4
because |zZ + a | ≥ |z| − |a | = R4 − a4 on Γ, and e−mR sin θ ≤ 1 as sin θ > 0 for 0 < θ < π.
4 4 4 4
are inside γ.
πi πi 3πi 3πi
πi ae 4 eima e 4 3πi ae 4 eima e 4
Residue at z = ae 4 is 3πi . Residue at z = ae 4 is 9πi .
4a3 e 4 4a3 e 4
i h ima(cos π +i sin π ) ima(cos 3π +i sin 3π )
i
Sum of residues = −e 4 4 +e 4 4
4a2
i h ma
√ (i−1) ma
√ (−i−1)
i
= −e 2 +e 2
4a2
ma
−√ − ma
√
ie 2 ma e 2 ma
= 2
−2i sin √ = 2
sin √
4a 2 2a 2
Thus Z ∞ − ma
√
xeimx e 2 ma
4 4
dx = 2πi 2 sin √
−∞ x + a 2a 2
Taking imaginary parts of both sides, we get
Z ∞ Z ∞ − ma
√
x sin mx x sin mx πe 2 ma πe−mb
4 4
dx = 2 dx = sin √ = sin mb
−∞ x + a 0 x 4 + a4 a2 2 2b2
where b = √a . Thus
2
∞
πe−mb
Z
x sin mx
dx = sin mb
0 x 4 + a4 4b2
as required.
4
Z 2π
dθ
Question 2(c) Using the residue theorem evaluate .
0 3 − 2 cos θ + sin θ
dz
Solution. We put z = eiθ , so that dθ = iz
, cos θ = 21 (z + z1 ), sin θ = 1
2i
(z − z1 ). Thus
Z 2π
dθ
I =
3 − 2 cos θ + sin θ
I0
dz
= 1 1 1
|z|=1 iz[3 − (z + z ) + 2i (z − z )]
I
dz
= 2 2 2
|z|=1 6iz − 2iz − 2i + z − 1
I
dz
= 2 i 5i
|z|=1 (1 − 2i)(z + 1−2i )(z + 1−2i )
5
UPSC Civil Services Main 1999 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
x2 y 5 (x + iy)
f (z) = , z 6= 0, f (0) = 0
x4 + y 10
in a region including the origin and hence show that the Cauchy-Riemann equations are
satisfied at the origin, but f (z) is not analytic there.
Solution.
(
x3 y 5
x4 +y 10
, (x, y) 6= (0, 0)
u(x, y) = Re f (z) =
0, (x, y) = (0, 0)
( 2
x y6
x4 +y 10
, (x, y) 6= (0, 0)
v(x, y) = Im f (z) =
0, (x, y) = (0, 0)
1
Additional notes: Let z 6= 0. It can be calculated that
Now ∂u∂x
= ∂y∂v
⇔ 3x2 y 15 − x6 y 5 = −4x2 y 15 + 6x6 y 5 ⇔ x2 y 15 = x6 y 5 ⇔ x4 = y 10 or x = 0 or
y = 0.
Also, ∂u∂y
∂v
= − ∂x when x4 = y 10 or x = 0 or y = 0. Thus the Cauchy-Riemann equations
are satisfied at all those z for which x4 = y 10 or x = 0 or y = 0. But f (z) is not analytic at
any of these points because f (z) is not differentiable in any neighborhood of these points,
as we can find points in every neighborhood which are not of this kind, so there are no
neighborhoods in which the Cauchy Riemann equations are satisfied everywhere.
−1
Question 1(b) For the function f (z) = , find the Laurent series for the domain
z2 − 3z + 2
(i) 1 < |z| < 2 (ii) |z|I> 2.
Show further that f (z) dz = 0 where C is any closed contour enclosing the points z = 1
C
and z = 2.
1 1
Solution. f (z) = −
z−1 z−2
(i) 1 < |z| < 2 ⇒ | z1 | < 1, | z2 | < 1.
1 1 −1 1 z −1
f (z) = 1− + 1−
z z 2 2
∞ ∞ n
1 X 1 1 X z
= n
+
z n=0 z 2 n=0 2n
∞ ∞
X 1 X zn
= +
n=1
z n n=0 2n+1
1 1 −1 1 2 −1
f (z) = 1− − 1−
z z z z
∞ ∞ n
1 X 1 1 X 2
= n
−
z n=0 z z n=0 z n
∞
X 1 − 2n
=
n=0
z n+1
2
I I
1 1
f (z) dz = − dz
C C z −1 z−2
1 1
= 2πi residue of z−1 at z = 1 − residue of z−2
at z = 2
= 2πi[1 − 1] = 0
2z + 3
Question 1(c) Show that the transformation w = transforms the circle x2 +y 2 −4x =
z−4
0 into the straight line 4u + 3 = 0 where w = u + iv.
Solution. The point z = 4 goes to the point at ∞, showing that the given circle 0 =
x2 + y 2 − 4x = zz − 4( z+z
2
) = zz − 2z − 2z = 0 is mapped onto a line, as z = 4 lies on it.
3 + 4w
Now zw−4w = 2z+3 ⇒ zw−2z = 3+4w ⇒ z = . Thus the circle zz−2z−2z = 0
w−2
goes to
3 + 4w 3 + 4w 3 + 4w 3 + 4w
0 = −2 −2 =0
w−2 w−2 w−2 w−2
⇒0 = 9 + 12w + 12w + 16ww − 2(3 + 4w)(w − 2) − 2(3 + 4w)(w − 2)
⇒0 = 9 + 12w + 12w + 16ww − 6w + 12 + 16w − 8ww − 6w + 12 + 16w − 8ww
= 33 + 22w + 22w
0 = 2(w + w) + 3
Thus 4u + 3 = 0, as required.
Alternate solution: The given circle is |z − 2| = 2 ⇒ z = 2 + 2eiθ . Substituting in
transformation expression,
2z + 3 4 + 4eiθ + 3 7 + 4eiθ (7 + 4eiθ )(e−iθ − 1)
w = = = =
z−4 2 + 2eiθ − 4 2(eiθ − 1) 2(eiθ − 1)(e−iθ − 1)
7e−iθ − 4eiθ − 3 7(cos θ − i sin θ) − 4(cos θ + i sin θ) − 3
= iθ −iθ
=
2(2 − e − e ) 2(2 − 2 cos θ)
3 cos θ − 3 − 11i sin θ 3 11 sin θ
= = − −i
4(1 − cos θ) 4 4(1 − cos θ)
Thus u = − 34 ⇒ 4u + 3 = 0, hence all points on the circle |z − 2| = 2 are mapped onto the
line 4u + 3 = 0.
Question 2(a) Using the Residue Theorem show that
Z ∞
x sin ax π −a
4
dx = e sin a (a > 0)
−∞ x + 4 2
Solution.
3
Z
We consider I = f (z) dz where f (z) = as shown.
γ
zeiaz
and the contour γ consists of Γ a semi- Γ
z4 + 4
circle of radius R with center (0, 0) lying in
the upper half plane bounded by the real axis
iθ iaReiθ
Z π Z π
zeiaz dz R2 πR2
Z
Re e iθ
−aR sin θ
4
= iRe dθ ≤ e dθ ≤
Γ z +4
0 z4 + 4 R4 − 4 0 R4 − 4
because
R |z 4 + 4| ≥ |z 4 | − 4 = R4 − 4 on Γ, and e−aR sin θ ≤ 1 as sin θ ≥ 0 on [0, π]. Thus
Γ
f (z) dz → 0 as R → ∞. Thus
∞
xeiax zeiaz e−a sin a
Z Z
dx = lim dz = 2πi
−∞ x4 + 4 R→∞ γ z4 + 4 4
as required.
4
Question 2(b) The function f (z) has a double pole at z = 0 with residue 2, a simple pole
at z = 1 with residue 2, is analytic at all other finite points of the plane and is bounded as
|z| → ∞. If f (2) = 5 and f (−1) = 2, find f (z).
Solution. Since f (z) has only poles as singularities in the extended complex plane, it is
well known that f (z) has to be a rational function. Since f (z) has a double pole at z = 0
φ(z)
and a simple pole at z = 1, it has to be of the form f (z) = 2 . where φ(z) is a
z (z − 1)
polynomial such that φ(0) 6= 0, φ(1) 6= 0. Moreover degree of φ(z) is ≤ 3 as we are given
that f (z) is bounded as z → ∞. Let φ(z) = a0 + a1 z + a2 z 2 + a3 z 3 . Then
a0 + 2a1 + 4a2 + 8a3
f (2) = 5 ⇒ =5 (1)
4
a0 − a1 + a2 − a3
f (−1) = 2 ⇒ =2 (2)
−2
(z − 1)φ(z)
Residue of f (z) at z = 1 is lim = φ(1). This value is given to be 2, so
z→1 z 2 (z − 1)
a0 + a1 + a2 + a3 = 2 (3)
−a0 − a1 = 2 (4)
5
cot πz
3. at z = a and z = ∞. What happens when a is an integer (including a = 0)?
(z − a)2
Solution.
(z − 2πi)2 (z − 2πi)3
1. Clearly ez − 1 = ez−2πi − 1 = (z − 2πi) + + + . . ., showing that
2! 3!
1
ez − 1 has a simple zero at z = 2πi. Thus the given function 1−e z has a simple pole at
1
2. f (z) = . We know that
sin z − cos z
2
1 π 1 z − π4 1 π
sin z = √ + z − √ − √ + . . . + Higher powers of z −
2 4 2 2! 2 4
π 2
1 π 1
z− 4 1 π
cos z = √ − z − √ − √ + . . . + Higher powers of z −
2 4 2 2! 2 4
3
√ π √ z− 4 π π
⇒ sin z − cos z = 2 z− − 2 + . . . + Higher powers of z −
4 3! 4
π 1
Since sin z − cos z has a simple zero at z = , the given function has a
4 sin z − cos z
π
simple pole at z = .
4
π z − π4 1
Residue at z = is given by limπ =√ .
4 z→ 4 sin z − cos z 2
cot πz
3. f (z) = . f (z) has a simple pole at each z = n, n ∈ Z, n 6= a, with residue
(z − a)2
1
(n−a)2
. f (z) also has a pole at z = a, whose nature is as follows:
6
(c) a is an integer.
sin πz has a simple zero at z = a and cos πa 6= 0, then f (z) has a triple pole at
z = a. The residue in this case is − π3 , because
3
a 3 (z − a)
sin πz = (−1) π(z − a) − π + Higher powers of(z − a)
3!
2
a 2 (z − a)
cos πz = (−1) 1 − π + Higher powers of(z − a)
2!
2
1 1 − π 2 (z−a)
2!
+ Higher powers of(z − a)
f (z) =
(z − a)2 π(z − a)[1 − π 2 (z−a)2 + Higher powers of(z − a)]
3!
2 2
1 2 (z − a) 2 (z − a)
= 1−π + ... 1 + π + ...
π(z − a)3 2! 3!
1
The coefficient of z−a in the Laurent series of f (z) (formed by multiplying the
π2 2
1
above series) is π − 2 + π6 = − π3 , which is the required residue.
(Note that the computation of residues was not required for this problem.)
Finally, f (z) has an essential singularity at ∞, because f (z) has zeros at z = n + 21 , a 6=
n + 12 whose limit point is ∞.
7
UPSC Civil Services Main 2000 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Show that any four given points of the complex plane can be carried by a
bilinear transformation to positions 1, −1, k, −k where the value of k depends on the given
points.
(z − z1 )(z2 − z3 ) (w − w1 )(w2 − w3 )
=
(z1 − z2 )(z3 − z) (w1 − w2 )(w3 − w)
Now w1 = 1, w2 = −1, w3 = k, so
(z − z1 )(z2 − z3 ) (w − 1)(−1 − k)
=
(z1 − z2 )(z3 − z) (2)(k − w)
1
Solution. If f (z) is analytic on and inside C, then by Cauchy’s integral formula
Z
1 f (s) ds
f (z) =
2πi C s − z
Let h be a complex number so chosen that z + h also lies in the interior of C. Then
Z
f (z + h) − f (z) 1 1 h f (s) f (s) i
= − ds
h 2πi h C s − z − h s − z
Z
1 1 hf (s)
= ds
2πi h C (s − z)(s − z − h)
f (z + h) − f (z)
Z Z h
1 f (s) 1 f (s) f (s) i
=⇒ − ds = − ds
h 2πi C (s − z)2 2πi C (s − z − h)(s − z) (s − z)2
Z
1 hf (s)
= ds
2πi C (s − z − h)(s − z)2
Let M = supz∈C |f (z)|, l = arc length of C, d = mins∈C |z − s| > 0. Since we are interested
in h → 0, we can assume that 0 < |h| < d. Now |s−z| ≥ d, |s−z −h| ≥ |s−z|−|h| ≥ d−|h|,
and therefore
f (z + h) − f (z) |h|
Z
1 f (s) M
− ds ≤ ·l
h 2πi C (s − z)2 2π d2 (d − |h|)
Since the right hand side of the above inequality → 0 as h → 0, it follows that
f (z + h) − f (z)
Z
1 f (s)
lim = ds
h→0 h 2πi C (s − z)2
i.e. Z
d(f (z)) 0 1 d f (s)
= f (z) = ds
dz 2πi C dz s − z
or Z Z
d 1 f (s) ds 1 d f (s)
= ds
dz 2πi C s − z 2πi C dz s − z
i.e. differentiation under the integral sign is valid. The representation for f 0 (z) is given by
Z
0 1 f (s) ds
f (z) =
2πi C (s − z)2
2
UPSC Civil Services Main 2001 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Prove that the Riemann zeta function ζ defined by ζ(z) = ∞ −z
P
n=1 n con-
verges for Re z > 1 and converges uniformly for Re z > 1 + where is arbitrarily small.
Solution.
1 1 1 1 1
=
nz nx · niy = nx ∵ iy = iy log n = 1
n e
∞
X 1
converges for x > 1, it follows that ∞ −z
P
Since x n=1 n converges absolutely for Re z > 1.
n=1
n
If Re z ≥ 1 + , then n1x ≤ n1+
1
and
∞ ∞
X
−z
X 1
|n | ≤ 1+
n=1 n=1
n
for Re z ≥ 1 + . Weierstrass’ M-test gives that the given series converges uniformly and
absolutely for Re z ≥ 1 + .
1
Question 2(a) Find the Laurent series for the function e z in 0 < |z| < ∞. Using the
expansion show that
1 π cos θ
Z
1
e cos(sin θ − nθ) dθ =
π 0 n!
n = 1, 2, . . ..
1
Solution. Clearly e z is analytic in 0 < |z| < ∞ and satisfies requirements of Laurent’s
expansion, and we have
∞ Z 1
1
X
n 1 ez
ez = an z , where an = n+1
dz (∗)
n=−∞
2πi |z|=1 z
1
Note — z = 0 is an essential singularity, therefore we have infinitely many terms with
negative exponents. In the expression for an we could have taken any disc, we have taken
|z| = 1 for convenience.
Put z = eiθ in (∗), dz = ieiθ dθ, we get
Z 2π cos θ−i sin θ
1 e
an = ieiθ dθ
2πi 0 ei(n+1)θ
Z 2π
1
= ecos θ e−i sin θ−inθ dθ
2π 0
Z 2π Z 2π
1 cos θ i
= e [cos(sin θ + nθ)] dθ − ecos θ [sin(sin θ + nθ)] dθ
2π 0 2π 0
cos θ cos θ
Z 2π g(θ) = e [sin(sin θ + nθ)], then g(2π − θ) = −e [sin(sin θ + nθ)] = −g(θ). Thus
Let
ecos θ [sin(sin θ + nθ)] dθ = 0.
0 Z 2π
1
Thus an = ecos θ [cos(sin θ + nθ)] dθ.
2π 0 Z 2π
1
In particular, a−n = ecos θ [cos(sin θ − nθ)] dθ for n = 1, 2, . . ..
2π 0
∞
1
X 1
But we know that e z = 1 + n
.
n=1
n!z
Therefore, comparing the two expansions we get for n = 1, 2, . . .,
Z 2π
1 1
ecos θ [cos(sin θ − nθ)] dθ =
2π 0 n!
Since ecos 2π−θ cos(sin(2π − θ) − n(2π − θ)) = ecos θ [cos(sin θ − nθ)], we can double the integral
and halve the limit to obtain
1 π cos θ
Z
1
e cos(sin θ − nθ) dθ =
π 0 n!
Z ∞
dx π
Question 2(b) Show that 4
=√ .
−∞ 1+x 2
Solution.
1
We take f (z) = 1+z 4 and the contour Γ
γ consisting of Γ a semicircle of radius R
with center (0, 0) lying in the upper half
plane, and the line joining (−R, 0) and (R, 0).
(−R, 0) (0, 0) (R, 0)
2
Z
dz
By Cauchy’s residue theorem = 2πi(sum of residues at poles of f (z) in the upper
γ 1 + z4
half plane).
1 πi 3πi
Clearly 1+z 4 has two simple poles at z = e
4 and z = e 4 inside the contour.
πi 1 1
Residue at z = e 4 is d(z4 +1) = 3πi .
dz
4e 4
3πi 1 1
Residue at z = e 4 is 9πi = πi .
4e 4 4e 4
1 3π 3π π π
Sum of residues = cos − i sin + cos − i sin
4 4 4 4 4
1 π π π π
= − cos − i sin + cos − i sin
4 4 4 4 4
i 2 i
= − √ =− √
4 2 2 2
−i
Z
dz π
Thus lim = 2πi √ = √ .
R→∞ γ 1 + z4 2 2 2
Now Z Z π
dz
≤ R πR
1 + z4 4
dθ =
Γ 0 R −1 R4 − 1
iθ 4 4
Z z = Re and using |z + 1| ≥ R − 1 on Γ.
on putting
dz
Thus 4
→ 0 as R → ∞. Consequently,
Γ 1+z
Z Z ∞
dz dx π
lim 4
= 4
=√
R→∞ γ 1 + z −∞ 1 + x 2
as required.
3
UPSC Civil Services Main 2002 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Suppose that f and g are two analytic functions on the set C of all complex
numbers with f ( n1 ) = g( n1 ) for n = 1, 2, 3, . . ., then show that f (z) = g(z) for all z ∈ C.
Solution. Let G(z) = f (z) − g(z), then G( n1 ) = 0 for n = 1, 2, . . .. We shall show that
G(z) ≡ 0 for z ∈PC whichn would prove the result.
Let G(z) = ∞ n=0 an z be the power series of G(z) with center 0 and radius of convergence
R, clearly R > 0. We shall now prove that an = 0 for every n.
If an 6= 0 for some n, let ak be the first non-zero coefficient. Then
Clearly H(z) is analytic in |z| < R, and H(0) 6= 0. We now claim that H(z) 6= 0 in a
neighborhood |z| < δ of 0. Let = |H(0)| 2
, then continuity of H(z) at z = 0 implies that there
exists a δ > 0 such that |z| < δ ⇒ |H(z) − H(0)| < or |H(0)| − < |H(z)| < |H(0)| +
for |z| < δ. Thus |H(z)| > |H(0)| 2
> 0 for |z| < δ. Consequently, G(z) 6= 0 for any z in
0 < |z| < δ. But this is not possible, as |z| < δ contains all but finitely many n1 , at which
G(z) vanishes. Thus our assumption that an 6= 0 for some n is false, thus G(z) ≡ 0 in
|z| < R.
Let z 0 be any point in C, and let r(t), a ≤ t ≤ b be a continuous curve joining 0 and z 0 .
Using uniform continuity of r(t), we get a partition a = t0 < t1 < . . . < tn = b of [a, b] such
that r(t0 ) = 0, r(t1 ) = z1 , . . . , r(tn ) = r(b) = z 0 , and |zj − zj−1 | < R.
Now the disc K0 = |z − 0| < R contains z1 , the center of disc K1 = |z − z1 | < R. Since
G(z1 ) = 0 as z1 ∈ K0 ∩ K1 , and K0 ∩ K1 contains a sequence of points yn such that yn → z1
and G(yn ) = 0, we can prove as before that G(z) ≡ 0 in K1 . Proceeding in this way, in
n steps we get G(z) ≡ 0 in Kn , or G(z 0 ) = 0. Since z 0 is an arbitrary point of C, we get
G(z) ≡ 0 in C.
1
z
Question 2(a) Show that when 0 < |z − 1| < 2, the function f (z) = has the
(z − 1)(z − 3)
Laurent series expansion in powers of (z − 1) as
∞
−1 X (z − 1)n
−3
2(z − 1) n=0
2n+2
3 3 −1 ζ −1 ζ
Now for 0 < |ζ| < 2, = · · 1− and < 1. Consequently,
2(ζ − 2) 2 2 2 2
∞
3 3 X ζ n
=−
2(ζ − 2) 4 n=0 2
and ∞ ∞
1 3 X ζ n 1 X (z − 1)n
f (z) = − − =− −3
2ζ 4 n=0 2 2(z − 1) n=0
2n+2
which is the desired Laurent series expansion.
2
Clearly on Γ, if we put z = Reiθ , then 0 ≤ θ ≤ π and
iθ iReiθ Rieiθ eiReiθ
Z iz
Z π Z π
e dz Rie e dθ
≤
z 2 + a2 = 2 2iθ + a2 dθ
Γ 0 R2 e2iθ + a2 0 R e
iθ
But |eiRe | = |eiR cos θ e−R sin θ | = e−R sin θ ≤ 1 as sin θ ≥ 0 for 0 ≤ θ ≤ π. |z 2 +a2 | ≥ |z|2 −a2 =
R2 − a2 . Therefore Z π
iz
Z
e dz R πR
z 2 + a2 ≤ dθ = 2
2 2 R − a2
Γ 0 R −a
eiz dz
Z
Hence 2 2
→ 0 as R → ∞.
ΓZz + a
eiz dz
Now 2 2
= 2πi(sum of residues at poles inside γ).
γ z +a
But the only pole in the upper half plane is z = ia, (a > 0) and the residue at z = ia is
ei(ia) e−a
= . Thus
2ia 2ia
Z ∞ ix
eiz dz e−a πe−a
Z
e dx
lim = = 2πi · =
R→∞ γ z 2 + a2 2
−∞ x + a
2 2ia a
Z ∞ −a Z ∞
cos x dx πe sin x dx
=⇒ 2 2
= , 2 2
=0
−∞ x + a a −∞ x + a
Z ∞
cos x dx πe−a
=⇒ = ∵ cos x = cos(−x)
0 x 2 + a2 2a
3
UPSC Civil Services Main 2003 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Determine all the bilinear transformations which transform the unit circle
|z| ≤ 1 into the unit circle |w| ≤ 1.
az + b
Solution. Let the required transformation be w = . Clearly z = − ab ⇒ w = 0 and
cz + d
z = − dc ⇒ w = ∞. Since 0, ∞ are inverse points with respect to the circle |w| = 1, then
− ab , − dc are inverse points with respect to the circle |z| = 1 (note that R, S different from 0
are said to be inverse points with respect to |z| = 1 if O, R, S are collinear and OR · OS = 1).
Thus if we set − ab = α, then − dc = α1 and we get
a z−α aα z − α
w= 1 =
c z−α c αz − 1
aα 1 − α
Since |z| = 1 maps onto |w| = 1, we take z = 1 to get = 1. But |1 − α| = |1 − α|,
c α − 1
aα aα
therefore = 1. Let = eiθ , θ ∈ R, so that
c c
z−α
w = eiθ
αz − 1
We now check that when |z| = 1, we have |w| = 1.
iθ z − α
|w| = |e |
αz − 1
z − α
= |z| (∵ zz = 1)
α − z
= 1 (∵ |z − α| = |α − z|)
1
Now let |z| < 1. Then
z−α z−α
ww − 1 = eiθ · e−iθ −1
αz − 1 αz − 1
zz − αz − αz + αα
= −1
(αz − 1)(αz − 1)
zz − αz − αz + αα − ααzz + αz + αz − 1
=
(αz − 1)(αz − 1)
zz + αα − ααzz − 1
=
|αz − 1|2
(zz − 1)(1 − αα)
=
|αz − 1|2
Thus if |α| < 1, then |w| < 1. This shows that the transformation
z−α
w = eiθ , θ ∈ R, |α| < 1
αz − 1
maps the interior of |z| = 1 onto the interior of |w| = 1 and the boundary of |z| = 1 onto
the boundary of |w| = 1. Thus all bilinear transforms which map |z| ≤ 1 onto |w| ≤ 1 are
given by
z−α
w = eiθ , θ ∈ R, |α| < 1
αz − 1
Note: If |α| > 1, then the interior of |z| = 1 would map onto the exterior of |w| = 1. The
boundary will map onto the boundary, as before.
z − ic 2
Question 2(a) 1. Discuss the transformation W = , c real, showing that the
z + ic
upper half of the W -plane corresponds to the interior of a semicircle lying to the right
of the imaginary axis in the z-plane.
2
Let W = U + iV , so that
2
x + i(y − c)
U + iV =
x + i(y + c)
2
(x + i(y − c))(x − i(y + c))
=
x2 + (y + c)2
2 2
x + y 2 − c2 − 2icx
=
x2 + (y + c)2
(x2 + y 2 − c2 )2 − 4c2 x2 − 4icx(x2 + y 2 − c2 )
=
[x2 + (y + c)2 ]2
(x2 + y 2 − c2 )2 − 4c2 x2
⇒U =
[x2 + (y + c)2 ]2
−4cx(x2 + y 2 − c2 ) 4cx(c2 − x2 − y 2 )
V = =
[x2 + (y + c)2 ]2 [x2 + (y + c)2 ]2
1 − cos θ
Let y = c cos θ, then U = − = − tan2 2θ . When y moves from −c to c, i.e.z
1 + cos θ
traverses the boundary of the semicircle, θ varies from π to 0, and U varies from −∞
to 0. Thus the boundary of the semicircle x2 + y 2 = c2 with x ≥ 0 is mapped onto the
U -axis. Hence the semicircle x2 + y 2 = c2 with x ≥ 0 is mapped onto W = U + iV
with V ≥ 0.
3
p √
Now z 2 − 2(2a2 + 1)z + 1 = 0 ⇒ z = 2a2 + 1 ± (2a2 + 1)2 − 1 = 2a2 + 1 ± 2a a2 + 1.
√ √
Clearly |2a2 + 1 + 2a a2 + 1| > 1 showing that |2a2 + 1 − 2a a2 + 1| < 1 because√ the
product of the roots is 1. Thus the only pole inside |z| = 1 is z = 2a2 + 1 − 2a a2 + 1.
√ 1
Residue at z = 2a2 +1−2a a2 + 1 is √ √ =
(2a + 1 − 2a a + 1) − (2a2 + 1 + 2a a2 + 1)
2 2
1
√ .
−4a a2 + 1
1 π
Thus I = 2ai · 2πi · √ =√ .
−4a a2 + 1 a2 + 1
4
UPSC Civil Services Main 2004 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
4
Question 1(a) Find the image of the line y = x under the mapping w = and draw
z2 + 1
it. Find the points where this transformation ceases to be conformal.
Solution. Let z = x + iy. Then
4 4
w = = 2
z2
+1 2
x − y + 1 + 2ixy
4
= 2 2 2 2 2
[x2 − y 2 + 1 − 2ixy]
(x − y + 1) + 4x y
4 − 8ix2 4 −8x2 1
So if x = y, w = 4
. Let u = 4
, v = 4
⇒ u2 + v 2 = 16 = 4u ⇒
1 + 4x 1 + 4x 1 + 4x 1 + 4x4
1
(u − 2)2 + v 2 = 4, v ≤ 0. So the image of the line x = y under the mapping w = 2 is a
z +1
semicircle with center (2, 0), radius 2 and below the x-axis.
(2, 0)
dw 8z dw
Conformality: =− 2 2
when z 6= ±i. Clearly 6= 0 when z 6= 0. Thus the
dz (z + 1) dz
dw
mapping is conformal at all points which are different from z = 0, ±i (as does not exist
dz
at ±i).
1
Question 2(a) If all zeros of a polynomial P (z) lie in a half plane, then show that zeros of
the derivative P 0 (z) also lie in the same half plane.
Solution. We can assume Q without loss of generality that the zeros of P (z) lie in the half
plane Re z < 0. Let P (z) = nj=1 (z − αj ) where αj = xj + iyj , xj < 0.
If Re z ≥ 0, then P (z) 6= 0 and
n
P 0 (z) X 1
=
P (z) j=1
z − αj
n
X 1
=
j=1
x − xj + i(y − yj )
n
X x − xj − i(y − yj )
=
j=1
(x − xj )2 + (y − yj )2
P 0 (z)
whenever Re z = x ≥ 0. Thus and therefore P 0 (z) has no zeros in the right half plane
P (z)
Re z ≥ 0. Hence all zeros of P 0 (z) lie in the same half plane in which the zeros of P (z) lie.
2
√
Now the integrand has simple poles at z = ± p, ± √1p . Since 0 < p < 1, the only poles inside
√ √
|z| = 1 are z = ± p. The residue at z = p is
√ √
(z − p)z(1 + z 6 ) p(1 + p3 ) 1 + p3
lim
√ = √ =
z→ p (1 − pz 2 )(z 2 − p) (1 − p2 )2 p 2(1 − p2 )
√
Similarly residue at z = − p is
√ √
(z + p)z(1 + z 6 ) − p(1 + p3 ) 1 + p3
lim√ = √ =
z→− p (1 − pz 2 )(z 2 − p) (1 − p2 )(−2 p) 2(1 − p2 )
Thus
2π Z 2π
cos2 3θ 1 + ei6θ
Z
1
dθ = Re dθ
0 1 − 2p cos 2θ + p2 2 0 1 + 2p cos 2θ + p2
1 √
= Re 2πi[Sum of residues at z = ± p]
2i
1 + p3 1 − p + p2
= π = π
1 − p2 1−p
3
UPSC Civil Services Main 2006 - Mathematics
Complex Analysis
Sunder Lal
Retired Professor of Mathematics
Panjab University
Chandigarh
Question 1(a) Determine all the bilinear transformations which map the half plane Im(z) ≥
0 into the unit circle |w| ≤ 1.
Solution. Since the x-axis is to be mapped onto the circle |w| = 1, we determine conditions
on a, b, c, d where
az + b
w=
cz + d
is the desired bilinear transformation, such that points z = 0, z = 1, z = ∞ are mapped onto
points with modulus 1.
First of all, c 6= 0, because if c = 0 then the image of z = ∞ would be w = ∞, which is
not possible.
Clearly z = ∞ is mapped onto w = ac , thus we must have | ac | = 1 or |a| = |c| 6= 0.
When z = 0, w = db (note that d 6= 0, because otherwise z = 0 would be mapped onto
∞), thus |w| = 1 gives us |b| = |d| 6= 0.
a z + ab
az + b z − z0 a
Since a 6= 0, c 6= 0, we can write w = = d
= eiα with eiα = , z0 =
cz + d c z+ c z − z1 c
b d b d
− , z1 = − . But = , so |z0 | = |z1 |. Thus we have proved that w can be written in
a c a c
the form
iα z − z0
w=e with α ∈ R, |z0 | = |z1 |
z − z1
1
We now use the fact that the image of z = 1 has modulus 1, and get
|1 − z0 | = |1 − z1 |
⇒ (1 − z0 )(1 − z0 ) = (1 − z1 )(1 − z1 )
⇒ 1 − z0 − z0 + z0 z0 = 1 − z1 − z1 + z1 z1
⇒ z0 + z0 = z1 + z1 ∵ |z0 | = |z1 | ⇒ z0 z0 = z1 z1
⇒ Re(z0 ) = Re(z1 )
Comparing coefficients of the powers of z we have |a| = |c|, |b| = |d|, Re (ba) = Re (dc), thus
since ad − bc 6= 0, we have |a| = |c| 6= 0, |b| = |d| = ba
6 0, and Re ( ab ) = Re ( aa ) = Re ( dc
cc
)=
d
Re ( c ).
2
a z + ab
az + b iα z − z0 iα a b
Thus we can write w = = = e with e = , z0 = − , z1 =
cz + d c z + dc z − z1 c a
d
− . Thus Re z0 = Re z1 , |z0 | = |z1 |, hence z0 = z1 or z0 = z1 . The former is not possible as
c
it would make ad − bc = 0, hence z0 = z1 . For the same reason, Im z0 6= 0. So we have
iα z − z0
w=e , α∈R
z − z0
Now in addition, since the upper half plane Im(z) > 0 is mapped onto the interior of |w| = 1,
and the image of z0 is 0, and thus inside the unit circle, so z0 is in the upper half plane,
hence Im(z0 ) > 0.
Hence the required set of bilinear transformations is
iα z − z0
n o
w=e , α ∈ R, Im(z0 ) > 0
z − z0
The converse is proved as above.
Solution. Let
Z π
cos 2θ
I = dθ
1 − 2a cos θ + a2
Z0 π
(cos 2θ)(1 + 2a cos θ + a2 )
= dθ
(1 + a2 )2 − 4a2 cos2 θ
Z0 π Z π
(cos 2θ)(1 + a2 ) 2a cos θ cos 2θ
= 2 2 2 2
dθ + 2 2 2 2
dθ
0 (1 + a ) − 4a cos θ 0 (1 + a ) − 4a cos θ
Putting 2θ = β, we get
1 2π (cos β)(1 + a2 ) 1 2π (1 + a2 ) cos β
Z Z
I= dβ = dβ
2 0 (1 + a2 )2 − 2a2 (1 + cos β) 2 0 1 + a4 − 2a2 cos β
3
dz
We now put z = eiβ , so that dz = iz dβ or dβ = .
iz
(1 + a2 ) 12 (z + z1 ) dz
Z
1
I = 4 2 1
2 |z|=1 1 + a − a (z + z ) iz
1 + a2 z2 + 1
Z
=
4 2 2 2
dz
4i |z|=1 z (1 + a )z − a z − a
1 + a2 −(z 2 + 1)
Z
= dz
4a2 i |z|=1 z z 2 − (a2 + a12 )z + 1
(1 + a2 )i z2 + 1
Z
= 1 dz
4a2 2
|z|=1 z(z − a )(z − a2 )
Clearly the integrand has simple poles at z = 0, z = a2 , z = a12 , out of which z = 0 and
z = a2 lie inside |z| = 1 as −1 < a < 1.
(z 2 + 1)z
Residue at z = 0 is lim = 1.
z→0 z(z − a2 )(z − 12 )
a
(z 2 + 1)(z − a2 ) a4 + 1
Residue at z = a2 is lim = .
z→0 z(z − a2 )(z − 12 ) a 4−1
a
Cauchy’s residue theorem (the integral around a curve = 2πi· sum of residues at poles
inside the curve) now gives us
(1 + a2 )i a4 + 1 (1 + a2 ) · 2a4 πa2
I= · 2πi 1 + = −2π =
4a2 a4 − 1 4a2 (a4 − 1) 1 − a2
Question 2(b) Prove that all the roots of z 7 − 5z 3 + 12 = 0 lie between the circles |z| = 1
and |z| = 2.
2. Both g(z) and f (z) are analytic on and within |z| < 1
By Rouche’s theorem, f (z) + g(z) = z 7 − 5z 3 + 12 and f (z) have the same number of zeros
inside |z| = 1. But f (z) = 12 has no zeros anywhere and in particular in the region |z| < 1,
therefore z 7 − 5z 3 + 12 has no zeros inside the unit circle.
Now we take g(z) = 12 − 5z 3 , f (z) = z 7 .
4
2. Both g(z) and f (z) are analytic on and within |z| < 2
Therefore by Rouche’s theorem, g(z) + f (z) = z 7 − 5z 3 + 12 and f (z) have the same number
of zeros inside |z| = 2. Since f (z) = z 7 has 7 zeros (z = 0 is a zero of order 7 of f (z)) inside
|z| = 2, the given polynomial has seven zeros inside |z| = 2 i.e. all its zeros lie inside |z| = 2.
Since z 7 − 5z 3 + 12 has no zeros inside and on |z| = 1, therefore all zeros lie in the ring
1 < |z| < 2.