Lecture Note 2 – Calculus and Probability Shuaiqiang Wang Department of CS & IS University of Jyväskylä

Slides:



Advertisements
Similar presentations
Modeling of Data. Basic Bayes theorem Bayes theorem relates the conditional probabilities of two events A, and B: A might be a hypothesis and B might.
Advertisements

3.2 Inverse Functions and Logarithms 3.3 Derivatives of Logarithmic and Exponential functions.
MA Day 24- February 8, 2013 Section 11.3: Clairaut’s Theorem Section 11.4: Differentiability of f(x,y,z) Section 11.5: The Chain Rule.
Recall Taylor’s Theorem from single variable calculus:
Taylor Series and Taylor’s Theorem When is a function given by its Taylor Series?
Empirical Maximum Likelihood and Stochastic Process Lecture VIII.
Gradient Methods April Preview Background Steepest Descent Conjugate Gradient.
CS CS 175 – Week 8 Bézier Curves Definition, Algorithms.
1 Learning Entity Specific Models Stefan Niculescu Carnegie Mellon University November, 2003.
Descriptive statistics Experiment  Data  Sample Statistics Experiment  Data  Sample Statistics Sample mean Sample mean Sample variance Sample variance.
Gradient Methods May Preview Background Steepest Descent Conjugate Gradient.
Lecture 38 Constrained Optimization
Economics 214 Lecture 29 Multivariate Calculus. Homogeneous Function.
G. Cowan Lectures on Statistical Data Analysis 1 Statistical Data Analysis: Lecture 8 1Probability, Bayes’ theorem, random variables, pdfs 2Functions of.
Gradient Methods Yaron Lipman May Preview Background Steepest Descent Conjugate Gradient.
Economics 214 Lecture 39 Constrained Optimization.
ISM 206 Lecture 6 Nonlinear Unconstrained Optimization.
Numerical Solutions of Differential Equations Taylor Methods.
Calculus 9th edition Content
(MTH 250) Lecture 24 Calculus. Previous Lecture’s Summary Multivariable functions Limits along smooth curves Limits of multivariable functions Continuity.
S C alculu. 1. Preliminaries 2. Functions and Limits 3. The Derivative 4. Applications of the Derivative 5. The Integral 6. Applications of the Integral.
9.2 Taylor Series Quick Review Find a formula for the nth derivative of the function.
Chapter 12 Review of Calculus and Probability
Math 1304 Calculus I 2.5 – Continuity. Definition of Continuity Definition: A function f is said to be continuous at a point a if and only if the limit.
Random Sampling, Point Estimation and Maximum Likelihood.
Polynomial Approximations BC Calculus. Intro: REM: Logarithms were useful because highly involved problems like Could be worked using only add, subtract,
Consider the following: Now, use the reciprocal function and tangent line to get an approximation. Lecture 31 – Approximating Functions
Logistic Regression Debapriyo Majumdar Data Mining – Fall 2014 Indian Statistical Institute Kolkata September 1, 2014.
7-1 Introduction The field of statistical inference consists of those methods used to make decisions or to draw conclusions about a population. These.
SECTION 2.2 Finding Limits Graphically & Numerically.
Maxima and minima.
Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.
MECN 3500 Lecture 4 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
2.1 Rates of Change and Limits. What you’ll learn about Average and Instantaneous Speed Definition of Limit Properties of Limits One-Sided and Two-Sided.
9.7 and 9.10 Taylor Polynomials and Taylor Series.
CS 782 – Machine Learning Lecture 4 Linear Models for Classification  Probabilistic generative models  Probabilistic discriminative models.
CS Statistical Machine learning Lecture 10 Yuan (Alan) Qi Purdue CS Sept
AP Calculus 2005: 240,000 Currently growing at ~13,000/year.
Chapter 3 Exponential and Logarithmic Functions. Chapter 3.1 Exponential Functions.
Finite Difference Methods Definitions. Finite Difference Methods Approximate derivatives ** difference between exact derivative and its approximation.
MATH 6B CALCULUS II 11.3 Taylor Series. Determining the Coefficients of the Power Series Let We will determine the coefficient c k by taking derivatives.
9.3 Taylor’s Theorem: Error Analysis for Series Tacoma Narrows Bridge: November 7, 1940 Greg Kelly, Hanford High School, Richland, Washington.
9.3 Taylor’s Theorem Quick Review Tell whether the function has derivatives of all orders at the given values of a.
Remainder Theorem. The n-th Talor polynomial The polynomial is called the n-th Taylor polynomial for f about c.
1 3.2 The Mean Value Theorem. 2 Rolle’s Theorem 3 Figure 1 shows the graphs of four such functions. Figure 1 (c) (b) (d) (a) Examples:
Point Estimation of Parameters and Sampling Distributions Outlines:  Sampling Distributions and the central limit theorem  Point estimation  Methods.
MA Day 34- February 22, 2013 Review for test #2 Chapter 11: Differential Multivariable Calculus.
Outline of MA 111 (4/29/09) Pre-Calculus – Functions Different ways to represent functions New functions from old Elementary functions: algebraic (power.
G. Cowan Lectures on Statistical Data Analysis Lecture 9 page 1 Statistical Data Analysis: Lecture 9 1Probability, Bayes’ theorem 2Random variables and.
9.3 Taylor’s Theorem: Error Analysis yes no.
Taylor series are used to estimate the value of functions (at least theoretically - now days we can usually use the calculator or computer to calculate.
Do Now: #18 and 20 on p.466 Find the interval of convergence and the function of x represented by the given geometric series. This series will only converge.
9.5 Alternating Series. An alternating series is a series whose terms are alternately positive and negative. It has the following forms Example: Alternating.
Numerical Analysis – Data Fitting Hanyang University Jong-Il Park.
Taylor and MacLaurin Series Lesson 8.8. Taylor & Maclaurin Polynomials Consider a function f(x) that can be differentiated n times on some interval I.
Chapter 4 : Integral Calculus. Introduction: Anti- derivatives if given derivative of a function we can work backwards to find the function from which.
Chapter 5 Logarithmic, Exponential, and Other Transcendental Functions.
Mathboat.com.
The Taylor Polynomial Remainder (aka: the Lagrange Error Bound)
Policy Gradient in Continuous Time
Sec 3.1: DERIVATIVES of Polynomial and Exponential
Chapter 8.7 Taylor Polynomials and Approximations
Find the Taylor polynomial {image} for the function f at the number a = 1. f(x) = ln(x)
Taylor Series and Maclaurin Series
11.1 – Polynomial Approximations of Functions
30 m 2000 m 30 m 2000 m. 30 m 2000 m 30 m 2000 m.
Lecture 21 More Approximation Algorithms
Exponential and Logarithmic Functions
Lecture 38 Constrained Optimization
Geometric Sequences and Series
Presentation transcript:

Lecture Note 2 – Calculus and Probability Shuaiqiang Wang Department of CS & IS University of Jyväskylä

Part 1: Calculus

Definition

Polynomial Function

Proof: Polynomial Function

Logarithm Function

Proof: Logarithm Function

Exponential Function Example:

Proof: Exponential Function

Exponential Function

Taylor Series

Partial Derivative and Gradient For example

Taylor Approximation Taylor Approximation Taylor Series

First-Order Taylor Approximation 1 dimension

Gradient Descent Optimization

Gradient Descent Algorithm

Part 2: Probability

Independent Events

Conditional Probability A person goes to sauna 6 times during the last 10 days, at most once per day. It snowed 8 days during the last 10 days. It snowed 4 days during the 6 sauna days. P(sauna | snow) = ? P(snow | sauna) = ? Example

Bayes’ Theorem Since Then

Bayes’ Theorem

Maximum Likelihood Estimation

Optimization

Any Question?