Calculus S. Awad, Ph.D. M. Corless, M.S.E.E. D. Cinpinski E.C.E. Department University of Michigan-Dearborn Math Review with Matlab: Limits.

Slides:



Advertisements
Similar presentations
Differential Equations
Advertisements

LIMITS What is Calculus? What are Limits? Evaluating Limits
Complex Numbers.
Complex Numbers S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Math Review with Matlab: Complex Math.
Chapter 11: Symbolic Computing for Calculus
Solving Algebraic Equations
Calculus S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Math Review with Matlab: Differentiation.
Section 7.2: Direction Fields and Euler’s Methods Practice HW from Stewart Textbook (not to hand in) p. 511 # 1-13, odd.
Differential Equations Math Review with Matlab: Finding Solutions to Differential Equations S. Awad, Ph.D. M. Corless, M.S.E.E. D. Cinpinski E.C.E. Department.
Calculus S. Awad, Ph.D. M. Corless, M.S.E.E. D. Cinpinski E.C.E. Department University of Michigan-Dearborn Math Review with Matlab: Taylor’s Series.
Definition of Limit Lesson 2-2.
. Blast from the Past Find point(s) of intersection
Sec. 1.2: Finding Limits Graphically and Numerically.
Complex Power – Background Concepts
Numerical Operations S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Introduction to Matlab: Numerical Integration.
Math Review with Matlab: Application: Solving Differential Equations
INTEGRALS 5. INTEGRALS We saw in Section 5.1 that a limit of the form arises when we compute an area.  We also saw that it arises when we try to find.
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 Hawkes Learning Systems. All rights reserved. Hawkes Learning Systems: College Algebra.
Solving Algebraic Equations S. Awad, Ph.D. M. Corless, M.S.E.E. D. Cinpinski E.C.E. Department University of Michigan-Dearborn Math Review with Matlab:
S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan Math Review with Matlab: Fundamentals Symbolic Math Toolbox.
S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Laplace Transform Math Review with Matlab: Calculating the Laplace.
The Secant-Line Calculation of the Derivative
Introduction A step function is a function that is a series of disconnected constant functions. This type of function is also referred to as a stair.
Jon Piperato Calculus Grades 11-12
0.1 Functions and Their Graphs. Real Numbers A set is a collection of objects. The real numbers represent the set of numbers that can be represented as.
3208 Unit 2 Limits and Continuity
LIMITS An Introduction to Calculus
Finding Limits Graphically and Numerically An Introduction to Limits Limits that Fail to Exist A Formal Definition of a Limit.
 A continuous function has no breaks, holes, or gaps  You can trace a continuous function without lifting your pencil.
Warm Up. Getting Started Use your calculator to graph the following equation: What do you notice about the graph? Look closely!!!! Change your window.
Business Mathematics MTH-367 Lecture 21. Chapter 15 Differentiation.
APPLICATIONS OF DIFFERENTIATION Indeterminate Forms and L’Hospital’s Rule APPLICATIONS OF DIFFERENTIATION In this section, we will learn: How to.
Chapter 3 Limits and the Derivative Section 1 Introduction to Limits.
Copyright © Cengage Learning. All rights reserved. 3 Introduction to the Derivative.
Copyright © 2015, 2011, 2007 Pearson Education, Inc. 1 1 Chapter 8 Rational Exponents, Radicals, and Complex Numbers.
1.1 Variables and Expressions Definition of terms: 1 ). A variable is a letter or symbol used to represent a value that can change. 2). A constant is a.
Chapter 11 Calculus. Symbolic Expressions Required: > Symbolic Math Toolbox > Use Symbolic Variables.
MCV4U The Limit of a function The limit of a function is one of the basic concepts in all of calculus. They arise when trying to find the tangent.
Advanced Engineering Mathematics, 7 th Edition Peter V. O’Neil © 2012 Cengage Learning Engineering. All Rights Reserved. CHAPTER 4 Series Solutions.
INDETERMINATE FORMS AND L’HOSPITAL’S RULE
The Definite Integral Objective: Introduce the concept of a “Definite Integral.”
INTEGRALS We saw in Section 5.1 that a limit of the form arises when we compute an area. We also saw that it arises when we try to find the distance traveled.
5 INTEGRALS.
Chapter 3 Limits and the Derivative Section 1 Introduction to Limits.
Example Example 2 - Extraneous Solution.
Calculus Limits Lesson 2. Bell Activity A. Use your calculator graph to find:
An Introduction to MathCAD More Symbolic Maths And First Steps in Calculus.
STROUD Worked examples and exercises are in the text PROGRAMME F3 EXPRESSIONS and EQUATIONS.
Simplify Radical Expressions Using Properties of Radicals.
Functions (Section 1-2) Essential Question: How do you find the domain and range of a function? Students will write a description of domain and range.
AP CALCULUS AB REVIEW OF LIMITS. To Find a Limit Algebraically To evaluate a limit algebraically as x approaches a finite number c, substitute c into.
Essential Question: How do we Evaluate Algebraic Expressions? (+ & -) U3D4.
Essential Question: How do we Evaluate Algebraic Expressions? (● & /) U3D5.
Unit 4 – Functions Combination of functions, Composite functions Mr. Solorzano – Algebra 2.
STROUD Worked examples and exercises are in the text 1 STROUD Worked examples and exercises are in the text Programme F3: Expressions and equations PROGRAMME.
What is “calculus”? What do you learn in a calculus class?
Simplify Radical Expressions Using Properties of Radicals
Chapter Functions.
What is “calculus”? What do you learn in a calculus class?
Introduction to Programming for Mechanical Engineers (ME 319)
Definition of a Polynomial Inequality
The Sky is the Limit! Or is it?
1.1 – Limits: A Numerical and Graphical Approach
Warm-up: Solve the inequality and graph the solution set. x3 + 2x2 – 9x  18 HW: pg (4, 5, 7, 9, 11, 30, 34, 46, 52, 68, 80, 81, 82, 84, 86, 88)
Rational Exponents, Radicals, and Complex Numbers
What is “calculus”? What do you learn in a calculus class?
1.4 Evaluating Algebraic Expressions.
4. Algebraic Limits.
Introduction to Limits
Presentation transcript:

Calculus S. Awad, Ph.D. M. Corless, M.S.E.E. D. Cinpinski E.C.E. Department University of Michigan-Dearborn Math Review with Matlab: Limits

Calculus:Limits 2 n Why Use Limits? Why Use Limits? n Determinate and Indeterminate Functions Determinate and Indeterminate Functions n General Limits General Limits n Limit Command Limit Command n Indeterminate Example Indeterminate Example n Determinate Example Determinate Example n Discontinuous Example Discontinuous Example n Restricted Constant Example Restricted Constant Example

Calculus:Limits 3 Why Use Limits? n Many functions are not defined at certain points n However values of the function arbitrarily close to these points may be well defined n Limits are often used to determine the value of a function around (close to) an undefined point n Limits can also be used to approximate values around points of discontinuity in a function

Calculus:Limits 4 Determinate and Indeterminate n A limit is said to be Determinate if the function is defined at the limit point The limit is still considered determinate if the result f(a)=  n A limit is said to be Indeterminate if the function is NOT defined at the limit point n Two common examples of indeterminate limits include:

Calculus:Limits 5 General Limits n In general, the limit at an indeterminate limit point can be evaluated as: Where  is an infinitesimally small number and: As a   becomes arbitrarily close to a, then f(a  ) becomes arbitrarily close to the limit l

Calculus:Limits 6 Right and Left Limits Consider  is an infinitesimally small positive number The Limit from the Right is defined as: The Limit from the Left is defined as: n If the terms right or left are not specified when evaluating a limit, it is assumed that: n If they are not equal then the right or left limit must be specified before evaluating

Calculus:Limits 7 Limit Command limit(f,x,a) takes the limit of the symbolic expression f as x approaches a limit(f,a) uses findsym(f) as the independent variable and takes the limit as it approaches a limit(f) uses findsym(f) as the independent variable and takes the limit as it approaches 0 limit(f,x,a,'left') takes the limit from the left limit(f,x,a,'right') takes the limit from the right

Calculus:Limits 8 Indeterminate Example n Analyze the function: n f(x) is obtained by dividing the two continuously defined functions plotted to the right n However f(x) is undefined at x = 0 since:

Calculus:Limits 9 Defined Limit Around 0 n Even though f(x) is undefined at x=0 n f(x) is defined as x approaches 0 from the left n f(x) is defined as x approaches 0 from the right Undefined Defined

Calculus:Limits 10 Evaluate Limit Using Delta n The limit can be determined by setting delta to a small value and interpreting the results » delta=sym('1/1000'); » lim_left =eval(sym('sin(-delta)/(-delta)')); » lim_right=eval(sym('sin(delta)/delta')); » vpa(lim_left,10) ans = » vpa(lim_right,10) ans =

Calculus:Limits 11 Verify Using Limit Command Use the limit command to verify the previous results » f_zero=sin(0)/0 f_zero = NaN n The limit from the left is equal to the limit from the right Indeterminate » syms x » f=sin(x)/x; » limit_left=limit(f,x,0,'left') limit_left = 1 » limit_right=limit(f,x,0,'right') limit_right = 1 » limit=limit(f) limit = 1

Calculus:Limits 12 Plot of sin(x) / x The ezplot command can be used to plot the function and graphically verify the result » ezplot(f,[-15,15]) » grid on

Calculus:Limits 13 Determinate Limit Example n Given the determinate symbolic function f: n Use Matlab to find the limit of f as x approaches 0 n Use Matlab to find the limit of f as x approaches a

Calculus:Limits 14 » syms a x b » f=sin(a*x+b); Limit as x approaches 0 n Since x is the Matlab default independent variable and the default limit point is 0 the limit can simply be found using: » lim1 = limit(f) lim2 = sin(b)

Calculus:Limits 15 Limit as x approaches a n Since x is the Matlab default independent variable and the default limit point is 0 the limit can simply be found using: » lim2=limit(f1,a) lim2 = sin(a^2+b) » lim2=limit(f1,x,a) lim2 = sin(a^2+b) n Of course the independent variable can be explicitly specified to return the same results

Calculus:Limits 16 Discontinuous Example n Given the function f(x): n Graphically verify the results by using Matlab to plot f(x) over the region of interest n Use Matlab to determine the following limits of f as x approaches -1, 0, and +1

Calculus:Limits 17 Limits at Defined Points n Use Matlab to evaluate the limits at x=-1 and x=0 » syms f x » f=1/(x-1); » f_neg1=limit(f,x,-1) f_neg1 = -1/2 » f_zero=limit(f,x,0) f_zero = n Matlab returns a numerical result for each, implying that the limits from the right and left are the same

Calculus:Limits 18 Limit at Discontinuity n Finding the limit as x approaches 1 returns NaN (Not a Number) » f_pos1=limit(f,x,1) f_pos1 = NaN Discontinuity at x=1 n This implies that the function is discontinuous at x=1 and that the limit from the left does not equal the limit from the right

Calculus:Limits 19 Left and Right Limits n Must explicitly find the limit from the left and from the right » f_pos1_lft=limit(f,x,1,'left') f_pos1_lft = -inf » f_pos1_rght=limit(f,x,1,'right') f_pos1_rght = inf

Calculus:Limits 20 Verify Results n Use Matlab to plot f(x) and verify the previous results » ezplot(f) » axis([ ]) » grid on

Calculus:Limits 21 Restriction on Constants n Sometimes it is useful to put restrictions on symbolic constants when evaluating the limits on symbolic expressions x=sym('x','real') restricts x to be real x=sym('x','positive') restricts x to be real and positive x=sym('x','unreal') puts no restrictions on x and can be used to undo any previous restrictions

Calculus:Limits 22 Restricted Constant Example n Given the continuous function of: n Determine the limit of f(x) as x approaches infinity for the following cases: u Where k 2 is any real number u Where k 2 is a positive real number n We will not discuss the case where k 2 is considered complex

Calculus:Limits 23 Limit for Real k 2 n If k 2 is assumed to be any real number, the limit is dependent upon the sign of k 2 » syms k1 k2 x » f=k1*atan(k2*x); » k2=sym('k2','real'); » lim_k2real = limit(f,x,inf) lim_k2real = 1/2*signum(k2)*pi*k1

Calculus:Limits 24 Limit for Positive k 2 » k2=sym('k2','positive'); » lim_k2pos = limit(f,x,inf) lim_k2pos = 1/2*pi*k1 n The limit as x goes to infinity when k 2 is known to be a positive real number returns a simpler result n The result is consistent with the more general result n This may be useful when simplifying symbolic expressions

Calculus:Limits 25 Summary n General use of limits n Determinate and indeterminate functions n Limits from the right and left n Evaluating limits of symbolic expressions n Restrictions on symbolic constants