Lecture03-BackgroundMathematics

Lecture03-BackgroundMathematics - CS 455 Computer Graphics...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 455 – Computer Graphics Background Mathematics
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Set Notation object a is an element of set S Cartesian product of sets A and B , i.e., the set that contains all ordered pairs ( a, b ) such that a A and b B . Sets of interest: : the set of real numbers + : the set of non-negative real numbers 2 : the set of ordered pairs in the real plane, i.e., the 2D plane n : the set of points in the n-dimensional Cartesian space Z : the integers S 2 : the set of 3D points (points in 3 ) on the unit sphere S a B A ×
Background image of page 2
Mappings Notation for mappings: a function f which takes a real number as input and maps it to an integer This is equivalent to the programming notation Z f : ) real ( integer f
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Inverse Maps If we have a function the inverse of f is defined as where in order for a function to have an inverse, it needs to be a bijection one-to-one mapping between A and B B A f : a b f = - ) ( 1 ) ( a f b =
Background image of page 4
Quadratic Formula Given a quadratic equation of the form The solutions are given by The discriminant D is Number of real roots: D > 0 : two real roots D = 0 : one real root D < 0 : no real roots 0 2 = + + c bx ax a ac b b x 2 4 2 - ± - = ac b D 4 2 - =
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Trigonometry Remember: ??? so: 360 radians 2 = π radians 180 degrees degrees 180 radians = =
Background image of page 6
Trigonometry Given a right triangle with sides of length a, o, and h (adjacent, opposite, and hypotenuse): a h o θ h a = θ cos h o = sin a o = tan Theorem rean Pythago 2 2 2 h o a = + S ome O ld H ag C ame A round H ere T aking O ur A pples
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Trig identities sin(- α ) = -sin( α ) cos(- α ) = cos( α ) tan(- α ) = -tan( α ) sin 2 α + cos 2 α = 1 sin( α + β ) = sin α cos β + sin β cos α cos( α + β ) = cos α cos β - sin α sin β sin(2 α ) = 2sin α cos α cos(2 α ) = cos 2 α - sin 2 α c 2 = a 2 + b 2 – 2ab cos C law of cosines
Background image of page 8
Vectors A vector has a length and direction Can be represented by an arrow Has NO position these are the same vector
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/02/2012 for the course C S 455 taught by Professor Jones,m during the Winter '08 term at BYU.

Page1 / 28

Lecture03-BackgroundMathematics - CS 455 Computer Graphics...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online