Differentiation. J. Gerlach November 2010

Similar documents
Parametric Curves and Polar Coordinates

Parametric Curves and Polar Coordinates

Direction Fields; Euler s Method

Objectives. Materials

Differentiation. The Derivative and the Tangent Line Problem 10/9/2014. Copyright Cengage Learning. All rights reserved.

AP Calculus Problems with HP Prime

Tangent line problems

Tangent Lines and Linear Approximations Solutions

Section 18-1: Graphical Representation of Linear Equations and Functions

GRAPHING WORKSHOP. A graph of an equation is an illustration of a set of points whose coordinates satisfy the equation.

CONCAVITY AND INFLECTION POINTS

Test Name: Chapter 3 Review

Tangents of Parametric Curves

Derivatives and Graphs of Functions

AP Calculus AB Unit 2 Assessment

Section Graphs and Lines

UNIT 3 EXPRESSIONS AND EQUATIONS Lesson 3: Creating Quadratic Equations in Two or More Variables

Objectives. Materials

Math 1120, Section 4 Calculus Test 2. November 5, 2008 Name. work. 1. (15 points) Consider the function f(x) = (2x + 3) 2 (x 1) 2.

Exploring Slope. We use the letter m to represent slope. It is the ratio of the rise to the run.

Slope of the Tangent Line. Estimating with a Secant Line

Use Derivatives to Sketch the Graph of a Polynomial Function.

Jim Lambers MAT 169 Fall Semester Lecture 33 Notes

AP CALCULUS BC 2013 SCORING GUIDELINES

2.1. Rectangular Coordinates and Graphs. 2.1 Rectangular Coordinates and Graphs 2.2 Circles 2.3 Functions 2.4 Linear Functions. Graphs and Functions

Math 21a Tangent Lines and Planes Fall, What do we know about the gradient f? Tangent Lines to Curves in the Plane.

MTH 122 Calculus II Essex County College Division of Mathematics and Physics 1 Lecture Notes #11 Sakai Web Project Material

MATH 115: Review for Chapter 1

f( x ), or a solution to the equation f( x) 0. You are already familiar with ways of solving

Vertical and Horizontal Translations

Relating Graphs of f and f

MATH 021 UNIT 2 HOMEWORK ASSIGNMENTS

WHICH GRAPH REPRESENTS THE FOLLOWING PIECEWISE DEFINED FUNCTION FILE

Graphing Functions. 0, < x < 0 1, 0 x < is defined everywhere on R but has a jump discontinuity at x = 0. h(x) =

d f(g(t), h(t)) = x dt + f ( y dt = 0. Notice that we can rewrite the relationship on the left hand side of the equality using the dot product: ( f

The Rectangular Coordinate System and Equations of Lines. College Algebra

3.7. Vertex and tangent

Section 3.1(part), Critical Numbers, Extreme Values, Increasing/Decreasing, Concave Up/Down MATH 1190

Worksheet 2.2: Partial Derivatives

WHAT YOU SHOULD LEARN

The following information is for reviewing the material since Exam 3:

Graphs of Polynomial Functions. Use the information that you get from the Maple output to do the following:

MA 220 Lesson 28 Notes Section 3.3 (p. 191, 2 nd half of text)

Four Types of Slope Positive Slope Negative Slope Zero Slope Undefined Slope Slope Dude will help us understand the 4 types of slope

Classroom Tips and Techniques: Maple Meets Marden's Theorem. Robert J. Lopez Emeritus Professor of Mathematics and Maple Fellow Maplesoft

Each point P in the xy-plane corresponds to an ordered pair (x, y) of real numbers called the coordinates of P.

Graphs and transformations, Mixed Exercise 4

ENGI Parametric & Polar Curves Page 2-01

Part I. Problems in this section are mostly short answer and multiple choice. Little partial credit will be given. 5 points each.

Practice Test (page 391) 1. For each line, count squares on the grid to determine the rise and the run. Use slope = rise

Core Mathematics 1 Graphs of Functions

Omit Present Value on pages ; Example 7.

Functions of Several Variables, Limits and Derivatives

Unit 1: Sections Skill Set

x 16 d( x) 16 n( x) 36 d( x) zeros: x 2 36 = 0 x 2 = 36 x = ±6 Section Yes. Since 1 is a polynomial (of degree 0), P(x) =

First of all, we need to know what it means for a parameterize curve to be differentiable. FACT:

c x y f() f (x) Determine the Determine the Approximate c : Replacin on the AP exam: under-approximation

Math 1313 Prerequisites/Test 1 Review

Math-2. Lesson 3-1. Equations of Lines

NAME: Section # SSN: X X X X

Math 3 Coordinate Geometry Part 2 Graphing Solutions

Algebra 2 Semester 1 (#2221)

5/27/12. Objectives. Plane Curves and Parametric Equations. Sketch the graph of a curve given by a set of parametric equations.

BIG IDEAS. A.REI.D.10: Interpret Graphs as Sets of Solutions. Lesson Plan

Geometry Unit 5 Geometric and Algebraic Connections. Table of Contents

a) y = x 3 + 3x 2 2 b) = UNIT 4 CURVE SKETCHING 4.1 INCREASING AND DECREASING FUNCTIONS

1-1. What you'll Learn About Critical Points/Extreme Values. 1 P a g e

10 Polar Coordinates, Parametric Equations

12 Polar Coordinates, Parametric Equations

Exam 1 Review. MATH Intuitive Calculus Fall Name:. Show your reasoning. Use standard notation correctly.

x 6 + λ 2 x 6 = for the curve y = 1 2 x3 gives f(1, 1 2 ) = λ actually has another solution besides λ = 1 2 = However, the equation λ

Module 3: Stand Up Conics

Math 20A lecture 10 The Gradient Vector

----- o Implicit Differentiation ID: A. dy r.---; d 2 Y 2. If- = '" 1-y- then - = dx 'dx 2. a c. -1 d. -2 e.

Derivatives 3: The Derivative as a Function

Lesson 2.4 Exercises, pages

Critical Numbers, Maximums, & Minimum

(1) Tangent Lines on Surfaces, (2) Partial Derivatives, (3) Notation and Higher Order Derivatives.

UNIT 4 NOTES. 4-1 and 4-2 Coordinate Plane

2.2 Graphs Of Functions. Copyright Cengage Learning. All rights reserved.

Math Analysis Chapter 1 Notes: Functions and Graphs

3. parallel: (b) and (c); perpendicular (a) and (b), (a) and (c)

You should be able to plot points on the coordinate axis. You should know that the the midpoint of the line segment joining (x, y 1 1

4. TANGENTS AND NORMALS

Practice problems. 1. Given a = 3i 2j and b = 2i + j. Write c = i + j in terms of a and b.

Chapter 1. Linear Equations and Straight Lines. 2 of 71. Copyright 2014, 2010, 2007 Pearson Education, Inc.

Implicit differentiation

MACM 204 Makeup Assignment - Practice Final.

Chapter 4: Solving Linear Equations Study Guide

4.3 Finding Local Extreme Values: First and Second Derivatives

Proceedings of the Third International DERIVE/TI-92 Conference

1) Find. a) b) c) d) e) 2) The function g is defined by the formula. Find the slope of the tangent line at x = 1. a) b) c) e) 3) Find.

Assignment 2, MACM 204, Fall Question 1. Question 2. Question 3. Michael Monagan.

MATH 19520/51 Class 6

4.3, Math 1410 Name: And now for something completely different... Well, not really.

Math 115 Second Midterm March 25, 2010

9.1 Solutions, Slope Fields, and Euler s Method

Quadratic Functions CHAPTER. 1.1 Lots and Projectiles Introduction to Quadratic Functions p. 31

f xx (x, y) = 6 + 6x f xy (x, y) = 0 f yy (x, y) = y In general, the quantity that we re interested in is

Math 121. Graphing Rational Functions Fall 2016

Transcription:

Differentiation J. Gerlach November 200 D and diff The limit definition of the derivative is covered in the Limit tutorial. Here we look for direct ways to calculate derivatives. Maple has two commands for this task. One is the D operator, the other is the diff command. These commands behave quite differently, and we shall illustrate both for the example. The Use of D D acts on functions, and we have to define f(x) first. Now taking the derivative is straightforward, just enter (..) If you type (..2) (..3) maple returns a function instead. This all goes back to distinction between a function and a formula for the output, the latter being an expression. In short, stands for f', and therefore represents f'(x). If you want to evaluate the derivative at a specified value, say you want the slope of our function at you would enter (..4) The Use of diff diff acts on expressions. You can enter the expression directly, and you do not have to define the function in advance. In our example we have the options (.2.)

or (the definition of f is still in effect) (.2.2) or in two steps (.2.3) In all cases the command has the form diff( expression, variable). The template on the left executes the diff command (.2.4) (.2.5) Evaluation of the derivative at a point requires two steps (use again). (.2.6) (.2.7) Do not mix D and diff The following results in nonsense (the definitions of f(x) and y are still in effect). (.3.) 0 (.3.2) Clickable Math Enter the expression and right-click. (.4.) differentiate w.r.t. x

(.4.2) evaluate at point (.4.3) More Examples Problem: Find the derivative of. (.5.) (.5.2) Problem: Find the derivative of and simplify the result (.5.3) (.5.4) (.5.5) Problem: Find the slope of the function at the point where. (.5.6) (.5.7) Higher Order Derivatives D and diff Let's say we want to compute the 5th derivative of the function. Using the D operator, we define the function and then use a modified D command, namely (D@@n), where n is the order of the derivative. (2..)

There appears to be a common factor (2..2) (2..3) With the diff command, we repeatedly enter x, once of each derivative. (2..4) This can get rather lengthy if you need a real high order derivative. Fortunately, there is a fix for this problem using x$n. (2..5) Higher Order Derivatives at a Point Evaluation of a higher order derivative at a specified point is again a little simpler with the D operator. Let's compute the eight derivative of and evaluate it at. First we will use the D operator. (2.2.) 8 With the diff command we proceed as follows. (2.2.2) (2.2.3) (2.2.4) 8 (2.2.5) More Examples Problem: Compute f'(x) and f''(x) when. (2.3.) (2.3.2) or (2.3.3) (2.3.4)

(2.3.5) Problem: Compute the 5th derivative of. (2.3.6) (2.3.7) More Examples A Function and its Derivative in a Common Graph Problem: Sketch the function and its derivative in a common figure. (3..) 0 2 4 6 8 The graph of the function is in red, its derivative in blue. It is evident that the blue curve measures the slope of the red curve. Function with a Tangent Line in a Common Figure Problem: Graph the function and its tangent line at x=4 in a common figure. (3.2.) 4 (3.2.2) (3.2.3)

3 2 0 0 2 3 4 5 6 7 8 x Find Horizontal Tangent Lines Problem: Find all points in the interval for which the graph of has a horizontal tangent line. In order to solve the problem, we need to calculate the derivative, set it to zero, and solve the resulting equation for x. (3.3.2) Here we tried to solve f'(x) = 0, but maple did not get a reasonable answer. Let's look at the graph of f. 0 2 3 4 5 6 x The function appears to have zero slope at the endpoints and at two more points in the inside. Let's see what we get from fsolve, and label the points. 2.30988460 3.973303847 (3.3.3) (3.3.4)

6.28385306 Here are the coordinates of the points: 0. (3.3.5) (3.3.6) (3.3.7) Implicit Differentiation The implicitdiff Command Here we take the derivative on both sides of an equation. We need to set up the equation, and decide on the dependent and the independent variable. We will use as an example. Note that the point (,2) lies on this curve, and we shall determine the slope there. First we define the equation for future reference. (4..) First we confirm that the point (,2) lies on the curve. To do so, we substitute the coordinates into the equation. (4..2) It worked!. Now we use the command implicitdiff. It has the structure implicitdiff( equation, dependent variable, independent variable). In our case we have (4..3) This is, representing the slope. If we substitute the coordinates of our point, we obtain 4 5 (4..4) Let's illustrate the result graphically. In order to graph the equation, we need a more sophisticated plotting command, and we have to load the plots package. Now the command implicitplot will do the desired task.

2 y 0 2 x Now let's include the tangent line as well (I used the point-slope form without solving for y first). 3 y 2 0 2 x More Examples Problem: Find dy/dx from the equation y = sin(xy). (4.2.) Problem: What is the slope of the curve given by at the point (9,4)? (4.2.2) (4.2.3) (4.2.4)

(4.2.5) Problem: Find the points with horizontal tangents on the curve. First define the curve as C Derivative by implicit differentiation (4.2.6) (4.2.7) Now set the derivative to zero. (4.2.8) Clearly, one solution occurs when x=y=0. The other two occur when or the negative of it. In order to identify the points, we need to substitute these values into the original equation. As an alternative, we could solve the original equation along with dc=0 simultaneously. (4.2.9) Now we have the solutions (-,) and (,). Maple probably ignored the origin, because the derivative is undefined at this point.