570 likes | 643 Views
Chabot Mathematics. §2.1 Basics of Differentiation. Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege.edu. 1.6. Review §. Any QUESTIONS About §1.6 → OneSided -Limits & Continuity Any QUESTIONS About HomeWork §1.6 → HW-06. §2.1 Learning Goals.
E N D
Chabot Mathematics §2.1 Basics ofDifferentiation Bruce Mayer, PE Licensed Electrical & Mechanical EngineerBMayer@ChabotCollege.edu
1.6 Review § • Any QUESTIONS About • §1.6 → OneSided-Limits & Continuity • Any QUESTIONS About HomeWork • §1.6 → HW-06
§2.1 Learning Goals • Examine slopes of tangent lines and rates of change • Define the derivative, and study its basic properties • Compute and interpret a variety of derivatives using the definition • Study the relationship between differentiability and continuity
Why Calculus? • Calculus divides into the Solution of TWO Main Questions/Problems • Calculate the SLOPE of a CURVED-Line Function-Graph at any point • Find the AREA under a CURVED-Line Function-Graph between any two x-values
Calculus Pioneers • Sir Issac Newton Solved the Curved-Line Slope Problem • See Newton’s MasterWorkPhilosophiaeNaturalis Principia Mathematica (Principia) • Read it for FREE: http://archive.org/download/newtonspmathema00newtrich/newtonspmathema00newtrich.pdf • Gottfried Wilhelm von Leibniz Largely Solved the Area-Under-the-Curve Problem
Calculus Pioneers • Newton (1642-1727) • Leibniz (1646-1716)
Origin of Calculus • The word Calculus comes from the Greek word for PEBBLES • Pebbles were used for counting and doing simple algebra…
“Calculus” by Google Answers • “A method of computation or calculation in a special notation (like logic or symbolic logic). (You'll see this at the end of high school or in college.)” • “The hard deposit of mineralized plaque that forms on the crown and/or root of the tooth. Also referred to as tartar.”
“Calculus” by Google Answers • “The branch of mathematics involving derivatives and integrals.” • “The branch of mathematics that is concerned with limits and with the differentiationand integrationof functions”
“Calculus” by B. Mayer • Use “Regular” Mathematics (Algebra, GeoMetry, Trigonometry) and see what happens to the Dependent quantity (usually y) when the Independent quantity (usually x) becomes one of: • Really, Really TINY • Really, Really BIG (in Absolute Value)
Calculus Controversy • Who was first; Leibniz or Newton? • We’ll Do DERIVATIVES First Derivatives Integrals
What is a Derivative? • A function itself • A Mathematical Operator (d/dx) • The rate of change of a function • The slope of the line tangent to the curve
The TANGENT Line single point of Interest
Slope of a Secant (Chord) Line • Slope, m, of Secant Line (− −) = Rise/Run
Move x Closer & Closer • Note that distance h is getting Smaller
Secant Line for Decreasing h • The slope of the secant line gets closer and closer to the slope of the tangent line...
Limiting Behavior • The slope of the secant lines get closer to the slope of the tangent line... ...as the values of hget closer to Zero • thisTranslates to…
The Tangent Slope Definition • The Above Equation yields the SLOPE of the CURVE at the Point-of-Interest • With a Tiny bit of Algebra
Example Parabola Slope want the slope where x=2
Example Parabola Slope • Use the Slope-Calc Definition 0 0
SlopeCalc ≡ DerivativeCalc • The derivative IS the slope of the line tangent to the curve (evaluated at a given point) • The Derivative (or Slope) is a LIMIT • Once you learn the rules of derivatives, you WILL forget these limit definitions • A cool site for additional explanation: • http://archives.math.utk.edu/visual.calculus/2/
Delta (∆) Notation • Generally in Math the Greek letter ∆ represents a Difference (subtraction) • Recall the Slope Definition • SeeDiagramat Right
Delta (∆) Notation • From The Diagram Notice that at Pt-A the Chord Slope, AB, approaches the Tangent Slope, AC, as ∆x gets smaller • Also: • Then → 0
∆→d Notation • Thus as ∆x→0 The Chord Slope of AB approaches the Tangent slope of AC • Mathematically • Now by Math Notation Convention: • Thus
∆→d Notation • The Difference between ∆x & dx: • ∆x ≡ a small but FINITE, or Calcuable, Difference • dx ≡ an Infinitesimally small, Incalcuable, Difference • ∆x is called a DIFFERENCE • dx is called a Differential • See the Diagram above for the a Geometric Comparison of • ∆x, dx, ∆y, dy
Derivative is SAME as Slope • From a y = f(x) graph we see that the infinitesimal change in y resulting from an infinitesimal change in x isthe Slope at the point of interest. Generally: • The Quotient dy/dx is read as: “The DERIVATIVE of y with respect to x” • Thus “Derivative” and “Slope” are Synonymous
d → Quantity AND Operator • Depending on the Context “d” can connote a quantity or an operator • Recall from before the example y = x2 • Recall the Slope Calc • We could also “take the derivative of y = x2 with respect to x using the d/dx OPERATOR
d → Quantity AND Operator • dy & dx (or d?) Almost Always appears as a Quotient or Ratio • d/dx or (d/d?) acts as an OPERATOR that takes the Base-Function and “operates” on it to produce the Slope-Function; e.g.
Prime Notation • Writing dy/dx takes too much work; need a Shorthand notation • By Mathematical Convention define the “Prime” Notation as • The “Prime” Notation is more compact • The “d” Notation is more mathematically Versatile • I almost always recommend the “d” form
Average Rate of Change • The average rate of change of function f on the interval [a,b] is given by • Note that this is simply the Secant, or Chord, slope of a function between two points (x1,y1) = (a,f(a)) & (x2,y2) = (b,f(b))
Example Avg Rate-of-Change • For f(x) = y = x2 find the average rate of change between x = 3 (Pt-a) and x = 5 (Pt-b) • By the Chord Slope
Example Avg Rate-of-Change ChordSlope
% Bruce Mayer, PE % MTH-15 • 01Jul13 % XY_fcn_Graph_BlueGreenBkGnd_Solid_Marker_Template1306.m % % The Limits xmin = -3; xmax1 = 1; xmin2 = xmax1; xmax = 3; ymin = -4; ymax = 10; % The FUNCTION x1 = linspace(xmin,xmax1,500); y1 = 1-x1.^2; x2 = linspace(xmin2,xmax,500); y2 = 3*x2+1; % The Total Function by appending x = [x1, x2]; y = [y1, y2]; % % The ZERO Lines zxh = [xminxmax]; zyh = [0 0]; zxv = [0 0]; zyv = [yminymax]; % % the 6x6 Plot axes; set(gca,'FontSize',12); whitebg([0.8 1 1]); % Chg Plot BackGround to Blue-Green plot(x1,y1,'b', x2,y2,'b', zxv,zyv, 'k', zxh,zyh, 'k', x1(end),y1(end), 'ob', 'MarkerSize', 12, 'MarkerFaceColor', 'b',... 'LineWidth', 3),axis([xminxmaxyminymax]),... grid, xlabel('\fontsize{14}x'), ylabel('\fontsize{14}f(x) \rightarrowPieceWise'),... title(['\fontsize{14}MTH15 • Bruce Mayer, PE • 2-Sided Limit',]),... annotation('textbox',[.51 .05 .0 .1], 'FitBoxToText', 'on', 'EdgeColor', 'none', 'String', 'XYfcnGraphBlueGreenBkGndSolidMarkerTemplate1306.m','FontSize',7) hold on plot(x2(1),y2(1), 'ob', 'MarkerSize', 12, 'MarkerFaceColor', [0.8 1 1], 'LineWidth', 3) set(gca,'XTick',[xmin:1:xmax]); set(gca,'YTick',[ymin:1:ymax]) hold off MATLAB Code
Slope vs. Rate-of-Change • In general the Rate-of-Change (RoC) is simply the Ratio, or Quotient, of Two quantities. Some Examples: • Pay Rate → $/hr • Speed → miles/hr • Fuel Use → miles/gal • Paper Use → words/page • A Slope is a SPECIAL RoC where the UNITS of the Dividend and Divisor are the SAME. Example • Road Grade → Feet-rise/Feet-run • Tax Rate → $-Paid/$-Earned
Example Rice is Nice • The demand for rice in the USA in 2009 approximately followed the function • Where • p ≡ Rice Price in $/Ton • D ≡ Rice Demand in MegaTons • Use this Function to: • Find and interpret • Find the equation of the tangent line to D at p = 500.
Example Rice is Nice • SOLUTION • Using the definition of the derivative: • Clear fractions by multiplying by • Simplifying • Note the Limit is Undefined at h = 0
Example Rice is Nice • Remove the UNdefinition by multiplying by the Radical Conjugate of the Numerator:
Example Rice is Nice • Continue the Limit Evaluation
Example Rice is Nice • Run-Numbers to Find the Change in DEMAND with respect to PRICE • Unit analysis for dD/dp • Finally State: for when p = 500 the Rate of Change of Rice Demand in the USA:
Example Rice is Nice • Thus The RoC for Dw.r.t. p at p = 500: • Negative Derivative???!!! • What does this mean in the context? • Because the derivative is negative, at a unit price of $500 per ton, demand is decreasing by about 4,470 tons per $1/Ton INCREASE in unit price.
Example Rice is Nice • SOLUTION • Find the equation of the tangent line to D at p = 500 • The tangent line to a function f is defined to be the line passing through the point and having a slope equal to the derivative at that point.
Example Rice is Nice • First, find the value of D at p = 500: • So we know that the tangent line passes through the point (500, 4.47) • Next, use the derivative of D for the slope of the tangent line:
Example Rice is Nice • Finally, we use the point-slope formula for the Eqn of a Line and simplify: • The Graph ofD(p) and theTangent Lineat p = 500 on the Same Plot:
Operation vs Ratio • In the Rice Problem we could easily write D’(500) as indication we were EVALUATING the derivative at p = 500 • The d notation is not so ClearCut. Are these things the SAME? • Generally They are NOT • The d/dx Operator Produces the Slope Function, not a NUMBER • Find dy/dx at x = c DOES make a Number
“Evaluated at” Notation • The d/dx operator produces the Slope Function dy/dx or df/dx; e.g.: • 2x+7 is the Slope Function. It can be used to find the slope at, say, x = −5 & 4 • y’(−5) = 2(−5) + 7 = −10 + 7 = −3 • y’(4) = 2(4) + 7 = 8 + 7 = 5 • Use Eval-At Bar to Clarify a Number-Slope when using the “d” notation
Eval-At BAR • To EVALUATE a derivative a specific value of the Indepent Variable Use the “Evaluated-At” Vertical BAR. • Eval-At BAR Usage → Find the value of the derivative (the slope) at x = c (c is a NUMBER): • Often the “x =” is Omitted
Example: Eval-At bar • Consider the Previous f(x) Example: • Using the d notation to find the Slope (Derivative) for x = −5 & 4
Continuity & Smoothness • We can now define a “smoothly” varying Function • A function f is differentiable at x=a if f’(a) is defined. • e.g.; no div by zero, no sqrt of negNo.s • IF a function is differentiable at a point, then it IS continuous at that point. • Note that being continuous at a point does NOT guarantee that the function is differentiable there. .
Continuity & Smoothness • A function, f(x), is SMOOTHLY Varying at a given point, c, If and Only If df/dx Exists and: • That is, the Slopesare the SAME whenapproached fromEITHER side