

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: Spring 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 Tuesday, February 15. 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 12 (t) = (1 − t)p 1 + tp 2 0 ≤ t ≤ 1 p 23 (t) = (1 − t)p 2 + tp 3
Now suppose that we want to construct:
p 123 (t) = (1 − t)p 12 (t) + tp 23 (t)
Give an expression for p 123 as a linear combination of the points p 1 , p 2 , p 3 and t.
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