Derive 5: The Easiest... Just Got Better!



Similar documents
The Fourth International DERIVE-TI92/89 Conference Liverpool, U.K., July Derive 5: The Easiest... Just Got Better!

Solutions for Review Problems

ab = c a If the coefficients a,b and c are real then either α and β are real or α and β are complex conjugates

Thnkwell s Homeschool Precalculus Course Lesson Plan: 36 weeks

Solutions to Homework 10

REVIEW EXERCISES DAVID J LOWRY

x 2 + y 2 = 1 y 1 = x 2 + 2x y = x 2 + 2x + 1

Solutions to old Exam 1 problems

Copyrighted Material. Chapter 1 DEGREE OF A CURVE

Algebra Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the school year.

MATH 132: CALCULUS II SYLLABUS

SOLUTIONS. f x = 6x 2 6xy 24x, f y = 3x 2 6y. To find the critical points, we solve

The Method of Partial Fractions Math 121 Calculus II Spring 2015

correct-choice plot f(x) and draw an approximate tangent line at x = a and use geometry to estimate its slope comment The choices were:

Examples of Tasks from CCSS Edition Course 3, Unit 5

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

(a) We have x = 3 + 2t, y = 2 t, z = 6 so solving for t we get the symmetric equations. x 3 2. = 2 y, z = 6. t 2 2t + 1 = 0,

Precalculus REVERSE CORRELATION. Content Expectations for. Precalculus. Michigan CONTENT EXPECTATIONS FOR PRECALCULUS CHAPTER/LESSON TITLES

Exam 1 Sample Question SOLUTIONS. y = 2x

Higher Education Math Placement

AP CALCULUS AB 2008 SCORING GUIDELINES

2008 AP Calculus AB Multiple Choice Exam

3. INNER PRODUCT SPACES

Math 0980 Chapter Objectives. Chapter 1: Introduction to Algebra: The Integers.

What are the place values to the left of the decimal point and their associated powers of ten?

Estimated Pre Calculus Pacing Timeline

13.4 THE CROSS PRODUCT

Lectures 5-6: Taylor Series

Student Performance Q&A:

Techniques of Integration

Practice Final Math 122 Spring 12 Instructor: Jeff Lang

Section 13.5 Equations of Lines and Planes

Mathematics Pre-Test Sample Questions A. { 11, 7} B. { 7,0,7} C. { 7, 7} D. { 11, 11}

11.1. Objectives. Component Form of a Vector. Component Form of a Vector. Component Form of a Vector. Vectors and the Geometry of Space

Section 11.1: Vectors in the Plane. Suggested Problems: 1, 5, 9, 17, 23, 25-37, 40, 42, 44, 45, 47, 50

2.3. Finding polynomial functions. An Introduction:

MATH BOOK OF PROBLEMS SERIES. New from Pearson Custom Publishing!

3.2 Sources, Sinks, Saddles, and Spirals

FACTORING QUADRATICS and 8.1.2

1 Lecture: Integration of rational functions by decomposition

2 Integrating Both Sides

Review Sheet for Test 1

This makes sense. t /t 2 dt = 1. t t 2 + 1dt = 2 du = 1 3 u3/2 u=5

Understanding Basic Calculus

Math 241, Exam 1 Information.

Section 12.6: Directional Derivatives and the Gradient Vector

RAJALAKSHMI ENGINEERING COLLEGE MA 2161 UNIT I - ORDINARY DIFFERENTIAL EQUATIONS PART A

3.3. Solving Polynomial Equations. Introduction. Prerequisites. Learning Outcomes

Algebra 1 Course Title

COLLEGE ALGEBRA. Paul Dawkins

General Theory of Differential Equations Sections 2.8, , 4.1

MATH 21. College Algebra 1 Lecture Notes

NEW YORK STATE TEACHER CERTIFICATION EXAMINATIONS

Solutions - Homework sections

x(x + 5) x 2 25 (x + 5)(x 5) = x 6(x 4) x ( x 4) + 3

South Carolina College- and Career-Ready (SCCCR) Pre-Calculus

A Quick Algebra Review

Math Assignment 6

Microeconomic Theory: Basic Math Concepts

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson

Factoring Polynomials

Integrals of Rational Functions

Prentice Hall Mathematics: Algebra Correlated to: Utah Core Curriculum for Math, Intermediate Algebra (Secondary)

Sequences and Series

Birmingham City Schools

Mathematics (MAT) MAT 061 Basic Euclidean Geometry 3 Hours. MAT 051 Pre-Algebra 4 Hours

Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

Math 131 College Algebra Fall 2015

Method To Solve Linear, Polynomial, or Absolute Value Inequalities:

Unit 7 Quadratic Relations of the Form y = ax 2 + bx + c

AP Calculus BC 2004 Scoring Guidelines

1) (-3) + (-6) = 2) (2) + (-5) = 3) (-7) + (-1) = 4) (-3) - (-6) = 5) (+2) - (+5) = 6) (-7) - (-4) = 7) (5)(-4) = 8) (-3)(-6) = 9) (-1)(2) =

Solving Quadratic & Higher Degree Inequalities

Common Core Unit Summary Grades 6 to 8

Solutions to Practice Problems for Test 4

MA107 Precalculus Algebra Exam 2 Review Solutions

The Mathematics Diagnostic Test

6 EXTENDING ALGEBRA. 6.0 Introduction. 6.1 The cubic equation. Objectives

THE COMPLEX EXPONENTIAL FUNCTION

Taylor and Maclaurin Series

Double Integrals in Polar Coordinates

Don't Forget the Differential Equations: Finishing 2005 BC4

Biggar High School Mathematics Department. National 5 Learning Intentions & Success Criteria: Assessing My Progress

CRLS Mathematics Department Algebra I Curriculum Map/Pacing Guide

Section 3.7. Rolle s Theorem and the Mean Value Theorem. Difference Equations to Differential Equations

Indiana State Core Curriculum Standards updated 2009 Algebra I

SCHWEITZER ENGINEERING LABORATORIES, COMERCIAL LTDA.

March 29, S4.4 Theorems about Zeros of Polynomial Functions

Section 2.4: Equations of Lines and Planes

1 3 4 = 8i + 20j 13k. x + w. y + w

7.2 Quadratic Equations

The two dimensional heat equation

2.1 Three Dimensional Curves and Surfaces

Zeros of a Polynomial Function

Essential Mathematics for Computer Graphics fast

MULTIPLE INTEGRALS. h 2 (y) are continuous functions on [c, d] and let f(x, y) be a function defined on R. Then

Section 9.5: Equations of Lines and Planes

EL-9650/9600c/9450/9400 Handbook Vol. 1

A QUICK GUIDE TO THE FORMULAS OF MULTIVARIABLE CALCULUS

parent ROADMAP MATHEMATICS SUPPORTING YOUR CHILD IN HIGH SCHOOL

Transcription:

Liverpool John Moores University, 1-15 July 000 Derive 5: The Easiest... Just Got Better! Michel Beaudin École de Technologie Supérieure, Canada Email; mbeaudin@seg.etsmtl.ca 1. Introduction Engineering students at the École de Technologie Supérieure have to buy a TI-89 or TI-9 Plus and are allowed to use it in the classroom and during the tests. But that does not mean the end of DERIVE! And with version 5, we are able to go very deep into multivariable calculus. We will give examples of using Derive 5 and will try to show why, in connection with a TI calculator, DERIVE continues to be a perfect choice in order to teach mathematics at many levels.. This system is a trusted mathematical assistant a) Example : can your system do this? Everyone knows that partial fraction expansion is something that a CAS can do. From the beginning this has been possible and easy with Derive (and so, the following example is not a new feature of Derive 5). Well, let s check with some non obvious rational functions. Suppose we consider the third 3 degree polynomial 3x 18x + 33x 19. A graph shows three real roots : Derive gives the solution in a very sophisticated way. Now suppose you want to evaluate exactly the definite integral 3 dx 3 3x 18x + 33x 19 (choosing the numbers and 3 for the integration limits avoids an improprer integral). Your system must be able to perform partial fraction expansion!!!

b) Example : new in Derive 5, all the real and complex solutions to a polynomial equation with numeric coefficients can be found to any desired degree of precision! And the solutions returned by the equation solving commands and functions can be restricted to those solutions not involving imaginary numbers. Let s give a good example of this, using something like the Wilkinson polynomial (from Wolfram Koepf s plenary lecture at the Second International DERIVE/TI-9 Conference in Bonn). We will try to find where the zeros of the following polynomial are located : 0 19 x px ( ) = ( x k) 7 10 k = 1 In Derive 5, the factory default precision has been increased from 6 to 10 digits... but for this example (after some tries!), we need more precision : Beaudin : Derive 5 The Easiest just got Better! Page

So, our polynomial has 10 real roots, all of them, except one, located between 0 and 10. c) Example : easily integrating piecewise continuous functions, Derive can show in a few seconds things that are much more complicated to do with other systems. Here again, this is not a new feature of Derive 5 (but, concerning the indicator function CHI, we can now specify the value at the transition points : however, this is not important when dealing with Fourier coefficients). We will take, here, an example from Fourier series. If f is a periodic signal of period P with Fourier coefficients nπ x a0 = f( x) dx P, an = f( x)cos dx P P and nπ x bn = f( x)sin dx P P, P P then the energy theorem (Parseval s identity) states that P P P a0 n= 1 n n f ( x) dx= + a + b Let us find what fraction of the energy of f is contained in the constant term and the first two harmonics. We won t take a usual signal! Let x if 0 < x< 1 f( x) = if 1< x< f( x+ 4) = f( x) 4 x if < x < 4 With the built-in indicator function (that now extends to include or not the limit points of the interval), it is easy to define this function : Beaudin : Derive 5 The Easiest just got Better! Page 3

Who wants to calculate Fourier coefficients by hand? constant term and the first two harmonics carry about 99.7% of the total energy : The d) Example : please, respect the second fundamental theorem of calculus (or the importance of being continuous : inspiration from Albert Rich/ David Jeffrey) Some systems and integral tables give discontinuous integral to continuous integrand... Let f be a continuous function over an interval [a, b] et let F be defined by x F( x) = f ( t) dt ( a x b) a Then, the second fundamental theorem of calculus tells us that F is an antiderivative of f : so, F is d differentiable over ]a, b[ and F ( x ) = f ( x ) ( a < x < b ). Trigonometric integrals calculated with the dx x aid of the Weierstrass substitution z = tan are good examples of this situation. Look at the good job done by Derive : Beaudin : Derive 5 The Easiest just got Better! Page 4

x It is a good job for the following reason. Let z = tan, then 3 3 dz 6 dx = = dz 5+ 4sinx z 5 4 1+ z = + 5z + 8z+ 5 1 + z x 5tan 4 5z 4 + + arctan C arctan C 3 + = 3 + Of course, if we restrict x to the interval [ π, π], the last function is an antiderivative of the function 3 5+ 4sinx is continuous over the entire real line, so we need a continuous integral! 3. But 5+ 4sinx With a continuous integral, it is safer to apply, for example, the mean value theorem for integrals : if f is a continuous function on [a, b], there is a number c between a and b such that b a f() t dt = f( c)( b a) In Derive 5, we can not plot Boolean combinations of inequalites and set the aspect ratio of plots. If we choose the function f at the beginning of this example and take a = 3, b = 4, we can «see» the rectangle of height f( c ) and length b - a : Beaudin : Derive 5 The Easiest just got Better! Page 5

e) Example : who said that Derive isn t a good choice for ODEs? When we teach mathematics, we prove theorems like the following from Edwards/Penny concerning existence and uniqueness of solutions : suppose that the real-valued function f( x, y) is continuous on some rectangle in the xy-plane containing the point (a, b) in its interior. Then the initial value problem dy f( x, y), y( a) b dx = = has at least one solution defined on some open interval J containing the point a. If, in addition, the f partial derivative is continuous on that rectangle, the solution is unique on some (perhaps smaller) y open interval J 0 containing the point x = a. With a CAS like Derive, we can visualize this theorem : take for example this simple separable ODE dy 3x + 4x + =, y (0) =. dx ( y 1) 3x + 4x+ f Here f( x, y) = and are continuous on any rectangle that does not contain the ( y 1) y horizontal line y = 1. A slope field (direction_field in Derive) and a vector of general solutions show us rapidly the situation : Beaudin : Derive 5 The Easiest just got Better! Page 6

Euler s method (now EULER_ODE in Derive 5) gets bad when we start at (0, ) with a negative step : the reason is simple. If we solve the ODE by hand, we get the implicit solution 3 y y = x + x + x+ 8. Solving for y gives the lower and the upper parts of the curve ; the horizontal line y = 1 is where the derivative approaches infinity. If we set y to 1 in the above equation, we will get the value of x for wich a rectangle centered at (0, ) cannot be extended to the left. This value is : Beaudin : Derive 5 The Easiest just got Better! Page 7

We will quote Benny Evans for the conclusion of this example : «I have heard from time to time that DERIVE is not powerful enough to handle differential equations and that other software is necessary to teach at this level. I find this something of a puzzle as my own experience is that it is a perfectly wonderful tool for doing exactly that.» (The International DERIVE Journal, Volume, No. 3, page 37, 1995). 3. A better way to do multivariable calculus 3a) Example : finding global minimum and using a CAS : don t stop thinking! When we consider a function of two variables, we can plot the 3D graph, look at the critical points and show the contour plot. With Derive 5, it is very easy to explore all of these directions. A good example is given by the function 4 4 1 f( x, y) = ( x+ 1) + ( y 1) + xy + 1. Let us note that the system (for the critical points) f = (0,0) is not easy to solve (even if we can rewrite it in order to get two polynomial equations and try the Groebner package...). This a good example of the importance of «thinking» when using a CAS... Because the function f goes to infinity when we reach far from the origin, we know that the global minimum must be near the origin! Level curves (after a 3D plot indicating the range of z) is a good tool. The D implicit plotting is quite fast in Derive since Derive for DOS (version 3). Because we can rotate 3D plots in real-time and determine the coordinates of points on plot surface using moveable highlighted cross lines, 3D plotting is now in the «major leagues»! Beaudin : Derive 5 The Easiest just got Better! Page 8

Newton s method will finish the job : Beaudin : Derive 5 The Easiest just got Better! Page 9

So, the coordinates of the global minimum are x = y = - 1.39. 3b) Example : Lagrange multipliers and the substitution method and use of the new function SOLUTIONS Many times, in multivariable calculus, we can use substitution and then return to single variable calculus. Teachers should give examples in order to make connections between subjects. Here is an easy problem that can easily be solved in many ways with Derive 5 : find the highest and lowest points on the ellipse generated by the intersection of the plane x+ y+ z = 1 and the paraboloid z = x + y. It is a classical Lagrange multiplier problem with two constraints : Derive 5 is at work. The system defined by «eq» below is a polynomial one. It is a simple one and (maybe) Derive 5 does not use the Groebner basis algorithm here. Anyway, the SOLUTIONS function gives the answer in the same form as the «zeros» function of the TI-9 Plus/TI-89! We want to see these points! Let s see the maximum value (in version 5, we can display multiple plots with unique color tiling) : Beaudin : Derive 5 The Easiest just got Better! Page 10

We said that the intersection curve of the two surfaces is an ellipse. Let s use parametric 3D plot : first, we need to obtain parametric equation. The projection in the xy-plane of this ellipse is the circle 1 1 x + y = 1 x yor x+ + y+ = 1.5. So we can set 1 x = + 1.5 cost 1 y = + 1.5 sin t and, because z = x + y = 1 x y, the third component of our parametric curve is simply 1 1 1 + 1.5 cost+ 1.5 sin t. Again, in version 5, parametric expressions (curves, surfaces) can be plotted easily : Beaudin : Derive 5 The Easiest just got Better! Page 11

Of course, the maximum and minimum values of the function 13 1.5 cost 1.5 sin t over the interval [0, p] is another way to confirm the answer. 3c) Example : parametric surfaces and the teacher s place in teaching! Derive 5 does not support 3D implicit plots. Well, we can use parametric 3D plot to overcome this lack. Here, we will take an example that uses many things. Sometime ago, I gave my students the following problem : find the equation of a sphere that goes through the four following points : (, 5, 3), (8, 1, 3), (6, 3, 1) and (3, 4, 1). This question came after a study of Gauss-Jordan s algorithm. Not many students noticed that we can solve this problem using a matrix (solving a linear system, not a polynomial second degree system). With Derive 5, we can use the two approaches and even more, plot the points and, using spherical coordinates, plot the sphere! If we start with the equation ( x a) ( y b) ( z c) r + + =, then an expansion gives x + Ax+ y + By+ z + Cz = D where A= a, B= b, C = c and D= r a b c. We show that the center of the sphere is at the point (, -4, -3) and the radius is 9, so the equation of the sphere is simply ( x ) + ( y+ 4) + ( z+ 3) = 81. And, because of the spherical coordinates, we can parametrize this sphere with x = + 9cosθsinφ y = 4 + 9sinθ sin φ π θ π, 0 φ π z = 3 + 9cosφ Here again, a superb job done by Derive 5 : Beaudin : Derive 5 The Easiest just got Better! Page 1

finally, we plot the sphere : And, Beaudin : Derive 5 The Easiest just got Better! Page 13

3d) Example : shading a region for a double integral Let a thin plate occupy the region R in the first quadrant common to the circle of radius 1 centered at 4 (, 0) and the circle of radius centered at (0, 0). Suppose that the density function is δ ( xy, ) = xy (in grams per square centimeters). Where is the center of mass located? We have to use the following formulas for the mass M and center of mass ( xy, ) : 1 1 M = δ( x, y) da ; x= xδ( x, y) da ; y = yδ( x, y) da M M R R R Of course, plotting the region and setting a double integral is useful! Beaudin : Derive 5 The Easiest just got Better! Page 14

We show below the point that represents the center of mass : 3e) Example : finding the maximum volume of a closed rectangular box with faces parallel to the coordinates planes inscribed in the ellipsoid x y z + + = 1 36 9 16 This final example will use some of Derive 5 new features. If we pick the first octant corner of the box we are looking for and call it [x, y, z], then our problem is to maximize the function f = 8xyz subject to Beaudin : Derive 5 The Easiest just got Better! Page 15

x y z the constraint g = 0, where g = + + 1. Let see the constraint in 3D, with the aspect ratio : 9, 36 9 16, 4. In order to plot, we used parametric plot with - p s p and 0 t p : We use Lagrange multiplier again : Here, the Groebner package is very useful (even if we can solve by hand...)! There are 14 solutions! The one we are looking for is the only positive one (for x, y and z ; and l is positive too) : In Derive 5, we can plot matrices of data points. Here is the box we are looking for : Beaudin : Derive 5 The Easiest just got Better! Page 16

4. Why I like Derive so much I m thinking of an example from Larry Gilligan (First Derive conference in Plymouth). Earlier versions of Derive were not able to solve a quadratic equality, for example, as simple as x x x + 3 1 + 1. As we can see, Derive 5 solves easily this inequation : Larry said that it was not important if earlier versions of Derive were unable to solve this inequation, we just have to plot, in the same window, the graphs of x + 3x 1 and of x + 1 and we will find the solutions!!! With new versions, Computer Algebra Systems add new features. But what remains the most important is that they remain «simple», easy to use. The user must always be confident with such a system. Derive 5 : The Easiest... Just Got Better! Beaudin : Derive 5 The Easiest just got Better! Page 17