MATH5 ALGEBRA S TEST VERSION A Sample Solutions September, 7 These answers were written and typed up by Allan Loi and edited by Aaron Hassan. Please be ethical with this resource. It is for the use of MathSoc members, so do not repost it on other forums or groups without asking for permission. If you appreciate this resource, please consider supporting us by coming to our events and buying our T-shirts Also, happy studying We cannot guarantee that our answers are error-free or would obtain full marks please notify us of any errors or typos at unswmathsoc@gmail.com, or on our Facebook page. There are often multiple methods of solving the same question. Remember that in the real class test, you will be expected to explain your steps and working out. Please note quiz papers that are NOT in your course pack will not necessarily reflect the style or difficulty of questions in your quiz. Question Firstly, we write + i in polar form. Noting that the modulus + i is and its argument is π/, we have, Let the fourth roots of e iπ iπ + i e. be reiθ. This gives us the expression, (reiθ ) e iπ, Expanding the left side, r eiθ e iπ, Equating the modulus and argument in the above expression, r, θ π. Finally, we solve for r and θ, noting that r is a non-negative real value and θ lies between π π π π and π. This r and we find that θ can be 5π 6,, 6 or. Hence, the roots are π e 6,
π e, π e, 5π e 6. Question We aim to prove that S {p P p(5) } is a subspace of P using the subspace theorem. Consider a polynomial p that performs the mapping x 7 (x 5). We note that this polynomial is in P and p(5). Hence, p is in the set S, which implies that S is not empty. (An alternative example you can use to show that S is non-empty is to use the zero polynomial, since this also satisfies p(5), and belongs to P.) Let p and q be elements in S. Consider the polynomial p + q. Since P is a vector space, it is closed under addition and hence p + q is in P. By using the fact that p(5) q(5), since they are in S, we have (p + q)(5) p(5) + q(5) +. Hence, p + q is also in S, which implies that S is closed under addition. Let λ be real and suppose p is in S. Since P is a vector space, it is closed under scalar multiplication, so λp is in P. By using the fact that p(5), since it is in S, we have (λp)(5) λp(5) λ(). Hence, λp is also in S, which implies that S is closed under scalar multiplication. Since S is a non-empty subset of P that is closed under addition and scalar multiplication, it is a subspace of P. Question (i) Let z x + iy and suppose that z + z. By squaring both sides of this expression and substituting z, we have, (x + ) + iy (x ) + iy. Using the fact that w ww, ((x + ) + iy)((x + ) iy) ((x ) + iy)(x iy). Expanding, (x + ) + y (x ) + y,
Further expanding and cancelling terms gives us, (x + x + ) + y (x x + ) + y, x x, x, x. Therefore, x and z iy. We have two cases to consider now, y and y <. Suppose y. Then Arg(z + ) Arg( + iy) tan (y) and Arg(z ) Arg( + iy) tan ( y) + π. Thus, Arg(z + ) + Arg(z ) tan (y) + tan ( y) + π, tan (y) tan (y) + π, π. Suppose y <. Then Arg(z + ) Arg( + iy) tan (y) and Arg(z ) Arg( + iy) tan ( y) π. Thus, Arg(z + ) + Arg(z ) tan (y) + tan ( y) π, tan (y) tan (y) π, π. Therefore, we have Arg(z + ) + Arg(z ) ±π. (ii) Angles of isosceles triangles opposite to the sides of equal length are equal. To draw the diagram for this question, draw two point on the y-axis (one above the x-axis and one below; these correspond to the point z) and the triangle joining this point to the points (, ) and (, ), and label the base angles of this (isosceles) triangle as equal.
MATH5 ALGEBRA S TEST VERSION B Sample Solutions September, 7 These answers were written and typed up by Allan Loi and edited by Aaron Hassan. Please be ethical with this resource. It is for the use of MathSoc members, so do not repost it on other forums or groups without asking for permission. If you appreciate this resource, please consider supporting us by coming to our events and buying our T-shirts Also, happy studying We cannot guarantee that our answers are error-free or would obtain full marks please notify us of any errors or typos at unswmathsoc@gmail.com, or on our Facebook page. There are often multiple methods of solving the same question. Remember that in the real class test, you will be expected to explain your steps and working out. Please note quiz papers that are NOT in your course pack will not necessarily reflect the style or difficulty of questions in your quiz. Question Let z cos(θ) + i sin(θ). We can write z in two ways. Firstly, by using de Moivre s formula, we have z (cos(θ) + i sin(θ)), cos(θ) + i sin(θ). Secondly, by using a binomial expansion, we have z cos (θ) + i cos (θ) sin(θ) 6 cos (θ) sin (θ) i cos(θ) sin (θ) + sin (θ), cos (θ) 6 cos (θ) sin (θ) + sin (θ) + i( cos (θ) sin(θ)) cos(θ) sin (θ)), Equating the real components of these two expressions gives, cos(θ) cos (θ) 6 cos (θ) sin (θ) + sin (θ).
Using the fact that sin θ cos (θ), cos(θ) cos (θ) 6 cos (θ)( cos (θ)) + ( cos (θ)), cos (θ) 6 cos (θ) + 6 cos (θ) + (cos (θ) cos (θ) + ), 8 cos (θ) 8 cos (θ) +. Question We aim to prove that S {x R x x and x + x } is a subspace of R using the subspace theorem. We start by verifying the necessary condition that S is a subset of R. This can be done by noting that all elements of S are required to be in R, from the way S is defined. Consider the zero vector (,, ) R. Since () and () +, we see that the zero vector is in S, so S is non-empty. Suppose u (u, u, u ) R and v (u, u, u ) R are in S. This means that the following expressions are true: u u, u + u, v v, v + v. Let w u + v (u + v, u + v, u + v ) R. Observe that, w + w (u + v ) + (u + v ), (u + u ) + (v + v ), +,, and, w + w (u + v ) + (u + v ), (u + u ) + (v + v ), +,. 5
Hence, w is an element of S, which implies that S is closed under addition. Let λ R and let y λu (λu, λu, λu ). Observe that, y + y λu + λu, λ(u + u ), λ(),. and, y + y λu + λu, λ(u + u ), λ(),. Hence, y is an element of S, which implies that S is closed under scalar multiplication. We can therefore conclude that S is a subspace of R. Question (i) Let α eπi/5. Raising α to the fifth power gives, 5 α5 eπi/5, eπi/5, eπi, cos π + i sin π,. Hence, we have α5. Rearranging this gives us α5, which can be factorised to obtain (α ) + α + α + α + α. (You may expand this expression to confirm this factorisation.) 6
Since α is not equal to, α is not equal to zero. Therefore, we can divide both sides by α to get + α + α + α + α. (ii) We can expand the required expression as follows z α α z α α z α z α z αz α α α z α α, z α + α + α + α z + α + α + α + α. This can be simplified to z + z, as is shown in the next part. (iii) Consider putting α eπi/5 into the quadratic p(z) (z α α )(z α α ). By noting that for any integer n, αn + α n enπi/5 + e nπi/5, (cos(nπ/5) + i sin(nπ/5)) + (cos( nπ/5) + i sin( nπ/5)), (cos(nπ/5) + i sin(nπ/5)) + (cos(nπ/5) i sin(nπ/5)), cos(nπ/5), we can write the factorised form of p(z) as (z cos(π/5))(z cos(π/5)), which implies that cos(π/5) is a root of p(z). Using part (ii), we can write the expanded form of p(z) as p(z) z (α + α + α + α )z + (α + α + α + α ), z α 5 (α7 + α + α6 + α )z + α 5 (α6 + α + α8 + α ). Using the fact that α5 and + α + α + α + α, we can simplify p(z) as follows, p(z) z α 5 (α5 α + α + α5 α + α )z + α 5 (α5 α + α + α α5 + α ), z (α + α + α + α )z + (α + α + α + α ), z ( )z + ( ), z + z, which is the quadratic polynomial we seek. 7
(iii) From the factorised form of p(z), which is (z cos(π/5))(z cos(π/5)), we can see that cos(π/5) is the other root of p(z). 8
MATH5 ALGEBRA S TEST VERSION A Sample Solutions September, 7 These answers were written and typed up by Allan Loi and edited by Aaron Hassan. Please be ethical with this resource. It is for the use of MathSoc members, so do not repost it on other forums or groups without asking for permission. If you appreciate this resource, please consider supporting us by coming to our events and buying our T-shirts Also, happy studying We cannot guarantee that our answers are error-free or would obtain full marks please notify us of any errors or typos at unswmathsoc@gmail.com, or on our Facebook page. There are often multiple methods of solving the same question. Remember that in the real class test, you will be expected to explain your steps and working out. Please note quiz papers that are NOT in your course pack will not necessarily reflect the style or difficulty of questions in your quiz. Question Let z cos(θ) + i sin(θ). We can write z 5 in two ways. Firstly, by using de Moivre s formula, we have z 5 (cos(θ) + i sin(θ))5, cos(5θ) + i sin(5θ). Secondly, by using a binomial expansion, we have z 5 cos5 (θ) + 5i cos (θ) sin(θ)) cos (θ) sin (θ) i cos (θ) sin (θ) + 5 cos(θ) sin (θ) + i sin5 (θ), (cos5 (θ) cos (θ) sin (θ) + 5 cos(θ) sin (θ)) + i(5 cos (θ) sin(θ)) cos (θ) sin (θ) + sin5 (θ)). Equating the imaginary components of these two expressions gives, sin(5θ) 5 cos (θ) sin(θ)) cos (θ) sin (θ) + sin5 (θ) Using the fact that cos θ sin (θ), sin(5θ) 5( sin (θ)) sin(θ) ( sin (θ)) sin (θ) + sin5 (θ), 9
(5 sin5 (θ) sin (θ) + 5 sin(θ)) ( sin (θ) sin5 (θ)) + sin5 (θ), 6 sin5 (θ) sin (θ) + 5 sin(θ) Question We aim to prove that S {x R 5x x + x } is a subspace of R using the subspace theorem. Since all elements of S are in R, S is a subset of R. Consider the zero vector (,, ). Since 5() () + (), we see that the zero vector is in S, so S is non-empty. Suppose u (u, u, u ) and v (u, u, u ) are in S. This means that the following expressions are true, 5u u + u, 5v v + v. Let w u + v (u + v, u + v, u + v ). Observe that, 5w w + w 5(u + v ) (u + v ) + (u + v ), (5u u + u ) + (5v v + v ), +,. Hence, w is an element of S, which implies that S is closed under addition. Let λ R and let y λu (λu, λu, λu ). Observe that, 5y y + y 5(λu ) (λu ) + (λu ), λ(5u u + u ), λ(),. Hence, y is an element of S, which implies that S is closed under scalar multiplication. We can therefore conclude that S is a subspace of R.
Question (i) We can simplify the required expression as follows: eiθ eiθ/ eiθ/ e iθ/, iθ/ iθ/ iθ e + e e + e iθ/ eiθ/ e iθ/ iθ/, e + e iθ/ i sin(θ/), cos(θ/) θ. i tan (ii) Since z is on the unit circle, we can write z as eiθ for some real θ. Conversely, since the modulus of eiθ is, we know that eiθ represents a point on the unit circle for any real θ. From part (i), we have eiθ i tan θ (eiθ + ). Substituting z eiθ, where z is a point on the unit circle, and noting that i eiπ/, iπ/ z e θ (z + ) tan We have two cases, tan (θ/) and tan (θ/) <. If tan (θ/), then tan (θ/) is a non-negative real that is scaling the complex number z +, while eiπ/ rotates the number by π/. Therefore, we can see that z is a scaling of z + by tan(θ/), followed by a rotation by π/, which means that Arg(z ) Arg(z + ) + π. If tan (θ/) <, then tan ( θ/) > and we can write iπ/ z e θ tan (z + ). By noting that eiπ/ i e iπ/, we have z e iπ/ θ tan (z + ), which we can interpret in a similar way as before. We see that z is a scaling of z + by tan( θ/), followed by a rotation by π/, which means that Arg(z ) Arg(z + ) π.
Putting these two cases together allows us to deduce that Arg(z ) Arg(z + ) ± (iii) π Angles inscribed in a semicircle are always right angles.
MATH5 ALGEBRA S TEST VERSION A Sample Solutions September, 7 These answers were written and typed up by Aaron Hassan. Please be ethical with this resource. It is for the use of MathSoc members, so do not repost it on other forums or groups without asking for permission. If you appreciate this resource, please consider supporting us by coming to our events and buying our T-shirts Also, happy studying We cannot guarantee that our answers are error-free or would obtain full marks please notify us of any errors or typos at unswmathsoc@gmail.com, or on our Facebook page. There are often multiple methods of solving the same question. Remember that in the real class test, you will be expected to explain your steps and working out. Please note quiz papers that are NOT in your course pack will not necessarily reflect the style or difficulty of questions in your quiz. Question (i) Place p, p, p, q (as vectors) into an augmented matrix and row-reduce. We have R R +R 5 7 R R R 7 R R R. This is now in row-echelon form, and the right-hand column is non-leading. Hence, q is an element of span (p, p, p ). (ii) Since the left-hand part of the row-echelon form in the matrix above contains a zero row, the set {p, p, p } is not spanning. Remark. Make sure you know why the claims made above are true For (i), the polynomial q
is in span (p, p, p ) if and only if there exist scalars α, α, α such that α p +α p +α p q α + x x +α + 5x + x +α x x +7x 7x. If we then equate coefficients of like powers of x above, we will end up with a system of linear equations that is exactly described by the augmented matrix formed by placing the polynomials p, p, p, q (as vectors) into an augmented matrix. This is the reason why we consider such a matrix. Also, such αi will exist if and only if this linear system has a solution, and we know from first semester that the linear system will have a solution if and only if the right-hand column is non-leading in the row-echelon form. This explains what we did, and is the general explanation for why we do what we do for these types of questions. For (ii), to check if the polynomials span P, it is equivalent to the fact that their coordinate vectors span R or C (why?), and this is the case if and only if the matrix formed by placing them as columns has no zero rows in the row echelon form. This is because a set of vectors is spanning if and only if any vector in the ambient space can be written as a linear combination of them, i.e. for any right-hand vector in the augmented matrix, there should exist a solution to the corresponding linear system Ax b. There exists a solution to this for every b if and only if the row-echelon form of A has no zero rows, as we know from first semester. Question (i) The domain and codomain of T are vector We must show that T preserves addition spaces. x αx x αx and preserves scalar multiplication. Let x x R and α R. Then αx αx R, x αx so αx + (αx ) (αx ) T (αx) (αx ) + (αx ) α (x + x x ) α (x + x ) x + x x α x + x αt (x).
y y Thus T preserves scalar multiplication. Now, let x R as before and let y y R. y x + y x + y R, so Then x + y x + y x + y T (x + y) (x + y ) + (x + y ) (x + y ) (x + y ) + (x + y ) (x + x x ) + (y + y y ) (x + x ) + (y + y ) y + y y x + x x + y + y x + x T (x) + T (y). Thus T preserves addition. As T preserves scalar multiplication and addition, it is a linear map. (ii) x x By inspection of the formula for T x, the A is A x. Question (i) Anticipating we would need to augment A with b in question (ii), we shall do this now, so that we would not need to do the whole row-reduction again. We have [A b] R R +R 8 5. R R +R R R R 5 The leading columns in the row echelon form of A are thus columns and. Therefore, the columns and of the original matrix A form a basis for the image of A. So a basis for im(a) 5
is,. (ii) The right-hand column is non-leading in the row-echelon form we found in part (i). There- fore, b is in the image of A. 6
MATH5 ALGEBRA S TEST VERSION B Sample Solutions September, 7 These answers were written and typed up by Aaron Hassan. Please be ethical with this resource. It is for the use of MathSoc members, so do not repost it on other forums or groups without asking for permission. If you appreciate this resource, please consider supporting us by coming to our events and buying our T-shirts Also, happy studying We cannot guarantee that our answers are error-free or would obtain full marks please notify us of any errors or typos at unswmathsoc@gmail.com, or on our Facebook page. There are often multiple methods of solving the same question. Remember that in the real class test, you will be expected to explain your steps and working out. Please note quiz papers that are NOT in your course pack will not necessarily reflect the style or difficulty of questions in your quiz. Question Let S {A, A, A }. This set is linearly independent if and only if the set Se : {v, v, v } is linearly independent, where for each j {,, }, vj is the coordinate vector of Aj with respect to the standard basis of the space of matrices (in other words, vj is Aj written as a vector). Therefore, we place the vectors vj into a matrix and row-reduce. We get R +R R (v v v ) 9 5 R R R, R R +R 9 R R R. 8 8 8 Every column in the row-echelon form is leading. Therefore, Se is a linearly independent set. Thus S is a linearly independent set, so the answer to the question is yes. 7
Question By inspection, we see that 9 +, i.e. b v + v. This means that the coordinate vector of b with respect to the basis B : {v, v } is. Remark. If you couldn t spot the required linear combination by inspection like was done α, which gives us (by above, you could always just let the desired coordinate vector be β definition of coordinate vector) αv + βv b, i.e. α +β 9 α β 9. You could then solve this linear system (e.g. using Gaussian Elimination, inverse matrix, high school methods, or whatever method you like) to obtain the required values α and β. Question Note that R, R, and T R. Therefore, T, but T 6 T. Hence T does not preserve scalar multiplication and so cannot be linear. Remember, to show that a map is not linear, it suffices to come up with a single numerical example demonstrating that one of the properties of linear maps (preservation of addition or scalar multiplication) is not obeyed. 8
Question (i) We row-reduce A, and augment b as this will be useful for part (ii). We have [A b] 5 9 R R +R R R +R R R R 5. As we can see, there are precisely two leading columns in the row-echelon form of A. Therefore, we have rank(a). The number of non-leading columns in the row-echelon form of A is, so nullity(a). (ii) No, because the right-hand column in the row-echelon form in part (i) is leading. 9
MATH5 ALGEBRA S TEST VERSION A Sample Solutions September, 7 These answers were written and typed up by Aaron Hassan. Please be ethical with this resource. It is for the use of MathSoc members, so do not repost it on other forums or groups without asking for permission. If you appreciate this resource, please consider supporting us by coming to our events and buying our T-shirts Also, happy studying We cannot guarantee that our answers are error-free or would obtain full marks please notify us of any errors or typos at unswmathsoc@gmail.com, or on our Facebook page. There are often multiple methods of solving the same question. Remember that in the real class test, you will be expected to explain your steps and working out. Please note quiz papers that are NOT in your course pack will not necessarily reflect the style or difficulty of questions in your quiz. Question (i) We place (the coordinate vectors of) the matrices A, A, A, A and B into an augmented matrices (as columns), and row-reduce. We get 7 R R R R R R R R +R 5 R R R R R +R 6. As the right-hand column in the row-echelon form is non-leading, B is an element of span {A, A, A, A }. (ii) No, because not every row is leading in the row-echelon form of the left-hand part of the augmented matrix above (i.e. there exists a zero row in the left-hand part).
Question Method Inspection By inspection, we see that 7 8 5, 6 i.e. b 5v v. This means that the coordinate vector of v with respect to the basis {v, v } is 5. Method Usual procedure α Let B {v, v } and let the desired coordinate vector be [b]b have αv + βv b, i.e. α +β 6. Then by definition, we β 7 8. Defining B to the matrix with columns v and v, i.e. B (v v ) 6, the above equation can be equivalently expressed in matrix form as α B b β α α β 6 7 8 using a number of methods (e.g. Gaussian β Elimination, high school methods, inverse matrix, etc.). For example, using the inverse matrix This is a linear system that we can solve for method, we obtain α β 7 8 6 6 ( ) 5 5. 6 7 8
Thus the answer is [b]b α β 5. a b, then its inverse is given by Remember, if we have a real or complex matrix A c d d b A det(a), provided that det(a) 6. In other words, switch the diagonal entries, c a negate the others, and remember to divide by the determinant. Question Since T () + + + 6, T is not a linear transformation. Tip. Remember, a linear map must map the zero vector of its domain to the zero vector of its codomain. So if you can show that a map does not map the zero vector of its domain to the zero vector of its codomain, it cannot be linear. Of course, if a map does map the zero vector of its domain to the zero vector of its codomain, we cannot conclude just from this whether or not the map is linear. Question To find the kernel, we solve Ax. To do this, we just row-reduce A, augmented with (but we don t need to write the augmented part all the time since the zero vector does not change when applying elementary row operations to it. So we will only write it at the last step.). We have (keeping in mind that column j corresponds to xj, for j,,,, 5) A R R R 5 8 7 R R R. R R R We set x α and x5 β (free parameters) as columns and 5 in the row-echelon form are non-leading. Then from row, we have x x5 x β. Now, from row, we have x x + x5 x α + β.
Now, from row, we have x x x x (α + β) α ( β) x α + 7β. Therefore, we have Ax if and only if α + 7β x x α + β for some scalars α, β x α x x β β x5 7 α + β. Therefore, a basis for ker(a) is 7,. Tip. If you have time, you should check your answer by checking that A multiplied by each of the vectors you found for the basis of the kernel results in the zero vector, i.e.. If this does not happen, you must have made a mistake somewhere in your working, and should go back and find it.