

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Interactive Computer Graphics; Subject: Computer Science; University: University of Illinois - Urbana-Champaign; Term: Fall 2005;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


This homework is meant to exercise some basic math skills that will come in handy later. Much of the linear algebra and geometric knowledge you need can be found in the textbook. You should return your completed assignment at the end of class on Thursday, September 8. Please be organized when writing your answers to these questions. Make sure that all solutions are clearly indicated and labelled with the question they are answering. Remember to write clearly and legibly. Unreadable answers will receive 0 credit. For the purposes of this homework, and indeed the rest of the course, you should assume that points/directions are represented by column vectors and that we are using a right-handed coordinate system.
p q p ' q '
r
r '
(a) Give equations for p′, q′, r′^ in terms of p, q, r. (b) Let G be the 3×2 matrix whose rows are the 2-vectors p, q, r:
p q r
We can compute the matrix G′^ whose rows correspond to p′, q′, r′^ as the product of G with a matrix of constant coefficients M: G′^ = MG Give the matrix M.
M (a, b) =
1 0 a 0 1 b 0 0 1
(a) Show that M(a,b)M(c,d) = M(a+c, b+d). (b) Prove that the inverse of M(a,b) is M(-a,-b).
x^2 + y^2 = 1
The circle is the set of all points for which this equation holds. We can rewrite this in a slightly more convenient form using the vector p =
x y
as follows:
p·p = pTp = 1
(a) Two distinct points p 1 , p 2 in the plane determine a line. We can describe this line by the parametric equation p(t) = p 1 + td Determine the correct value of d subject to the constraint that ‖d‖ = 1. (b) Suppose that we want to determine where this line intersects the unit circle. Obviously, any such intersection point must satisfy both the circle equation and the line equation. In other words, the following must hold for any point of intersection of the line and the unit circle:
p(t)·p(t) = 1
Derive an equation for the values of t for which p(t) lies on the circle. (Hint: You’ll want to dig up the formula for the roots of a quadratic polynomial.) (c) A line can intersect a circle at exactly 0, 1, or 2 distinct points. For a given choice of p 1 and p 2 , explain precisely how you can determine which of these 3 cases holds from the algebraic properties of the equation you just derived.
eiθ^ = cos θ + i sin θ
(a) Compute the complex product eiθ^ (a + ib). (b) Interpreted geometrically, the product you computed in the previous part is a transformation of the point (a, b). Specify what transformation has been performed. Please be precise. (c) What transformation is performed by the product ρeiθ^ (a + ib)? (d) What transformation is performed by the product
eiθ^ eiφ
(a + ib)?
Page 2