Homework 5: Sampling and Geometry

Size: px
Start display at page:

Download "Homework 5: Sampling and Geometry"

Transcription

1 Homework 5: Sampling and Geometry Introduction to Computer Graphics and Imaging (Summer 2012), Stanford University Due Monday, August 6, 11:59pm You ll notice that this problem set is a few more pages than the usual CS 148 homework; part of this problem set is a reading assignment. The problems are intended to make sure you understand both what we ve covered in class and what the narration below discusses: You are responsible for both on the final exam! In the past few weeks, we have covered a diverse set of topics relevant to computer graphics, from sampling and Fourier theory to computer aided geometric design. In this homework, we will be exploring a number of these topics to help you get better acquainted with the issues we have discussed in class. We ll start by discussing some of the details of sampling theory laid out in class to help determine the resolution you need to display different continuous images. Recall that we stated the following theorem in class: Theorem(-ish). Any function can be written as a combination of simple wiggles. Of course, the word any here is very suspect, but as computer scientists we ll ignore the intricacies of Lebesgue integration and Schwartz distributions in favor of an entirely un-rigorous approach. 1 Before we define the Fourier transform, we should state a famous mathematical relationship that you likely have seen before: e iθ = cos θ + i sin θ (1) This equation often is called Euler s Formula. Let s fill in some details: e = is the natural logarithm base. i = 1 is the imaginary unit of the complex plane C. θ R is any real number. If you never have seen (1), you should make the following straightforward observation: This equation makes no sense. And, you re not wrong! In particular, raising any number to an imaginary exponent i isn t a reasonable operation in the usual sense of exponentiation as repeated multiplication. 1 Please come to Justin s office hours or post on Piazza if you would like work out the details of making this theory more rigorous. Some fascinating and deep mathematics are hiding in the straightforward-looking derivations we cover in CS 148! 1

2 In fact, in many ways we can think of Euler s formula as a notational convenience. We can prove that the right hand side of (1) behaves identically to exponentiation in almost every possible way. This observation allows us to compactify derivations of many facts we know from high school trigonometry. For instance, consider the following derivation: cos(θ + φ) + i sin(θ + φ) = e i(θ+φ) by (1) = e iθ e iφ by properties of exponentiation = (cos θ + i sin θ)(cos φ + i sin φ) by (1) = (cos θ cos φ sin θ sin φ) + i(sin θ cos φ + cos θ sin φ) since i 2 = 1 Make sure you understand each step here before moving on! But, what did we just show? If you take the real and imaginary components of the left and right hand sides of the derivation above separately, we find: cos(θ + φ) = cos θ cos φ sin θ sin φ sin(θ + φ) = sin θ cos φ + cos θ sin φ You probably worked much harder to prove these statements in high school trigonometry. Anyway, our goal today is to understand the Fourier transform of a function. We now have all the tools we need to do so. Definition (Fourier Transform). The Fourier transform of a function f : R R is the function ˆf (ξ) given by ˆf (ξ) = f (x)e 2πixξ dx (2) The variable ξ here represents a frequency. So, ˆf (ξ) represents the component of f that wiggles at frequency ξ. Problem 1 (10 points). Recall that in Lecture 11 of CS 148 we stated that the Fourier transform does the simplest possible thing: multiplying a function against a wiggle at a fixed frequency and integrating. Use Euler s formula (1) to justify why the Fourier transform (2) does exactly this. Why does ˆf (ξ) need real and imaginary components? As tempting as it is for your mathematician instructor, we will not derive most of the (beautiful) relationships between properties of a function and properties of its Fourier transform. There is, however, one relationship that is fundamental to the sampling theory we discussed in lecture. Problem 2 (15 points). Take any real number a > 0, and define h(x) = f (ax). Derive the following relationship: ĥ(ξ) = 1 ( ) a ˆf ξ (3) a Explain how this relationship substantiates the claim made in class that increasing the rate at which you sample a (band-limited) function makes it less likely that you will see artifacts. 2 2 For students with a strong math background, note that in CS 148 you need not be concerned with whether your integrals converge or are well-defined: feel free to apply and reasonable-looking operation without regard for such analytical details! 2

3 Figure 1: For problem 3(a). Hint: To derive (3), substitute h into the definition of the Fourier transform and make the substitution y = ax. There are myriad other facts we could derive from the Fourier transform ˆf that are relevant to sampling theory as it applies to computer graphics, but we ll abandon our discussion at this point in favor of moving to the topic of geometric modeling. Problem 3 (10 points). (a) The control points of a quadratic Bézier curve g(t) and a cubic Bézier curve f (t) are shown in Figure 1. Construct the points g( 3 /2) and f ( 1 /3). You ll need to turn in a copy of Figure 1 with your constructions drawn on top; you may wish to enlarge these structures and/or print them on separate pages for more space. (b) Find the (quadratic and cubic, resp.) blossoms of the functions g(t) = t 2 2t + 1 and h(t) = (t 2) 3. One of the key ideas of computer-aided geometric design (CAGD) as it pertains to curves is that of finding a basis for polynomial functions of a given degree. As we discussed in lecture, the idea of a basis here is slightly more abstract than what you might have seen in Math 51, so it s worth putting some thought into our construction. We consider a basis of the set of polynomials of degree n to be a set of n + 1 polynomial functions p 1 (t),..., p n+1 (t) such that any degree-n polynomial can be written as a linear combination of these p i s. For example, an obvious basis for the degree-three polynomials would be p 1 (t) = 1, p 2 (t) = t, p 3 (t) = t 2, p 4 (t) = t 3. Why? Because the general form of a degree-three polynomial is at 3 + bt 2 + ct + d, or equivalently ap 4 (t) + bp 3 (t) + cp 2 (t) + dp 1 (t). Certain polynomial bases are convenient for certain problems, so a strategy in CAGD is to work in a basis that simplifies our math as much as possible. We explored this strategy in class when we derived the Hermite basis, which simplified the problem of finding a curve with given begin and end points/tangents. In our final written problem, we will derive an alternative basis for cubic polynomials simplifying math for Bézier curves. Problem 4 (15 points). Suppose we label the control points a, b, c, and d of a cubic curve in Figure 2 and use the structure drawn to find the point f (t) (assume the control points specify the curve between f (0) and f (1)). Label the constructed points as linear combinations of the control points; we provide you with one label to get you started. Use your label for f (t) to define the Bernstein basis for cubic polynomials, that is, a basis that makes it easy to write down the cubic curve associated with a set of four control points. 3

4 Figure 2: For problem 4. Figure 3: Examples of MLS output. For the coding part of this assignment, you will implement the Moving Least Squares (MLS) image deformation algorithm introduced in SIGGRAPH Examples of the output of MLS are shown in Figure 3. The purpose of this algorithm is fairly straightforward: The user marks a number of handles on an image and then starts moving them around. As the handles are moved, the image deforms smoothly while satisfying the constraints that the handles are mapped to their targets. MLS can be used to achieve lots of interesting image effects with relatively simple computations. To motivate MLS, we first consider a slightly easier problem. Let s say we mark a number of points ~p1,..., ~pn R2 on the plane, and we specify a list of targets ~q1,..., ~qn R2. We wish to find an affine transformation of the plane given by ~p 7 M~p + ~t for some M R2 2,~t R2 such that M~pi +~t ~qi for each i {1,..., n}. When is n > 2, the is key: it might be the case that no affine transformation can map all the ~pi s to their corresponding ~qi s exactly! Thus, we can only hope to approximate such a relationship. To this end, we ll introduce one 3 You re encouraged to read the original paper for a more detailed discussion. Note that the paper uses row rather than column vectors, so their math is a bit different. 4

5 more set of inputs: a set of weight values w 1,..., w n > 0. A large weight w i says we really care that p i maps to q i, while a small w i 1 means we don t really care if M and t don t do a good job mapping p i to q i. Note that if M p i + t q i then M p i + t q i 0. In other words, we desire that M p i + t q i 2 0. So, let s define an energy: E(M, t) = n w i M p i + t q i 2 (4) We can make a number of important observations about E: We always have E 0. If there exist t and M such that q i = M p i + t exactly for all i {1,..., n}, then E will be minimized with value 0 at this point. When such a zero minimum is not possible, the minimum E > 0 occurs when M and t give the best affine map approximating p i q i in a least squares sense. The weights w i prioritize with ( p i, q i ) pairs matter the most. Thus, if the user inputs lots of pairs ( p i, q i ), we can frame an optimization problem to find M and t as follows: min E(M, t) M R 2 2, t R 2 (5) You probably spent much of calculus class solving problems exactly of this nature! Simply take derivatives of E with respect to the elements of M and t, set them to zero, and solve. We ll resist the urge to force you to derive these formulas yourself, although you re encouraged to check them on scratch paper; our discussion above plus a few tricks from Math 51 are all you need. Instead, we ll jump right to the solution of our minimization problem (5). To clean up our notation a bit, let s define some helper variables: p = n w i p i n w i q = n w i q i n w i (6) (7) It s easy to differentiate (5) with respect to the elements of t (at least try this part at home!), yielding the following relationship when we set this derivative to zero: t opt = q M opt p (8) That is, we can find the optimal translation t opt easily enough once we know the optimal matrix M opt. Finding M opt takes a bit more bookkeeping. We ll need two more sets of helper variables: ˆp i = p i p ˆq i = q i q (9) (10) 5

6 We can reduce finding M opt to a least-squares problem, so when the smoke clears we ll get the following normal equation solution: M opt = ( n w j ˆq j ˆp j j=1 ) ( n w i ˆp i ˆp i ) 1 (11) This finishes our story. From the inputs ( p 1, q 1, w 1 ),..., ( p n, q n, w n ) we can compute p and q. We can use these to compute ˆp i and ˆq i for all i. Then, we use (11) to compute M opt. Finally, we find t opt using (8). The formulas might look complicated, but they re quite simple to evaluate; the 2 2 inverse in (11) can be found in closed-form with the usual formula (built into Eigen using the.inverse() method of Matrix2d). We may wish to put additional constraints on M opt. It s easy to see that regardless of our constraints on M opt, the formula (8) for t opt stays the same. This aside, if we want only to consider similarity matrices M that contain no shear that is, they only can rotate and scale then we constrain M M = λ 2 I for some λ R (think about why!) and find: where M similarity opt = 1 µ µ = n ( w i ˆq i ( ˆq i ) ) ( ˆpi ˆp i ) n w i ˆp i 2 (13) If we force M only to encode rotations without any scaling, then (12) still works, but we replace µ with ( µ = n 2 ( n 2 w i ( ˆq i ˆp i )) + w i ( ˆq i ˆp i )) (14) (12) Here, for vector a = (a 1, a 2 ) we denote a = ( a 2, a 1 ). MLS simply applies the formulas we developed above with a clever choice of the w i values. We re going to render an image by drawing a k k grid of quads with evenly-spaced texture coordinates. In our code the grid of texture coordinates is stored in the variable texturecoords; you should not change the values in this array. We ll deform the grid to a new set of positions (stored in imagecoords) using the MLS algorithm and render the deformed image using textured triangles; see display() to see our basic setup. The user shift-clicks the control points p i to make red handles appear (shift-clicking those red handles again makes them disappear); the indices of these points in imagecoords are stored in the set active. The user then can drag the handles to new targets q i, the positions of which are stored in imagecoords. This much functionality is implemented for you in the skeleton code. Your job is to implement deformimage(), which writes new values for elements of the array imagecoords. The basic algorithm goes like this: Iterate over each texture coordinate p in the array texturecoords. 6

7 If p is one of the p i s, then its position in imagecoords is q i and can be left alone. Otherwise proceed with the steps below. Compute weights w i = p i p 2α for the provided constant α > 0. Recall that p i denotes the texture coordinate of the ith point in active. Notice what this choice of w i is doing: Control points that are close to p get more weight than those that are far away. Compute M opt and t opt using the weights w i you just computed and the formulas above. Replace the position in imagecoords with q = M opt p + t opt. In other words, each (sampled) point on the base texture computes its own least-squares map and uses that map to find a target. Problem 5 (50 points). Implement MLS deformation starting from the skeleton code. You must implement the affine, similarity, and rotation-only versions of the algorithm, using command line options stored in deformationtype to determine what to do in the application. Problem 6 (5 points extra credit). When does our choice of w i in MLS break down? Can you suggest a replacement? Describe your solution in the written homework; no need to add it to your code, as the implementation change might (hint!) require a using a structure other than a grid mesh a considerable change! 7

What if the characteristic equation has a double root?

What if the characteristic equation has a double root? MA 360 Lecture 17 - Summary of Recurrence Relations Friday, November 30, 018. Objectives: Prove basic facts about basic recurrence relations. Last time, we looked at the relational formula for a sequence

More information

What if the characteristic equation has complex roots?

What if the characteristic equation has complex roots? MA 360 Lecture 18 - Summary of Recurrence Relations (cont. and Binomial Stuff Thursday, November 13, 01. Objectives: Examples of Recurrence relation solutions, Pascal s triangle. A quadratic equation What

More information

This format is the result of tinkering with a mixed lecture format for 3 terms. As such, it is still a work in progress and we will discuss

This format is the result of tinkering with a mixed lecture format for 3 terms. As such, it is still a work in progress and we will discuss Version 1, August 2016 1 This format is the result of tinkering with a mixed lecture format for 3 terms. As such, it is still a work in progress and we will discuss adaptations both to the general format

More information

Math (P)Review Part I:

Math (P)Review Part I: Lecture 1: Math (P)Review Part I: Linear Algebra Computer Graphics CMU 15-462/15-662, Fall 2017 Homework 0.0 (Due Monday!) Exercises will be a bit harder / more rigorous than what you will do for the rest

More information

Partial Fractions. June 27, In this section, we will learn to integrate another class of functions: the rational functions.

Partial Fractions. June 27, In this section, we will learn to integrate another class of functions: the rational functions. Partial Fractions June 7, 04 In this section, we will learn to integrate another class of functions: the rational functions. Definition. A rational function is a fraction of two polynomials. For example,

More information

Systems of Linear ODEs

Systems of Linear ODEs P a g e 1 Systems of Linear ODEs Systems of ordinary differential equations can be solved in much the same way as discrete dynamical systems if the differential equations are linear. We will focus here

More information

Instructor Notes for Chapters 3 & 4

Instructor Notes for Chapters 3 & 4 Algebra for Calculus Fall 0 Section 3. Complex Numbers Goal for students: Instructor Notes for Chapters 3 & 4 perform computations involving complex numbers You might want to review the quadratic formula

More information

Algebra & Trig Review

Algebra & Trig Review Algebra & Trig Review 1 Algebra & Trig Review This review was originally written for my Calculus I class, but it should be accessible to anyone needing a review in some basic algebra and trig topics. The

More information

Math 5a Reading Assignments for Sections

Math 5a Reading Assignments for Sections Math 5a Reading Assignments for Sections 4.1 4.5 Due Dates for Reading Assignments Note: There will be a very short online reading quiz (WebWork) on each reading assignment due one hour before class on

More information

Lecture 10: Powers of Matrices, Difference Equations

Lecture 10: Powers of Matrices, Difference Equations Lecture 10: Powers of Matrices, Difference Equations Difference Equations A difference equation, also sometimes called a recurrence equation is an equation that defines a sequence recursively, i.e. each

More information

Welcome to AP Calculus!!!

Welcome to AP Calculus!!! Welcome to AP Calculus!!! In preparation for next year, you need to complete this summer packet. This packet reviews & expands upon the concepts you studied in Algebra II and Pre-calculus. Make sure you

More information

Lecture 4: Constructing the Integers, Rationals and Reals

Lecture 4: Constructing the Integers, Rationals and Reals Math/CS 20: Intro. to Math Professor: Padraic Bartlett Lecture 4: Constructing the Integers, Rationals and Reals Week 5 UCSB 204 The Integers Normally, using the natural numbers, you can easily define

More information

CSE 241 Class 1. Jeremy Buhler. August 24,

CSE 241 Class 1. Jeremy Buhler. August 24, CSE 41 Class 1 Jeremy Buhler August 4, 015 Before class, write URL on board: http://classes.engineering.wustl.edu/cse41/. Also: Jeremy Buhler, Office: Jolley 506, 314-935-6180 1 Welcome and Introduction

More information

Writing proofs for MATH 61CM, 61DM Week 1: basic logic, proof by contradiction, proof by induction

Writing proofs for MATH 61CM, 61DM Week 1: basic logic, proof by contradiction, proof by induction Writing proofs for MATH 61CM, 61DM Week 1: basic logic, proof by contradiction, proof by induction written by Sarah Peluse, revised by Evangelie Zachos and Lisa Sauermann September 27, 2016 1 Introduction

More information

2. FUNCTIONS AND ALGEBRA

2. FUNCTIONS AND ALGEBRA 2. FUNCTIONS AND ALGEBRA You might think of this chapter as an icebreaker. Functions are the primary participants in the game of calculus, so before we play the game we ought to get to know a few functions.

More information

Math 31 Lesson Plan. Day 5: Intro to Groups. Elizabeth Gillaspy. September 28, 2011

Math 31 Lesson Plan. Day 5: Intro to Groups. Elizabeth Gillaspy. September 28, 2011 Math 31 Lesson Plan Day 5: Intro to Groups Elizabeth Gillaspy September 28, 2011 Supplies needed: Sign in sheet Goals for students: Students will: Improve the clarity of their proof-writing. Gain confidence

More information

Algebra Exam. Solutions and Grading Guide

Algebra Exam. Solutions and Grading Guide Algebra Exam Solutions and Grading Guide You should use this grading guide to carefully grade your own exam, trying to be as objective as possible about what score the TAs would give your responses. Full

More information

CSE373: Data Structures and Algorithms Lecture 2: Math Review; Algorithm Analysis. Hunter Zahn Summer 2016

CSE373: Data Structures and Algorithms Lecture 2: Math Review; Algorithm Analysis. Hunter Zahn Summer 2016 CSE373: Data Structures and Algorithms Lecture 2: Math Review; Algorithm Analysis Hunter Zahn Summer 2016 Today Finish discussing stacks and queues Review math essential to algorithm analysis Proof by

More information

CS 124 Math Review Section January 29, 2018

CS 124 Math Review Section January 29, 2018 CS 124 Math Review Section CS 124 is more math intensive than most of the introductory courses in the department. You re going to need to be able to do two things: 1. Perform some clever calculations to

More information

With this expanded version of what we mean by a solution to an equation we can solve equations that previously had no solution.

With this expanded version of what we mean by a solution to an equation we can solve equations that previously had no solution. M 74 An introduction to Complex Numbers. 1 Solving equations Throughout the calculus sequence we have limited our discussion to real valued solutions to equations. We know the equation x 1 = 0 has distinct

More information

Partial Fractions. (Do you see how to work it out? Substitute u = ax + b, so du = a dx.) For example, 1 dx = ln x 7 + C, x x (x 3)(x + 1) = a

Partial Fractions. (Do you see how to work it out? Substitute u = ax + b, so du = a dx.) For example, 1 dx = ln x 7 + C, x x (x 3)(x + 1) = a Partial Fractions 7-9-005 Partial fractions is the opposite of adding fractions over a common denominator. It applies to integrals of the form P(x) dx, wherep(x) and Q(x) are polynomials. Q(x) The idea

More information

Calculus with Analytic Geometry I Exam 10, Take Home Friday, November 8, 2013 Solutions.

Calculus with Analytic Geometry I Exam 10, Take Home Friday, November 8, 2013 Solutions. All exercises are from Section 4.7 of the textbook. 1. Calculus with Analytic Geometry I Exam 10, Take Home Friday, November 8, 2013 Solutions. 2. Solution. The picture suggests using the angle θ as variable;

More information

MITOCW MITRES18_006F10_26_0602_300k-mp4

MITOCW MITRES18_006F10_26_0602_300k-mp4 MITOCW MITRES18_006F10_26_0602_300k-mp4 FEMALE VOICE: The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational

More information

Announcements Monday, September 18

Announcements Monday, September 18 Announcements Monday, September 18 WeBWorK 1.4, 1.5 are due on Wednesday at 11:59pm. The first midterm is on this Friday, September 22. Midterms happen during recitation. The exam covers through 1.5. About

More information

MAT300/500 Programming Project Spring 2019

MAT300/500 Programming Project Spring 2019 MAT300/500 Programming Project Spring 2019 Please submit all project parts on the Moodle page for MAT300 or MAT500. Due dates are listed on the syllabus and the Moodle site. You should include all neccessary

More information

Chapter 8B - Trigonometric Functions (the first part)

Chapter 8B - Trigonometric Functions (the first part) Fry Texas A&M University! Spring 2016! Math 150 Notes! Section 8B-I! Page 79 Chapter 8B - Trigonometric Functions (the first part) Recall from geometry that if 2 corresponding triangles have 2 angles of

More information

Sequences and infinite series

Sequences and infinite series Sequences and infinite series D. DeTurck University of Pennsylvania March 29, 208 D. DeTurck Math 04 002 208A: Sequence and series / 54 Sequences The lists of numbers you generate using a numerical method

More information

19. TAYLOR SERIES AND TECHNIQUES

19. TAYLOR SERIES AND TECHNIQUES 19. TAYLOR SERIES AND TECHNIQUES Taylor polynomials can be generated for a given function through a certain linear combination of its derivatives. The idea is that we can approximate a function by a polynomial,

More information

Physics 321 Theoretical Mechanics I. University of Arizona Fall 2004 Prof. Erich W. Varnes

Physics 321 Theoretical Mechanics I. University of Arizona Fall 2004 Prof. Erich W. Varnes Physics 321 Theoretical Mechanics I University of Arizona Fall 2004 Prof. Erich W. Varnes Contacting me Administrative Matters I will hold office hours on Tuesday from 1-3 pm Room 420K in the PAS building

More information

Lecture 23: Hermite and Bezier Curves

Lecture 23: Hermite and Bezier Curves Lecture 23: Hermite and Bezier Curves November 16, 2017 11/16/17 CSU CS410 Fall 2017, Ross Beveridge & Bruce Draper 1 Representing Curved Objects So far we ve seen Polygonal objects (triangles) and Spheres

More information

The AP exams will ask you to find derivatives using the various techniques and rules including

The AP exams will ask you to find derivatives using the various techniques and rules including Student Notes Prep Session Topic: Computing Derivatives It goes without saying that derivatives are an important part of the calculus and you need to be able to compute them. You should know the derivatives

More information

Numerical differentiation

Numerical differentiation Numerical differentiation Paul Seidel 1801 Lecture Notes Fall 011 Suppose that we have a function f(x) which is not given by a formula but as a result of some measurement or simulation (computer experiment)

More information

Ph211 Summer 09 HW #4, week of 07/13 07/16. Ch6: 44, 46, 52; Ch7: 29, 41. (Knight, 2nd Ed).

Ph211 Summer 09 HW #4, week of 07/13 07/16. Ch6: 44, 46, 52; Ch7: 29, 41. (Knight, 2nd Ed). Solutions 1 for HW #4: Ch6: 44, 46, 52; Ch7: 29, 41. (Knight, 2nd Ed). We make use of: equations of kinematics, and Newton s Laws. You also (routinely) need to handle components of a vector, in nearly

More information

MATLAB Project 2: MATH240, Spring 2013

MATLAB Project 2: MATH240, Spring 2013 1. Method MATLAB Project 2: MATH240, Spring 2013 This page is more information which can be helpful for your MATLAB work, including some new commands. You re responsible for knowing what s been done before.

More information

CS173 Lecture B, November 3, 2015

CS173 Lecture B, November 3, 2015 CS173 Lecture B, November 3, 2015 Tandy Warnow November 3, 2015 CS 173, Lecture B November 3, 2015 Tandy Warnow Announcements Examlet 7 is a take-home exam, and is due November 10, 11:05 AM, in class.

More information

Quick Overview: Complex Numbers

Quick Overview: Complex Numbers Quick Overview: Complex Numbers February 23, 2012 1 Initial Definitions Definition 1 The complex number z is defined as: z = a + bi (1) where a, b are real numbers and i = 1. Remarks about the definition:

More information

Physics 351 Wednesday, January 10, 2018

Physics 351 Wednesday, January 10, 2018 Physics 351 Wednesday, January 10, 2018 Chapers 1 5 mostly review freshman physics, so we ll go through them very quickly in the first few days of class. Read Chapters 1+2 for Friday. Read Chapter 3 (momentum

More information

Boyle s Law and Charles Law Activity

Boyle s Law and Charles Law Activity Boyle s Law and Charles Law Activity Introduction: This simulation helps you to help you fully understand 2 Gas Laws: Boyle s Law and Charles Law. These laws are very simple to understand, but are also

More information

MATH 1553, C. JANKOWSKI MIDTERM 3

MATH 1553, C. JANKOWSKI MIDTERM 3 MATH 1553, C JANKOWSKI MIDTERM 3 Name GT Email @gatechedu Write your section number (E6-E9) here: Please read all instructions carefully before beginning Please leave your GT ID card on your desk until

More information

Section 1.8 Matrices as Linear Transformations

Section 1.8 Matrices as Linear Transformations Section.8 Matrices as Linear Transformations Up to this point in the course, we have thought of matrices as stand alone constructions, objects of interest in their own right. We have learned multiple matrix

More information

What is proof? Lesson 1

What is proof? Lesson 1 What is proof? Lesson The topic for this Math Explorer Club is mathematical proof. In this post we will go over what was covered in the first session. The word proof is a normal English word that you might

More information

Chapter 9: Roots and Irrational Numbers

Chapter 9: Roots and Irrational Numbers Chapter 9: Roots and Irrational Numbers Index: A: Square Roots B: Irrational Numbers C: Square Root Functions & Shifting D: Finding Zeros by Completing the Square E: The Quadratic Formula F: Quadratic

More information

Sometimes the domains X and Z will be the same, so this might be written:

Sometimes the domains X and Z will be the same, so this might be written: II. MULTIVARIATE CALCULUS The first lecture covered functions where a single input goes in, and a single output comes out. Most economic applications aren t so simple. In most cases, a number of variables

More information

Overview of Complex Numbers

Overview of Complex Numbers Overview of Complex Numbers Definition 1 The complex number z is defined as: z = a+bi, where a, b are real numbers and i = 1. General notes about z = a + bi Engineers typically use j instead of i. Examples

More information

Calculus Honors and Introduction to Calculus

Calculus Honors and Introduction to Calculus Calculus Honors and Introduction to Calculus Name: This summer packet is for students entering Calculus Honors or Introduction to Calculus in the Fall of 015. The material represents concepts and skills

More information

Announcements September 19

Announcements September 19 Announcements September 19 Please complete the mid-semester CIOS survey this week The first midterm will take place during recitation a week from Friday, September 3 It covers Chapter 1, sections 1 5 and

More information

Introduction. So, why did I even bother to write this?

Introduction. So, why did I even bother to write this? Introduction This review was originally written for my Calculus I class, but it should be accessible to anyone needing a review in some basic algebra and trig topics. The review contains the occasional

More information

Basics of Proofs. 1 The Basics. 2 Proof Strategies. 2.1 Understand What s Going On

Basics of Proofs. 1 The Basics. 2 Proof Strategies. 2.1 Understand What s Going On Basics of Proofs The Putnam is a proof based exam and will expect you to write proofs in your solutions Similarly, Math 96 will also require you to write proofs in your homework solutions If you ve seen

More information

Review Sheet for Math 5a Final Exam. The Math 5a final exam will be Tuesday, May 1 from 9:15 am 12:15 p.m.

Review Sheet for Math 5a Final Exam. The Math 5a final exam will be Tuesday, May 1 from 9:15 am 12:15 p.m. Review Sheet for Math 5a Final Exam The Math 5a final exam will be Tuesday, May from 9:5 am :5 p.m. Location: Gerstenzang The final exam is cumulative (i.e., it will cover all the material we covered in

More information

Physics E-1ax, Fall 2014 Experiment 3. Experiment 3: Force. 2. Find your center of mass by balancing yourself on two force plates.

Physics E-1ax, Fall 2014 Experiment 3. Experiment 3: Force. 2. Find your center of mass by balancing yourself on two force plates. Learning Goals Experiment 3: Force After you finish this lab, you will be able to: 1. Use Logger Pro to analyze video and calculate position, velocity, and acceleration. 2. Find your center of mass by

More information

Section 1.8/1.9. Linear Transformations

Section 1.8/1.9. Linear Transformations Section 1.8/1.9 Linear Transformations Motivation Let A be a matrix, and consider the matrix equation b = Ax. If we vary x, we can think of this as a function of x. Many functions in real life the linear

More information

Example 2.1. Draw the points with polar coordinates: (i) (3, π) (ii) (2, π/4) (iii) (6, 2π/4) We illustrate all on the following graph:

Example 2.1. Draw the points with polar coordinates: (i) (3, π) (ii) (2, π/4) (iii) (6, 2π/4) We illustrate all on the following graph: Section 10.3: Polar Coordinates The polar coordinate system is another way to coordinatize the Cartesian plane. It is particularly useful when examining regions which are circular. 1. Cartesian Coordinates

More information

Vectors for Zero Robotics students

Vectors for Zero Robotics students Vectors for Zero Robotics students Zero Robotics Australia August 7, 08 Assumed Knowledge The robots used for the Zero Robotics competition (SPHERES) were designed for NASA researchers, and are able to

More information

Notes on Complex Numbers

Notes on Complex Numbers Notes on Complex Numbers Math 70: Ideas in Mathematics (Section 00) Imaginary Numbers University of Pennsylvania. October 7, 04. Instructor: Subhrajit Bhattacharya The set of real algebraic numbers, A,

More information

Chapter 1. Linear Equations

Chapter 1. Linear Equations Chapter 1. Linear Equations We ll start our study of linear algebra with linear equations. Lost of parts of mathematics rose out of trying to understand the solutions of different types of equations. Linear

More information

Intermediate Algebra. Gregg Waterman Oregon Institute of Technology

Intermediate Algebra. Gregg Waterman Oregon Institute of Technology Intermediate Algebra Gregg Waterman Oregon Institute of Technology c 2017 Gregg Waterman This work is licensed under the Creative Commons Attribution 4.0 International license. The essence of the license

More information

Announcements. CSE332: Data Abstractions Lecture 2: Math Review; Algorithm Analysis. Today. Mathematical induction. Dan Grossman Spring 2010

Announcements. CSE332: Data Abstractions Lecture 2: Math Review; Algorithm Analysis. Today. Mathematical induction. Dan Grossman Spring 2010 Announcements CSE332: Data Abstractions Lecture 2: Math Review; Algorithm Analysis Dan Grossman Spring 2010 Project 1 posted Section materials on using Eclipse will be very useful if you have never used

More information

CMSC427 Parametric curves: Hermite, Catmull-Rom, Bezier

CMSC427 Parametric curves: Hermite, Catmull-Rom, Bezier CMSC427 Parametric curves: Hermite, Catmull-Rom, Bezier Modeling Creating 3D objects How to construct complicated surfaces? Goal Specify objects with few control points Resulting object should be visually

More information

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011 Math 31 Lesson Plan Day 2: Sets; Binary Operations Elizabeth Gillaspy September 23, 2011 Supplies needed: 30 worksheets. Scratch paper? Sign in sheet Goals for myself: Tell them what you re going to tell

More information

MATH 31B: BONUS PROBLEMS

MATH 31B: BONUS PROBLEMS MATH 31B: BONUS PROBLEMS IAN COLEY LAST UPDATED: JUNE 8, 2017 7.1: 28, 38, 45. 1. Homework 1 7.2: 31, 33, 40. 7.3: 44, 52, 61, 71. Also, compute the derivative of x xx. 2. Homework 2 First, let me say

More information

Topic 4 Notes Jeremy Orloff

Topic 4 Notes Jeremy Orloff Topic 4 Notes Jeremy Orloff 4 Complex numbers and exponentials 4.1 Goals 1. Do arithmetic with complex numbers.. Define and compute: magnitude, argument and complex conjugate of a complex number. 3. Euler

More information

C. Finding roots of trinomials: 1st Example: x 2 5x = 14 x 2 5x 14 = 0 (x 7)(x + 2) = 0 Answer: x = 7 or x = -2

C. Finding roots of trinomials: 1st Example: x 2 5x = 14 x 2 5x 14 = 0 (x 7)(x + 2) = 0 Answer: x = 7 or x = -2 AP Calculus Students: Welcome to AP Calculus. Class begins in approimately - months. In this packet, you will find numerous topics that were covered in your Algebra and Pre-Calculus courses. These are

More information

PreCalculus Summer Assignment (2018/2019)

PreCalculus Summer Assignment (2018/2019) PreCalculus Summer Assignment (2018/2019) We are thrilled to have you join the Pre-Calculus family next year, and we want you to get a jump-start over the summer! You have learned so much valuable information

More information

Vectors. Vector Practice Problems: Odd-numbered problems from

Vectors. Vector Practice Problems: Odd-numbered problems from Vectors Vector Practice Problems: Odd-numbered problems from 3.1-3.21 After today, you should be able to: Understand vector notation Use basic trigonometry in order to find the x and y components of a

More information

Integrals. D. DeTurck. January 1, University of Pennsylvania. D. DeTurck Math A: Integrals 1 / 61

Integrals. D. DeTurck. January 1, University of Pennsylvania. D. DeTurck Math A: Integrals 1 / 61 Integrals D. DeTurck University of Pennsylvania January 1, 2018 D. DeTurck Math 104 002 2018A: Integrals 1 / 61 Integrals Start with dx this means a little bit of x or a little change in x If we add up

More information

Algebraic. techniques1

Algebraic. techniques1 techniques Algebraic An electrician, a bank worker, a plumber and so on all have tools of their trade. Without these tools, and a good working knowledge of how to use them, it would be impossible for them

More information

Algebra. Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

Algebra. Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed. This document was written and copyrighted by Paul Dawkins. Use of this document and its online version is governed by the Terms and Conditions of Use located at. The online version of this document is

More information

CS S Lecture 5 January 29, 2019

CS S Lecture 5 January 29, 2019 CS 6363.005.19S Lecture 5 January 29, 2019 Main topics are #divide-and-conquer with #fast_fourier_transforms. Prelude Homework 1 is due Tuesday, February 5th. I hope you ve at least looked at it by now!

More information

Difference Equations

Difference Equations 6.08, Spring Semester, 007 Lecture 5 Notes MASSACHVSETTS INSTITVTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science 6.08 Introduction to EECS I Spring Semester, 007 Lecture 5 Notes

More information

MA 510 ASSIGNMENT SHEET Spring 2009 Text: Vector Calculus, J. Marsden and A. Tromba, fifth edition

MA 510 ASSIGNMENT SHEET Spring 2009 Text: Vector Calculus, J. Marsden and A. Tromba, fifth edition MA 510 ASSIGNMENT SHEET Spring 2009 Text: Vector Calculus, J. Marsden and A. Tromba, fifth edition This sheet will be updated as the semester proceeds, and I expect to give several quizzes/exams. the calculus

More information

1.1.1 Algebraic Operations

1.1.1 Algebraic Operations 1.1.1 Algebraic Operations We need to learn how our basic algebraic operations interact. When confronted with many operations, we follow the order of operations: Parentheses Exponentials Multiplication

More information

Lecture 5: Special Functions and Operations

Lecture 5: Special Functions and Operations Lecture 5: Special Functions and Operations Feedback of Assignment2 Rotation Transformation To rotate by angle θ counterclockwise, set your transformation matrix A as [ ] cos θ sin θ A =. sin θ cos θ We

More information

Bézier Curves and Splines

Bézier Curves and Splines CS-C3100 Computer Graphics Bézier Curves and Splines Majority of slides from Frédo Durand vectorportal.com CS-C3100 Fall 2017 Lehtinen Before We Begin Anything on your mind concerning Assignment 1? CS-C3100

More information

Lab Slide Rules and Log Scales

Lab Slide Rules and Log Scales Name: Lab Slide Rules and Log Scales [EER Note: This is a much-shortened version of my lab on this topic. You won t finish, but try to do one of each type of calculation if you can. I m available to help.]

More information

Chapter 8. Rigid transformations

Chapter 8. Rigid transformations Chapter 8. Rigid transformations We are about to start drawing figures in 3D. There are no built-in routines for this purpose in PostScript, and we shall have to start more or less from scratch in extending

More information

Practical Algebra. A Step-by-step Approach. Brought to you by Softmath, producers of Algebrator Software

Practical Algebra. A Step-by-step Approach. Brought to you by Softmath, producers of Algebrator Software Practical Algebra A Step-by-step Approach Brought to you by Softmath, producers of Algebrator Software 2 Algebra e-book Table of Contents Chapter 1 Algebraic expressions 5 1 Collecting... like terms 5

More information

Calculus II. Calculus II tends to be a very difficult course for many students. There are many reasons for this.

Calculus II. Calculus II tends to be a very difficult course for many students. There are many reasons for this. Preface Here are my online notes for my Calculus II course that I teach here at Lamar University. Despite the fact that these are my class notes they should be accessible to anyone wanting to learn Calculus

More information

2.2 Graphs of Functions

2.2 Graphs of Functions 2.2 Graphs of Functions Introduction DEFINITION domain of f, D(f) Associated with every function is a set called the domain of the function. This set influences what the graph of the function looks like.

More information

Weekly Activities Ma 110

Weekly Activities Ma 110 Weekly Activities Ma 110 Fall 2008 As of October 27, 2008 We give detailed suggestions of what to learn during each week. This includes a reading assignment as well as a brief description of the main points

More information

1 Lesson 13: Methods of Integration

1 Lesson 13: Methods of Integration Lesson 3: Methods of Integration Chapter 6 Material: pages 273-294 in the textbook: Lesson 3 reviews integration by parts and presents integration via partial fraction decomposition as the third of the

More information

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations for Engineers and Scientists Gregg Waterman Oregon Institute of Technology c 2017 Gregg Waterman This work is licensed under the Creative Commons Attribution 4.0 International

More information

Course Outline, Mathematics - Algebra 2-Trigonometry -

Course Outline, Mathematics - Algebra 2-Trigonometry - Course Outline, Mathematics - Algebra 2-Trigonometry - Course Description: Algebra 2 is the study of equations of second degree, which include such diverse geometric manifestations as parabolas, ellipses,

More information

AP CALCULUS AB. Summer Assignment. Page 1

AP CALCULUS AB. Summer Assignment. Page 1 AP CALCULUS AB Summer Assignment Page 1 Welcome to AP Calculus AB. This will be the toughest class yet in your mathematical careers but the benefit you will receive by having this experience in high school

More information

Induction 1 = 1(1+1) = 2(2+1) = 3(3+1) 2

Induction 1 = 1(1+1) = 2(2+1) = 3(3+1) 2 Induction 0-8-08 Induction is used to prove a sequence of statements P(), P(), P(3),... There may be finitely many statements, but often there are infinitely many. For example, consider the statement ++3+

More information

DIFFERENTIAL EQUATIONS

DIFFERENTIAL EQUATIONS DIFFERENTIAL EQUATIONS Basic Concepts Paul Dawkins Table of Contents Preface... Basic Concepts... 1 Introduction... 1 Definitions... Direction Fields... 8 Final Thoughts...19 007 Paul Dawkins i http://tutorial.math.lamar.edu/terms.aspx

More information

AP Physics 2 Summer Assignment

AP Physics 2 Summer Assignment AP Physics 2 Summer Assignment Welcome to AP Physics 2! It is a college level physics course that is fun, interesting and challenging on a level you ve not yet experienced. This summer assignment will

More information

Intermediate Algebra. Gregg Waterman Oregon Institute of Technology

Intermediate Algebra. Gregg Waterman Oregon Institute of Technology Intermediate Algebra Gregg Waterman Oregon Institute of Technology c 207 Gregg Waterman This work is licensed under the Creative Commons Attribution 4.0 International license. The essence of the license

More information

CS261: A Second Course in Algorithms Lecture #12: Applications of Multiplicative Weights to Games and Linear Programs

CS261: A Second Course in Algorithms Lecture #12: Applications of Multiplicative Weights to Games and Linear Programs CS26: A Second Course in Algorithms Lecture #2: Applications of Multiplicative Weights to Games and Linear Programs Tim Roughgarden February, 206 Extensions of the Multiplicative Weights Guarantee Last

More information

Math (P)Review Part II:

Math (P)Review Part II: Math (P)Review Part II: Vector Calculus Computer Graphics Assignment 0.5 (Out today!) Same story as last homework; second part on vector calculus. Slightly fewer questions Last Time: Linear Algebra Touched

More information

Math 1302 Notes 2. How many solutions? What type of solution in the real number system? What kind of equation is it?

Math 1302 Notes 2. How many solutions? What type of solution in the real number system? What kind of equation is it? Math 1302 Notes 2 We know that x 2 + 4 = 0 has How many solutions? What type of solution in the real number system? What kind of equation is it? What happens if we enlarge our current system? Remember

More information

PROFESSOR: WELCOME BACK TO THE LAST LECTURE OF THE SEMESTER. PLANNING TO DO TODAY WAS FINISH THE BOOK. FINISH SECTION 6.5

PROFESSOR: WELCOME BACK TO THE LAST LECTURE OF THE SEMESTER. PLANNING TO DO TODAY WAS FINISH THE BOOK. FINISH SECTION 6.5 1 MATH 16A LECTURE. DECEMBER 9, 2008. PROFESSOR: WELCOME BACK TO THE LAST LECTURE OF THE SEMESTER. I HOPE YOU ALL WILL MISS IT AS MUCH AS I DO. SO WHAT I WAS PLANNING TO DO TODAY WAS FINISH THE BOOK. FINISH

More information

CHAPTER 7: TECHNIQUES OF INTEGRATION

CHAPTER 7: TECHNIQUES OF INTEGRATION CHAPTER 7: TECHNIQUES OF INTEGRATION DAVID GLICKENSTEIN. Introduction This semester we will be looking deep into the recesses of calculus. Some of the main topics will be: Integration: we will learn how

More information

This chapter covers asymptotic analysis of function growth and big-o notation.

This chapter covers asymptotic analysis of function growth and big-o notation. Chapter 14 Big-O This chapter covers asymptotic analysis of function growth and big-o notation. 14.1 Running times of programs An important aspect of designing a computer programs is figuring out how well

More information

Lecture for Week 2 (Secs. 1.3 and ) Functions and Limits

Lecture for Week 2 (Secs. 1.3 and ) Functions and Limits Lecture for Week 2 (Secs. 1.3 and 2.2 2.3) Functions and Limits 1 First let s review what a function is. (See Sec. 1 of Review and Preview.) The best way to think of a function is as an imaginary machine,

More information

We are going to discuss what it means for a sequence to converge in three stages: First, we define what it means for a sequence to converge to zero

We are going to discuss what it means for a sequence to converge in three stages: First, we define what it means for a sequence to converge to zero Chapter Limits of Sequences Calculus Student: lim s n = 0 means the s n are getting closer and closer to zero but never gets there. Instructor: ARGHHHHH! Exercise. Think of a better response for the instructor.

More information

Announcements Monday, September 25

Announcements Monday, September 25 Announcements Monday, September 25 The midterm will be returned in recitation on Friday. You can pick it up from me in office hours before then. Keep tabs on your grades on Canvas. WeBWorK 1.7 is due Friday

More information

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Functions

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Functions ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER 1 2017/2018 DR. ANTHONY BROWN 4. Functions 4.1. What is a Function: Domain, Codomain and Rule. In the course so far, we

More information

CS1800: Sequences & Sums. Professor Kevin Gold

CS1800: Sequences & Sums. Professor Kevin Gold CS1800: Sequences & Sums Professor Kevin Gold Moving Toward Analysis of Algorithms Today s tools help in the analysis of algorithms. We ll cover tools for deciding what equation best fits a sequence of

More information

AP Calculus Summer Homework Worksheet Instructions

AP Calculus Summer Homework Worksheet Instructions Honors AP Calculus BC Thrill-a-Minute Summer Opportunity 018 Name Favorite Pre-Calculus Topic Your summer assignment is to have the review packet (a review of Algebra / Trig. and Pre-Calculus), Chapter

More information

STEP Support Programme. Hints and Partial Solutions for Assignment 4

STEP Support Programme. Hints and Partial Solutions for Assignment 4 STEP Support Programme Hints and Partial Solutions for Assignment 4 Warm-up 1 (i) This question was asking you to prove that the angle at the centre of a circle is twice the angle at the circumference.

More information