Reading. w Foley, Section 11.2 Optional

Size: px
Start display at page:

Download "Reading. w Foley, Section 11.2 Optional"

Transcription

1 Parametric Curves

2 w Foley, Section.2 Optional Reading w Bartels, Beatty, and Barsky. An Introduction to Splines for use in Computer Graphics and Geometric Modeling, 987. w Farin. Curves and Surfaces for CAGD: A Practical Guide, 4th ed.,

3 The loftsman s spline : Curves before computers w long, narrow strip of wood or metal w shaped by lead weights called ducks w gives curves with second-order continuity, usually Used for designing cars, ships, airplanes, etc. 3

4 What do we use curves for? w building models Motivation for curves w movement paths w animation 4

5 Mathematical curve representation w Explicit y=f(x) what if the curve isn t a function? w Implicit f(x,y) = 0 hard to work with x + y R = 0 w Parametric (f(u),g(u)) x(u) = cos 2πu y(u) = sin 2πu 5

6 Parametric polynomial curves We ll use parametric curves where the functions are all polynomials in the parameter. Advantages: xu ( ) yu ( ) = = n k= 0 n k= 0 w easy (and efficient) to compute w infinitely differentiable au k bu k k k 6

7 Cubic curves Fix n=3 For simplicity we define each cubic function within the range 0 t [ ] x y z 3 2 () t t t t Q () t = a t + b t + c t+ d 3 2 x x x x x 3 2 y y y y y 3 2 z() = z + z + z + z Q( t) = x( t) y( t) z( t) or Q ( t) = a t + b t + c t+ d or Q ax ay az b b b = cx cy cz dx dy dz Q t a t bt c t d 7

8 C Compact representation Place all coefficients into a matrix ax ay az b b b x y z 3 2 = T= t t t cx cy c z d d d x y z ax ay az b 3 2 x by b z Qt () = [ xt () yt () zt ()] = t t t = TC cx cy cz dx dy dz d d d d 2 Qt () = Qʹ () t = ( TC ) = TC + T C= 3t 2t 0 dt dt dt dt C 8

9 Controlling the cubic Q: How many constraints do we need to specify to fully determine the scalar cubic function Q(t)? Q: How many constraints do we need to specify to fully determine the 3-vector cubic function Q(t)? 9

10 Constraining the cubics Redefine C as a product of the basis matrix M and the 4-element column vector of constraints or geometry vector G Q C= M G 3 2 () t t t t m m m m G G G x y z m2 m22 m23 m G 24 2x G2y G 2z m3 m32 m33 m34 G3x G3y G3z m G 4 m42 m43 m44 4x G4y G4z = = TMG 0

11 Hermite Curves Determined by So w endpoints P and P 4 w tangent vectors at the endpoints R and R 4 Q() t = T Mh Gh P 4 Where G h Px Py Pz P4x P4y P 4z = Rx Ry Rz R4x R4y R4z P R R 4

12 2

13 Computing Hermite basis matrix The constraints on Q(0) and Q() are found by direct substitution: Q(0) = M G Tangents are defined by [ ] [ ] Q() = M G Qʹ t t t M G so constraints on tangents are: 2 () = h h [ ] [ ] Qʹ (0) = M G Qʹ () = M G h h h h h h h h Q(t) P 4 P R 4 R 3

14 Computing Hermite basis matrix Collecting all constraints we get P Q(t) R P 4 R 4 Px Py Pz P P P 4x 4y 4z = Gh = Mh Gh Rx Ry Rz R4x R4y R 4z So M h = =

15 Computing a point Given two endpoints (P,P 4 ) and two endpoint tangent vectors (R, R 4 ): So Q(t) P 4 P R 4 R 2 2 P P R R4 3 2 Q() t = t t t 5

16 Blending Functions Polynomials weighting each element of the geometry vector Q() t = = 2 2 P t t t P R R4 P () P Bh t R R 4 4 B h (t) P P 4 R R 4 t 6

17 Continuity We want our curve to have continuity. There shouldn t be an abrupt change when we move from one segment to the next. There are nested degrees of continuity: C 0 : C : C 2 : C 3, C 4, : 7

18 Continuity of Splines P P 2 =P 3 R 2 P 4 R 4 C 0 : points coincide, velocities don t R R 3 P P 2 =P 3 R 2 P 4 R 4 R 3 G : points coincide, velocities have same direction P R P 2 =P 3 R 2 = R 3 P 4 R 4 C : points and velocities coincide R Q: What s C 2? 8

19 9

20 Bézier Curves Indirectly specify the tangent vectors by specifying two intermediate points P 3 P P 4 G b P 2 Px Py Pz P P2x P2y P 2z P2 = = P3x P3y P3z P3 P4x P4y P 4z P4 R = 3( P P) 2 R = 3( P P )

21 Bézier basis matrix Establish the relation between the Hermite and Besier geometry vectors: R = 3( P P) 2 R = 3( P P ) G P P P P = = = M G 4 2 h bh b R P3 R P 4 4 2

22 Bézier basis matrix ( ) ( ) Q T M G T M M G () t = h h = h hb b = T M M G = T M G h hb b b b M = M M = b h hb Q() t = T Mb Gb 22

23 Bézier Blending Functions a.k.a. Bernstein polynomials Q( t) = t 3 t 2 t B b (t) B B 4 P P P 2 P 2 = Bb() t P3 P3 P P 4 4 B 2 B 3 t 23

24 Alternative Bézier Formulation 3 3 ( ) i Qt = Pi t ( t ) i= 0 i 3 i Q() t = t 3 t 2 t P P P P n i Q( t) P n = i t ( t) i= 0 i n i 24

25 More complex curves Suppose we want to draw a more complex curve. Why not use a high-order Bézier? Instead, we ll splice together a curve from individual segments that are cubic Béziers. Why cubic? There are three properties we d like to have in our newly constructed splines 25

26 Local control One problem with Béziers is that every control point affects every point on the curve (except the endpoints). Moving a single control point affects the whole curve! We d like our spline to have local control, that is, have each control point affect some well-defined neighborhood around that point. 26

27 Interpolation Bézier curves are approximating. The curve does not (necessarily) pass through all the control points. Each point pulls the curve toward it, but other points are pulling as well. We d like to have a spline that is interpolating, that is, that always passes through every control point. 27

28 Let s look at continuity first. Ensuring continuity Since the functions defining a Bézier curve are polynomial, all their derivatives exist and are continuous. Therefore, we only need to worry about the derivatives at the endpoints of the curve. First, we ll rewrite our equation for Q(t) in matrix form: 3 3 P P 3 3 P2 P3 3 2 Qt () = t t t 28

29 Ensuring C 2 continuity Suppose we want to join two cubic Bézier curves (V 0,V,V 2,V 3 ) and (W 0,W,W 2,W 3 ) so that there is C 2 continuity at the joint. W W 2 W 3 Qʹ (0) = 3( V V ) 0 Qʹ ( ) = 3( V V ) 3 2 Qʹ ʹ (0) = 6( V 2 V + V ) 0 2 Qʹ ʹ ( ) = 6( V 2 V + V ) 2 3 Q () = Q (0) V = W v w 3 0 Qʹ () = Q ʹ (0) V V = W W v w Qʹ ʹ () = Q ʹ ʹ ( 0) V 2V + V = W 2W v w W W = V + 4V 2 3 4V 2 + W 29 2

30 A-frames and continuity Let s try to get some geometrical intuition about what this last continuity equation means. If a and b are points, what is (2a-b)? V V2 V = W 3 0 B W W = V + 4V 4V 2 3 ( V V ) ( V V ) = W B W 2 2 V 0 W 2 W 3 30

31 Building a complex spline Instead of specifying the Bézier control points themselves, let s specify the corners of the A-frames in order to build a C 2 continuous spline. These are called B-splines. The starting set of points are called de Boor points. 3

32 B-splines Here is the completed B-spline. 2 V0 = B0 + ( B B0) + B+ ( B2 B) V = B+ ( B2 B ) 3 2 V2 = B0 + ( B B0 ) 3 V =... 3 What are the Bézier control points, in terms of the de Boor points? 32

33 Endpoints of B-splines We can see that B-splines don t interpolate the de Boor points. It would be nice if we could at least control the endpoints of the splines explicitly. There s a hack to make the spline begin and end at control points by repeating them. 33

34 B-spline basis matrix 3 2 Q() t = t t t P P P P

35 A third option If we re willing to sacrifice C 2 continuity, we can get interpolation and local control. Instead of finding the derivatives by solving a system of continuity equations, we ll just pick something arbitrary but local. If we set each derivative to be a constant multiple of the vector between the previous and next controls, we get a Catmull-Rom spline. 35

36 Catmull-Rom splines The math for Catmull-Rom splines is pretty simple: D = C C 0 0 D = ( C C ) D = ( C C ) M Dn = Cn Cn 36

37 Catmull-Rom basis matrix Q() t = t 3 t 2 t P P P P

38 C 2 interpolating splines Interpolation is a really handy property to have. How can we keep the C 2 continuity we get with B-splines but get interpolation, too? Here s the idea behind C 2 interpolating splines. Suppose we had cubic Béziers connecting our control points C 0, C, C 2,, and that we somehow knew the first derivative of the spline at each point. What are the V and W control points in terms of Cs and Ds? 38

39 Derivatives at the endpoints Qʹ (0) = 3( V V ) 0 Qʹ ( ) = 3( V V ) 3 2 Qʹ ʹ (0) = 6( V 2 V + V ) 0 2 Qʹ ʹ ( ) = 6( V 2 V + V ) 2 3 [ t ] Qʹ ʹ () t = V V 3 3 V2 V3 In general, the nth derivative at an endpoint depends only on the n+ points nearest that endpoint. 39

40 Finding the derivatives Now what we need to do is solve for the derivatives. To do this we ll use the C 2 continuity requirement. V = C 0 0 V = C + D V = C D V 2 3 = C 3 W = C 0 W = C + D 3 W = C D W = C 3 2 6( V 2 V + V ) = 6( W 2 W + W ) D + 4D + D = 3( C C )

41 Finding the derivatives, cont. Here s what we ve got so far: D + 4D + D = 3( C C ) D + 4D + D = 3( C C ) M D + 4D + D = 3( C C ) m 2 m m m m 2 How many equations is this? How many unknowns are we solving for? 4

42 Not quite done yet We have two additional degrees of freedom, which we can nail down by imposing more conditions on the curve. There are various ways to do this. We ll use the variant called natural C 2 interpolating splines, which requires the second derivative to be zero at the endpoints. This condition gives us the two additional equations we need. At the C 0 endpoint, it is: 6( V 2 V + V ) =

43 Solving for the derivatives Let s collect our m+ equations into a single linear system: D 3( C2 C0) m m m It s easier to solve than it looks. D 3( C C ) 4 D2 3( C3 C) = O M M 4 Dm 3( Cm Cm 2) 2 D 3( C C ) We can use forward elimination to zero out everything below the diagonal, then back substitution to compute each D value. 43

44 Forward elimination First, we eliminate the elements below the diagonal: 2 D0 E0 4 D E 4 D2 E2 = O M M 4 Dm- Em- 2 Dm Em 2 D0 F0 = E0 0 7/2 D = -(/ 2) F E E 4 D2 E2 = O M M 4 Dm- Em- 2 Dm Em 0 44

45 Back subsitution The resulting matrix is upper diagonal: UD = F u um D0 F0 D F D 2 F 2 = O M M M D m- Fm- u D F mm m m We can now solve for the unknowns by back substitution: u D = F mm m m u D +u D = F m-m- m- m-m m m- 45

46 C 2 interpolating spline Once we ve solved for the real D i s, we can plug them in to find our Bézier control points and draw the final spline: Have we lost anything? 46

47 What if we want a closed curve, i.e., a loop? With Catmull-Rom and B-spline curves, this is easy: 47

48 Displaying Bézier curves How could we draw one of these things? DisplayBezier( V0, V, V2, V3 ) begin end; if ( FlatEnough( V0, V, V2, V3 ) ) Line( V0, V3 ); else do something smart; It would be nice if we had an adaptive algorithm, that would take into account flatness. 48

49 Subdivide and conquer DisplayBezier( V0, V, V2, V3 ) begin end; if ( FlatEnough( V0, V, V2, V3 ) ) Line( V0, V3 ); else Subdivide(V) L, R DisplayBezier( L0, L, L2, L3 ); DisplayBezier( R0, R, R2, R3 ); 49

50 Testing for flatness Compare total length of control polygon to length of line connecting endpoints: V V + V V + V V V V 0 3 < + ε 50

51 Curves in Animator Project One of the requirements is to implement wrapping so that the animation restarts smoothly when looping back to the beginning. This is a lot like making a closed curve: the calculations for the θ - coordinate are exactly the same. The t-coordinate is a little trickier: you need to create phantom t-coordinates before and after the first and last coordinates. 5

52 Curves in Animator Project In the animator project, you will draw a curve on the screen: Q( u) = ( x( u), y( u) ) You will actually treat this curve as: θ ( u) = y( u) tu ( ) = xu ( ) Where θ is a variable you want to animate. We can think of the result as a function: θ( t) You have to apply some constraints to make sure that θ(t) actually is a function. 52

53 Summary Enforcing constraints on cubic functions The meaning of basis matrix and geometry vector General procedure for computing the basis matrix Properties of Hermite and Bézier splines The meaning of blending functions Enforcing continuity across multiple curve segments How to display Bézier curves with line segments. Meanings of C k continuities. Geometric conditions for continuity of cubic splines. Properties of C 2 interpolating splines, B-splines, and Catmull-Rom splines. 53

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

Keyframing. CS 448D: Character Animation Prof. Vladlen Koltun Stanford University

Keyframing. CS 448D: Character Animation Prof. Vladlen Koltun Stanford University Keyframing CS 448D: Character Animation Prof. Vladlen Koltun Stanford University Keyframing in traditional animation Master animator draws key frames Apprentice fills in the in-between frames Keyframing

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

Lecture 20: Bezier Curves & Splines

Lecture 20: Bezier Curves & Splines Lecture 20: Bezier Curves & Splines December 6, 2016 12/6/16 CSU CS410 Bruce Draper & J. Ross Beveridge 1 Review: The Pen Metaphore Think of putting a pen to paper Pen position described by time t Seeing

More information

Arsène Pérard-Gayot (Slides by Piotr Danilewski)

Arsène Pérard-Gayot (Slides by Piotr Danilewski) Computer Graphics - Splines - Arsène Pérard-Gayot (Slides by Piotr Danilewski) CURVES Curves Explicit y = f x f: R R γ = x, f x y = 1 x 2 Implicit F x, y = 0 F: R 2 R γ = x, y : F x, y = 0 x 2 + y 2 =

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

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016 Computergrafik Matthias Zwicker Universität Bern Herbst 2016 2 Today Curves Introduction Polynomial curves Bézier curves Drawing Bézier curves Piecewise curves Modeling Creating 3D objects How to construct

More information

Curves. Hakan Bilen University of Edinburgh. Computer Graphics Fall Some slides are courtesy of Steve Marschner and Taku Komura

Curves. Hakan Bilen University of Edinburgh. Computer Graphics Fall Some slides are courtesy of Steve Marschner and Taku Komura Curves Hakan Bilen University of Edinburgh Computer Graphics Fall 2017 Some slides are courtesy of Steve Marschner and Taku Komura How to create a virtual world? To compose scenes We need to define objects

More information

Introduction to Computer Graphics. Modeling (1) April 13, 2017 Kenshi Takayama

Introduction to Computer Graphics. Modeling (1) April 13, 2017 Kenshi Takayama Introduction to Computer Graphics Modeling (1) April 13, 2017 Kenshi Takayama Parametric curves X & Y coordinates defined by parameter t ( time) Example: Cycloid x t = t sin t y t = 1 cos t Tangent (aka.

More information

CGT 511. Curves. Curves. Curves. What is a curve? 2) A continuous map of a 1D space to an nd space

CGT 511. Curves. Curves. Curves. What is a curve? 2) A continuous map of a 1D space to an nd space Curves CGT 511 Curves Bedřich Beneš, Ph.D. Purdue University Department of Computer Graphics Technology What is a curve? Mathematical ldefinition i i is a bit complex 1) The continuous o image of an interval

More information

1.1. The analytical denition. Denition. The Bernstein polynomials of degree n are dened analytically:

1.1. The analytical denition. Denition. The Bernstein polynomials of degree n are dened analytically: DEGREE REDUCTION OF BÉZIER CURVES DAVE MORGAN Abstract. This paper opens with a description of Bézier curves. Then, techniques for the degree reduction of Bézier curves, along with a discussion of error

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

Lecture 7 - Separable Equations

Lecture 7 - Separable Equations Lecture 7 - Separable Equations Separable equations is a very special type of differential equations where you can separate the terms involving only y on one side of the equation and terms involving only

More information

CHAPTER 6 VECTOR CALCULUS. We ve spent a lot of time so far just looking at all the different ways you can graph

CHAPTER 6 VECTOR CALCULUS. We ve spent a lot of time so far just looking at all the different ways you can graph CHAPTER 6 VECTOR CALCULUS We ve spent a lot of time so far just looking at all the different ways you can graph things and describe things in three dimensions, and it certainly seems like there is a lot

More information

The Essentials of CAGD

The Essentials of CAGD The Essentials of CAGD Chapter 4: Bézier Curves: Cubic and Beyond Gerald Farin & Dianne Hansford CRC Press, Taylor & Francis Group, An A K Peters Book www.farinhansford.com/books/essentials-cagd c 2000

More information

Math 234. What you should know on day one. August 28, You should be able to use general principles like. x = cos t, y = sin t, 0 t π.

Math 234. What you should know on day one. August 28, You should be able to use general principles like. x = cos t, y = sin t, 0 t π. Math 234 What you should know on day one August 28, 2001 1 You should be able to use general principles like Length = ds, Area = da, Volume = dv For example the length of the semi circle x = cos t, y =

More information

x 1. x n i + x 2 j (x 1, x 2, x 3 ) = x 1 j + x 3

x 1. x n i + x 2 j (x 1, x 2, x 3 ) = x 1 j + x 3 Version: 4/1/06. Note: These notes are mostly from my 5B course, with the addition of the part on components and projections. Look them over to make sure that we are on the same page as regards inner-products,

More information

Solutions for the Practice Final - Math 23B, 2016

Solutions for the Practice Final - Math 23B, 2016 olutions for the Practice Final - Math B, 6 a. True. The area of a surface is given by the expression d, and since we have a parametrization φ x, y x, y, f x, y with φ, this expands as d T x T y da xy

More information

MATH The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input,

MATH The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input, MATH 20550 The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input, F(x 1,, x n ) F 1 (x 1,, x n ),, F m (x 1,, x n ) where each

More information

2t t dt.. So the distance is (t2 +6) 3/2

2t t dt.. So the distance is (t2 +6) 3/2 Math 8, Solutions to Review for the Final Exam Question : The distance is 5 t t + dt To work that out, integrate by parts with u t +, so that t dt du The integral is t t + dt u du u 3/ (t +) 3/ So the

More information

Introduction to Vectors

Introduction to Vectors Introduction to Vectors K. Behrend January 31, 008 Abstract An introduction to vectors in R and R 3. Lines and planes in R 3. Linear dependence. 1 Contents Introduction 3 1 Vectors 4 1.1 Plane vectors...............................

More information

MA Spring 2013 Lecture Topics

MA Spring 2013 Lecture Topics LECTURE 1 Chapter 12.1 Coordinate Systems Chapter 12.2 Vectors MA 16200 Spring 2013 Lecture Topics Let a,b,c,d be constants. 1. Describe a right hand rectangular coordinate system. Plot point (a,b,c) inn

More information

MATH 280 Multivariate Calculus Fall Integrating a vector field over a curve

MATH 280 Multivariate Calculus Fall Integrating a vector field over a curve MATH 280 Multivariate alculus Fall 2012 Definition Integrating a vector field over a curve We are given a vector field F and an oriented curve in the domain of F as shown in the figure on the left below.

More information

Vectors and Coordinate Systems

Vectors and Coordinate Systems Vectors and Coordinate Systems In Newtonian mechanics, we want to understand how material bodies interact with each other and how this affects their motion through space. In order to be able to make quantitative

More information

Vector Calculus handout

Vector Calculus handout Vector Calculus handout The Fundamental Theorem of Line Integrals Theorem 1 (The Fundamental Theorem of Line Integrals). Let C be a smooth curve given by a vector function r(t), where a t b, and let f

More information

3 = arccos. A a and b are parallel, B a and b are perpendicular, C a and b are normalized, or D this is always true.

3 = arccos. A a and b are parallel, B a and b are perpendicular, C a and b are normalized, or D this is always true. Math 210-101 Test #1 Sept. 16 th, 2016 Name: Answer Key Be sure to show your work! 1. (20 points) Vector Basics: Let v = 1, 2,, w = 1, 2, 2, and u = 2, 1, 1. (a) Find the area of a parallelogram spanned

More information

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2 Final Review Sheet The final will cover Sections Chapters 1,2,3 and 4, as well as sections 5.1-5.4, 6.1-6.2 and 7.1-7.3 from chapters 5,6 and 7. This is essentially all material covered this term. Watch

More information

Introduction. Chapter Points, Vectors and Coordinate Systems

Introduction. Chapter Points, Vectors and Coordinate Systems Chapter 1 Introduction Computer aided geometric design (CAGD) concerns itself with the mathematical description of shape for use in computer graphics, manufacturing, or analysis. It draws upon the fields

More information

Computer Graphics Keyframing and Interpola8on

Computer Graphics Keyframing and Interpola8on Computer Graphics Keyframing and Interpola8on This Lecture Keyframing and Interpola2on two topics you are already familiar with from your Blender modeling and anima2on of a robot arm Interpola2on linear

More information

ARE202A, Fall 2005 CONTENTS. 1. Graphical Overview of Optimization Theory (cont) Separating Hyperplanes 1

ARE202A, Fall 2005 CONTENTS. 1. Graphical Overview of Optimization Theory (cont) Separating Hyperplanes 1 AREA, Fall 5 LECTURE #: WED, OCT 5, 5 PRINT DATE: OCTOBER 5, 5 (GRAPHICAL) CONTENTS 1. Graphical Overview of Optimization Theory (cont) 1 1.4. Separating Hyperplanes 1 1.5. Constrained Maximization: One

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

Bernstein polynomials of degree N are defined by

Bernstein polynomials of degree N are defined by SEC. 5.5 BÉZIER CURVES 309 5.5 Bézier Curves Pierre Bézier at Renault and Paul de Casteljau at Citroën independently developed the Bézier curve for CAD/CAM operations, in the 1970s. These parametrically

More information

n=0 ( 1)n /(n + 1) converges, but not

n=0 ( 1)n /(n + 1) converges, but not Math 07H Topics for the third exam (and beyond) (Technically, everything covered on the first two exams plus...) Absolute convergence and alternating series A series a n converges absolutely if a n converges.

More information

The Mean Value Theorem

The Mean Value Theorem Math 31A Discussion Session Week 6 Notes February 9 and 11, 2016 This week we ll discuss some (unsurprising) properties of the derivative, and then try to use some of these properties to solve a real-world

More information

Essential Mathematics for Computer Graphics

Essential Mathematics for Computer Graphics David Akers Handout #3 CS148 Summer 2006 Essential Mathematics for Computer Graphics Trigonometry Polar Coordinates 3-D Coordinate Systems Parametric Representations Points and Vectors Matrices This handout

More information

II. Unit Speed Curves

II. Unit Speed Curves The Geometry of Curves, Part I Rob Donnelly From Murray State University s Calculus III, Fall 2001 note: This material supplements Sections 13.3 and 13.4 of the text Calculus with Early Transcendentals,

More information

Material for review. By Lei. May, 2011

Material for review. By Lei. May, 2011 Material for review. By Lei. May, 20 You shouldn t only use this to do the review. Read your book and do the example problems. Do the problems in Midterms and homework once again to have a review. Some

More information

One important way that you can classify differential equations is as linear or nonlinear.

One important way that you can classify differential equations is as linear or nonlinear. In This Chapter Chapter 1 Looking Closely at Linear First Order Differential Equations Knowing what a first order linear differential equation looks like Finding solutions to first order differential equations

More information

CMU CS 462/662 (INTRO TO COMPUTER GRAPHICS) HOMEWORK 0.0 MATH REVIEW/PREVIEW LINEAR ALGEBRA

CMU CS 462/662 (INTRO TO COMPUTER GRAPHICS) HOMEWORK 0.0 MATH REVIEW/PREVIEW LINEAR ALGEBRA CMU CS 462/662 (INTRO TO COMPUTER GRAPHICS) HOMEWORK 0.0 MATH REVIEW/PREVIEW LINEAR ALGEBRA Andrew ID: ljelenak August 25, 2018 This assignment reviews basic mathematical tools you will use throughout

More information

(x + 3)(x 1) lim(x + 3) = 4. lim. (x 2)( x ) = (x 2)(x + 2) x + 2 x = 4. dt (t2 + 1) = 1 2 (t2 + 1) 1 t. f(x) = lim 3x = 6,

(x + 3)(x 1) lim(x + 3) = 4. lim. (x 2)( x ) = (x 2)(x + 2) x + 2 x = 4. dt (t2 + 1) = 1 2 (t2 + 1) 1 t. f(x) = lim 3x = 6, Math 140 MT1 Sample C Solutions Tyrone Crisp 1 (B): First try direct substitution: you get 0. So try to cancel common factors. We have 0 x 2 + 2x 3 = x 1 and so the it as x 1 is equal to (x + 3)(x 1),

More information

Sample Exam 1 KEY NAME: 1. CS 557 Sample Exam 1 KEY. These are some sample problems taken from exams in previous years. roughly ten questions.

Sample Exam 1 KEY NAME: 1. CS 557 Sample Exam 1 KEY. These are some sample problems taken from exams in previous years. roughly ten questions. Sample Exam 1 KEY NAME: 1 CS 557 Sample Exam 1 KEY These are some sample problems taken from exams in previous years. roughly ten questions. Your exam will have 1. (0 points) Circle T or T T Any curve

More information

CHAPTER 4 VECTORS. Before we go any further, we must talk about vectors. They are such a useful tool for

CHAPTER 4 VECTORS. Before we go any further, we must talk about vectors. They are such a useful tool for CHAPTER 4 VECTORS Before we go any further, we must talk about vectors. They are such a useful tool for the things to come. The concept of a vector is deeply rooted in the understanding of physical mechanics

More information

MATH 200 WEEK 5 - WEDNESDAY DIRECTIONAL DERIVATIVE

MATH 200 WEEK 5 - WEDNESDAY DIRECTIONAL DERIVATIVE WEEK 5 - WEDNESDAY DIRECTIONAL DERIVATIVE GOALS Be able to compute a gradient vector, and use it to compute a directional derivative of a given function in a given direction. Be able to use the fact that

More information

Rational Bézier Patch Differentiation using the Rational Forward Difference Operator

Rational Bézier Patch Differentiation using the Rational Forward Difference Operator Rational Bézier Patch Differentiation using the Rational Forward Difference Operator Xianming Chen, Richard F. Riesenfeld, Elaine Cohen School of Computing, University of Utah Abstract This paper introduces

More information

TheFourierTransformAndItsApplications-Lecture28

TheFourierTransformAndItsApplications-Lecture28 TheFourierTransformAndItsApplications-Lecture28 Instructor (Brad Osgood):All right. Let me remind you of the exam information as I said last time. I also sent out an announcement to the class this morning

More information

Midterm 1 Review. Distance = (x 1 x 0 ) 2 + (y 1 y 0 ) 2.

Midterm 1 Review. Distance = (x 1 x 0 ) 2 + (y 1 y 0 ) 2. Midterm 1 Review Comments about the midterm The midterm will consist of five questions and will test on material from the first seven lectures the material given below. No calculus either single variable

More information

Home Page. Title Page. Contents. Bezier Curves. Milind Sohoni sohoni. Page 1 of 27. Go Back. Full Screen. Close.

Home Page. Title Page. Contents. Bezier Curves. Milind Sohoni  sohoni. Page 1 of 27. Go Back. Full Screen. Close. Bezier Curves Page 1 of 27 Milind Sohoni http://www.cse.iitb.ac.in/ sohoni Recall Lets recall a few things: 1. f : [0, 1] R is a function. 2. f 0,..., f i,..., f n are observations of f with f i = f( i

More information

Topic 5.1: Line Element and Scalar Line Integrals

Topic 5.1: Line Element and Scalar Line Integrals Math 275 Notes Topic 5.1: Line Element and Scalar Line Integrals Textbook Section: 16.2 More Details on Line Elements (vector dr, and scalar ds): http://www.math.oregonstate.edu/bridgebook/book/math/drvec

More information

Math 300: Final Exam Practice Solutions

Math 300: Final Exam Practice Solutions Math 300: Final Exam Practice Solutions 1 Let A be the set of all real numbers which are zeros of polynomials with integer coefficients: A := {α R there exists p(x) = a n x n + + a 1 x + a 0 with all a

More information

Dr. Allen Back. Sep. 10, 2014

Dr. Allen Back. Sep. 10, 2014 Dr. Allen Back Sep. 10, 2014 The chain rule in multivariable calculus is in some ways very simple. But it can lead to extremely intricate sorts of relationships (try thermodynamics in physical chemistry...

More information

Approximation of Circular Arcs by Parametric Polynomials

Approximation of Circular Arcs by Parametric Polynomials Approximation of Circular Arcs by Parametric Polynomials Emil Žagar Lecture on Geometric Modelling at Charles University in Prague December 6th 2017 1 / 44 Outline Introduction Standard Reprezentations

More information

carroll/notes/ has a lot of good notes on GR and links to other pages. General Relativity Philosophy of general

carroll/notes/ has a lot of good notes on GR and links to other pages. General Relativity Philosophy of general http://pancake.uchicago.edu/ carroll/notes/ has a lot of good notes on GR and links to other pages. General Relativity Philosophy of general relativity. As with any major theory in physics, GR has been

More information

Water tank. Fortunately there are a couple of objectors. Why is it straight? Shouldn t it be a curve?

Water tank. Fortunately there are a couple of objectors. Why is it straight? Shouldn t it be a curve? Water tank (a) A cylindrical tank contains 800 ml of water. At t=0 (minutes) a hole is punched in the bottom, and water begins to flow out. It takes exactly 100 seconds for the tank to empty. Draw the

More information

Introduction to Curves. Modelling. 3D Models. Points. Lines. Polygons Defined by a sequence of lines Defined by a list of ordered points

Introduction to Curves. Modelling. 3D Models. Points. Lines. Polygons Defined by a sequence of lines Defined by a list of ordered points Introduction to Curves Modelling Points Defined by 2D or 3D coordinates Lines Defined by a set of 2 points Polygons Defined by a sequence of lines Defined by a list of ordered points 3D Models Triangular

More information

Pythagorean-hodograph curves

Pythagorean-hodograph curves 1 / 24 Pythagorean-hodograph curves V. Vitrih Raziskovalni matematični seminar 20. 2. 2012 2 / 24 1 2 3 4 5 3 / 24 Let r : [a, b] R 2 be a planar polynomial parametric curve ( ) x(t) r(t) =, y(t) where

More information

MA 323 Geometric Modelling Course Notes: Day 07 Parabolic Arcs

MA 323 Geometric Modelling Course Notes: Day 07 Parabolic Arcs MA 323 Geometric Modelling Course Notes: Day 07 Parabolic Arcs David L. Finn December 9th, 2004 We now start considering the basic curve elements to be used throughout this course; polynomial curves and

More information

Methods of Mathematics

Methods of Mathematics Methods of Mathematics Kenneth A. Ribet UC Berkeley Math 10B March 15, 2016 Linear first order ODEs Last time we looked at first order ODEs. Today we will focus on linear first order ODEs. Here are some

More information

Integration in the Complex Plane (Zill & Wright Chapter 18)

Integration in the Complex Plane (Zill & Wright Chapter 18) Integration in the omplex Plane Zill & Wright hapter 18) 116-4-: omplex Variables Fall 11 ontents 1 ontour Integrals 1.1 Definition and Properties............................. 1. Evaluation.....................................

More information

z x = f x (x, y, a, b), z y = f y (x, y, a, b). F(x, y, z, z x, z y ) = 0. This is a PDE for the unknown function of two independent variables.

z x = f x (x, y, a, b), z y = f y (x, y, a, b). F(x, y, z, z x, z y ) = 0. This is a PDE for the unknown function of two independent variables. Chapter 2 First order PDE 2.1 How and Why First order PDE appear? 2.1.1 Physical origins Conservation laws form one of the two fundamental parts of any mathematical model of Continuum Mechanics. These

More information

Ordinary Differential Equations

Ordinary Differential Equations CHAPTER 8 Ordinary Differential Equations 8.1. Introduction My section 8.1 will cover the material in sections 8.1 and 8.2 in the book. Read the book sections on your own. I don t like the order of things

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

DIFFERENTIAL EQUATIONS REVIEW. Here are notes to special make-up discussion 35 on November 21, in case you couldn t make it.

DIFFERENTIAL EQUATIONS REVIEW. Here are notes to special make-up discussion 35 on November 21, in case you couldn t make it. DIFFERENTIAL EQUATIONS REVIEW PEYAM RYAN TABRIZIAN Here are notes to special make-up discussion 35 on November 21, in case you couldn t make it. Welcome to the special Friday after-school special of That

More information

Curves, Surfaces and Segments, Patches

Curves, Surfaces and Segments, Patches Curves, Surfaces and Segments, atches The University of Texas at Austin Conics: Curves and Quadrics: Surfaces Implicit form arametric form Rational Bézier Forms and Join Continuity Recursive Subdivision

More information

2.2 Separable Equations

2.2 Separable Equations 2.2 Separable Equations Definition A first-order differential equation that can be written in the form Is said to be separable. Note: the variables of a separable equation can be written as Examples Solve

More information

Math 234 Exam 3 Review Sheet

Math 234 Exam 3 Review Sheet Math 234 Exam 3 Review Sheet Jim Brunner LIST OF TOPIS TO KNOW Vector Fields lairaut s Theorem & onservative Vector Fields url Divergence Area & Volume Integrals Using oordinate Transforms hanging the

More information

The degree of the polynomial function is n. We call the term the leading term, and is called the leading coefficient. 0 =

The degree of the polynomial function is n. We call the term the leading term, and is called the leading coefficient. 0 = Math 1310 A polynomial function is a function of the form = + + +...+ + where 0,,,, are real numbers and n is a whole number. The degree of the polynomial function is n. We call the term the leading term,

More information

Systems of Linear Equations

Systems of Linear Equations Systems of Linear Equations Linear Algebra MATH 2076 Linear Algebra SLEs Chapter 1 Section 1 1 / 8 Linear Equations and their Solutions A linear equation in unknowns (the variables) x 1, x 2,..., x n has

More information

ORDINARY DIFFERENTIAL EQUATIONS

ORDINARY DIFFERENTIAL EQUATIONS ORDINARY DIFFERENTIAL EQUATIONS Basic concepts: Find y(x) where x is the independent and y the dependent varible, based on an equation involving x, y(x), y 0 (x),...e.g.: y 00 (x) = 1+y(x) y0 (x) 1+x or,

More information

How to Use Calculus Like a Physicist

How to Use Calculus Like a Physicist How to Use Calculus Like a Physicist Physics A300 Fall 2004 The purpose of these notes is to make contact between the abstract descriptions you may have seen in your calculus classes and the applications

More information

Homework 5: Sampling and Geometry

Homework 5: Sampling and Geometry 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

More information

Math 1310 Section 4.1: Polynomial Functions and Their Graphs. A polynomial function is a function of the form ...

Math 1310 Section 4.1: Polynomial Functions and Their Graphs. A polynomial function is a function of the form ... Math 1310 Section 4.1: Polynomial Functions and Their Graphs A polynomial function is a function of the form... where 0,,,, are real numbers and n is a whole number. The degree of the polynomial function

More information

(1) Recap of Differential Calculus and Integral Calculus (2) Preview of Calculus in three dimensional space (3) Tools for Calculus 3

(1) Recap of Differential Calculus and Integral Calculus (2) Preview of Calculus in three dimensional space (3) Tools for Calculus 3 Math 127 Introduction and Review (1) Recap of Differential Calculus and Integral Calculus (2) Preview of Calculus in three dimensional space (3) Tools for Calculus 3 MATH 127 Introduction to Calculus III

More information

Animation Curves and Splines 1

Animation Curves and Splines 1 Animation Curves and Splines 1 Animation Homework Set up a simple avatar E.g. cube/sphere (or square/circle if 2D) Specify some key frames (positions/orientations) Associate a time with each key frame

More information

Smooth Path Generation Based on Bézier Curves for Autonomous Vehicles

Smooth Path Generation Based on Bézier Curves for Autonomous Vehicles Smooth Path Generation Based on Bézier Curves for Autonomous Vehicles Ji-wung Choi, Renwick E. Curry, Gabriel Hugh Elkaim Abstract In this paper we present two path planning algorithms based on Bézier

More information

CH 61 USING THE GCF IN EQUATIONS AND FORMULAS

CH 61 USING THE GCF IN EQUATIONS AND FORMULAS CH 61 USING THE GCF IN EQUATIONS AND FORMULAS Introduction A while back we studied the Quadratic Formula and used it to solve quadratic equations such as x 5x + 6 = 0; we were also able to solve rectangle

More information

Vector Calculus, Maths II

Vector Calculus, Maths II Section A Vector Calculus, Maths II REVISION (VECTORS) 1. Position vector of a point P(x, y, z) is given as + y and its magnitude by 2. The scalar components of a vector are its direction ratios, and represent

More information

Math 2E Selected Problems for the Final Aaron Chen Spring 2016

Math 2E Selected Problems for the Final Aaron Chen Spring 2016 Math 2E elected Problems for the Final Aaron Chen pring 216 These are the problems out of the textbook that I listed as more theoretical. Here s also some study tips: 1) Make sure you know the definitions

More information

1.1 Single Variable Calculus versus Multivariable Calculus Rectangular Coordinate Systems... 4

1.1 Single Variable Calculus versus Multivariable Calculus Rectangular Coordinate Systems... 4 MATH2202 Notebook 1 Fall 2015/2016 prepared by Professor Jenny Baglivo Contents 1 MATH2202 Notebook 1 3 1.1 Single Variable Calculus versus Multivariable Calculus................... 3 1.2 Rectangular Coordinate

More information

SOME PROBLEMS YOU SHOULD BE ABLE TO DO

SOME PROBLEMS YOU SHOULD BE ABLE TO DO OME PROBLEM YOU HOULD BE ABLE TO DO I ve attempted to make a list of the main calculations you should be ready for on the exam, and included a handful of the more important formulas. There are no examples

More information

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES J. WONG (FALL 2017) What did we cover this week? Basic definitions: DEs, linear operators, homogeneous (linear) ODEs. Solution techniques for some classes

More information

has a lot of good notes on GR and links to other pages. General Relativity Philosophy of general relativity.

has a lot of good notes on GR and links to other pages. General Relativity Philosophy of general relativity. http://preposterousuniverse.com/grnotes/ has a lot of good notes on GR and links to other pages. General Relativity Philosophy of general relativity. As with any major theory in physics, GR has been framed

More information

Exam Question 10: Differential Equations. June 19, Applied Mathematics: Lecture 6. Brendan Williamson. Introduction.

Exam Question 10: Differential Equations. June 19, Applied Mathematics: Lecture 6. Brendan Williamson. Introduction. Exam Question 10: June 19, 2016 In this lecture we will study differential equations, which pertains to Q. 10 of the Higher Level paper. It s arguably more theoretical than other topics on the syllabus,

More information

Course Notes Math 275 Boise State University. Shari Ultman

Course Notes Math 275 Boise State University. Shari Ultman Course Notes Math 275 Boise State University Shari Ultman Fall 2017 Contents 1 Vectors 1 1.1 Introduction to 3-Space & Vectors.............. 3 1.2 Working With Vectors.................... 7 1.3 Introduction

More information

Cubic Splines; Bézier Curves

Cubic Splines; Bézier Curves Cubic Splines; Bézier Curves 1 Cubic Splines piecewise approximation with cubic polynomials conditions on the coefficients of the splines 2 Bézier Curves computer-aided design and manufacturing MCS 471

More information

MIT Final Exam Solutions, Spring 2017

MIT Final Exam Solutions, Spring 2017 MIT 8.6 Final Exam Solutions, Spring 7 Problem : For some real matrix A, the following vectors form a basis for its column space and null space: C(A) = span,, N(A) = span,,. (a) What is the size m n of

More information

Midterm 1 Solutions Thursday, February 26

Midterm 1 Solutions Thursday, February 26 Math 59 Dr. DeTurck Midterm 1 Solutions Thursday, February 26 1. First note that since f() = f( + ) = f()f(), we have either f() = (in which case f(x) = f(x + ) = f(x)f() = for all x, so c = ) or else

More information

Math 212-Lecture 8. The chain rule with one independent variable

Math 212-Lecture 8. The chain rule with one independent variable Math 212-Lecture 8 137: The multivariable chain rule The chain rule with one independent variable w = f(x, y) If the particle is moving along a curve x = x(t), y = y(t), then the values that the particle

More information

Ideas from Vector Calculus Kurt Bryan

Ideas from Vector Calculus Kurt Bryan Ideas from Vector Calculus Kurt Bryan Most of the facts I state below are for functions of two or three variables, but with noted exceptions all are true for functions of n variables..1 Tangent Line Approximation

More information

Complex Numbers Year 12 QLD Maths C

Complex Numbers Year 12 QLD Maths C Complex Numbers Representations of Complex Numbers We can easily visualise most natural numbers and effectively use them to describe quantities in day to day life, for example you could describe a group

More information

VANDERBILT UNIVERSITY. MATH 2300 MULTIVARIABLE CALCULUS Practice Test 1 Solutions

VANDERBILT UNIVERSITY. MATH 2300 MULTIVARIABLE CALCULUS Practice Test 1 Solutions VANDERBILT UNIVERSITY MATH 2300 MULTIVARIABLE CALCULUS Practice Test 1 Solutions Directions. This practice test should be used as a study guide, illustrating the concepts that will be emphasized in the

More information

Introduction to Algebraic and Geometric Topology Week 14

Introduction to Algebraic and Geometric Topology Week 14 Introduction to Algebraic and Geometric Topology Week 14 Domingo Toledo University of Utah Fall 2016 Computations in coordinates I Recall smooth surface S = {f (x, y, z) =0} R 3, I rf 6= 0 on S, I Chart

More information

Distances in R 3. Last time we figured out the (parametric) equation of a line and the (scalar) equation of a plane:

Distances in R 3. Last time we figured out the (parametric) equation of a line and the (scalar) equation of a plane: Distances in R 3 Last time we figured out the (parametric) equation of a line and the (scalar) equation of a plane: Definition: The equation of a line through point P(x 0, y 0, z 0 ) with directional vector

More information

Mathematics 426 Robert Gross Homework 9 Answers

Mathematics 426 Robert Gross Homework 9 Answers Mathematics 4 Robert Gross Homework 9 Answers. Suppose that X is a normal random variable with mean µ and standard deviation σ. Suppose that PX > 9 PX

More information

We consider the problem of finding a polynomial that interpolates a given set of values:

We consider the problem of finding a polynomial that interpolates a given set of values: Chapter 5 Interpolation 5. Polynomial Interpolation We consider the problem of finding a polynomial that interpolates a given set of values: x x 0 x... x n y y 0 y... y n where the x i are all distinct.

More information

Main topics for the First Midterm Exam

Main topics for the First Midterm Exam Main topics for the First Midterm Exam The final will cover Sections.-.0, 2.-2.5, and 4.. This is roughly the material from first three homeworks and three quizzes, in addition to the lecture on Monday,

More information

Physics 200 Lecture 4. Integration. Lecture 4. Physics 200 Laboratory

Physics 200 Lecture 4. Integration. Lecture 4. Physics 200 Laboratory Physics 2 Lecture 4 Integration Lecture 4 Physics 2 Laboratory Monday, February 21st, 211 Integration is the flip-side of differentiation in fact, it is often possible to write a differential equation

More information

The Gram-Schmidt Process

The Gram-Schmidt Process The Gram-Schmidt Process How and Why it Works This is intended as a complement to 5.4 in our textbook. I assume you have read that section, so I will not repeat the definitions it gives. Our goal is to

More information

Summary of various integrals

Summary of various integrals ummary of various integrals Here s an arbitrary compilation of information about integrals Moisés made on a cold ecember night. 1 General things o not mix scalars and vectors! In particular ome integrals

More information

Spiral spline interpolation to a planar spiral

Spiral spline interpolation to a planar spiral Spiral spline interpolation to a planar spiral Zulfiqar Habib Department of Mathematics and Computer Science, Graduate School of Science and Engineering, Kagoshima University Manabu Sakai Department of

More information

Calculus I Review Solutions

Calculus I Review Solutions Calculus I Review Solutions. Compare and contrast the three Value Theorems of the course. When you would typically use each. The three value theorems are the Intermediate, Mean and Extreme value theorems.

More information