Rasterization: Bresenham s Midpoint Algorithm

Size: px
Start display at page:

Download "Rasterization: Bresenham s Midpoint Algorithm"

Transcription

1 Rasterization: Bresenham s Mioint Algorithm CS4600 Comuter Grahics aate from Rich Riesenfel s slies Fall 05 Rasterization General metho: Use equation for geometr Insert equation for rimitive Derive rasterization metho CS4600

2 Line Characterizations licit: m B Imlicit: F(, abc 0 Constant sloe: k Constant erivative: f ( k Line Characterizations - Parametric: where, ( t ( t P0 t P P P( 0 P0 ; P( P Intersection of lanes Shortest ath between oints Conve hull of iscrete oints CS4600

3 Two Line quations licit: m B Imlicit: F(, abc 0 Define: 0 Hence, 0 B From revious We have, B Hence, B 0 CS4600 3

4 Relating licit to Imlicit q s Recall, Multil through b, B 0 ( ( ( B 0 F(, ( ( ( B 0 where, a ( ; b ( ; c B( Discrete Lines Lines vs. Line Segments What is a iscrete line segment? This is a comuter grahics roblem How to generate a iscrete line? CS4600 4

5 Goo Discrete Line No gas in ajacent iels Piels close to ieal line Consistent choices; same iels in same situations Smooth looking ven brightness in all orientations Same line for P0 P as for P P0 Double iels stacke u? How to Draw a Line? Plug into the equation irectl. Comute sloe. Start at on oint ( o, o 3. Increment X an raw How to figure this out? CS4600 5

6 Derive from Line quation Y = mx + b Y i = mx i + b X i+ = X i + Y i+ = mx i+ + b Y i+ = ( / (X i+ + b CS4600 6

7 What about sloe? CS4600 7

8 Derive from Line quation Y = mx + b Y i = mx i + b Y i+ = mx i+ + b mx i+ = Y i+ -b X i+ = (Y i+ - b / m X i+ = (Y i+ - b / (/ X i+ = (Y i+ - b * (/ CS4600 8

9 What about sloe? If 0 > 0 increment Y else increment X Restricte Form Line segment in first octant with 0 < m < After we erive this, we ll look at the other cases (other octants CS4600 9

10 Incremental Function val Recall f ( i Characteristics Fast Cumulative rror Nee to efine f ( i ( i f ( o Investigate Sign of F Verif that F(, 0 below line on line above line Look at etreme values of CS4600 0

11 F (, 0 The Picture above line F(, 0 below line Ke to Bresenham Algorithm Reasonable assumtions have reuce the roblem to making a binar choice at each iel: (net (Previous (net CS4600

12 Decision Variable (logical Define a logical ecision variable linear in form incrementall uate (with aition tells us whether to go or The Picture Q M mioint revious CS4600

13 The Picture (again (, Q M mioint (, (, revious (, Observe the relationshis Suose Q is above M, as before. Then F( M 0 F( M 0, M is below the line So, means line is above M, Nee to move, increase value CS4600 3

14 The Picture (again (, mioint (, Q (, revious (, Observe the relationshis Suose Q is below M, as before. Then F(M < 0, imlies M is above the line So, F(M < 0, means line is below M, Nee to move to ; on t increase CS4600 4

15 M = Mioint = (, : Want to evaluate at M Will use an incremental ecision variable Let, F(, a( b( c Let, Therefore, How will be use? a( b( c (mioint below ieal line (mioint above ieal line (arbitrar CS4600 5

16 CS Case : Suose is chosen Recall... c b a ol ( ( c b a F new ( ( (, : ;,... a c b a c b a ol new ol new ( ( ( ( Case : Suose is chosen

17 CS a c b a c b a ol new ol new ( ( ( ( Case : Suose is chosen... a c b a c b a ol new ol new ( ( ( ( Case : Suose is chosen

18 Case : Suose is chosen new ol a( b( c... a( b( c new ol a Review of licit to Imlicit Recall, Or, B 0 ( ( ( B 0 F(, ( ( ( B 0 where, a ( ; b ( ; c B( CS4600 8

19 Case :. a new ol increment we a if is chosen. So, a. But remember that a (from line equations. Hence, FM ( is not evaluate elicitl. We siml a a to uate for Case : Suose chosen Recall ol a( b( c an, : ;,... 3 new F(, 3 a ( b ( c CS4600 9

20 Case : Suose new ol... new a( a( ol b( a b b( 3 c c So, ab Case :. new ol increment that we a if is chosen. ab. But remember that a, an b (from line equations. Hence, FM ( is not evaluate elicitl. We siml a ab to uate for CS4600 0

21 Case :. new ol ab a b, where a, an b means, we siml a a b, i.e., to uate for. Summar At each ste of the roceure, we must choose between moving or base on the sign of the ecision variable Then uate accoring to, where, where, or CS4600

22 What is initial value of? First oint is First mioint is ( 0, 0 ( 0, 0 What is initial mioint value? ( 0, 0 F( 0, 0 What is initial value of? F( 0, 0 a( 0 b( 0 c b a0 b0 ca b F( 0, 0 a CS4600

23 What is initial value of? Note, F(, 0, since (, is on line Hence, F( 0, 0 0 a b ( What Does Factor of Do? Has the same 0-set F(, ( a b c 0 Changes the sloe of the lane Rotates lane about the 0-set line Gets ri of the enominator CS4600 3

24 What is initial value of? Note, we can clear enominator an not change line, F( 0, 0 ( What is initial value of? F(, ( abc 0 So, first value of ( ( CS4600 4

25 More Summar Initial value ( ( Case :, where ( Case : where {( ( } Note, all eltas are constants, More Summar if 0 Choose otherwise CS4600 5

26 amle Line en oints: ( (5,8;, (9, 0, 0 ( Deltas: = 4; = 3 Grah CS4600 6

27 amle ( = 4; = 3 Initial value of (5, 8 ( ( 640 = ( ( if 0 otherwise Grah CS4600 7

28 amle (=4; =3 Uate value of where Last move was, so ( - (3 4 0, where (, {( ( } if 0 otherwise Grah CS4600 8

29 amle (=4; =3 Previous move was where, where (, {( ( } ( ( if 0 otherwise Grah CS4600 9

30 amle (=4; =3, Previous move was where ( - ( , where ( {( ( } if 0 otherwise Grah CS

31 Grah Meeting Bresenham Criteria Case 0: m0; m trivial cases Case : Case : 0 m fli about -ais m fli about CS4600 3

32 Case 0: Trivial Situations m 0 horizontal line m line Do not nee Bresenham Case : Fli about -ais ( 0, 0 ( 0, 0 (, (, CS4600 3

33 Case : Fli about -ais Suose, 0 m, Fli about -ais ( : (, (, ; (, (, How o sloes relate? m m i ; b efinition Since, m i ( 0 0 CS

34 How o sloes relate? i.e., m m m ( m 0 m Case 3: Fli about line = (, ( 0, 0 CS

35 Case 3: Fli about line = m B, swa an rime them, mb, mb Case 3: m =? B, m m an, m m 0 m CS

36 More Raster Line Issues Fat lines with multile iel with Smmetric lines How shoul en t geometr look? Generating curves, e.g., circles, etc. Jaggies, staircase effect, aliasing... Piel Sace CS

37 amle amle CS

38 Bresenham Circles The n Bresenham s Algorithm CS

3.10 Implicit Differentiation

3.10 Implicit Differentiation 300 C HAPTER 3 DIFFERENTIATION (b) B art (a), Alternatel, ln f./g./d f 0./ f./ C g0./ g./ D f 0./g./ C f./g 0./ : f./g./.f./g.//0 ln f./g./d f./g./ : Thus, or.f./g.// 0 f./g./ D f 0./g./ C f./g 0./ ; f./g./.f./g.//

More information

Quadratic Residues, Quadratic Reciprocity. 2 4 So we may as well start with x 2 a mod p. p 1 1 mod p a 2 ±1 mod p

Quadratic Residues, Quadratic Reciprocity. 2 4 So we may as well start with x 2 a mod p. p 1 1 mod p a 2 ±1 mod p Lecture 9 Quadratic Residues, Quadratic Recirocity Quadratic Congruence - Consider congruence ax + bx + c 0 mod, with a 0 mod. This can be reduced to x + ax + b 0, if we assume that is odd ( is trivial

More information

Nonlinear Estimation. Professor David H. Staelin

Nonlinear Estimation. Professor David H. Staelin Nonlinear Estimation Professor Davi H. Staelin Massachusetts Institute of Technology Lec22.5-1 [ DD 1 2] ˆ = 1 Best Fit, "Linear Regression" Case I: Nonlinear Physics Data Otimum Estimator P() ˆ D 1 D

More information

Economics 101. Lecture 7 - Monopoly and Oligopoly

Economics 101. Lecture 7 - Monopoly and Oligopoly Economics 0 Lecture 7 - Monooly and Oligooly Production Equilibrium After having exlored Walrasian equilibria with roduction in the Robinson Crusoe economy, we will now ste in to a more general setting.

More information

Lecture 6 : Dimensionality Reduction

Lecture 6 : Dimensionality Reduction CPS290: Algorithmic Founations of Data Science February 3, 207 Lecture 6 : Dimensionality Reuction Lecturer: Kamesh Munagala Scribe: Kamesh Munagala In this lecture, we will consier the roblem of maing

More information

Complex Analysis Homework 1

Complex Analysis Homework 1 Comlex Analysis Homework 1 Steve Clanton Sarah Crimi January 27, 2009 Problem Claim. If two integers can be exressed as the sum of two squares, then so can their roduct. Proof. Call the two squares that

More information

Today. CS-184: Computer Graphics. Introduction. Some Examples. 2D Transformations

Today. CS-184: Computer Graphics. Introduction. Some Examples. 2D Transformations Toda CS-184: Comuter Grahics Lecture #3: 2D Transformations Prof. James O Brien Universit of California, Berkele V2005F-03-1.0 2D Transformations Primitive Oerations Scale, Rotate, Shear, Fli, Translate

More information

Topic 30 Notes Jeremy Orloff

Topic 30 Notes Jeremy Orloff Toic 30 Notes Jeremy Orloff 30 Alications to oulation biology 30.1 Modeling examles 30.1.1 Volterra redator-rey model The Volterra redator-rey system models the oulations of two secies with a redatorrey

More information

x 2 a mod m. has a solution. Theorem 13.2 (Euler s Criterion). Let p be an odd prime. The congruence x 2 1 mod p,

x 2 a mod m. has a solution. Theorem 13.2 (Euler s Criterion). Let p be an odd prime. The congruence x 2 1 mod p, 13. Quadratic Residues We now turn to the question of when a quadratic equation has a solution modulo m. The general quadratic equation looks like ax + bx + c 0 mod m. Assuming that m is odd or that b

More information

AP Calculus Testbank (Chapter 10) (Mr. Surowski)

AP Calculus Testbank (Chapter 10) (Mr. Surowski) AP Calculus Testbank (Chater 1) (Mr. Surowski) Part I. Multile-Choice Questions 1. The grah in the xy-lane reresented by x = 3 sin t and y = cost is (A) a circle (B) an ellise (C) a hyerbola (D) a arabola

More information

Pretest (Optional) Use as an additional pacing tool to guide instruction. August 21

Pretest (Optional) Use as an additional pacing tool to guide instruction. August 21 Trimester 1 Pretest (Otional) Use as an additional acing tool to guide instruction. August 21 Beyond the Basic Facts In Trimester 1, Grade 8 focus on multilication. Daily Unit 1: Rational vs. Irrational

More information

Engineering Mathematics (E35 317) Exam 3 November 7, 2007

Engineering Mathematics (E35 317) Exam 3 November 7, 2007 Engineering Mathematics (E35 317) Exam 3 November 7, 2007 This exam contains four multile-choice roblems worth two oints each, twelve true-false roblems worth one oint each, and four free-resonse roblems

More information

Final Exam Study Guide and Practice Problems Solutions

Final Exam Study Guide and Practice Problems Solutions Final Exam Stuy Guie an Practice Problems Solutions Note: These problems are just some of the types of problems that might appear on the exam. However, to fully prepare for the exam, in aition to making

More information

Math 3A Midterm 1 Solutions

Math 3A Midterm 1 Solutions Math 3A Miterm Solutions Rea all of the following information before starting the exam: 0/0/00 Check your exam to make sure all pages are present. When you use a major theorem (like the inermeiate value

More information

Convex Analysis and Economic Theory Winter 2018

Convex Analysis and Economic Theory Winter 2018 Division of the Humanities and Social Sciences Ec 181 KC Border Conve Analysis and Economic Theory Winter 2018 Toic 16: Fenchel conjugates 16.1 Conjugate functions Recall from Proosition 14.1.1 that is

More information

Multivariable Calculus: Chapter 13: Topic Guide and Formulas (pgs ) * line segment notation above a variable indicates vector

Multivariable Calculus: Chapter 13: Topic Guide and Formulas (pgs ) * line segment notation above a variable indicates vector Multivariable Calculus: Chapter 13: Topic Guie an Formulas (pgs 800 851) * line segment notation above a variable inicates vector The 3D Coorinate System: Distance Formula: (x 2 x ) 2 1 + ( y ) ) 2 y 2

More information

Differentiation ( , 9.5)

Differentiation ( , 9.5) Chapter 2 Differentiation (8.1 8.3, 9.5) 2.1 Rate of Change (8.2.1 5) Recall that the equation of a straight line can be written as y = mx + c, where m is the slope or graient of the line, an c is the

More information

Solved Problems. (a) (b) (c) Figure P4.1 Simple Classification Problems First we draw a line between each set of dark and light data points.

Solved Problems. (a) (b) (c) Figure P4.1 Simple Classification Problems First we draw a line between each set of dark and light data points. Solved Problems Solved Problems P Solve the three simle classification roblems shown in Figure P by drawing a decision boundary Find weight and bias values that result in single-neuron ercetrons with the

More information

0.1 Practical Guide - Surface Integrals. C (0,0,c) A (0,b,0) A (a,0,0)

0.1 Practical Guide - Surface Integrals. C (0,0,c) A (0,b,0) A (a,0,0) . Practical Guide - urface Integrals urface integral,means to integrate over a surface. We begin with the stud of surfaces. The easiest wa is to give as man familiar eamles as ossible ) a lane surface

More information

SECTION 3.2 THE PRODUCT AND QUOTIENT RULES 1 8 3

SECTION 3.2 THE PRODUCT AND QUOTIENT RULES 1 8 3 SECTION 3.2 THE PRODUCT AND QUOTIENT RULES 8 3 L P f Q L segments L an L 2 to be tangent to the parabola at the transition points P an Q. (See the figure.) To simplify the equations you ecie to place the

More information

Worksheet on Derivatives. Dave L. Renfro Drake University November 1, 1999

Worksheet on Derivatives. Dave L. Renfro Drake University November 1, 1999 Worksheet on Derivatives Dave L. Renfro Drake University November, 999 A. Fun With d d (n ) = n n : Find y In case you re interested, the rimary urose of these roblems (Section A) is to review roerties

More information

1 Lecture 20: Implicit differentiation

1 Lecture 20: Implicit differentiation Lecture 20: Implicit ifferentiation. Outline The technique of implicit ifferentiation Tangent lines to a circle Derivatives of inverse functions by implicit ifferentiation Examples.2 Implicit ifferentiation

More information

PHYS 301 HOMEWORK #9-- SOLUTIONS

PHYS 301 HOMEWORK #9-- SOLUTIONS PHYS 0 HOMEWORK #9-- SOLUTIONS. We are asked to use Dirichlet' s theorem to determine the value of f (x) as defined below at x = 0, ± /, ± f(x) = 0, - < x

More information

Short Solutions to Practice Material for Test #2 MATH 2421

Short Solutions to Practice Material for Test #2 MATH 2421 Short Solutions to Practice Material for Test # MATH 4 Kawai (#) Describe recisely the D surfaces listed here (a) + y + z z = Shere ( ) + (y ) + (z ) = 4 = The center is located at C (; ; ) and the radius

More information

Solutions to Test #2 (Kawai) MATH 2421

Solutions to Test #2 (Kawai) MATH 2421 Solutions to Test # (Kawai) MATH 4 (#) Each vector eld deicted below is a characterization of F (; ) hm; Ni : The directions of all eld vectors are correct, but the magnitudes are scaled for ease of grahing.

More information

7. The olynomial P (x) =x, 9x 4 +9x, 4x +4x, 4 can be written in the form P (x) =(x, ) n Q(x), where n is a ositive integer and Q(x) is not divisible

7. The olynomial P (x) =x, 9x 4 +9x, 4x +4x, 4 can be written in the form P (x) =(x, ) n Q(x), where n is a ositive integer and Q(x) is not divisible . Which of the following intervals contains all of the real zeros of the function g(t) =t, t + t? (a) (,; ) (b) ( ; ) (c) (,; ) (d) (; ) (e) (,; ) 4 4. The exression ((a), + b), is equivalent to which

More information

Lecture Notes Di erentiating Trigonometric Functions page 1

Lecture Notes Di erentiating Trigonometric Functions page 1 Lecture Notes Di erentiating Trigonometric Functions age (sin ) 7 sin () sin 8 cos 3 (tan ) sec tan + 9 tan + 4 (cot ) csc cot 0 cot + 5 sin (sec ) cos sec tan sec jj 6 (csc ) sin csc cot csc jj c Hiegkuti,

More information

3 More applications of derivatives

3 More applications of derivatives 3 More alications of derivatives 3.1 Eact & ineact differentials in thermodynamics So far we have been discussing total or eact differentials ( ( u u du = d + dy, (1 but we could imagine a more general

More information

Solutions to Problem Set 5

Solutions to Problem Set 5 Solutions to Problem Set Problem 4.6. f () ( )( 4) For this simle rational function, we see immediately that the function has simle oles at the two indicated oints, and so we use equation (6.) to nd the

More information

a b c d e GOOD LUCK! 3. a b c d e 12. a b c d e 4. a b c d e 13. a b c d e 5. a b c d e 14. a b c d e 6. a b c d e 15. a b c d e

a b c d e GOOD LUCK! 3. a b c d e 12. a b c d e 4. a b c d e 13. a b c d e 5. a b c d e 14. a b c d e 6. a b c d e 15. a b c d e MA3 Elem. Calculus Fall 07 Exam 07-0-9 Name: Sec.: Do not remove this answer age you will turn in the entire exam. No books or notes may be used. You may use an ACT-aroved calculator during the exam, but

More information

HEAT, WORK, AND THE FIRST LAW OF THERMODYNAMICS

HEAT, WORK, AND THE FIRST LAW OF THERMODYNAMICS HET, ORK, ND THE FIRST L OF THERMODYNMIS 8 EXERISES Section 8. The First Law of Thermodynamics 5. INTERPRET e identify the system as the water in the insulated container. The roblem involves calculating

More information

Analysis of some entrance probabilities for killed birth-death processes

Analysis of some entrance probabilities for killed birth-death processes Analysis of some entrance robabilities for killed birth-death rocesses Master s Thesis O.J.G. van der Velde Suervisor: Dr. F.M. Sieksma July 5, 207 Mathematical Institute, Leiden University Contents Introduction

More information

Math 143 Final Review - Version B page 1

Math 143 Final Review - Version B page 1 Math Final Review - Version B age. Simlif each of the following. cos a) + sin cos (log = log ) c) log (log ) log d) log log log e) cos sin cos f) sin cos + cos sin g) log sin h) sin tan i) + tan log j)

More information

GSOE9210 Engineering Decisions

GSOE9210 Engineering Decisions GSOE9 Engineering Decisions Problem Set 5. Consider the river roblem described in lectures: f f V B A B + (a) For =, what is the sloe of the Bayes indifference line through A? (b) Draw the Bayes indifference

More information

where x i is the ith coordinate of x R N. 1. Show that the following upper bound holds for the growth function of H:

where x i is the ith coordinate of x R N. 1. Show that the following upper bound holds for the growth function of H: Mehryar Mohri Foundations of Machine Learning Courant Institute of Mathematical Sciences Homework assignment 2 October 25, 2017 Due: November 08, 2017 A. Growth function Growth function of stum functions.

More information

UPPAAL tutorial What s inside UPPAAL The UPPAAL input languages

UPPAAL tutorial What s inside UPPAAL The UPPAAL input languages UPPAAL tutorial What s inside UPPAAL The UPPAAL inut languages 1 UPPAAL tool Develoed jointly by Usala & Aalborg University >>8,000 downloads since 1999 1 UPPAAL Tool Simulation Modeling Verification 3

More information

Uniform Law on the Unit Sphere of a Banach Space

Uniform Law on the Unit Sphere of a Banach Space Uniform Law on the Unit Shere of a Banach Sace by Bernard Beauzamy Société de Calcul Mathématique SA Faubourg Saint Honoré 75008 Paris France Setember 008 Abstract We investigate the construction of a

More information

Chemical Kinetics and Equilibrium - An Overview - Key

Chemical Kinetics and Equilibrium - An Overview - Key Chemical Kinetics and Equilibrium - An Overview - Key The following questions are designed to give you an overview of the toics of chemical kinetics and chemical equilibrium. Although not comrehensive,

More information

Table of Common Derivatives By David Abraham

Table of Common Derivatives By David Abraham Prouct an Quotient Rules: Table of Common Derivatives By Davi Abraham [ f ( g( ] = [ f ( ] g( + f ( [ g( ] f ( = g( [ f ( ] g( g( f ( [ g( ] Trigonometric Functions: sin( = cos( cos( = sin( tan( = sec

More information

Rules for Derivatives

Rules for Derivatives Chapter 3 Rules for Derivatives 3.1 Shortcuts for powers of x, constants, sums, an ifferences Leibniz notation for erivative: f 0 (x) = f, V 0 (t) = V t, C0 (q) = C q, etc. reas as the erivative of....

More information

SECTION 12: HOMOTOPY EXTENSION AND LIFTING PROPERTY

SECTION 12: HOMOTOPY EXTENSION AND LIFTING PROPERTY SECTION 12: HOMOTOPY EXTENSION AND LIFTING PROPERTY In the revious section, we exloited the interlay between (relative) CW comlexes and fibrations to construct the Postnikov and Whitehead towers aroximating

More information

Topic 2.3: The Geometry of Derivatives of Vector Functions

Topic 2.3: The Geometry of Derivatives of Vector Functions BSU Math 275 Notes Topic 2.3: The Geometry of Derivatives of Vector Functions Textbook Sections: 13.2 From the Toolbox (what you nee from previous classes): Be able to compute erivatives scalar-value functions

More information

Exam 2 Review Solutions

Exam 2 Review Solutions Exam Review Solutions 1. True or False, an explain: (a) There exists a function f with continuous secon partial erivatives such that f x (x, y) = x + y f y = x y False. If the function has continuous secon

More information

9.7 Extension: Writing and Graphing the Equations

9.7 Extension: Writing and Graphing the Equations www.ck12.org Chapter 9. Circles 9.7 Extension: Writing and Graphing the Equations of Circles Learning Objectives Graph a circle. Find the equation of a circle in the coordinate plane. Find the radius and

More information

Calculus BC Section II PART A A GRAPHING CALCULATOR IS REQUIRED FOR SOME PROBLEMS OR PARTS OF PROBLEMS

Calculus BC Section II PART A A GRAPHING CALCULATOR IS REQUIRED FOR SOME PROBLEMS OR PARTS OF PROBLEMS Calculus BC Section II PART A A GRAPHING CALCULATOR IS REQUIRED FOR SOME PROBLEMS OR PARTS OF PROBLEMS. An isosceles triangle, whose base is the interval from (0, 0) to (c, 0), has its verte on the graph

More information

1. Radiative transfer with emission. Atmosphere and surfaces emit infrared and microwave radiation. Recall the Beer-Bouguer-Lambert law for emission

1. Radiative transfer with emission. Atmosphere and surfaces emit infrared and microwave radiation. Recall the Beer-Bouguer-Lambert law for emission Lecture 8. Princiles of assive remote sensing using emission an alications: Remote sensing of atmosheric ath-integrate quantities clou liqui water content an reciitable water vaor.. Raiative transfer with

More information

Mark Scheme (Results) Summer 2008

Mark Scheme (Results) Summer 2008 Mark (Results) Summer 8 GCE GCE Mathematics (7/) Mark Eecel Limite. Registere in Englan an Wales No. 97 Registere Office: One9 High Holborn, Lonon WCV 7BH 7 Further Pure FP Mark Question. cos. (.8 ) Ma

More information

Topic 7: Using identity types

Topic 7: Using identity types Toic 7: Using identity tyes June 10, 2014 Now we would like to learn how to use identity tyes and how to do some actual mathematics with them. By now we have essentially introduced all inference rules

More information

Computer arithmetic. Intensive Computation. Annalisa Massini 2017/2018

Computer arithmetic. Intensive Computation. Annalisa Massini 2017/2018 Comuter arithmetic Intensive Comutation Annalisa Massini 7/8 Intensive Comutation - 7/8 References Comuter Architecture - A Quantitative Aroach Hennessy Patterson Aendix J Intensive Comutation - 7/8 3

More information

Micro I. Lesson 5 : Consumer Equilibrium

Micro I. Lesson 5 : Consumer Equilibrium Microecono mics I. Antonio Zabalza. Universit of Valencia 1 Micro I. Lesson 5 : Consumer Equilibrium 5.1 Otimal Choice If references are well behaved (smooth, conve, continuous and negativel sloed), then

More information

Equations of lines in

Equations of lines in Roberto s Notes on Linear Algebra Chapter 6: Lines, planes an other straight objects Section 1 Equations of lines in What ou nee to know alrea: The ot prouct. The corresponence between equations an graphs.

More information

CMSC 425: Lecture 4 Geometry and Geometric Programming

CMSC 425: Lecture 4 Geometry and Geometric Programming CMSC 425: Lecture 4 Geometry and Geometric Programming Geometry for Game Programming and Grahics: For the next few lectures, we will discuss some of the basic elements of geometry. There are many areas

More information

Approximating min-max k-clustering

Approximating min-max k-clustering Aroximating min-max k-clustering Asaf Levin July 24, 2007 Abstract We consider the roblems of set artitioning into k clusters with minimum total cost and minimum of the maximum cost of a cluster. The cost

More information

Pretest (Optional) Use as an additional pacing tool to guide instruction. August 21

Pretest (Optional) Use as an additional pacing tool to guide instruction. August 21 Trimester 1 Pretest (Otional) Use as an additional acing tool to guide instruction. August 21 Beyond the Basic Facts In Trimester 1, Grade 7 focus on multilication. Daily Unit 1: The Number System Part

More information

Derivatives and the Product Rule

Derivatives and the Product Rule Derivatives an the Prouct Rule James K. Peterson Department of Biological Sciences an Department of Mathematical Sciences Clemson University January 28, 2014 Outline Differentiability Simple Derivatives

More information

Q(s, t) = S M = S M [ G 1 (t) G 2 (t) G 3 1(t) G 4 (t) ] T

Q(s, t) = S M = S M [ G 1 (t) G 2 (t) G 3 1(t) G 4 (t) ] T Curves an Surfaces: Parametric Bicubic Surfaces - Intro Surfaces are generalizations of curves Use s in place of t in parametric equation: Q(s) = S M G where S equivalent to T in Q(t) = T M G If G is parameterize

More information

Math 751 Lecture Notes Week 3

Math 751 Lecture Notes Week 3 Math 751 Lecture Notes Week 3 Setember 25, 2014 1 Fundamental grou of a circle Theorem 1. Let φ : Z π 1 (S 1 ) be given by n [ω n ], where ω n : I S 1 R 2 is the loo ω n (s) = (cos(2πns), sin(2πns)). Then

More information

Strong Matching of Points with Geometric Shapes

Strong Matching of Points with Geometric Shapes Strong Matching of Points with Geometric Shaes Ahmad Biniaz Anil Maheshwari Michiel Smid School of Comuter Science, Carleton University, Ottawa, Canada December 9, 05 In memory of Ferran Hurtado. Abstract

More information

Calculus I Practice Test Problems for Chapter 3 Page 1 of 9

Calculus I Practice Test Problems for Chapter 3 Page 1 of 9 Calculus I Practice Test Problems for Chapter 3 Page of 9 This is a set of practice test problems for Chapter 3. This is in no wa an inclusive set of problems there can be other tpes of problems on the

More information

23 Implicit differentiation

23 Implicit differentiation 23 Implicit ifferentiation 23.1 Statement The equation y = x 2 + 3x + 1 expresses a relationship between the quantities x an y. If a value of x is given, then a corresponing value of y is etermine. For

More information

E-companion to A risk- and ambiguity-averse extension of the max-min newsvendor order formula

E-companion to A risk- and ambiguity-averse extension of the max-min newsvendor order formula e-comanion to Han Du and Zuluaga: Etension of Scarf s ma-min order formula ec E-comanion to A risk- and ambiguity-averse etension of the ma-min newsvendor order formula Qiaoming Han School of Mathematics

More information

Linear First-Order Equations

Linear First-Order Equations 5 Linear First-Orer Equations Linear first-orer ifferential equations make up another important class of ifferential equations that commonly arise in applications an are relatively easy to solve (in theory)

More information

Announcements. Topics: Homework: - section 12.4 (cross/vector product) - section 12.5 (equations of lines and planes)

Announcements. Topics: Homework: - section 12.4 (cross/vector product) - section 12.5 (equations of lines and planes) Topics: Announcements - section 12.4 (cross/vector product) - section 12.5 (equations of lines and planes) Homework: ü review lecture notes thoroughl ü work on eercises from the tetbook in sections 12.4

More information

Sect The Slope-Intercept Form

Sect The Slope-Intercept Form 0 Concepts # and # Sect. - The Slope-Intercept Form Slope-Intercept Form of a line Recall the following definition from the beginning of the chapter: Let a, b, and c be real numbers where a and b are not

More information

Lecture #4: Integration Algorithms for Rate-independent Plasticity (1D)

Lecture #4: Integration Algorithms for Rate-independent Plasticity (1D) 5-0735: Damic behavior of materials a structures Lecture #4: Itegratio Algorithms for Rate-ieeet Plasticit (D) b Dirk Mohr TH Zurich, Deartmet of Mechaical a Process gieerig, Chair of Comutatioal Moelig

More information

MA3H1 TOPICS IN NUMBER THEORY PART III

MA3H1 TOPICS IN NUMBER THEORY PART III MA3H1 TOPICS IN NUMBER THEORY PART III SAMIR SIKSEK 1. Congruences Modulo m In quadratic recirocity we studied congruences of the form x 2 a (mod ). We now turn our attention to situations where is relaced

More information

Excerpt from "Intermediate Algebra" 2014 AoPS Inc.

Excerpt from Intermediate Algebra 2014 AoPS Inc. Ecert from "Intermediate Algebra" 04 AoPS Inc. www.artofroblemsolving.com for which our grah is below the -ais with the oints where the grah intersects the -ais (because the ineuality is nonstrict), we

More information

Introduction to Arithmetic Geometry Fall 2013 Lecture #10 10/8/2013

Introduction to Arithmetic Geometry Fall 2013 Lecture #10 10/8/2013 18.782 Introduction to Arithmetic Geometry Fall 2013 Lecture #10 10/8/2013 In this lecture we lay the groundwork needed to rove the Hasse-Minkowski theorem for Q, which states that a quadratic form over

More information

QUADRATIC RECIPROCITY

QUADRATIC RECIPROCITY QUADRATIC RECIPROCITY JORDAN SCHETTLER Abstract. The goals of this roject are to have the reader(s) gain an areciation for the usefulness of Legendre symbols and ultimately recreate Eisenstein s slick

More information

Designing Information Devices and Systems I Spring 2018 Lecture Notes Note 16

Designing Information Devices and Systems I Spring 2018 Lecture Notes Note 16 EECS 16A Designing Information Devices an Systems I Spring 218 Lecture Notes Note 16 16.1 Touchscreen Revisite We ve seen how a resistive touchscreen works by using the concept of voltage iviers. Essentially,

More information

Designing Information Devices and Systems I Spring 2017 Official Lecture Notes Note 13

Designing Information Devices and Systems I Spring 2017 Official Lecture Notes Note 13 EES 6A Designing Information Devices an Systems I Spring 27 Official Lecture Notes Note 3 Touchscreen Revisite We ve seen how a resistive touchscreen works by using the concept of voltage iviers. Essentially,

More information

The Euler Phi Function

The Euler Phi Function The Euler Phi Function 7-3-2006 An arithmetic function takes ositive integers as inuts and roduces real or comlex numbers as oututs. If f is an arithmetic function, the divisor sum Dfn) is the sum of the

More information

Exam 3 Review. Lesson 19: Concavity, Inflection Points, and the Second Derivative Test. Lesson 20: Absolute Extrema on an Interval

Exam 3 Review. Lesson 19: Concavity, Inflection Points, and the Second Derivative Test. Lesson 20: Absolute Extrema on an Interval Exam 3 Review Lessons 17-18: Relative Extrema, Critical Numbers, an First Derivative Test (from exam 2 review neee for curve sketching) Critical Numbers: where the erivative of a function is zero or unefine.

More information

QUADRATIC RECIPROCITY

QUADRATIC RECIPROCITY QUADRATIC RECIPROCITY JORDAN SCHETTLER Abstract. The goals of this roject are to have the reader(s) gain an areciation for the usefulness of Legendre symbols and ultimately recreate Eisenstein s slick

More information

Pythagorean triples and sums of squares

Pythagorean triples and sums of squares Pythagorean triles and sums of squares Robin Chaman 16 January 2004 1 Pythagorean triles A Pythagorean trile (x, y, z) is a trile of ositive integers satisfying z 2 + y 2 = z 2. If g = gcd(x, y, z) then

More information

Central Force Motion Challenge Problems

Central Force Motion Challenge Problems Central Force Motion Challenge Problems Problem 1: Ellitic Orbit A satellite of mass m s is in an ellitical orbit around a lanet of mass m which is located at one focus of the ellise. The satellite has

More information

MA202 Calculus III Fall, 2009 Laboratory Exploration 3: Vector Fields Solution Key

MA202 Calculus III Fall, 2009 Laboratory Exploration 3: Vector Fields Solution Key MA0 Calculus III Fall, 009 Laborator Eloration 3: Vector Fields Solution Ke Introduction: This lab deals with several asects of vector elds. Read the handout on vector elds and electrostatics from Chater

More information

Chapter 13: Vectors and the Geometry of Space

Chapter 13: Vectors and the Geometry of Space Chapter 13: Vectors and the Geometry of Space 13.1 3-Dimensional Coordinate System 13.2 Vectors 13.3 The Dot Product 13.4 The Cross Product 13.5 Equations of Lines and Planes 13.6 Cylinders and Quadratic

More information

Chapter 13: Vectors and the Geometry of Space

Chapter 13: Vectors and the Geometry of Space Chapter 13: Vectors and the Geometry of Space 13.1 3-Dimensional Coordinate System 13.2 Vectors 13.3 The Dot Product 13.4 The Cross Product 13.5 Equations of Lines and Planes 13.6 Cylinders and Quadratic

More information

Geometric Constraint Solving in 2D

Geometric Constraint Solving in 2D Universitat Politècnica de Catalunya Deartament de Llenguatges i Sistemes Informàtics PhD Thesis Geometric Constraint Solving in 2D November, 1998 Antoni Soto i Riera Advisor: Robert Joan i Arinyo Contents

More information

Brownian Motion and Random Prime Factorization

Brownian Motion and Random Prime Factorization Brownian Motion and Random Prime Factorization Kendrick Tang June 4, 202 Contents Introduction 2 2 Brownian Motion 2 2. Develoing Brownian Motion.................... 2 2.. Measure Saces and Borel Sigma-Algebras.........

More information

Markov Chains in Continuous Time

Markov Chains in Continuous Time Chapter 23 Markov Chains in Continuous Time Previously we looke at Markov chains, where the transitions betweenstatesoccurreatspecifietime- steps. That it, we mae time (a continuous variable) avance in

More information

Generative learning methods for bags of features

Generative learning methods for bags of features Generative learning methos for bags of features Moel the robability of a bag of features given a class Many slies aate from Fei-Fei Li, Rob Fergus, an Antonio Torralba Generative methos We ill cover to

More information

Quadratic Reciprocity

Quadratic Reciprocity Quadratic Recirocity 5-7-011 Quadratic recirocity relates solutions to x = (mod to solutions to x = (mod, where and are distinct odd rimes. The euations are oth solvale or oth unsolvale if either or has

More information

Week 1: Number Theory - Euler Phi Function, Order and Primitive Roots. 1 Greatest Common Divisor and the Euler Phi Function

Week 1: Number Theory - Euler Phi Function, Order and Primitive Roots. 1 Greatest Common Divisor and the Euler Phi Function 2010 IMO Summer Training: Number Theory 1 Week 1: Number Theory - Euler Phi Function, Orer an Primitive Roots 1 Greatest Common Divisor an the Euler Phi Function Consier the following problem. Exercise

More information

NUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z:

NUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z: NUMBER SYSTEMS Number theory is the study of the integers. We denote the set of integers by Z: Z = {..., 3, 2, 1, 0, 1, 2, 3,... }. The integers have two oerations defined on them, addition and multilication,

More information

University of Bath DEPARTMENT OF ECONOMICS COURSEWORK TEST 1: SUGGESSTED SOLUTIONS

University of Bath DEPARTMENT OF ECONOMICS COURSEWORK TEST 1: SUGGESSTED SOLUTIONS University of Bath DEPARTMENT OF ECONOMICS COURSEWORK TEST 1: SUGGESSTED SOLUTIONS First Year INTRODUCTORY MICROECONOMICS (ES10001) 3 RD NOVEMBER 2017, 17:30 18.45 (75 minutes) ANSWER ALL QUESTIONS The

More information

Planar Transformations and Displacements

Planar Transformations and Displacements Chater Planar Transformations and Dislacements Kinematics is concerned with the roerties of the motion of oints. These oints are on objects in the environment or on a robot maniulator. Two features that

More information

Math Notes on differentials, the Chain Rule, gradients, directional derivative, and normal vectors

Math Notes on differentials, the Chain Rule, gradients, directional derivative, and normal vectors Math 18.02 Notes on ifferentials, the Chain Rule, graients, irectional erivative, an normal vectors Tangent plane an linear approximation We efine the partial erivatives of f( xy, ) as follows: f f( x+

More information

Generalized Least-Squares Regressions II: Theory and Classication

Generalized Least-Squares Regressions II: Theory and Classication Recent Advances in Intelligent Control, Modelling Comutational Science Generalized Least-Squares Regressions II Theor Classication NATANIEL GREENE Deartment of Mathematics Comuter Science Kingsorough Communit

More information

Mathematics Trigonometry: Unit Circle

Mathematics Trigonometry: Unit Circle a place of mind F A C U L T Y O F E D U C A T I O N Department of Curriculum and Pedagog Mathematics Trigonometr: Unit Circle Science and Mathematics Education Research Group Supported b UBC Teaching and

More information

QF101: Quantitative Finance September 5, Week 3: Derivatives. Facilitator: Christopher Ting AY 2017/2018. f ( x + ) f(x) f(x) = lim

QF101: Quantitative Finance September 5, Week 3: Derivatives. Facilitator: Christopher Ting AY 2017/2018. f ( x + ) f(x) f(x) = lim QF101: Quantitative Finance September 5, 2017 Week 3: Derivatives Facilitator: Christopher Ting AY 2017/2018 I recoil with ismay an horror at this lamentable plague of functions which o not have erivatives.

More information

Wed Feb The vector spaces 2, 3, n. Announcements: Warm-up Exercise:

Wed Feb The vector spaces 2, 3, n. Announcements: Warm-up Exercise: Wed Feb 2 4-42 The vector spaces 2, 3, n Announcements: Warm-up Exercise: 4-42 The vector space m and its subspaces; concepts related to "linear combinations of vectors" Geometric interpretation of vectors

More information

Capacity Allocation. Outline Two-class allocation Multiple-class allocation Demand dependence Bid prices. Based on Phillips (2005) Chapter 7.

Capacity Allocation. Outline Two-class allocation Multiple-class allocation Demand dependence Bid prices. Based on Phillips (2005) Chapter 7. Caacity Allocation utallas.eu/~metin Page Outline Two-class allocation Multile-class allocation Deman eenence Bi rices Base on Phillis (2005) Chater 7 Booking Limits or 2 Fare Classes utallas.eu/~metin

More information

MAP Estimation Algorithms in Computer Vision - Part II

MAP Estimation Algorithms in Computer Vision - Part II MAP Estimation Algorithms in Comuter Vision - Part II M. Pawan Kumar, University of Oford Pushmeet Kohli, Microsoft Research Eamle: Image Segmentation E() = c i i + c ij i (1- j ) i i,j E: {0,1} n R 0

More information

Solutions to Practice Problems Tuesday, October 28, 2008

Solutions to Practice Problems Tuesday, October 28, 2008 Solutions to Practice Problems Tuesay, October 28, 2008 1. The graph of the function f is shown below. Figure 1: The graph of f(x) What is x 1 + f(x)? What is x 1 f(x)? An oes x 1 f(x) exist? If so, what

More information

Finding Shortest Hamiltonian Path is in P. Abstract

Finding Shortest Hamiltonian Path is in P. Abstract Finding Shortest Hamiltonian Path is in P Dhananay P. Mehendale Sir Parashurambhau College, Tilak Road, Pune, India bstract The roblem of finding shortest Hamiltonian ath in a eighted comlete grah belongs

More information

1. Introduction. 2. Background of elliptic curve group. Identity-based Digital Signature Scheme Without Bilinear Pairings

1. Introduction. 2. Background of elliptic curve group. Identity-based Digital Signature Scheme Without Bilinear Pairings Identity-based Digital Signature Scheme Without Bilinear Pairings He Debiao, Chen Jianhua, Hu Jin School of Mathematics Statistics, Wuhan niversity, Wuhan, Hubei, China, 43007 Abstract: Many identity-based

More information

CMSC 425: Lecture 7 Geometric Programming: Sample Solutions

CMSC 425: Lecture 7 Geometric Programming: Sample Solutions CMSC 425: Lecture 7 Geometric Programming: Samle Solutions Samles: In the last few lectures, we have been discussing affine and Euclidean geometr, coordinate frames and affine transformations, and rotations.

More information

Math 11 Fall 2016 Section 1 Monday, September 19, Definition: A vector parametric equation for the line parallel to vector v = x v, y v, z v

Math 11 Fall 2016 Section 1 Monday, September 19, Definition: A vector parametric equation for the line parallel to vector v = x v, y v, z v Math Fall 06 Section Monay, September 9, 06 First, some important points from the last class: Definition: A vector parametric equation for the line parallel to vector v = x v, y v, z v passing through

More information