Presentation is loading. Please wait.

Presentation is loading. Please wait.

Calculus Review Texas A&M University Dept. of Statistics.

Similar presentations


Presentation on theme: "Calculus Review Texas A&M University Dept. of Statistics."— Presentation transcript:

1 Calculus Review Texas A&M University Dept. of Statistics

2 In This Review Differentiation –Differentiation formulas –Examples –Trig. functions Integration –Indefinite integrals –Definite integrals –Trig. Functions

3 Also In This Review Calculus in statistics –Continuous distributions –Expected value and mean –Variance –Median

4 About Notation As is common in statistics, we will use log to mean log e instead of log 10 as is commonly used in mathematics.

5 Differentiation The derivative provides us information about the rate of change of a function. The derivative of a function is also a function. Example: The derivative of the rate function is the acceleration function.

6 Ways to Write the Derivative Given the function f(x), we can write its derivative in the following ways: - f`(x) - f(x) The derivative of x is commonly written dx.

7 Differentiation Formulas The following are common differentiation formulas: - The derivative of a constant is 0. - The derivative of a sum is the sum of the derivatives.

8 Examples - The derivative of a constant is 0. - The derivative of a sum is the sum of the derivatives.

9 More Formulas - The derivative of u to a constant power: - The derivative of e: - The derivative of log:

10 More Examples - The derivative of u to a constant power: - The derivative of e: - The derivative of log:

11 Product and Quotient The product rule and quotient rules are commonly used in differentiation. - Product rule: - Quotient rule:

12 Product and Quotient Examples - Product rule: - Quotient rule:

13 Chain Rule The chain rule allows you to combine any of the differentiation rules we have already covered. - First, do the derivative of the outside and then do the derivative of the inside.

14 Chain Rule Examples

15 Try These

16 Solutions

17 Derivatives of Trig. Functions

18 More About Trig. Functions The chain rule also applies to the trig. functions. - First, do the derivative of the trig. function and then do the derivative of the inside. Example:

19 Integration The integral provides us with information about the area under a function. The indefinite integral of a function is a function, but the definite integral may be a number. Example: The integral of the rate function is the distance function. Integrating over a specified time tells us how far we have gone.

20 Ways to Write the Integral The two forms of integration, indefinite and definite, can be distinguished by the presence of limits on the integral. - indefinite - definite

21 Integration Formulas The following are common integration formulas. *Note these are the ‘opposite’ of the derivative formulas, hence the integral is also called the antiderivative. When doing the indefinite integral, you must add a constant to your function.

22 Integration Formulas - The integral of a sum is the sum of the integrals. - The integral of u -1 :

23 Examples - The integral of a sum is the sum of the integrals. - The integral of u -1 :

24 More Formulas - The integral of u to a constant power: for - The integral of e: - The integral of the derivative:

25 More Examples - The integral of u to a constant power: - The integral of e:

26 Definite Integrals We will use the formulas already given for the indefinite integral, but we will take one additional step. Evaluate the integral at the upper bound and subtract the value of the integral at the lower bound.

27 Definite Integral Examples

28 Try These

29 Solutions

30 Integrals of Trig. Functions

31 Definite Trig. Integral

32 Calculus in Statistics There are many calculus applications in statistics including: - continuous density functions - finding the expected value (mean) of a distribution - finding the variance (standard deviation) of a distribution - finding the median of a distribution

33 Probability Function The probability function of a variable tells us the probability of a certain event. Example: The probability of getting a jack when drawing from a normal deck of cards is 4/52 = 1/13.

34 Continuous Density Function The probability density function (pdf) of a variable tells us the probability of a certain event when a continuum of events is possible. Example: The probability of getting the exact value of π from the set of all real numbers. The pdf of x is usually noted by the lowercase f, i.e. f(x).

35 Cumulative Density Function The cumulative density function (cdf) of a variable tells us the probability for all events in a range. The cdf of x is usually noted by the capital F, i.e. F(x). Example: For a standard normal distribution, F(-0.22)=P(z≤-0.22)=0.4129.

36 Notes About the pdf The pdf of a variable is said to have a value of 0 for any specific event. Example: From our example earlier, we can never get the exact value of π. For all x, f(x)≥0. The integral of the pdf over all events is 1.

37 Notes About the cdf The cdf has values between 0 and 1. The limit as x approaches -∞ is 0 and the limit as x approaches ∞ is 1. The cdf is an increasing function. The cdf can be ‘flat’ for a range of values, so some people prefer to think of it as non-decreasing.

38 Calculus and pdf & cdf The cdf measures the area under the pdf. When given the pdf, we can do an indefinite integral to find the cdf. If given the cdf, we can differentiate to find the pdf. We will also use calculus to find information about the pdf such as the mean, median, and variance.

39 Try This Show that the pdf f(x)=1/6 integrates to 1 when x=(0,6). Find F(x).

40 Answer Show that the pdf f(x)=1/6 integrates to 1 when x=(0,6). Find F(x).

41 Try This One Too Given the cdf F(t)=1-e -t when t=(0,∞), find the pdf and show that it integrates to 1.

42 Another Answer Given the cdf F(t)=1-e -t when t=(0,∞), find the pdf and show that it integrates to 1.

43 Expected Value The expected value is the mean of a distribution. Example: The expected value for the standard normal is 0. The expected value is commonly written as E(X).

44 To find the expected value, we use the following formula. The expected value of f(x)=1/6 where x=(0,6) is Expected Value Formula

45 Median The median of a distribution is the number in the middle. 50% of the area under the distribution is above the value and 50% is below it. The median, like the expected value (mean), is a measure of the center of a distribution. The median of the distribution function f(x) is commonly written.

46 To find the median, we use the following formula. In this formula, M is the median. To find the median of f(x)=1/6 where x=(0,6), we solve the equation above for M. So M= =3. Median Formula

47 The variance of a distribution function tells us about how spread out the possible events are. A large variance means the events are more spread out. The standard deviation is the square root of the variance. The variance is often written as V(X) or Var(X). Variance

48 To find the variance, we use the following formula. E(X), the expected value, is the same as before and E(X 2 ) is computed similarly. Variance Formula

49 To find the variance of f(x)=1/6 where x=(0,6), first find E(X 2 ). Now use the variance formula. Variance Example

50 Try This Find the expected value, median, and variance for the distribution f(y)=2y for y in (0,1).

51 Answer Find the expected value, median, and variance for the distribution f(y)=2y for y in (0,1).

52


Download ppt "Calculus Review Texas A&M University Dept. of Statistics."

Similar presentations


Ads by Google