Lecture03-BackgroundMathematics

# Lecture03-BackgroundMathematics - CS 455 Computer Graphics...

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

CS 455 – Computer Graphics Background Mathematics

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

View Full Document
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 ×
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

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

View Full Document
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 =
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 - =

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

View Full Document
Trigonometry Remember: ??? so: 360 radians 2 = π radians 180 degrees degrees 180 radians = =
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

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

View Full Document
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
Vectors A vector has a length and direction Can be represented by an arrow Has NO position these are the same vector

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

View Full Document
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
Ask a homework question - tutors are online