A model for an intramuscular injection of a medication.

Size: px
Start display at page:

Download "A model for an intramuscular injection of a medication."

Transcription

1 injection_model.nb 1 A model for an intramuscular injection of a medication. Needs@"Graphics`Colors`"D; Intravenous injection of a medication: Injected drug in blood decays exponentially due to metabolic degradation and elimination Differential equation model: c'[t] = -b c[t] c[0] = 50 mg Unique solution: c[t] = 50 exp[-bt] b = -Log@.9D soln0 = DSolve@8 c'@td == -b c@td, c@0d == 50<, c@td, td; c@t_d = Hc@tD ê. soln0l@@1dd t

2 injection_model.nb 2 Plot@8 c@td<, 8t, 0, 24<, PlotStyle -> 88Thickness@.01D, Blue<<D Ü Graphics Ü Suppose we measured blood drug levels during a 24 hour period, and we saw a curve c[t] which looked like our model curve. We would like to "fit" the experimentally observed drug kinetics by our model. How can we find the right parameter b from the experimental data? Notice the logarithm of c[t] has a straight plot.

3 injection_model.nb 3 Plot@8 Log@c@tDD<, 8t, 0, 24<, PlotStyle -> 88Thickness@.01D, Blue<<D Ü Graphics Ü We can recover the parameter b from the slope of Log[c[t]] h@t_d = t HLog@c@tDDL; h@10d h@20d

4 injection_model.nb 4 Intramuscular injection of a medication: Model description: Drug injected into muscle. Two stage process occurs: 1) exponential release of drug from muscle into bloodstream, with rate constant a 2) exponential decay of drug in blood as before, with different rate constant b Differential equation model: A[t] = drug in muscle B[t] = drug in bloodstream A[0] = 50 B[0] = 0 A'[t] = -a A[t] B'[t] = a A[t] - b B[t] This can be solved explicitly. We'll let Mathematica do the work. There are two parameters to specify, a and b. We give them some arbitrary values. We specify and solve the differential equation model.

5 injection_model.nb 5 Clear@a, bd Clear@A, BD soln = DSolve@8 A '@td == -a A@tD, B'@tD ã a A@tD - b B@tD, A@0D == 50, B@0D == 0<, 8A@tD, B@tD<, td; A@t_D = A@tD ê. soln@@1dd; B@t_D = Expand@B@tD ê. solnd@@1dd; a = -Log@.2D b = -Log@.9D A@tD t B@tD t t

6 injection_model.nb 6 Note that the solution B[t] to the model has the form K He -b t - e -a t L, for some constant K which must be somehow related to the data of the problem, namely the 50 mg dose and the parameters a and b. In fact the constant is K = ÅÅÅÅÅÅÅÅ 50 a a-b. This observation is not at all obvious from the solution to the specific model with specified values of a and b, but it follows from solving the model with unspecified parameters. We are going to use this fact later. 50 a ÅÅÅÅÅÅÅÅÅÅÅ a - b We plot the solution: The green curve representents A[t], drug in muscle. The red curve represents B[t], drug in blood. The blue curve represents c[t], the solution to the primitive model.

7 injection_model.nb 7 Plot@8A@tD, B@tD, c@td<, 8t, 0, 24<, PlotStyle -> 88Thickness@.01D, Green<, 8Thickness@.01D, Red<, 8Thickness@.01D, Blue<<D Ü Graphics Ü Let's pose two questions concerning our model: 1. Can we find the maximum level of the drug in the blood stream? 2. Could we recover the parameters a and b from experimental data? Maximum drug level in the bloodstream What is the maximum value of drug in the bloodstream? It has to occur where the derivative of the function B[t] is equal to 0. So we find the maximum by finding the solution to B'[t] = 0. B@t_D = Expand@HB@tD ê. solnl@@1ddd DB@t_D := B '@td t t The following cell solves the equation B[t] =0 by a numerical method. We will discuss such methods (using calculus) later.

8 injection_model.nb 8 maxplace = FindRoot@DB@tD == 0, 8t, 1<D 8t Ø < We compute the value of B[t] where it is maximum: B@tD ê. maxplace Our conclusion: the maximum amount of medication in the blood occurs at t = hours, and the maximum amount is mg. Parameter estimation Suppose we measured blood drug levels during a 24 hour period, and we saw a curve B[t] which looked like the red curve. We would like to try to model the drug kinetics by our model with parameters a and b. How can we find the parameters? In our model, the red curve looks very similar to the blue curve for large time, that is, the solution to our model is K He -b t - e -a t L, and for large t, the second exponential term is tiny in comparison with the first. So the data looks like K e -b t when we only look at large t. We could find b by taking the derivative of the logarithm of the data curve B[t] for large t. Note that the graph of Log[B[t]] looks quite straight for large t, as we expect from the discussion above.

9 injection_model.nb 9 Plot@Log@B@tDD, 8t, 0, 24<, PlotStyle -> 88Thickness@.01D, Red<, 8Thickness@.01D, Blue<<D Ü Graphics Ü We can recover the parameter b from the slope of the curve Log[B[t]] for large t.

10 injection_model.nb 10 = t Log@B@tDD; Plot@h@tD, 8t, 0, 24<, PlotStyle -> 88Thickness@.01D, Red<, 8Thickness@.01D, Blue<<D h@10d h@20d Ü Graphics Ü One we know b, we can also find K since the curve B[t] looks like y = K e -b t for large t. Thus the logarithm of B[t] looks like y = Log[K] - b t for large t. So if we compute the tangent line to Log[B[t]] at some large t, this tangent line will also look like y = Log[K] - b t. We can find Log[K] as the y-intercept of this tangent line, and then find K as Exp[] of the y-intercept. Here is the tangent line: ylin@t_d := Log@B@20DD + h@20d Ht - 20L

11 injection_model.nb 11 For illustration, we plot the tangent line together with the curve Log[B[t]]. 8t, 0, 24<, PlotStyle -> Red<, Blue<<D Ü Graphics Ü We compute the y-intercept of the tangent line, and Exp[] of this y-intercept. We see that we recover the constant K = ylin@0d Exp@ylin@0DD Let's also recall that K = = can do by hand.) 50 a ÅÅÅÅÅÅÅ. Since we now know b and this constant K, we can solve for a. (This we a-b

12 injection_model.nb 12 Effect of changing the parameters: There are two parameters to specify, a and b. We give them some different arbitrary values. We specify and solve the differential equation model. Clear@a, bd Clear@A, BD soln = DSolve@8 A '@td == -a A@tD, B'@tD ã a A@tD - b B@tD, A@0D == 50, B@0D == 0<, 8A@tD, B@tD<, td; A@t_D = A@tD ê. soln@@1dd; B@t_D = Expand@B@tD ê. solnd@@1dd; a = -Log@.5D b = -Log@.9D A@tD t

13 injection_model.nb t t We plot the solution: The green curve representents A[t], drug in muscle. The red curve represents B[t], drug in blood. The blue curve represents c[t], the solution to the primitive model. Plot@8A@tD, B@tD, c@td<, 8t, 0, 24<, PlotStyle -> 88Thickness@.01D, Green<, 8Thickness@.01D, Red<, 8Thickness@.01D, Blue<<D Ü Graphics Ü Notice the qualitative change: the red curve (quantity of medication in the blood) has a broader and lower peak (which accords with our intuition, as the drug is "washed" out of the muscle tissue more slowly). The first of our two questions is still interesting: What is the the maximum drug level in the bloodstream?

14 injection_model.nb 14 Maximum drug level in the bloodstream What is the maximum value of drug in the bloodstream? It has to occur where the derivative of the function B[t] is equal to 0. So we find the maximum by finding the solution to B'[t] = 0. B@t_D = Expand@HB@tD ê. solnl@@1ddd DB@t_D := B '@td t t maxplace = FindRoot@DB@tD == 0, 8t, 1<D 8t Ø 3.205< B@tD ê. maxplace The "intramuscular" model with variable parameters: Let us consider the model with variable parameters a and b. We specify and solve the differential equation model. Clear@a, bd Clear@A, BD

15 injection_model.nb 15 soln = DSolve@8 A '@td == -a A@tD, B'@tD ã a A@tD - b B@tD, A@0D == 50, B@0D == 0<, 8A@tD, B@tD<, td; A@t_D = A@tD ê. soln@@1dd 50 -t a B@t_D = Expand@B@tD ê. solnd@@1dd Simplify@%D t a a ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅ a - b t b a ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅ a - b 50 H -t a - -t b L a ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅ -a + b This justifies the assertion made earlier that B[t] = K He -b t - e -a t L, for K = ÅÅÅÅÅÅÅÅ 50 a a-b. The "intramuscular" model with equal parameters: Let us consider what happens to the model when a = b. We specify and solve the differential equation model. Clear@a, bd

16 injection_model.nb 16 a = b b Clear@A, BD soln = DSolve@8 A '@td == -a A@tD, B'@tD ã a A@tD - b B@tD, A@0D == 50, B@0D == 0<, 8A@tD, B@tD<, td; A@t_D = A@tD ê. soln@@1dd 50 -t b B@t_D = B@tD ê. soln@@1dd 50 -t b t b Put in a particular value of b: b = -Log@.9D B@tD t t

17 injection_model.nb 17 8t, 0, 50<, PlotStyle -> Red<, Blue<<, PlotRange -> 80, 50<D Ü Graphics Ü

Using Mathematica to solve ODEs (part 1)

Using Mathematica to solve ODEs (part 1) Using Mathematica to solve ODEs (part ) Basic tool is DSolve Note that in DSolve the dependent variable (usually y below) must be written y[x] or y [x] (for the derivative) or y [x] (for the second derivative)

More information

Chapter 3: Rate Laws Excel Tutorial on Fitting logarithmic data

Chapter 3: Rate Laws Excel Tutorial on Fitting logarithmic data Chapter 3: Rate Laws Excel Tutorial on Fitting logarithmic data The following table shows the raw data which you need to fit to an appropriate equation k (s -1 ) T (K) 0.00043 312.5 0.00103 318.47 0.0018

More information

Quickstart: Mathematica for Calculus I (Version 9.0) C. G. Melles Mathematics Department United States Naval Academy September 2, 2013

Quickstart: Mathematica for Calculus I (Version 9.0) C. G. Melles Mathematics Department United States Naval Academy September 2, 2013 Quickstart: Mathematica for Calculus I (Version 9.0) C. G. Melles Mathematics Department United States Naval Academy September, 0 Contents. Getting Started. Basic plotting. Solving equations, approximating

More information

Newton s Method. Example : Find the root of f (x) =

Newton s Method. Example : Find the root of f (x) = Newton s Method Example : Find the root of f (x) = If we draw the graph of f (x), we can see that the root of f (x) = 0 is the x - coordinate of the point where the curve intersects with the x - axis.

More information

Preview Notes. Systems of Equations. Linear Functions. Let y = y. Solve for x then solve for y

Preview Notes. Systems of Equations. Linear Functions. Let y = y. Solve for x then solve for y Preview Notes Linear Functions A linear function is a straight line that has a slope (m) and a y-intercept (b). Systems of Equations 1. Comparison Method Let y = y x1 y1 x2 y2 Solve for x then solve for

More information

1 The Inverse Problem

1 The Inverse Problem The Inverse Problem We have learned that a general solution of a first-order differential equation y = f H, yl (..) is a one-parameter family of (either eplicit or implicit) solutions. Finding a general

More information

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

The following information is for reviewing the material since Exam 3: Outcomes List for Math 121 Calculus I Fall 2010-2011 General Information: The purpose of this Outcomes List is to give you a concrete summary of the material you should know, and the skills you should

More information

Objectives. Materials

Objectives. Materials Activity 13 Objectives Understand what a slope field represents in terms of Create a slope field for a given differential equation Materials TI-84 Plus / TI-83 Plus Graph paper Introduction One of the

More information

4 Visualization and. Approximation

4 Visualization and. Approximation 4 Visualization and Approximation b A slope field for the differential equation y tan(x + y) tan(x) tan(y). It is not always possible to write down an explicit formula for the solution to a differential

More information

You can drag the graphs using your mouse to rotate the surface.

You can drag the graphs using your mouse to rotate the surface. The following are some notes for relative maxima and mimima using surfaces plotted in Mathematica. The way to run the code is: Select Menu bar -- Evaluation -- Evaluate Notebook You can drag the graphs

More information

Differentiability and Tangent Planes October 2013

Differentiability and Tangent Planes October 2013 Differentiability and Tangent Planes 14.4 04 October 2013 Differentiability in one variable. Recall for a function of one variable, f is differentiable at a f (a + h) f (a) lim exists and = f (a) h 0 h

More information

Section 4.3. Graphing Exponential Functions

Section 4.3. Graphing Exponential Functions Graphing Exponential Functions Graphing Exponential Functions with b > 1 Graph f x = ( ) 2 x Graphing Exponential Functions by hand. List input output pairs (see table) Input increases by 1 and output

More information

Mathematics Computer Laboratory - Math Version 11 Lab 7 - Graphics c

Mathematics Computer Laboratory - Math Version 11 Lab 7 - Graphics c Mathematics Computer Laboratory - Math 1200 - Version 11 Lab 7 - Graphics c Due You should only turn in exercises in this lab with its title and your name in Title and Subtitle font, respectively. Edit

More information

Now each of you should be familiar with inverses from your previous mathematical

Now each of you should be familiar with inverses from your previous mathematical 5. Inverse Functions TOOTLIFTST: Knowledge of derivatives of basic functions, including power, eponential, logarithmic, trigonometric, and inverse trigonometric functions. Now each of you should be familiar

More information

Graphs of Increasing Exponential Functions

Graphs of Increasing Exponential Functions Section 5 2A: Graphs of Increasing Exponential Functions We want to determine what the graph of an exponential function y = a x looks like for all values of a > We will select a value of a > and examine

More information

Graphs of Increasing Exponential Functions

Graphs of Increasing Exponential Functions Section 5 2A: Graphs of Increasing Exponential Functions We want to determine what the graph of an exponential function y = a x looks like for all values of a > We will select a value of a > and examine

More information

Direction Fields; Euler s Method

Direction Fields; Euler s Method Direction Fields; Euler s Method It frequently happens that we cannot solve first order systems dy (, ) dx = f xy or corresponding initial value problems in terms of formulas. Remarkably, however, this

More information

Section 1: Section 2: Section 3: Section 4:

Section 1: Section 2: Section 3: Section 4: Announcements Topics: In the Functions of Several Variables module: - Section 1: Introduction to Functions of Several Variables (Basic Definitions and Notation) - Section 2: Graphs, Level Curves + Contour

More information

Euler s Method for Approximating Solution Curves

Euler s Method for Approximating Solution Curves Euler s Method for Approximating Solution Curves As you may have begun to suspect at this point, time constraints will allow us to learn only a few of the many known methods for solving differential equations.

More information

W7 DATA ANALYSIS 2. Your graph should look something like that in Figure W7-2. It shows the expected bell shape of the Gaussian distribution.

W7 DATA ANALYSIS 2. Your graph should look something like that in Figure W7-2. It shows the expected bell shape of the Gaussian distribution. Drawing Simple Graphs W7 DATA ANALYSIS 2 In some experiments, large amounts of data may be recorded and manipulation is performed using computer software. Although sophisticated, specialist software exists

More information

Increasing/Decreasing Behavior

Increasing/Decreasing Behavior Derivatives and the Shapes of Graphs In this section, we will specifically discuss the information that f (x) and f (x) give us about the graph of f(x); it turns out understanding the first and second

More information

Graphing on the Riemann Sphere

Graphing on the Riemann Sphere The Mathematica Journal Graphing on the Riemann Sphere Djilali Benayat We give a procedure to plot parametric curves on the sphere whose advantages over classical graphs in the Cartesian plane are obvious

More information

Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives

Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives Recall that if z = f(x, y), then the partial derivatives f x and f y are defined as and represent the rates of change of z in the x- and y-directions, that is, in the directions of the unit vectors i and

More information

Representations of Curves and Surfaces, and of their Tangent Lines, and Tangent Planes in R 2 and R 3 Robert L.Foote, Fall 2007

Representations of Curves and Surfaces, and of their Tangent Lines, and Tangent Planes in R 2 and R 3 Robert L.Foote, Fall 2007 CurvesAndSurfaces.nb Representations of Curves and Surfaces, and of their Tangent Lines, and Tangent Planes in R and R 3 Robert L.Foote, Fall 007 Curves and Surfaces Graphs ü The graph of f : Æ is a curve

More information

Lab 2 Functions and Antibiotics

Lab 2 Functions and Antibiotics Lab 2 Functions and Antibiotics Date: August 30, 2011 Assignment and Report Due Date: September 6, 2011 Goal: In this lab you will learn about a model for antibiotic efficiency and see how it relates to

More information

Solving Schrödinger equation numerically

Solving Schrödinger equation numerically eigenvalues.nb Solving Schödinge equation numeically Basic idea on woking out the enegy eigenvalues numeically is vey simple. Just solve the Schödinge equation with a guessed enegy, and it always makes

More information

Test Name: Chapter 3 Review

Test Name: Chapter 3 Review Test Name: Chapter 3 Review 1. For the following equation, determine the values of the missing entries. If needed, write your answer as a fraction reduced to lowest terms. 10x - 8y = 18 Note: Each column

More information

Fitting (Optimization)

Fitting (Optimization) Q: When and how should I use Bayesian fitting? A: The SAAM II Bayesian feature allows the incorporation of prior knowledge of the model parameters into the modeling of the kinetic data. The additional

More information

Inverse Problem Theory and Methods for Model Parameter Estimation

Inverse Problem Theory and Methods for Model Parameter Estimation The following notes are complements for the book Inverse Problem Theory and Methods for Model Parameter Estimation Albert Tarantola Society of Industrial and Applied Mathematics (SIAM), 2005 11.4.3 Probabilistic

More information

Machine Learning for Signal Processing Lecture 4: Optimization

Machine Learning for Signal Processing Lecture 4: Optimization Machine Learning for Signal Processing Lecture 4: Optimization 13 Sep 2015 Instructor: Bhiksha Raj (slides largely by Najim Dehak, JHU) 11-755/18-797 1 Index 1. The problem of optimization 2. Direct optimization

More information

Algebra. Mathematica QuickStart for Calculus 101C. Solving Equations. Factoring. Exact Solutions to single equation:

Algebra. Mathematica QuickStart for Calculus 101C. Solving Equations. Factoring. Exact Solutions to single equation: Mathematica QuickStart for Calculus 101C Algebra Solving Equations Exact Solutions to single equation: In[88]:= Solve@x^3 + 5 x - 6 ã 0, xd Out[88]= :8x Ø 1, :x Ø 1 2 I-1 + Â 23

More information

Increasing/Decreasing Behavior

Increasing/Decreasing Behavior Derivatives and the Shapes of Graphs In this section, we will specifically discuss the information that f (x) and f (x) give us about the graph of f(x); it turns out understanding the first and second

More information

Mathematica for Dirac delta functions and Green functions

Mathematica for Dirac delta functions and Green functions Mathematica for Dirac delta functions and Green functions DiracDelta function Mathematic has Dirac s delta function built in for use in integrals and solving differential equations. If you evaluate it

More information

REPRESENTATION OF CURVES IN PARAMETRIC FORM

REPRESENTATION OF CURVES IN PARAMETRIC FORM - Representation of curves in parametric form 1 REPRESENTATION OF CURVES IN PARAMETRIC FORM.1. Parametrization of curves in the plane Given a curve in parametric form, its graphical representation in a

More information

Derivatives. Day 8 - Tangents and Linearizations

Derivatives. Day 8 - Tangents and Linearizations Derivatives Day 8 - Tangents and Linearizations Learning Objectives Write an equation for the tangent line to a graph Write an equation for the normal line to a graph Find the locations of horizontal and

More information

Chapter 5 Accumulating Change: Limits of Sums and the Definite Integral

Chapter 5 Accumulating Change: Limits of Sums and the Definite Integral Chapter 5 Accumulating Change: Limits of Sums and the Definite Integral 5.1 Results of Change and Area Approximations So far, we have used Excel to investigate rates of change. In this chapter we consider

More information

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

Exam 1 Review. MATH Intuitive Calculus Fall Name:. Show your reasoning. Use standard notation correctly. MATH 11012 Intuitive Calculus Fall 2012 Name:. Exam 1 Review Show your reasoning. Use standard notation correctly. 1. Consider the function f depicted below. y 1 1 x (a) Find each of the following (or

More information

Answers. Investigation 4. ACE Assignment Choices. Applications. Latisha s Licorice. Licorice Remaining (in.) Problem 4.1. Problem 4.2. Problem 4.

Answers. Investigation 4. ACE Assignment Choices. Applications. Latisha s Licorice. Licorice Remaining (in.) Problem 4.1. Problem 4.2. Problem 4. Answers Investigation ACE Assignment Choices Problem. Core,, Other Unassigned choices from previous problems Problem. Core Other Connections ; Extension ; unassigned choices from previous problems Problem.

More information

Pre-Calculus Summer Assignment

Pre-Calculus Summer Assignment Pre-Calculus Summer Assignment Identify the vertex and the axis of symmetry of the parabola. Identify points corresponding to P and Q. 1. 2. Find a quadratic model for the set of values. 3. x 2 0 4 f(x)

More information

Tangent line problems

Tangent line problems You will find lots of practice problems and homework problems that simply ask you to differentiate. The following examples are to illustrate some of the types of tangent line problems that you may come

More information

Report for Experiment 5

Report for Experiment 5 REPORT 5 GRAPHING In Chemistry 104 Lab 1, you were introduced to graphing using a spreadsheet and given information on how to set up a graph. Use that information to set up the following tables and graphs.

More information

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6. ) is graphed below:

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6. ) is graphed below: Polar Coordinates Any point in the plane can be described by the Cartesian coordinates (x, y), where x and y are measured along the corresponding axes. However, this is not the only way to represent points

More information

Internal Forces and Moments

Internal Forces and Moments Introduction Internal Forces and Moments To a very large extend this chapter is simply an extension of Section 6.3, The Method of Sections. The section on curved cables is new material. The section on

More information

Activity 7. The Slope of the Tangent Line (Part 2) Objectives. Introduction. Problem

Activity 7. The Slope of the Tangent Line (Part 2) Objectives. Introduction. Problem Activity 7 Objectives Use the CellSheet App to find the approximate slope of a tangent line of a curve Compare the x-slope relationship of parabolic and cubic curves Introduction In Activity 6, you found

More information

Making Holes and Windows in Surfaces

Making Holes and Windows in Surfaces The Mathematica Journal Making Holes and Windows in Surfaces Alan Horwitz In this article, we demonstrate makehole, a program which removes points from any Graphics or Graphics3D picture whose coordinates

More information

Math 104, Spring 2010 Course Log

Math 104, Spring 2010 Course Log Math 104, Spring 2010 Course Log Date: 1/11 Sections: 1.3, 1.4 Log: Lines in the plane. The point-slope and slope-intercept formulas. Functions. Domain and range. Compositions of functions. Inverse functions.

More information

Derivatives and Graphs of Functions

Derivatives and Graphs of Functions Derivatives and Graphs of Functions September 8, 2014 2.2 Second Derivatives, Concavity, and Graphs In the previous section, we discussed how our derivatives can be used to obtain useful information about

More information

Example for calculation of clustering coefficient Node N 1 has 8 neighbors (red arrows) There are 12 connectivities among neighbors (blue arrows)

Example for calculation of clustering coefficient Node N 1 has 8 neighbors (red arrows) There are 12 connectivities among neighbors (blue arrows) Example for calculation of clustering coefficient Node N 1 has 8 neighbors (red arrows) There are 12 connectivities among neighbors (blue arrows) Average clustering coefficient of a graph Overall measure

More information

Objectives. Materials

Objectives. Materials S Activity 4 Objectives Materials Understand what a slope field represents in terms of dy Create a slope field for a given differential equation T-84 Plus / T-83 Plus Graph paper ntroduction ntroduction

More information

Calculus Course Overview

Calculus Course Overview Description: Walk in the footsteps of Newton and Leibnitz! An interactive text and graphing software combine with the exciting on-line course delivery to make Calculus an adventure. This course includes

More information

A Mathematica Tutorial - 1. Basic Operations

A Mathematica Tutorial - 1. Basic Operations A Mathematica Tutorial -. Basic Operations This Tutorial was created usig Mathematica 6.0. Some of the cells described below can only be performed in version 6.0. Note that Mathematica can be used as a

More information

14.6 Directional Derivatives and the Gradient Vector

14.6 Directional Derivatives and the Gradient Vector 14 Partial Derivatives 14.6 and the Gradient Vector Copyright Cengage Learning. All rights reserved. Copyright Cengage Learning. All rights reserved. and the Gradient Vector In this section we introduce

More information

Linear, Quadratic, and Exponential Models Attendance Problems 1. Find the slope and y-intercept of the line that passes through (4, 20) and (20, 24).

Linear, Quadratic, and Exponential Models Attendance Problems 1. Find the slope and y-intercept of the line that passes through (4, 20) and (20, 24). Page 1 of 13 Linear, Quadratic, and Exponential Models Attendance Problems 1. Find the slope and y-intercept of the line that passes through (4, 20) and (20, 24). The population of a town is decreasing

More information

2.1 Derivatives and Rates of Change

2.1 Derivatives and Rates of Change 2.1 Derivatives and Rates of Change In this chapter we study a special type of limit, called a derivative, that occurs when we want to find a slope of a tangent line, or a velocity, or any instantaneous

More information

Defining and Plotting a Parametric Curve in 3D a(t)=(x(t),y(t),z(t)) H* clears all previous assingments so we can reuse them *L

Defining and Plotting a Parametric Curve in 3D a(t)=(x(t),y(t),z(t)) H* clears all previous assingments so we can reuse them *L Defining and Plotting a Parametric Curve in 3D a(t)=(x(t),y(t),z(t)) Clear@"Global`*"D H* clears all previous assingments so we can reuse them *L H* Define vector functions in 3D of one variable t, i.e.

More information

In other words, we want to find the domain points that yield the maximum or minimum values (extrema) of the function.

In other words, we want to find the domain points that yield the maximum or minimum values (extrema) of the function. 1 The Lagrange multipliers is a mathematical method for performing constrained optimization of differentiable functions. Recall unconstrained optimization of differentiable functions, in which we want

More information

Functions of Several Variables

Functions of Several Variables Functions of Several Variables Directional Derivatives and the Gradient Vector Philippe B Laval KSU April 7, 2012 Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 1 / 19 Introduction

More information

This notebook "MathematicaDemo.nb" can be downloaded from the course web page.

This notebook MathematicaDemo.nb can be downloaded from the course web page. Mathematica demo http://www.wolfram.com/ This notebook "MathematicaDemo.nb" can be downloaded from the course web page. Basics Evaluate cells by pressing "shift-enter" / shift-return In[]:= + 3 Out[]=

More information

Getting Started With Mathematica

Getting Started With Mathematica Getting Started With Mathematica First Steps This semester we will make use of the software package Mathematica; this package is available on all Loyola networked computers. You can access Mathematica

More information

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

Chapter 1. Linear Equations and Straight Lines. 2 of 71. Copyright 2014, 2010, 2007 Pearson Education, Inc. Chapter 1 Linear Equations and Straight Lines 2 of 71 Outline 1.1 Coordinate Systems and Graphs 1.4 The Slope of a Straight Line 1.3 The Intersection Point of a Pair of Lines 1.2 Linear Inequalities 1.5

More information

Getting Started With Mathematica

Getting Started With Mathematica Getting Started With Mathematica First Steps This semester we will make use of the software package Mathematica; this package is available on all Loyola networked computers. You can access Mathematica

More information

2.4. Rates of Change and Tangent Lines. Copyright 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall

2.4. Rates of Change and Tangent Lines. Copyright 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall 2.4 Rates of Change and Tangent Lines Copyright 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall What you ll learn about Average Rates of Change Tangent to a Curve Slope of a Curve Normal

More information

Basic Exercises about Mathematica

Basic Exercises about Mathematica Basic Exercises about Mathematica 1. Calculate with four decimal places. NB F. 2.23607 2.23607 Ë We can evaluate a cell by placing the cursor on it and pressing Shift+Enter (or Enter on the numeric key

More information

Graphs of Functions, Limits, and

Graphs of Functions, Limits, and Chapter Continuity Graphs of Functions, Limits, and ü. Plotting Graphs Students should read Chapter of Rogawski's Calculus [] for a detailed discussion of the material presented in this section. ü.. Basic

More information

Assignment 1. Prolog to Problem 1. Two cylinders. ü Visualization. Problems by Branko Curgus

Assignment 1. Prolog to Problem 1. Two cylinders. ü Visualization. Problems by Branko Curgus Assignment In[]:= Problems by Branko Curgus SetOptions $FrontEndSession, Magnification Prolog to Problem. Two cylinders In[]:= This is a tribute to a problem that I was assigned as an undergraduate student

More information

Friday, 11 January 13. Interpolation

Friday, 11 January 13. Interpolation Interpolation Interpolation Interpolation is not a branch of mathematic but a collection of techniques useful for solving computer graphics problems Basically an interpolant is a way of changing one number

More information

HANDS-ON START TO WOLFRAM MATHEMATICA. and Programming with the Wolfram Language. Cliff Hastings Kelvin Mischo Michael Morrison.

HANDS-ON START TO WOLFRAM MATHEMATICA. and Programming with the Wolfram Language. Cliff Hastings Kelvin Mischo Michael Morrison. HANDS-ON START TO WOLFRAM MATHEMATICA and Programming with the Wolfram Language Cliff Hastings Kelvin Mischo Michael Morrison Champaign 11 11 1 111THE COMPLETE OVERVIEW 1 Chapter 1 The Very Basics 3 Chapter

More information

Appendix B: Using Graphical Analysis

Appendix B: Using Graphical Analysis Appendix B: Using Graphical Analysis Graphical Analysis (GA) is a program by Vernier Software. This program is loaded on all of the Physics 170A computers as well as all of the regular Physics 170 computers.

More information

Social Science/Commerce Calculus I: Assignment #6 - Solutions Page 1/14

Social Science/Commerce Calculus I: Assignment #6 - Solutions Page 1/14 Social Science/Commerce Calculus I: Assignment #6 - Solutions Page 1/14 3 1. Let f (x) = -2x - 5x + 1. Use the rules of differentiation to compute: 2 The first derivative of f (x): -6x - 5 The second derivative

More information

Students are required to have a graphing calculator. Instructors of the course support topics using a TI-84 or TI-89.

Students are required to have a graphing calculator. Instructors of the course support topics using a TI-84 or TI-89. AP Calculus AB Course Design and Philosophy Students conceptualize calculus when it is approached in a variety of methods. The course is taught using multiple strategies including algebraic, numerical,

More information

1 of 49 11/30/2017, 2:17 PM

1 of 49 11/30/2017, 2:17 PM 1 of 49 11/30/017, :17 PM Student: Date: Instructor: Alfredo Alvarez Course: Math 134 Assignment: math134homework115 1. The given table gives y as a function of x, with y = f(x). Use the table given to

More information

Geology Geomath Estimating the coefficients of various Mathematical relationships in Geology

Geology Geomath Estimating the coefficients of various Mathematical relationships in Geology Geology 351 - Geomath Estimating the coefficients of various Mathematical relationships in Geology Throughout the semester you ve encountered a variety of mathematical relationships between various geologic

More information

Solutions to Some Examination Problems MATH 300 Monday 25 April 2016

Solutions to Some Examination Problems MATH 300 Monday 25 April 2016 Name: s to Some Examination Problems MATH 300 Monday 25 April 2016 Do each of the following. (a) Let [0, 1] denote the unit interval that is the set of all real numbers r that satisfy the contraints that

More information

Kuratowski Notes , Fall 2005, Prof. Peter Shor Revised Fall 2007

Kuratowski Notes , Fall 2005, Prof. Peter Shor Revised Fall 2007 Kuratowski Notes 8.30, Fall 005, Prof. Peter Shor Revised Fall 007 Unfortunately, the OCW notes on Kuratowski s theorem seem to have several things substantially wrong with the proof, and the notes from

More information

ORDINARY DIFFERENTIAL EQUATIONS

ORDINARY DIFFERENTIAL EQUATIONS Page 1 of 22 ORDINARY DIFFERENTIAL EQUATIONS Lecture 5 Visualization Tools for Solutions of First-Order ODEs (Revised 02 February, 2009 @ 08:05) Professor Stephen H Saperstone Department of Mathematical

More information

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

Four Types of Slope Positive Slope Negative Slope Zero Slope Undefined Slope Slope Dude will help us understand the 4 types of slope Four Types of Slope Positive Slope Negative Slope Zero Slope Undefined Slope Slope Dude will help us understand the 4 types of slope https://www.youtube.com/watch?v=avs6c6_kvxm Direct Variation

More information

ACTIVITY 8. The Bouncing Ball. You ll Need. Name. Date. 1 CBR unit 1 TI-83 or TI-82 Graphing Calculator Ball (a racquet ball works well)

ACTIVITY 8. The Bouncing Ball. You ll Need. Name. Date. 1 CBR unit 1 TI-83 or TI-82 Graphing Calculator Ball (a racquet ball works well) . Name Date ACTIVITY 8 The Bouncing Ball If a ball is dropped from a given height, what does a Height- Time graph look like? How does the velocity change as the ball rises and falls? What affects the shape

More information

Lesson 12 Course Review

Lesson 12 Course Review In this lesson, we will review the topics and applications from Lessons 1-11. We will begin with a review of the different types of functions, and then apply each of them to a set of application problems.

More information

Excel Spreadsheets and Graphs

Excel Spreadsheets and Graphs Excel Spreadsheets and Graphs Spreadsheets are useful for making tables and graphs and for doing repeated calculations on a set of data. A blank spreadsheet consists of a number of cells (just blank spaces

More information

Mathematica Primer.nb 1

Mathematica Primer.nb 1 Mathematica Primer.nb (* Mathematica is a powerful mathematics software pacage that can perform numerical calculations and SYMBOIC manipulations. To enter the program from either a Mac or Windows environment,

More information

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

First of all, we need to know what it means for a parameterize curve to be differentiable. FACT: CALCULUS WITH PARAMETERIZED CURVES In calculus I we learned how to differentiate and integrate functions. In the chapter covering the applications of the integral, we learned how to find the length of

More information

Math127 Final 2013 Special Code:050712

Math127 Final 2013 Special Code:050712 Math127 Final 2013 Special Code:050712 HAND IN THE ENTIRE BOOKLET FOR THE FINAL Name Signature Student ID Number (all 8 digits) Please shut off all cell phones, ear phones, computers, beepers, etc Please

More information

2.9 Linear Approximations and Differentials

2.9 Linear Approximations and Differentials 2.9 Linear Approximations and Differentials 2.9.1 Linear Approximation Consider the following graph, Recall that this is the tangent line at x = a. We had the following definition, f (a) = lim x a f(x)

More information

Calculus I Review Handout 1.3 Introduction to Calculus - Limits. by Kevin M. Chevalier

Calculus I Review Handout 1.3 Introduction to Calculus - Limits. by Kevin M. Chevalier Calculus I Review Handout 1.3 Introduction to Calculus - Limits by Kevin M. Chevalier We are now going to dive into Calculus I as we take a look at the it process. While precalculus covered more static

More information

Scatterplot: The Bridge from Correlation to Regression

Scatterplot: The Bridge from Correlation to Regression Scatterplot: The Bridge from Correlation to Regression We have already seen how a histogram is a useful technique for graphing the distribution of one variable. Here is the histogram depicting the distribution

More information

HYPERBOLA. Going off on a TANGENT!

HYPERBOLA. Going off on a TANGENT! HYPERBOLA Going off on a TANGENT! RECALL THAT THE HYPERBOLA IS A CONIC SECTION A LAMP CASTS A HYPERBOLIC BEAM OF LIGHT NUCLEAR COOLING TOWERS TORNADO TOWER, QATAR KOBE PORT TOWER, JAPAN RULED HYPERBOLOID

More information

Chapter 1 Linear Equations

Chapter 1 Linear Equations Chapter 1 Linear Equations 1.1 Lines In Problems 81 88, use a graphing utility to graph each linear equation. Be sure to use a viewing rectangle that shows the intercepts. Then locate each intercept rounded

More information

Sec.4.1 Increasing and Decreasing Functions

Sec.4.1 Increasing and Decreasing Functions U4L1: Sec.4.1 Increasing and Decreasing Functions A function is increasing on a particular interval if for any, then. Ie: As x increases,. A function is decreasing on a particular interval if for any,

More information

f(x) = C. (1) f(x,y) = C implies that x 2 + y 2 = C 0. (2)

f(x) = C. (1) f(x,y) = C implies that x 2 + y 2 = C 0. (2) Lecture 4 Level Sets/Contours (Relevant section from Stewart, Calculus, Early Transcendentals, Sixth Edition: 14.1) You are no doubt familiar with the idea of contour plots from geography topographic maps

More information

Math 113 Calculus III Final Exam Practice Problems Spring 2003

Math 113 Calculus III Final Exam Practice Problems Spring 2003 Math 113 Calculus III Final Exam Practice Problems Spring 23 1. Let g(x, y, z) = 2x 2 + y 2 + 4z 2. (a) Describe the shapes of the level surfaces of g. (b) In three different graphs, sketch the three cross

More information

ü 1.1 Getting Started

ü 1.1 Getting Started Chapter 1 Introduction Welcome to Mathematica! This tutorial manual is intended as a supplement to Rogawski's Calculus textbook and aimed at students looking to quickly learn Mathematica through examples.

More information

Sec 4.1 Coordinates and Scatter Plots. Coordinate Plane: Formed by two real number lines that intersect at a right angle.

Sec 4.1 Coordinates and Scatter Plots. Coordinate Plane: Formed by two real number lines that intersect at a right angle. Algebra I Chapter 4 Notes Name Sec 4.1 Coordinates and Scatter Plots Coordinate Plane: Formed by two real number lines that intersect at a right angle. X-axis: The horizontal axis Y-axis: The vertical

More information

Using Excel for Graphical Analysis of Data

Using Excel for Graphical Analysis of Data Using Excel for Graphical Analysis of Data Introduction In several upcoming labs, a primary goal will be to determine the mathematical relationship between two variable physical parameters. Graphs are

More information

Direct and Partial Variation. Lesson 12

Direct and Partial Variation. Lesson 12 Direct and Partial Variation Lesson MFMP Foundations of Mathematics Unit Lesson Lesson Twelve Concepts Overall Expectations Apply data-management techniques to investigate relationships between two variables;

More information

UNIT 3B CREATING AND GRAPHING EQUATIONS Lesson 4: Solving Systems of Equations Instruction

UNIT 3B CREATING AND GRAPHING EQUATIONS Lesson 4: Solving Systems of Equations Instruction Prerequisite Skills This lesson requires the use of the following skills: graphing multiple equations on a graphing calculator graphing quadratic equations graphing linear equations Introduction A system

More information

Section 4.3: How Derivatives Affect the Shape of the Graph

Section 4.3: How Derivatives Affect the Shape of the Graph Section 4.3: How Derivatives Affect the Shape of the Graph What does the first derivative of a function tell you about the function? Where on the graph below is f x > 0? Where on the graph below is f x

More information

Partial Derivatives (Online)

Partial Derivatives (Online) 7in x 10in Felder c04_online.tex V3 - January 21, 2015 9:44 A.M. Page 1 CHAPTER 4 Partial Derivatives (Online) 4.7 Tangent Plane Approximations and Power Series It is often helpful to use a linear approximation

More information

Gradient and Directional Derivatives

Gradient and Directional Derivatives Gradient and Directional Derivatives MATH 311, Calculus III J. Robert Buchanan Department of Mathematics Fall 2011 Background Given z = f (x, y) we understand that f : gives the rate of change of z in

More information

Lecture 3: Some Strange Properties of Fractal Curves

Lecture 3: Some Strange Properties of Fractal Curves Lecture 3: Some Strange Properties of Fractal Curves I have been a stranger in a strange land. Exodus 2:22 1. Fractal Strangeness Fractals have a look and feel that is very different from ordinary curves.

More information

7.1 INVERSE FUNCTIONS

7.1 INVERSE FUNCTIONS 1 7.1 INVERSE FUNCTIONS One to one functions are important because their equations, f(x) = k, have (at most) a single solution. One to one functions are also important because they are the functions that

More information