SlideShare a Scribd company logo
Beginning Direct3D Game Programming:
Mathematics 4
Calculus
jintaeks@gmail.com
Division of Digital Contents, DongSeo University.
March 2016
Singularity
 In mathematics,
a singularity is in general a
point at which a given
mathematical object is not
defined, or a point of an
exceptional set where it fails
to be well-behaved in some
particular way, such
as differentiability.
 For example, f(x) is singular
when x≡0.
2
 The function f(x) = |x| also has a singularity at x= 0, since it is
not differentiable there.
3
 The graph defined by y2 = x also has a singularity at (0,0), this
time because it has a "corner" (vertical tangent) at that point.
4
Differentiation
5
f(x)=x2
Differentiation
 The derivative of a function of a real variable measures the
sensitivity to change of a quantity (a function value
or dependent variable) which is determined by another
quantity (the independent variable).
 Derivatives are a fundamental tool of calculus.
 For example, the derivative of the position of a moving object
with respect to time is the object's velocity: this measures how
quickly the position of the object changes when time is
advanced.
6
 The slope m of the secant line is the difference between
the y values of these points divided by the difference between
the x values, that is:
7
8
9
Practice
 Write a function that calculate the derivative of x2.
 For example, FPrime( float x ) returns a f'(x2).
 Print the tangent line at (3.0, f(3.0)).
10
Get the slope of (3,9) of y=x2
11
𝑦 = 𝑥2
(9 + 𝑑𝑞) = (3 + 𝑑𝑝)2
9 + 𝑑𝑞 = 9 + 6𝑑𝑝 + 𝑑2
𝑝2
𝑑𝑞 = 6𝑑𝑝 + 𝑑𝑑𝑝2
𝑞 = 6𝑝 + 𝑑𝑝2
12
𝑞 = 6𝑝 + 𝑑𝑝2
𝑞/𝑝 = 6 + 𝑑𝑝
(dp is infinitely small, so)
𝑞/𝑝 = 6
13
Get the slope of (a,a2) of y=x2
14
𝑦 = 𝑥2
(𝑎2
+ 𝑑𝑞) = (𝑎 + 𝑑𝑝)2
𝑎2 + 𝑑𝑞 = 𝑎2 + 2𝑎𝑑𝑝 + 𝑑2 𝑝2
𝑑𝑞 = 2𝑎𝑑𝑝 + 𝑑𝑑𝑝2
𝑞 = 2𝑎𝑝 + 𝑑𝑝2
15
derivative of f(y)=x2
𝑞 = 2𝑎𝑝 + 𝑑𝑝2
𝑞/𝑝 = 2𝑎 + 𝑑𝑝
(dp is infinitely small, so)
𝑞/𝑝 = 2𝑎
16
dy/dx=F'(x2)=2x
Rules for basic functions
Derivatives of powers:
if
where r is any real number, then
wherever this function is defined. For example, if
then
17
Remember
18
𝑓′
𝑥 𝑛
= 𝑛𝑥 𝑛−1
Leibniz's notation
 The notation for derivatives introduced by Gottfried Leibniz is
one of the earliest.
 It is still commonly used when the equation y = f(x) is viewed
as a functional relationship between dependent and
independent variables. Then the first derivative is denoted by
 Higher derivatives are expressed using the notation
 for the nth derivative of y = f(x) (with respect to x).
19
Lagrange's notation
 Sometimes referred to as prime notation, one of the most
common modern notation for differentiation is due to Joseph-
Louis Lagrange and uses the prime mark, so that the
derivative of a function f(x) is denoted f′(x) or simply f′.
 Similarly, the second and third derivatives are denoted like
below.
20
Newton's notation
 Newton's notation for differentiation, also called the dot
notation, places a dot over the function name to represent a
time derivative. If y = f(t), then below expression denote the
first derivatives of y with respect to t.
𝑦
 The second derivatives of y with respect to t can be denoted
like this.
𝑦
21
Application: Tangent vector
 A Tangent space is a real vector space that intuitively
contains the possible "directions" at which one can
tangentially pass through x.
 The elements of the tangent space are called tangent
vectors at x.
22
23
 A pictorial representation of the tangent space of a single
point, x, on a sphere.
Normal mapping
 To calculate the Lambertian (diffuse) lighting of a surface, the
unit vector from the shading point to the light source(L)
is dotted with the unit vector normal(N) to that surface, and
the result is the intensity of the light on that surface.
• Example of a normal map (center) with the scene it was
calculated from (left) and the result when applied to a flat
surface (right).
24
Gradient: ∇(read as del or gradient)
 In mathematics, the gradient is a generalization of the usual
concept of derivative of a function in one dimension to a
function in several dimensions. If f(x1, ..., xn) is
differentiable, scalar-valued function of standard Cartesian
coordinates in Euclidean space, its gradient is
the vector whose components are the n partial
derivatives of f.
25
The Derivation can be
extended to more higher
dimensions!
• In the above two images, the values of the function are represented in
black and white, black representing higher values, and its corresponding
gradient is represented by blue arrows.
26
• The gradient of the function f(x,y) = −(cos2x + cos2y)2 depicted as a
projected vector field on the bottom plane.
27
 The gradient (or gradient vector field) of a scalar
function f(x1, x2, x3, ..., xn) is denoted ∇f or where ∇ denotes
the vector differential operator, del. The notation "grad(f)" is
also commonly used for the gradient.
 In a rectangular coordinate system, the gradient is the vector
field whose components are the partial derivatives of f:
28
 In the three-dimensional Cartesian coordinate system, this is
given by
 where i, j, k are the standard unit vectors.
 For example, the gradient of the function
 is:
29
Integral
 A definite integral of a function can be represented as the
signed area of the region bounded by its graph.
30
Integral
 In mathematics, an integral assigns numbers to functions in a
way that can describe displacement, area, volume, and other
concepts that arise by combining infinitesimal data.
 Integration is one of the two main operations of calculus, with
its inverse, differentiation, being the other.
 Given a function f of a real variable x and an interval [a, b] of
the real line, the definite integral
 is defined informally as the signed area of the region in the
xy-plane that is bounded by the graph of f, the x-axis and the
vertical lines x = a and x = b.
31
𝑎
𝑏
𝑓 𝑥 𝑑𝑥
Observation
 A plane is the collection of infinite lines.
 Similarly, a cube is the collection of infinite planes.
 Cavalieri's principle
32
Practice
33
 Write a function that calculate the integration 0
2
𝑓 𝑥2
𝑑𝑥
 Approximations to integral of
√x from 0 to 1, with
5 ■ (yellow) right endpoint
partitions and 12 ■ (green)
left endpoint partitions
Remember
34
𝑎
𝑏
𝑥 𝑛
𝑑𝑥 =
1
𝑛 + 1
𝑥 𝑛+1
][ a
b
Calculus
 The operation of integration is the reverse of differentiation.
 For this reason, the term integral may also refer to the related
notion of the antiderivative, a function F whose derivative is
the given function f.
 In this case, it is called an indefinite integral and is written:
35
constant of integration
𝑥 𝑛
𝑑𝑥 =
1
𝑛 + 1
𝑥 𝑛+1
+ 𝐶
Calculus
36
constant of integration
𝑥 𝑛 𝑑𝑥 =
1
𝑛 + 1
𝑥 𝑛+1 + 𝐶
Calculus
 The fundamental theorem of calculus that connects
differentiation with the definite integral: if f is a continuous
real-valued function defined on a closed interval [a, b], then,
once an antiderivative F of f is known, the definite integral
of f over that interval is given by
37
38
F'(x2)=2x
2𝑥 𝑑𝑥 = 𝑥2
+ 𝐶
39
𝑛𝑥 𝑛−1
𝑑𝑥 = 𝑥 𝑛
+ 𝐶
𝑓′
𝑥 𝑛
= 𝑛𝑥 𝑛−1
40
𝑛𝑥 𝑛−1
𝑥 𝑛
Differentiation Integration
Physics
 The velocity of an object is the rate of change of
its position with respect to a frame of reference, and is a
function of time.
41
• Kinematic quantities of a classical particle: mass m,
position r, velocity v.
Instantaneous velocity
 Velocity is defined as the rate of change of position with
respect to time, which may also be referred to as the
instantaneous velocity to emphasize the distinction from the
average velocity.
42
S(t) = S0 + v0t
S=vt
S0 v0
v0t
Instantaneous velocity
 If we consider v as velocity and x as the displacement (change
in position) vector, then we can express the (instantaneous)
velocity of a particle or object, at any particular time t, as
the derivative of the position with respect to time:
43
Acceleration
 Acceleration, in physics, is the rate of change of velocity of an
object.
 An object's acceleration is the net result of any and
all forces acting on the object, as described by Newton's
Second Law.
44
v(t) = v0 + at
v=at
v0
v1
a=(v1 – v0)/t
Relationship between velocity and acceleration
 An object's instantaneous acceleration at a point in time is
the slope of the line tangent to the curve of a v vs. t graph
at that point.
 In other words, acceleration is defined as the derivative of
velocity with respect to time:
45
 Example of a velocity vs. time graph, and the relationship
between velocity v on the y-axis, acceleration a (the three
green tangent lines represent the values for acceleration at
different points along the curve) and displacement s (the
yellow area under the curve.)
46
Distance, Velocity and Acceleration
 From bottom to top:
• an acceleration
function a(t);
• the integral of the
acceleration is the velocity
function v(t);
• and the integral of the
velocity is the distance
function s(t).
47
Remember
48
Newtos's second law, F=ma
 In classical mechanics, for a body with constant mass, the
(vector) acceleration of the body's center of mass is
proportional to the net force vector (i.e. sum of all forces)
acting on it (Newton's second law):
49
Uniform acceleration
 Calculation of the velocity difference for a uniform
acceleration.
50
51
Integration
Practice
 Write a Win32 bouncing ball program.
 Initial position is (100,100) and initial velocity is (10,-10).
 Initial acceleration is (0,0).
 The ball must bounced in the boundaries of client area.
52
Practice2
 Add external acceleration when direction keys are pressing.
if( ::GetAsyncKeyState( VK_LEFT ) ) {
acceleration = acceleration + KVector( -100, 0, 0 );
bAccelModified = true;
}//if
53
References
 https://en.wikipedia.org/wiki/Derivative
 https://en.wikipedia.org/wiki/Gradient
 https://en.wikipedia.org/wiki/Integral
 https://en.wikipedia.org/wiki/Acceleration
54
Beginning direct3d gameprogrammingmath04_calculus_20160324_jintaeks

More Related Content

What's hot

1525 equations of lines in space
1525 equations of lines in space1525 equations of lines in space
1525 equations of lines in space
Dr Fereidoun Dejahang
 
Differential calculus
Differential calculusDifferential calculus
Differential calculus
Muthulakshmilakshmi2
 
Integration presentation
Integration presentationIntegration presentation
Integration presentation
Urmila Bhardwaj
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
ESUG
 
Vector space
Vector spaceVector space
Vector space
Jaimin Patel
 
Daa chapter11
Daa chapter11Daa chapter11
Daa chapter11
B.Kirron Reddi
 
Polynomials and Curve Fitting in MATLAB
Polynomials and Curve Fitting in MATLABPolynomials and Curve Fitting in MATLAB
Polynomials and Curve Fitting in MATLAB
Shameer Ahmed Koya
 
7.5 lines and_planes_in_space
7.5 lines and_planes_in_space7.5 lines and_planes_in_space
7.5 lines and_planes_in_spaceMahbub Alwathoni
 
vector application
vector applicationvector application
vector application
rajat shukla
 
Calculus and Numerical Method =_=
Calculus and Numerical Method =_=Calculus and Numerical Method =_=
Calculus and Numerical Method =_=Fazirah Zyra
 
Lecture 9 dim & rank - 4-5 & 4-6
Lecture 9   dim & rank -  4-5 & 4-6Lecture 9   dim & rank -  4-5 & 4-6
Lecture 9 dim & rank - 4-5 & 4-6
njit-ronbrown
 
Computer Graphics & linear Algebra
Computer Graphics & linear Algebra Computer Graphics & linear Algebra
Computer Graphics & linear Algebra
Xad Kuain
 
Math lecture 10 (Introduction to Integration)
Math lecture 10 (Introduction to Integration)Math lecture 10 (Introduction to Integration)
Math lecture 10 (Introduction to Integration)Osama Zahid
 
01.01 vector spaces
01.01 vector spaces01.01 vector spaces
01.01 vector spaces
Andres Mendez-Vazquez
 
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
Ceni Babaoglu, PhD
 
01.04 orthonormal basis_eigen_vectors
01.04 orthonormal basis_eigen_vectors01.04 orthonormal basis_eigen_vectors
01.04 orthonormal basis_eigen_vectors
Andres Mendez-Vazquez
 
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1
njit-ronbrown
 
2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension
Ceni Babaoglu, PhD
 

What's hot (20)

1525 equations of lines in space
1525 equations of lines in space1525 equations of lines in space
1525 equations of lines in space
 
Differential calculus
Differential calculusDifferential calculus
Differential calculus
 
Integration presentation
Integration presentationIntegration presentation
Integration presentation
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
 
Vector space
Vector spaceVector space
Vector space
 
Daa chapter11
Daa chapter11Daa chapter11
Daa chapter11
 
Polynomials and Curve Fitting in MATLAB
Polynomials and Curve Fitting in MATLABPolynomials and Curve Fitting in MATLAB
Polynomials and Curve Fitting in MATLAB
 
7.5 lines and_planes_in_space
7.5 lines and_planes_in_space7.5 lines and_planes_in_space
7.5 lines and_planes_in_space
 
The integral
The integralThe integral
The integral
 
vector application
vector applicationvector application
vector application
 
Calculus and Numerical Method =_=
Calculus and Numerical Method =_=Calculus and Numerical Method =_=
Calculus and Numerical Method =_=
 
Lecture 9 dim & rank - 4-5 & 4-6
Lecture 9   dim & rank -  4-5 & 4-6Lecture 9   dim & rank -  4-5 & 4-6
Lecture 9 dim & rank - 4-5 & 4-6
 
Computer Graphics & linear Algebra
Computer Graphics & linear Algebra Computer Graphics & linear Algebra
Computer Graphics & linear Algebra
 
Math lecture 10 (Introduction to Integration)
Math lecture 10 (Introduction to Integration)Math lecture 10 (Introduction to Integration)
Math lecture 10 (Introduction to Integration)
 
01.01 vector spaces
01.01 vector spaces01.01 vector spaces
01.01 vector spaces
 
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
 
01.04 orthonormal basis_eigen_vectors
01.04 orthonormal basis_eigen_vectors01.04 orthonormal basis_eigen_vectors
01.04 orthonormal basis_eigen_vectors
 
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1
 
Calculus I basic concepts
Calculus I basic conceptsCalculus I basic concepts
Calculus I basic concepts
 
2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension
 

Viewers also liked

Beginning direct3d gameprogramming01_20161102_jintaeks
Beginning direct3d gameprogramming01_20161102_jintaeksBeginning direct3d gameprogramming01_20161102_jintaeks
Beginning direct3d gameprogramming01_20161102_jintaeks
JinTaek Seo
 
Beginning direct3d gameprogramming01_thehistoryofdirect3dgraphics_20160407_ji...
Beginning direct3d gameprogramming01_thehistoryofdirect3dgraphics_20160407_ji...Beginning direct3d gameprogramming01_thehistoryofdirect3dgraphics_20160407_ji...
Beginning direct3d gameprogramming01_thehistoryofdirect3dgraphics_20160407_ji...
JinTaek Seo
 
Beginning direct3d gameprogramming06_firststepstoanimation_20161115_jintaeks
Beginning direct3d gameprogramming06_firststepstoanimation_20161115_jintaeksBeginning direct3d gameprogramming06_firststepstoanimation_20161115_jintaeks
Beginning direct3d gameprogramming06_firststepstoanimation_20161115_jintaeks
JinTaek Seo
 
Beginning direct3d gameprogramming04_3dfundamentals_20160414_jintaeks
Beginning direct3d gameprogramming04_3dfundamentals_20160414_jintaeksBeginning direct3d gameprogramming04_3dfundamentals_20160414_jintaeks
Beginning direct3d gameprogramming04_3dfundamentals_20160414_jintaeks
JinTaek Seo
 
Beginning direct3d gameprogramming03_programmingconventions_20160414_jintaeks
Beginning direct3d gameprogramming03_programmingconventions_20160414_jintaeksBeginning direct3d gameprogramming03_programmingconventions_20160414_jintaeks
Beginning direct3d gameprogramming03_programmingconventions_20160414_jintaeks
JinTaek Seo
 
Beginning direct3d gameprogramming05_thebasics_20160421_jintaeks
Beginning direct3d gameprogramming05_thebasics_20160421_jintaeksBeginning direct3d gameprogramming05_thebasics_20160421_jintaeks
Beginning direct3d gameprogramming05_thebasics_20160421_jintaeks
JinTaek Seo
 
Beginning direct3d gameprogrammingmath06_transformations_20161019_jintaeks
Beginning direct3d gameprogrammingmath06_transformations_20161019_jintaeksBeginning direct3d gameprogrammingmath06_transformations_20161019_jintaeks
Beginning direct3d gameprogrammingmath06_transformations_20161019_jintaeks
JinTaek Seo
 
Beginning direct3d gameprogramming02_overviewofhalandcom_20160408_jintaeks
Beginning direct3d gameprogramming02_overviewofhalandcom_20160408_jintaeksBeginning direct3d gameprogramming02_overviewofhalandcom_20160408_jintaeks
Beginning direct3d gameprogramming02_overviewofhalandcom_20160408_jintaeks
JinTaek Seo
 
Beginning direct3d gameprogramming08_usingtextures_20160428_jintaeks
Beginning direct3d gameprogramming08_usingtextures_20160428_jintaeksBeginning direct3d gameprogramming08_usingtextures_20160428_jintaeks
Beginning direct3d gameprogramming08_usingtextures_20160428_jintaeks
JinTaek Seo
 
Beginning direct3d gameprogramming07_lightsandmaterials_20161117_jintaeks
Beginning direct3d gameprogramming07_lightsandmaterials_20161117_jintaeksBeginning direct3d gameprogramming07_lightsandmaterials_20161117_jintaeks
Beginning direct3d gameprogramming07_lightsandmaterials_20161117_jintaeks
JinTaek Seo
 
Beginning direct3d gameprogrammingmath02_logarithm_20160324_jintaeks
Beginning direct3d gameprogrammingmath02_logarithm_20160324_jintaeksBeginning direct3d gameprogrammingmath02_logarithm_20160324_jintaeks
Beginning direct3d gameprogrammingmath02_logarithm_20160324_jintaeks
JinTaek Seo
 
Beginning direct3d gameprogrammingcpp02_20160324_jintaeks
Beginning direct3d gameprogrammingcpp02_20160324_jintaeksBeginning direct3d gameprogrammingcpp02_20160324_jintaeks
Beginning direct3d gameprogrammingcpp02_20160324_jintaeks
JinTaek Seo
 
Beginning direct3d gameprogramming10_shaderdetail_20160506_jintaeks
Beginning direct3d gameprogramming10_shaderdetail_20160506_jintaeksBeginning direct3d gameprogramming10_shaderdetail_20160506_jintaeks
Beginning direct3d gameprogramming10_shaderdetail_20160506_jintaeks
JinTaek Seo
 
Beginning direct3d gameprogramming09_shaderprogramming_20160505_jintaeks
Beginning direct3d gameprogramming09_shaderprogramming_20160505_jintaeksBeginning direct3d gameprogramming09_shaderprogramming_20160505_jintaeks
Beginning direct3d gameprogramming09_shaderprogramming_20160505_jintaeks
JinTaek Seo
 
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeksBeginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
JinTaek Seo
 

Viewers also liked (15)

Beginning direct3d gameprogramming01_20161102_jintaeks
Beginning direct3d gameprogramming01_20161102_jintaeksBeginning direct3d gameprogramming01_20161102_jintaeks
Beginning direct3d gameprogramming01_20161102_jintaeks
 
Beginning direct3d gameprogramming01_thehistoryofdirect3dgraphics_20160407_ji...
Beginning direct3d gameprogramming01_thehistoryofdirect3dgraphics_20160407_ji...Beginning direct3d gameprogramming01_thehistoryofdirect3dgraphics_20160407_ji...
Beginning direct3d gameprogramming01_thehistoryofdirect3dgraphics_20160407_ji...
 
Beginning direct3d gameprogramming06_firststepstoanimation_20161115_jintaeks
Beginning direct3d gameprogramming06_firststepstoanimation_20161115_jintaeksBeginning direct3d gameprogramming06_firststepstoanimation_20161115_jintaeks
Beginning direct3d gameprogramming06_firststepstoanimation_20161115_jintaeks
 
Beginning direct3d gameprogramming04_3dfundamentals_20160414_jintaeks
Beginning direct3d gameprogramming04_3dfundamentals_20160414_jintaeksBeginning direct3d gameprogramming04_3dfundamentals_20160414_jintaeks
Beginning direct3d gameprogramming04_3dfundamentals_20160414_jintaeks
 
Beginning direct3d gameprogramming03_programmingconventions_20160414_jintaeks
Beginning direct3d gameprogramming03_programmingconventions_20160414_jintaeksBeginning direct3d gameprogramming03_programmingconventions_20160414_jintaeks
Beginning direct3d gameprogramming03_programmingconventions_20160414_jintaeks
 
Beginning direct3d gameprogramming05_thebasics_20160421_jintaeks
Beginning direct3d gameprogramming05_thebasics_20160421_jintaeksBeginning direct3d gameprogramming05_thebasics_20160421_jintaeks
Beginning direct3d gameprogramming05_thebasics_20160421_jintaeks
 
Beginning direct3d gameprogrammingmath06_transformations_20161019_jintaeks
Beginning direct3d gameprogrammingmath06_transformations_20161019_jintaeksBeginning direct3d gameprogrammingmath06_transformations_20161019_jintaeks
Beginning direct3d gameprogrammingmath06_transformations_20161019_jintaeks
 
Beginning direct3d gameprogramming02_overviewofhalandcom_20160408_jintaeks
Beginning direct3d gameprogramming02_overviewofhalandcom_20160408_jintaeksBeginning direct3d gameprogramming02_overviewofhalandcom_20160408_jintaeks
Beginning direct3d gameprogramming02_overviewofhalandcom_20160408_jintaeks
 
Beginning direct3d gameprogramming08_usingtextures_20160428_jintaeks
Beginning direct3d gameprogramming08_usingtextures_20160428_jintaeksBeginning direct3d gameprogramming08_usingtextures_20160428_jintaeks
Beginning direct3d gameprogramming08_usingtextures_20160428_jintaeks
 
Beginning direct3d gameprogramming07_lightsandmaterials_20161117_jintaeks
Beginning direct3d gameprogramming07_lightsandmaterials_20161117_jintaeksBeginning direct3d gameprogramming07_lightsandmaterials_20161117_jintaeks
Beginning direct3d gameprogramming07_lightsandmaterials_20161117_jintaeks
 
Beginning direct3d gameprogrammingmath02_logarithm_20160324_jintaeks
Beginning direct3d gameprogrammingmath02_logarithm_20160324_jintaeksBeginning direct3d gameprogrammingmath02_logarithm_20160324_jintaeks
Beginning direct3d gameprogrammingmath02_logarithm_20160324_jintaeks
 
Beginning direct3d gameprogrammingcpp02_20160324_jintaeks
Beginning direct3d gameprogrammingcpp02_20160324_jintaeksBeginning direct3d gameprogrammingcpp02_20160324_jintaeks
Beginning direct3d gameprogrammingcpp02_20160324_jintaeks
 
Beginning direct3d gameprogramming10_shaderdetail_20160506_jintaeks
Beginning direct3d gameprogramming10_shaderdetail_20160506_jintaeksBeginning direct3d gameprogramming10_shaderdetail_20160506_jintaeks
Beginning direct3d gameprogramming10_shaderdetail_20160506_jintaeks
 
Beginning direct3d gameprogramming09_shaderprogramming_20160505_jintaeks
Beginning direct3d gameprogramming09_shaderprogramming_20160505_jintaeksBeginning direct3d gameprogramming09_shaderprogramming_20160505_jintaeks
Beginning direct3d gameprogramming09_shaderprogramming_20160505_jintaeks
 
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeksBeginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
 

Similar to Beginning direct3d gameprogrammingmath04_calculus_20160324_jintaeks

Trabajo Leo mat 3 2021
Trabajo Leo mat 3 2021Trabajo Leo mat 3 2021
Trabajo Leo mat 3 2021
Leonardo Villalobos
 
Lesson 6 differentials parametric-curvature
Lesson 6 differentials parametric-curvatureLesson 6 differentials parametric-curvature
Lesson 6 differentials parametric-curvature
Lawrence De Vera
 
Indefinite Integral
Indefinite IntegralIndefinite Integral
Indefinite Integral
Rich Elle
 
Derivación e integración de funcione variables
Derivación e integración de funcione variablesDerivación e integración de funcione variables
Derivación e integración de funcione variables
ValeriaCasanova4
 
Lecture Notes In Algebra
Lecture Notes In AlgebraLecture Notes In Algebra
Lecture Notes In Algebra
jennytuazon01630
 
Analytic function
Analytic functionAnalytic function
Analytic function
Santhanam Krishnan
 
Week 6
Week 6Week 6
Week 6
EasyStudy3
 
Diffusion Homework Help
Diffusion Homework HelpDiffusion Homework Help
Diffusion Homework Help
Statistics Assignment Help
 
Derivatie class 12
Derivatie class 12Derivatie class 12
Derivatie class 12
Sadiq Hussain
 
Continuity and differentiability
Continuity and differentiability Continuity and differentiability
Continuity and differentiability
Seyid Kadher
 
Diffrences between derivative and diffrential
Diffrences between derivative and diffrentialDiffrences between derivative and diffrential
Diffrences between derivative and diffrential
Govind T
 
Chapter 16 1
Chapter 16 1Chapter 16 1
Chapter 16 1
EasyStudy3
 
Statistical Inference Part II: Types of Sampling Distribution
Statistical Inference Part II: Types of Sampling DistributionStatistical Inference Part II: Types of Sampling Distribution
Statistical Inference Part II: Types of Sampling Distribution
Dexlab Analytics
 
11904040shaiful-191024200113.pptx
11904040shaiful-191024200113.pptx11904040shaiful-191024200113.pptx
11904040shaiful-191024200113.pptx
AlphaKoiSylvester
 
Digital Text Book :POTENTIAL THEORY AND ELLIPTIC PARTIAL DIFFERENTIAL EQUATIONS
Digital Text Book :POTENTIAL THEORY AND ELLIPTIC PARTIAL DIFFERENTIAL EQUATIONS Digital Text Book :POTENTIAL THEORY AND ELLIPTIC PARTIAL DIFFERENTIAL EQUATIONS
Digital Text Book :POTENTIAL THEORY AND ELLIPTIC PARTIAL DIFFERENTIAL EQUATIONS
Baasilroy
 
Lecture 2 family of fcts
Lecture 2   family of fctsLecture 2   family of fcts
Lecture 2 family of fcts
njit-ronbrown
 
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
Mahmood Adel
 
Paper06
Paper06Paper06

Similar to Beginning direct3d gameprogrammingmath04_calculus_20160324_jintaeks (20)

Trabajo Leo mat 3 2021
Trabajo Leo mat 3 2021Trabajo Leo mat 3 2021
Trabajo Leo mat 3 2021
 
Lesson 6 differentials parametric-curvature
Lesson 6 differentials parametric-curvatureLesson 6 differentials parametric-curvature
Lesson 6 differentials parametric-curvature
 
Indefinite Integral
Indefinite IntegralIndefinite Integral
Indefinite Integral
 
Derivación e integración de funcione variables
Derivación e integración de funcione variablesDerivación e integración de funcione variables
Derivación e integración de funcione variables
 
Lecture Notes In Algebra
Lecture Notes In AlgebraLecture Notes In Algebra
Lecture Notes In Algebra
 
Chapter 4 and half
Chapter 4 and halfChapter 4 and half
Chapter 4 and half
 
Analytic function
Analytic functionAnalytic function
Analytic function
 
Week 6
Week 6Week 6
Week 6
 
Diffusion Homework Help
Diffusion Homework HelpDiffusion Homework Help
Diffusion Homework Help
 
Derivatie class 12
Derivatie class 12Derivatie class 12
Derivatie class 12
 
Continuity and differentiability
Continuity and differentiability Continuity and differentiability
Continuity and differentiability
 
Diffrences between derivative and diffrential
Diffrences between derivative and diffrentialDiffrences between derivative and diffrential
Diffrences between derivative and diffrential
 
Chapter 16 1
Chapter 16 1Chapter 16 1
Chapter 16 1
 
Statistical Inference Part II: Types of Sampling Distribution
Statistical Inference Part II: Types of Sampling DistributionStatistical Inference Part II: Types of Sampling Distribution
Statistical Inference Part II: Types of Sampling Distribution
 
11904040shaiful-191024200113.pptx
11904040shaiful-191024200113.pptx11904040shaiful-191024200113.pptx
11904040shaiful-191024200113.pptx
 
Digital Text Book :POTENTIAL THEORY AND ELLIPTIC PARTIAL DIFFERENTIAL EQUATIONS
Digital Text Book :POTENTIAL THEORY AND ELLIPTIC PARTIAL DIFFERENTIAL EQUATIONS Digital Text Book :POTENTIAL THEORY AND ELLIPTIC PARTIAL DIFFERENTIAL EQUATIONS
Digital Text Book :POTENTIAL THEORY AND ELLIPTIC PARTIAL DIFFERENTIAL EQUATIONS
 
Es272 ch5b
Es272 ch5bEs272 ch5b
Es272 ch5b
 
Lecture 2 family of fcts
Lecture 2   family of fctsLecture 2   family of fcts
Lecture 2 family of fcts
 
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
 
Paper06
Paper06Paper06
Paper06
 

More from JinTaek Seo

Neural network 20161210_jintaekseo
Neural network 20161210_jintaekseoNeural network 20161210_jintaekseo
Neural network 20161210_jintaekseo
JinTaek Seo
 
05 heap 20161110_jintaeks
05 heap 20161110_jintaeks05 heap 20161110_jintaeks
05 heap 20161110_jintaeks
JinTaek Seo
 
02 linked list_20160217_jintaekseo
02 linked list_20160217_jintaekseo02 linked list_20160217_jintaekseo
02 linked list_20160217_jintaekseo
JinTaek Seo
 
Hermite spline english_20161201_jintaeks
Hermite spline english_20161201_jintaeksHermite spline english_20161201_jintaeks
Hermite spline english_20161201_jintaeks
JinTaek Seo
 
01 stack 20160908_jintaek_seo
01 stack 20160908_jintaek_seo01 stack 20160908_jintaek_seo
01 stack 20160908_jintaek_seo
JinTaek Seo
 
03 fsm how_toimplementai_state_20161006_jintaeks
03 fsm how_toimplementai_state_20161006_jintaeks03 fsm how_toimplementai_state_20161006_jintaeks
03 fsm how_toimplementai_state_20161006_jintaeks
JinTaek Seo
 
Beginning direct3d gameprogrammingmath01_primer_20160324_jintaeks
Beginning direct3d gameprogrammingmath01_primer_20160324_jintaeksBeginning direct3d gameprogrammingmath01_primer_20160324_jintaeks
Beginning direct3d gameprogrammingmath01_primer_20160324_jintaeks
JinTaek Seo
 
Boost pp 20091102_서진택
Boost pp 20091102_서진택Boost pp 20091102_서진택
Boost pp 20091102_서진택
JinTaek Seo
 
아직도가야할길 훈련 20090722_서진택
아직도가야할길 훈련 20090722_서진택아직도가야할길 훈련 20090722_서진택
아직도가야할길 훈련 20090722_서진택
JinTaek Seo
 
3ds maxscript 튜토리얼_20151206_서진택
3ds maxscript 튜토리얼_20151206_서진택3ds maxscript 튜토리얼_20151206_서진택
3ds maxscript 튜토리얼_20151206_서진택
JinTaek Seo
 
Multithread programming 20151206_서진택
Multithread programming 20151206_서진택Multithread programming 20151206_서진택
Multithread programming 20151206_서진택
JinTaek Seo
 
03동물 로봇그리고사람 public_20151125_서진택
03동물 로봇그리고사람 public_20151125_서진택03동물 로봇그리고사람 public_20151125_서진택
03동물 로봇그리고사람 public_20151125_서진택
JinTaek Seo
 
20150605 홀트입양예비부모모임 서진택
20150605 홀트입양예비부모모임 서진택20150605 홀트입양예비부모모임 서진택
20150605 홀트입양예비부모모임 서진택
JinTaek Seo
 
Boost라이브러리의내부구조 20151111 서진택
Boost라이브러리의내부구조 20151111 서진택Boost라이브러리의내부구조 20151111 서진택
Boost라이브러리의내부구조 20151111 서진택
JinTaek Seo
 

More from JinTaek Seo (14)

Neural network 20161210_jintaekseo
Neural network 20161210_jintaekseoNeural network 20161210_jintaekseo
Neural network 20161210_jintaekseo
 
05 heap 20161110_jintaeks
05 heap 20161110_jintaeks05 heap 20161110_jintaeks
05 heap 20161110_jintaeks
 
02 linked list_20160217_jintaekseo
02 linked list_20160217_jintaekseo02 linked list_20160217_jintaekseo
02 linked list_20160217_jintaekseo
 
Hermite spline english_20161201_jintaeks
Hermite spline english_20161201_jintaeksHermite spline english_20161201_jintaeks
Hermite spline english_20161201_jintaeks
 
01 stack 20160908_jintaek_seo
01 stack 20160908_jintaek_seo01 stack 20160908_jintaek_seo
01 stack 20160908_jintaek_seo
 
03 fsm how_toimplementai_state_20161006_jintaeks
03 fsm how_toimplementai_state_20161006_jintaeks03 fsm how_toimplementai_state_20161006_jintaeks
03 fsm how_toimplementai_state_20161006_jintaeks
 
Beginning direct3d gameprogrammingmath01_primer_20160324_jintaeks
Beginning direct3d gameprogrammingmath01_primer_20160324_jintaeksBeginning direct3d gameprogrammingmath01_primer_20160324_jintaeks
Beginning direct3d gameprogrammingmath01_primer_20160324_jintaeks
 
Boost pp 20091102_서진택
Boost pp 20091102_서진택Boost pp 20091102_서진택
Boost pp 20091102_서진택
 
아직도가야할길 훈련 20090722_서진택
아직도가야할길 훈련 20090722_서진택아직도가야할길 훈련 20090722_서진택
아직도가야할길 훈련 20090722_서진택
 
3ds maxscript 튜토리얼_20151206_서진택
3ds maxscript 튜토리얼_20151206_서진택3ds maxscript 튜토리얼_20151206_서진택
3ds maxscript 튜토리얼_20151206_서진택
 
Multithread programming 20151206_서진택
Multithread programming 20151206_서진택Multithread programming 20151206_서진택
Multithread programming 20151206_서진택
 
03동물 로봇그리고사람 public_20151125_서진택
03동물 로봇그리고사람 public_20151125_서진택03동물 로봇그리고사람 public_20151125_서진택
03동물 로봇그리고사람 public_20151125_서진택
 
20150605 홀트입양예비부모모임 서진택
20150605 홀트입양예비부모모임 서진택20150605 홀트입양예비부모모임 서진택
20150605 홀트입양예비부모모임 서진택
 
Boost라이브러리의내부구조 20151111 서진택
Boost라이브러리의내부구조 20151111 서진택Boost라이브러리의내부구조 20151111 서진택
Boost라이브러리의내부구조 20151111 서진택
 

Recently uploaded

Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 

Recently uploaded (20)

Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 

Beginning direct3d gameprogrammingmath04_calculus_20160324_jintaeks

  • 1. Beginning Direct3D Game Programming: Mathematics 4 Calculus jintaeks@gmail.com Division of Digital Contents, DongSeo University. March 2016
  • 2. Singularity  In mathematics, a singularity is in general a point at which a given mathematical object is not defined, or a point of an exceptional set where it fails to be well-behaved in some particular way, such as differentiability.  For example, f(x) is singular when x≡0. 2
  • 3.  The function f(x) = |x| also has a singularity at x= 0, since it is not differentiable there. 3
  • 4.  The graph defined by y2 = x also has a singularity at (0,0), this time because it has a "corner" (vertical tangent) at that point. 4
  • 6. Differentiation  The derivative of a function of a real variable measures the sensitivity to change of a quantity (a function value or dependent variable) which is determined by another quantity (the independent variable).  Derivatives are a fundamental tool of calculus.  For example, the derivative of the position of a moving object with respect to time is the object's velocity: this measures how quickly the position of the object changes when time is advanced. 6
  • 7.  The slope m of the secant line is the difference between the y values of these points divided by the difference between the x values, that is: 7
  • 8. 8
  • 9. 9
  • 10. Practice  Write a function that calculate the derivative of x2.  For example, FPrime( float x ) returns a f'(x2).  Print the tangent line at (3.0, f(3.0)). 10
  • 11. Get the slope of (3,9) of y=x2 11
  • 12. 𝑦 = 𝑥2 (9 + 𝑑𝑞) = (3 + 𝑑𝑝)2 9 + 𝑑𝑞 = 9 + 6𝑑𝑝 + 𝑑2 𝑝2 𝑑𝑞 = 6𝑑𝑝 + 𝑑𝑑𝑝2 𝑞 = 6𝑝 + 𝑑𝑝2 12
  • 13. 𝑞 = 6𝑝 + 𝑑𝑝2 𝑞/𝑝 = 6 + 𝑑𝑝 (dp is infinitely small, so) 𝑞/𝑝 = 6 13
  • 14. Get the slope of (a,a2) of y=x2 14
  • 15. 𝑦 = 𝑥2 (𝑎2 + 𝑑𝑞) = (𝑎 + 𝑑𝑝)2 𝑎2 + 𝑑𝑞 = 𝑎2 + 2𝑎𝑑𝑝 + 𝑑2 𝑝2 𝑑𝑞 = 2𝑎𝑑𝑝 + 𝑑𝑑𝑝2 𝑞 = 2𝑎𝑝 + 𝑑𝑝2 15
  • 16. derivative of f(y)=x2 𝑞 = 2𝑎𝑝 + 𝑑𝑝2 𝑞/𝑝 = 2𝑎 + 𝑑𝑝 (dp is infinitely small, so) 𝑞/𝑝 = 2𝑎 16 dy/dx=F'(x2)=2x
  • 17. Rules for basic functions Derivatives of powers: if where r is any real number, then wherever this function is defined. For example, if then 17
  • 19. Leibniz's notation  The notation for derivatives introduced by Gottfried Leibniz is one of the earliest.  It is still commonly used when the equation y = f(x) is viewed as a functional relationship between dependent and independent variables. Then the first derivative is denoted by  Higher derivatives are expressed using the notation  for the nth derivative of y = f(x) (with respect to x). 19
  • 20. Lagrange's notation  Sometimes referred to as prime notation, one of the most common modern notation for differentiation is due to Joseph- Louis Lagrange and uses the prime mark, so that the derivative of a function f(x) is denoted f′(x) or simply f′.  Similarly, the second and third derivatives are denoted like below. 20
  • 21. Newton's notation  Newton's notation for differentiation, also called the dot notation, places a dot over the function name to represent a time derivative. If y = f(t), then below expression denote the first derivatives of y with respect to t. 𝑦  The second derivatives of y with respect to t can be denoted like this. 𝑦 21
  • 22. Application: Tangent vector  A Tangent space is a real vector space that intuitively contains the possible "directions" at which one can tangentially pass through x.  The elements of the tangent space are called tangent vectors at x. 22
  • 23. 23  A pictorial representation of the tangent space of a single point, x, on a sphere.
  • 24. Normal mapping  To calculate the Lambertian (diffuse) lighting of a surface, the unit vector from the shading point to the light source(L) is dotted with the unit vector normal(N) to that surface, and the result is the intensity of the light on that surface. • Example of a normal map (center) with the scene it was calculated from (left) and the result when applied to a flat surface (right). 24
  • 25. Gradient: ∇(read as del or gradient)  In mathematics, the gradient is a generalization of the usual concept of derivative of a function in one dimension to a function in several dimensions. If f(x1, ..., xn) is differentiable, scalar-valued function of standard Cartesian coordinates in Euclidean space, its gradient is the vector whose components are the n partial derivatives of f. 25 The Derivation can be extended to more higher dimensions!
  • 26. • In the above two images, the values of the function are represented in black and white, black representing higher values, and its corresponding gradient is represented by blue arrows. 26
  • 27. • The gradient of the function f(x,y) = −(cos2x + cos2y)2 depicted as a projected vector field on the bottom plane. 27
  • 28.  The gradient (or gradient vector field) of a scalar function f(x1, x2, x3, ..., xn) is denoted ∇f or where ∇ denotes the vector differential operator, del. The notation "grad(f)" is also commonly used for the gradient.  In a rectangular coordinate system, the gradient is the vector field whose components are the partial derivatives of f: 28
  • 29.  In the three-dimensional Cartesian coordinate system, this is given by  where i, j, k are the standard unit vectors.  For example, the gradient of the function  is: 29
  • 30. Integral  A definite integral of a function can be represented as the signed area of the region bounded by its graph. 30
  • 31. Integral  In mathematics, an integral assigns numbers to functions in a way that can describe displacement, area, volume, and other concepts that arise by combining infinitesimal data.  Integration is one of the two main operations of calculus, with its inverse, differentiation, being the other.  Given a function f of a real variable x and an interval [a, b] of the real line, the definite integral  is defined informally as the signed area of the region in the xy-plane that is bounded by the graph of f, the x-axis and the vertical lines x = a and x = b. 31 𝑎 𝑏 𝑓 𝑥 𝑑𝑥
  • 32. Observation  A plane is the collection of infinite lines.  Similarly, a cube is the collection of infinite planes.  Cavalieri's principle 32
  • 33. Practice 33  Write a function that calculate the integration 0 2 𝑓 𝑥2 𝑑𝑥  Approximations to integral of √x from 0 to 1, with 5 ■ (yellow) right endpoint partitions and 12 ■ (green) left endpoint partitions
  • 35. Calculus  The operation of integration is the reverse of differentiation.  For this reason, the term integral may also refer to the related notion of the antiderivative, a function F whose derivative is the given function f.  In this case, it is called an indefinite integral and is written: 35 constant of integration 𝑥 𝑛 𝑑𝑥 = 1 𝑛 + 1 𝑥 𝑛+1 + 𝐶
  • 36. Calculus 36 constant of integration 𝑥 𝑛 𝑑𝑥 = 1 𝑛 + 1 𝑥 𝑛+1 + 𝐶
  • 37. Calculus  The fundamental theorem of calculus that connects differentiation with the definite integral: if f is a continuous real-valued function defined on a closed interval [a, b], then, once an antiderivative F of f is known, the definite integral of f over that interval is given by 37
  • 39. 39 𝑛𝑥 𝑛−1 𝑑𝑥 = 𝑥 𝑛 + 𝐶 𝑓′ 𝑥 𝑛 = 𝑛𝑥 𝑛−1
  • 41. Physics  The velocity of an object is the rate of change of its position with respect to a frame of reference, and is a function of time. 41 • Kinematic quantities of a classical particle: mass m, position r, velocity v.
  • 42. Instantaneous velocity  Velocity is defined as the rate of change of position with respect to time, which may also be referred to as the instantaneous velocity to emphasize the distinction from the average velocity. 42 S(t) = S0 + v0t S=vt S0 v0 v0t
  • 43. Instantaneous velocity  If we consider v as velocity and x as the displacement (change in position) vector, then we can express the (instantaneous) velocity of a particle or object, at any particular time t, as the derivative of the position with respect to time: 43
  • 44. Acceleration  Acceleration, in physics, is the rate of change of velocity of an object.  An object's acceleration is the net result of any and all forces acting on the object, as described by Newton's Second Law. 44 v(t) = v0 + at v=at v0 v1 a=(v1 – v0)/t
  • 45. Relationship between velocity and acceleration  An object's instantaneous acceleration at a point in time is the slope of the line tangent to the curve of a v vs. t graph at that point.  In other words, acceleration is defined as the derivative of velocity with respect to time: 45
  • 46.  Example of a velocity vs. time graph, and the relationship between velocity v on the y-axis, acceleration a (the three green tangent lines represent the values for acceleration at different points along the curve) and displacement s (the yellow area under the curve.) 46
  • 47. Distance, Velocity and Acceleration  From bottom to top: • an acceleration function a(t); • the integral of the acceleration is the velocity function v(t); • and the integral of the velocity is the distance function s(t). 47
  • 49. Newtos's second law, F=ma  In classical mechanics, for a body with constant mass, the (vector) acceleration of the body's center of mass is proportional to the net force vector (i.e. sum of all forces) acting on it (Newton's second law): 49
  • 50. Uniform acceleration  Calculation of the velocity difference for a uniform acceleration. 50
  • 52. Practice  Write a Win32 bouncing ball program.  Initial position is (100,100) and initial velocity is (10,-10).  Initial acceleration is (0,0).  The ball must bounced in the boundaries of client area. 52
  • 53. Practice2  Add external acceleration when direction keys are pressing. if( ::GetAsyncKeyState( VK_LEFT ) ) { acceleration = acceleration + KVector( -100, 0, 0 ); bAccelModified = true; }//if 53
  • 54. References  https://en.wikipedia.org/wiki/Derivative  https://en.wikipedia.org/wiki/Gradient  https://en.wikipedia.org/wiki/Integral  https://en.wikipedia.org/wiki/Acceleration 54

Editor's Notes

  1. In mathematics, a pathological phenomenon is one whose properties are considered atypically bad or counterintuitive; the opposite is well-behaved. https://en.wikipedia.org/wiki/Pathological_(mathematics)
  2. The component value of a normal vector will range from -1 to +1. This range will be mapped to byte value from 0 to 255. Q. Why most colors of pixel are azure blue? A. (127,127,255)
  3. Q. What ‘s the difference between vector space and vector field? Refer to video in youtube, Vector field, https://www.youtube.com/watch?v=GllBa9Mosos