Calculus Review GLY-5826. Slope Slope = rise/run =  y/  x = (y 2 – y 1 )/(x 2 – x 1 ) Order of points 1 and 2 not critical Points may lie in any quadrant:

Slides:



Advertisements
Similar presentations
Graphical Analysis of Data
Advertisements

Slopes and Areas Frequently we will want to know the slope of a curve at some point. Or an area under a curve. We calculate slope as the change in height.
Partial Derivatives Definitions : Function of n Independent Variables: Suppose D is a set of n-tuples of real numbers (x 1, x 2, x 3, …, x n ). A real-valued.
ESSENTIAL CALCULUS CH11 Partial derivatives
Lesson 1.2 Calculus. Mathematical model: A mathematical description of a real world situation.
Straight Line (2) Composite Functions (1) Higher Past Papers by Topic 2015 Onwards Higher Past Papers by Topic 2015 Onwards Differentiation.
Midterm Review. Calculus Derivative relationships d(sin x)/dx = cos x d(cos x)/dx = -sin x.
Rectangular Coordinate System
Basic MATLAB. Matlab Post-processer Graphics Analytical solution comparisons.
Ch 3.5: Nonhomogeneous Equations; Method of Undetermined Coefficients
Chapter 2 Straight line motion Mechanics is divided into two parts: Kinematics (part of mechanics that describes motion) Dynamics (part of mechanics that.
7 INVERSE FUNCTIONS.
Clicker Question 1 What is the derivative of f (x ) = e3x sin(4x ) ?
Partial Derivatives and the Gradient. Definition of Partial Derivative.
Slopes and Areas Frequently we will want to know the slope of a curve at some point. Or an area under a curve. We calculate area under a curve as the sum.
Functions of Several Variables Copyright © Cengage Learning. All rights reserved.
Calculus Review. Slope Slope = rise/run =  y/  x = (y 2 – y 1 )/(x 2 – x 1 ) Order of points 1 and 2 abitrary, but keeping 1 and 2 together critical.
Straight Line (11) Composite Functions (12) Higher Past Papers by Topic Higher Past Papers by Topic Differentiation.
Parallel lines have same gradient
Add, Subtract, Multiply Polynomials
Derivatives and Differential Equations
By: Chris Tuggle and Ashley Spivey Period: 1
The Straight Line Functions and Graphs Composite Functions Trigonometry Recurrence Relations Basics before Differentiation Differentiation 1 Polynomials.
Chemistry 330 The Mathematics Behind Quantum Mechanics.
Calculus Section 2.2 Basic Differentiation Rules and Rates of Change.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Introduction to MATLAB 7 for Engineers William J. Palm.
Formal Computational Skills Week 1: Functions. Overview By the end you should: Be able to evaluate a function Know how to visualise a function Know what.
Slide 1  2005 South-Western Publishing Appendix 2A Differential Calculus in Management A function with one decision variable, X, can be written as Y =
C1: Simple Differentiation
Chapter 8 Multivariable Calculus Section 2 Partial Derivatives.
ME 2304: 3D Geometry & Vector Calculus Dr. Faraz Junejo Gradient of a Scalar field & Directional Derivative.
Second Order Partial Derivatives
FE Math Exam Tutorial If you were not attending today’s evening FE session, your plan was to 1.Binge on Netflix 2.Spend with your.
Warm-up It’s as easy as 1-2-3! 1)Start by separating variables. 2)Integrate both sides. 3) Solve for dy/dx. Solve = k(y – 80) This represents Newton’s.
Main Menu Salas, Hille, Etgen Calculus: One and Several Variables Copyright 2007 © John Wiley & Sons, Inc. All rights reserved. The Derivative a. Tangent.
C1:Indefinite Integration
SAT Prep. Basic Differentiation Rules and Rates of Change Find the derivative of a function using the Constant Rule Find the derivative of a function.
Math Review and Lessons in Calculus
Algebra 1 Mini-Lessons 3x2y(6y + 12xy − 9x) 3(6x2y2 + 12x3y3 − 9x3y)
Calculus Review GLY Slope Slope = rise/run =  y/  x = (y 2 – y 1 )/(x 2 – x 1 ) Order of points 1 and 2 not critical, but keeping them together.
Linear Expressions Chapter 3. What do you know about Linear Relations?
Understanding the difference between an engineer and a scientist There are many similarities and differences.
Calculus Differentiation. Calculus Differentiation dy/dx = y.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. A Concise Introduction to MATLAB ® William J. Palm III.
6.1: DIFFERENTIAL EQUATIONS AND SLOPE FIELDS. DEFINITION: DIFFERENTIAL EQUATION An equation involving a derivative is called a differential equation.
Multivariable Calculus f (x,y) = x ln(y 2 – x) is a function of multiple variables. It’s domain is a region in the xy-plane:
Section 13.3 Partial Derivatives. To find you consider y constant and differentiate with respect to x. Similarly, to find you hold x constant and differentiate.
7-1 Integer Exponents 7-2 Powers of 10 and Scientific Notation 7-3 Multiplication Properties of Exponents 7-4 Division Properties of Exponents 7-5 Fractional.
Add/Subtract Polynomials Find like terms: same variable, same exponents Add/Subtract the coefficient (the number in front of the variable) Do NOT change.
Guided By:- PROF. DIPESH M. BHOGAYATA Prepared By:- Enrollment No ( Civil Engineering ) First Order & First Degree Ordinary Differential.
HIGHER MATHEMATICS Unit 2 - Outcome 2 Integration.
AP Calculus AB Review Part One. Limits  You should be able to  Understand limits, including asymptotic and unbounded behavior  Calculate limits using.
DIFFERENCE QUOTIENT, DERIVATIVE RULES, AND TANGENT LINES RIZZI – CALC BC.
Introduction to Linear Equations
Section 14.2 Computing Partial Derivatives Algebraically
FE Exam Tutorial
Equations of Lines.
Computer Graphics Lecture 37
Problem of the Day (Calculator Allowed)
Calculus Review.
Chapter 7 Functions and Graphs.
Part (a) Keep in mind that dy/dx is the SLOPE! We simply need to substitute x and y into the differential equation and represent each answer as a slope.
Fundamental Theorem of Calculus Indefinite Integrals
Implicit Differentiation
Basic MATLAB.
Integration review.
Week 3 Solve simultaneously 2y = 3x + 1 9x2 – 4y2 + 9x – 4y = 1
Part (a) Keep in mind that dy/dx is the SLOPE! We simply need to substitute x and y into the differential equation and represent each answer as a slope.
Differential Equations
2.5 Basic Differentiation Properties
Presentation transcript:

Calculus Review GLY-5826

Slope Slope = rise/run =  y/  x = (y 2 – y 1 )/(x 2 – x 1 ) Order of points 1 and 2 not critical Points may lie in any quadrant: slope will work out Leibniz notation for derivative based on  y/  x; the derivative is written dy/dx

Exponents x 0 = 1

Derivative of ax n y = ax n derivative of y = ax n with respect to x: –dy/dx = a n x (n-1)

Derivative of a line y = ax + b: Slope a and y-axis intercept b b is a constant -- think of it as bx 0 –its derivative is: 0bx -1 = 0 derivative of y = ax n with respect to x: –dy/dx = a n x (n-1) For a straight line, n = 1 so –dy/dx = a 1 x (0), or because x 0 = 1, –dy/dx = a derivative of y = ax + b with respect to x: –dy/dx = a –dy/dx =  y/  x

Derivative of a polynomial In differential Calculus, we consider the slopes of curves rather than straight lines For polynomial y = ax n + bx p + cx q + … –derivative with respect to x is –dy/dx = a n x (n-1) + b p x (p-1) + c q x (q-1) + …

Example y = ax n + bx p + cx q + … dy/dx = a n x (n-1) + b p x (p-1) + c q x (q-1) + …

Numerical Derivatives Slope between points Examples

Derivative of Sine and Cosine sin(0) = 0 period of both sine and cosine is 2  d(sin(x))/dx = cos(x) d(cos(x))/dx = -sin(x)

Higher Order Derivatives Second derivative: –d 2 y/dx 2 = d(dy/dx)/dx –Note positions of the ‘twos’; dimensionally consistent Practical: –Take derivative –Take derivative again –d 2 (x 3 )/dx 2 = d(3x 2 )/dx = 6x

Partial Derivatives Functions of more than one variable Example: h(x,y) = x 4 + y 3 + xy

Partial Derivatives Partial derivative of h with respect to x at a y location y 0 Notation ∂ h/ ∂ x| y=y0 Treat ys as constants If these constants stand alone, they drop out of the result If they are in multiplicative terms involving x, they are retained as constants

Partial Derivatives Example: –h(x,y) = x 4 + y 3 + xy – ∂ h/ ∂ x = 4x 3 + y – ∂ h/ ∂ x| y=y 0 = 4x 3 + y 0

Partial Derivatives Example: –h(x,y) = x 4 + y 3 + xy – ∂ h/ ∂ y = 3y 2 + x – ∂ h/ ∂ y| x=x 0 = 3y 2 + x 0

WHY?

Gradients del C (or grad C) Darcy’s Law:

Basic MATLAB

Matlab Programming environment Post-processer Graphics Analytical solution comparisons

Vectors >> a=[ ] a = >> a' ans =

Autofilling and addressing Vectors > a=[1:0.2:3]' a = >> a(2:3) ans =

xy Plots >> x=[ ]; >> y=[ ]; >> plot(x,y)

Matrices >> b=[ ; ] b = >> b' ans =

Matrices >> b=2.2*ones(4,4) b =

Reshape >> a=[1:9] a = >> bsquare=reshape(a,3,3) bsquare = >>

Load a = load(‘filename’); (semicolon suppresses echo)

If if(1) … else … end

For for i = 1:10 … end

BMP Output bsq=rand(100,100); %bmp1 output e(:,:,1)=1-bsq; %r e(:,:,2)=1-bsq; %g e(:,:,3)=ones(100,100); %b imwrite(e, 'junk.bmp','bmp'); image(imread('junk.bmp')) axis('equal')

Quiver (vector plots) >> scale=10; >> d=rand(100,4); >> quiver(d(:,1),d(:,2),d(:,3),d(:,4),scale)

Contours h=[…]; Contour(h)

Contours w/labels h=[…]; [c,d]=contour(h); clabel(c,d), colorbar

Numerical Partial Derivatives slope between points MATLAB –h=[]; –[dhdx,dhdy]=gradient(h) –contour([1:20],[1:20],h) –hold –quiver([1:20],[1:20],-dhdx,-dhdy)

Gradient Function and Streamlines [dhdx,dhdy]=gradient(h); [Stream]= stream2(-dhdx,- dhdy,[51:100],50*ones(50,1)); streamline(Stream) (This is for streamlines starting at y = 50 from x = 51 to 100 along the x axis. Different geometries will require different starting points.)

Stagnation Points

Integral Calculus

Integral Calculus: Special Case