Outline. Calculus for the Life Sciences. Crow Predation on Whelks. Introduction. Lecture Notes Optimization. Joseph M. Mahaffy,

Similar documents
Calculus for the Life Sciences

Outline. Formic Acid

Calculus for the Life Sciences

Outline. Calculus for the Life Sciences. What is a Differential Equation? Introduction. Lecture Notes Introduction to Differential Equa

Calculus for the Life Sciences

MLC Practice Final Exam

4.4: Optimization. Problem 2 Find the radius of a cylindrical container with a volume of 2π m 3 that minimizes the surface area.

Applications of the Derivative - Graphing. Body Temperature Fluctuation during the Menstrual Cycle

Math 190 (Calculus II) Final Review

Calculus for the Life Sciences

Without fully opening the exam, check that you have pages 1 through 11.

MTH 132 Exam 2 November 21st, Without fully opening the exam, check that you have pages 1 through 11.

Math Numerical Analysis

AP Calculus AB Summer Packet 2018

Calculus II Practice Test 1 Problems: , 6.5, Page 1 of 10

Things You Should Know Coming Into Calc I

10.1 Review of Parametric Equations

= 2 x. So, when 0 < x < 2 it is increasing but it is decreasing

MTH 132 Solutions to Exam 2 November 21st, Without fully opening the exam, check that you have pages 1 through 11.

Power Series. x n. Using the ratio test. n n + 1. x n+1 n 3. = lim x. lim n + 1. = 1 < x < 1. Then r = 1 and I = ( 1, 1) ( 1) n 1 x n.

5.4 - Quadratic Functions

Mathematics 1 Lecture Notes Chapter 1 Algebra Review

Lesson 9 Exploring Graphs of Quadratic Functions

SECTION 5.1: Polynomials

3.2. Polynomial Functions and Their Graphs. Copyright Cengage Learning. All rights reserved.

MAT100 OVERVIEW OF CONTENTS AND SAMPLE PROBLEMS

NO CALCULATOR 1. Find the interval or intervals on which the function whose graph is shown is increasing:

INTERNET MAT 117. Solution for the Review Problems. (1) Let us consider the circle with equation. x 2 + 2x + y 2 + 3y = 3 4. (x + 1) 2 + (y + 3 2

1. Introduction. 2. Outlines

Chapter 8B - Trigonometric Functions (the first part)

Without fully opening the exam, check that you have pages 1 through 11.

Outline schemes of work A-level Mathematics 6360

Math 1311 Section 5.5 Polynomials and Rational Functions

Absolute Extrema and Constrained Optimization

Parametric Equations

Outline Calculus for the Life Sciences II. Pollution in a Lake 1. Introduction. Lecture Notes Numerical Methods for Differential Equations

Practice Exam 1 Solutions

Since x + we get x² + 2x = 4, or simplifying it, x² = 4. Therefore, x² + = 4 2 = 2. Ans. (C)

4.1 & 4.2 Student Notes Using the First and Second Derivatives. for all x in D, where D is the domain of f. The number f()

AP Calculus Summer Assignment - Part 1

5.1 - Polynomials. Ex: Let k(x) = x 2 +2x+1. Find (and completely simplify) the following: (a) k(1) (b) k( 2) (c) k(a)

b n x n + b n 1 x n b 1 x + b 0

Unit #7 - Optimization, Optimal Marginal Rates

1. (10pts) If θ is an acute angle, find the values of all the trigonometric functions of θ given that tan θ = 1. Draw a picture.

MATH Max-min Theory Fall 2016

SOLUTIONS FOR PRACTICE FINAL EXAM

MATH1013 Calculus I. Derivatives V ( 4.7, 4.9) 1

5.3. Exercises on the curve analysis of polynomial functions

See animations and interactive applets of some of these at. Fall_2009/Math123/Notes

AP Calculus (BC) Chapter 10 Test No Calculator Section. Name: Date: Period:

MATH 10550, EXAM 2 SOLUTIONS. 1. Find an equation for the tangent line to. f(x) = sin x cos x. 2 which is the slope of the tangent line at

Spring 2015, MA 252, Calculus II, Final Exam Preview Solutions

Final Examination 201-NYA-05 May 18, 2018

Spring /06/2009

Math 261 Exam 3 - Practice Problems. 1. The graph of f is given below. Answer the following questions. (a) Find the intervals where f is increasing:

Without fully opening the exam, check that you have pages 1 through 11.

Calculus First Semester Review Name: Section: Evaluate the function: (g o f )( 2) f (x + h) f (x) h. m(x + h) m(x)

3 Inequalities Absolute Values Inequalities and Intervals... 5

3. Use absolute value notation to write an inequality that represents the statement: x is within 3 units of 2 on the real line.

May 9, 2018 MATH 255A Spring Final Exam Study Guide. Types of questions

Calculus with Analytic Geometry I Exam 10, Take Home Friday, November 8, 2013 Solutions.

Calculus I Review Solutions

INTERNET MAT 117 Review Problems. (1) Let us consider the circle with equation. (b) Find the center and the radius of the circle given above.

1 Lecture 24: Linearization

Review of Topics in Algebra and Pre-Calculus I. Introduction to Functions function Characteristics of a function from set A to set B

Optimization and Newton s method

Parametric Equations and Polar Coordinates

2053 College Physics. Chapter 1 Introduction

Math 1131 Multiple Choice Practice: Exam 2 Spring 2018

Radian measure and trigonometric functions on the reals

Math 75B Practice Midterm III Solutions Chapter 6 (Stewart) Multiple Choice. Circle the letter of the best answer.

Math 111D Calculus 1 Exam 2 Practice Problems Fall 2001

Foraging. This week in Animal Behaviour. How do animals choose? Do animals choose their food?

DEPARTMENT OF MATHEMATICS

Chapter 9 Overview: Parametric and Polar Coordinates

MTH Calculus with Analytic Geom I TEST 1

Precalculus Summer Assignment 2015

Complex Numbers CK-12. Say Thanks to the Authors Click (No sign in required)

1. Which one of the following points is a singular point of. f(x) = (x 1) 2/3? f(x) = 3x 3 4x 2 5x + 6? (C)

MATH 2053 Calculus I Review for the Final Exam

UNIVERSITY OF HOUSTON HIGH SCHOOL MATHEMATICS CONTEST Spring 2018 Calculus Test

V. Graph Sketching and Max-Min Problems

Taylor and Maclaurin Series. Copyright Cengage Learning. All rights reserved.

Practice problems from old exams for math 132 William H. Meeks III

Analytic Trigonometry. Copyright Cengage Learning. All rights reserved.

Announcements. Topics: Homework: - sections , 6.1 (extreme values) * Read these sections and study solved examples in your textbook!

sec x dx = ln sec x + tan x csc x dx = ln csc x cot x

Outline. Math Numerical Analysis. Intermediate Value Theorem. Lecture Notes Zeros and Roots. Joseph M. Mahaffy,

Calculus I 5. Applications of differentiation

Math Numerical Analysis

Tangent Planes, Linear Approximations and Differentiability

Trigonometric ratios:

1. Graph each of the given equations, state the domain and range, and specify all intercepts and symmetry. a) y 3x

8/6/2010 Assignment Previewer

Second Midterm Exam Name: Practice Problems Septmber 28, 2015

PARAMETRIC EQUATIONS AND POLAR COORDINATES

MA 125 CALCULUS I SPRING 2007 April 27, 2007 FINAL EXAM. Name (Print last name first):... Student ID Number (last four digits):...

Optimization Problems. By Tuesday J. Johnson

Sydney Grammar School

Fall 2016, MA 252, Calculus II, Final Exam Preview Solutions

Transcription:

Calculus for the Life Sciences Lecture Notes Optimization Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Department of Mathematics and Statistics Dynamical Systems Group Computational Sciences Research Center San Diego State University San Diego, CA 92182-772 http://www-rohan.sdsu.edu/ jmahaffy Spring 217 Outline 1 2 3 Absolute Extrema of a Polynomial 4 Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (1/45) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (2/45) Animals are frequently devising optimal strategies to gain advantage Reproducing more rapidly Better protection from predation Primitive animals long ago split into the prokaryotes (bacterial cells) and eukaryotes (cells in higher organisms like yeast or humans) from a common ancestor One argument contends that eukaryotic cells added complexity, size, and organization for advantage in competition Prokaryotes stripped down their genome (eliminated junk DNA) to the minimum required for survival, to maximize reproduction These arguments suggest that organisms try to optimize their situation to gain an advantage Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (3/45) Sea gulls and crows have learned to feed on various mollusks by dropping their prey on rocks to break the protective shells Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (4/45)

Foraging Strategy Northwestern crows (Corvus caurinus) on Mandarte Island Reto Zach studied Northwestern crows on Mandarte Island, British Columbia to learn about foraging for whelks (Thais lamellosa) Ecologists study these behaviors to give insight into optimal foraging Northwestern crows Perch above beaches, then fly to intertidal zone Select largest whelks Fly to the rocky area and drop whelks Eat broken whelks Foraging Strategy Whelk Selection Crows search intertidal zone for largest whelks Take whelks to a favorite rocky area Flight Strategy Fly to height of about 5 meters Drop whelks on rocks, repeatedly averaging 4 times Eat edible parts when split open Can this behavior be explained by an optimal foraging decision process? Is the crow exhibiting a behavior that minimizes its expenditure of energy to feed on whelks? Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (5/45) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (6/45) Foraging Strategy Why large whelks? Foraging Strategy Why large whelks? Zach experiment Collected and sorted whelks by size Dropped whelks from various heights until they broke Recorded how many drops at each height were required to break each whelk Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (7/45) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (8/45)

Large Whelks Number of Drops Large Whelks Easier to break open larger whelks, so crows selectively chose the largest available whelks There was a gradient of whelk size on the beach, suggesting that the crows foraging behavior was affecting the distribution of whelks in the intertidal zone, with larger whelks further out Crows benefit by selecting the larger ones because they don t need as many drops per whelk, and they gain more energy from consuming a larger one Study showed that the whelks broken on the rocks were remarkably similar in size, weighing about 9 grams Zach Observation Height of the drops and number of drops required for many crows to eat whelks used a marked pole on the beach near a favorite dropping location Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (9/45) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (1/45) Optimization Problem 1 Optimization Problem So why do the crows consistently fly to about 5.25 m and use about 4.4 drops to split open a whelk? Can this be explained by a mathematical model for minimizing the energy spent, thus supporting an optimal foraging strategy? Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (11/45) Energy is directly proportional to the vertical height that an object is lifted (Work put into a system) The energy that a crow expends breaking open a whelk The amount of time the crow uses to search for an appropriate whelk The energy in flying to the site where the rocks are The energy required to lift the whelk to a certain height and drop it times the number of vertical flights required to split open the whelk Concentrate only on this last component of the problem, as it was observed that the crows kept with the same whelk until they broke it open rather than searching for another whelk when one failed to break after a few attempts Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (12/45)

2 3 Fitting the Data Zach s data on dropping large whelks Energy Function The energy is given by the height (H) times the number of drops (N) or E = khn where k is a constant of proportionality Flying higher and increasing the number of drops both increase the use of energy H(m) 1.5 2 3 4 5 6 7 8 1 15 N(H) 56 2 1.2 7.6 6 5 4.3 3.8 3.1 2.5 Since it always requires at least one drop, the proposed function for the number of drops, N, as a function of height, H is N(H) = 1+ a H b The least squares best fit of this function to Zach s data gives a = 15.97 and b = 1.29 Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (13/45) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (14/45) 4 Graph for Whelks being Dropped N (Number of Drops) 6 5 4 3 2 1 Whelk Drop 5 1 15 H (Height in Meters) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (15/45) 5 Graph of Energy Function The energy function is ( E(H) = kh 1+ a ) H b E(H) 9 8 7 6 5 4 3 Energy Function 2 5 1 15 H (Height in Meters) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (16/45)

6 Minimization Problem Energy satisfies ( E(H) = kh 1+ a ) H b A minimum energy is apparent from the graph with the value around 5.6 m, which is close to the observed value that Zach found the crows to fly when dropping whelks The derivative of E(H) is ( E (H) = k 1+ a H b ah ) ( H 2 2bH +b 2 ) ab (H b) 2 = k (H b) 2 The optimal energy occurs at the minimum, where E (H) = Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (17/45) 7 Minimization Problem The derivative of the Energy function is ( H E 2 2bH +b 2 ) ab (H) = k (H b) 2 The derivative is zero if the numerator is zero The numerator is a quadratic with solution H = b± ab = 1.29±4.394 Thus, H = 5.63 is the minimum energy (H = 3.185 is a maximum, but fails to make sense) This computed minimum concurs with the experimental observations, suggesting an optimal foraging strategy Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (18/45) Absolute Extrema of a Polynomial Absolute Extrema of a Polynomial One application of the derivative is to find critical points where often a function has a relative minimum or maximum An optimal solution for a function is when the function takes on an absolute minimum or maximum over its domain Theorem: Suppose that f(x) is a continuous, differential function on a closed interval I = [a,b], then f(x) achieves its absolute minimum (or maximum) on I and its minimum (or maximum) occurs either at a point where f (x) = or at one of the endpoints of the interval Definition: An absolute minimum for a function f(x) occurs at a point x = c, if f(c) < f(x) for all x in the domain of f Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (19/45) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (2/45)

Absolute Extrema of a Polynomial Absolute Extrema of a Polynomial 1 Absolute Extrema of a Polynomial Absolute Extrema of a Polynomial 2 Solution: The cubic polynomial Absolute Extrema of a Polynomial: Consider the cubic polynomial f(x) defined on the interval x [,5], where f(x) = x 3 6x 2 +9x+4 Find the absolute extrema of this polynomial on its domain Skip Example Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (21/45) The derivative is f(x) = x 3 6x 2 +9x+4 f (x) = 3x 2 12x+9 = 3(x 1)(x 3) Critical points occur at x c = 1 and x c = 3 To find the absolute extrema, we evaluate f(x) at the critical points and the endpoints of the domain f() = 4 (an absolute minimum) f(1) = 8 (an relative maximum) f(3) = 4 (an absolute minimum) f(5) = 24 (an absolute maximum) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (22/45) Absolute Extrema of a Polynomial Absolute Extrema of a Polynomial 3 Solution: Graph of cubic polynomial 25 Absolute Extrema 1 : An ecology student goes into the field with 12 m of string and wants to create two adjacent rectangular study areas with the maximum area possible f(x) = x 3 6x 2 + 9x + 4 2 15 1 5 1 2 3 4 5 x Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (23/45) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (24/45)

2 Solution : The Objective Function for this problem is the area of the rectangular plots The area of each rectangular plot is A(x,y) = xy The optimal solution uses all string The Constraint Condition is the length of string available P(x,y) = 4x+3y = 12 3 Solution (cont): This problem allows the objective function of two variables to be reduced by the constraint condition to a function of one variable that can readily be optimized The constraint condition is solved for y to give y = 12 4x 3 The objective function becomes A(x) = x 12 4x 3 = 4x 4x2 3 The domain of this function is x [,3] Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (25/45) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (26/45) 4 Solution (cont): The objective function is a parabola A(x) 35 3 25 2 15 1 5 Area of Research Plots 5 1 15 2 25 3 x Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (27/45) 5 Solution (cont): The optimal solution is the maximum area for the function A(x) = 4x 4x2 3 The maximum area occurs at the vertex of this parabola Alternately, we differentiate the objective function with A (x) = 4 8x 3 The critical point occurs when A (x c ) = or x c = 15 The maximum area occurs with x = 15 m and y = 2 m To maximize the study areas, the ecology student should make each of the two study areas 15 m wide and 2 m long or A max = 3 m 2 Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (28/45)

1 : One of the simplest chemical reactions is the combination of two substances to form a third A+B k X Assume the initial concentration of substance A is a and the initial concentration of B is b The law of mass action gives the following reaction rate R(x) = k(a x)(b x), x min(a,b) k is the rate constant of the reaction and x is the concentration of X during the reaction What is the concentration of X where the reaction rate is at a maximum? Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (29/45) 2 : Suppose that k = 5 (sec 1 ), a = 6 (ppm), and b = 2 (ppm), so R(x) = 5(6 x)(2 x) = 5x 2 4x+6, x 2 The derivative is R (x) = 1x 4 The critical point (where R (x) = ) is x c = 4 This critical point is outside the domain (and produces a negative reaction rate) At the endpoints At x =,the reaction rate is R() = 6 (maximum) At x = 2,the reaction rate is R(2) = (minimum) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (3/45) 3 : Graphing the Reaction Rate R(x) 6 5 4 3 2 1 Reaction Rate.5 1 1.5 2 x (Concentration of x) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (31/45) 1 Example - by Bumblebees 1 : Animals often forage on resources that are in discrete patches Bumblebees forage on many flowers The amount of nectar, N(t), consumed increases with diminishing returns with time t Suppose this function satisfies with t in sec and N in mg N(t) =.3t t+2, Assume the travel time between flowers is 4 sec 1 J. Stewart and T. Day, Biocalculus, Cengage (215) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (32/45)

2 3 : Assume bumblebees acquire nectar according to N(t) =.3t t+2, with travel between flowers being 4 sec : The time for a complete foraging cycle is t+4, so the nectar consumed per second is f(t) = N(t) t+4 =.3t (t+2)(t+4) =.3t t 2 +6t+8 Nectar Consumption.3 If the bee spends t sec at each flower, then create a foraging function, f(t), describing the nectar consumed over one cycle from landing on one flower until landing on the next flower Find the optimal foraging time for receiving the maximum energy gain from the nectar N(t) mg.25.2.15.1.5 N(t) =.3t t+2 f(t) mg/sec.25.2.15.1.5 f(t) =.3t (t+2)(t+4) 1 2 3 4 5 6 7 8 9 1 t sec 1 2 3 4 5 6 7 8 9 1 t sec Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (33/45) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (34/45) 4 Optimal : Since the derivative satisfies f(t) = N(t) t+4 =.3t (t+2)(t+4) =.3t t 2 +6t+8, 1 Example: A wire length L is cut to make a circle and a square Skip Example How should the cut be made to maximize the area enclosed by the two shapes? f (t) =.3(t2 +6t+8).3t(2t +6) (t 2 +6t+8) 2 =.3t2 +2.4 (t 2 +6t+8) 2, The maximum of f(t) is when f (t) =, which occurs when.3t 2 +2.4 = or t = 2 2 2.83 sec Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (35/45) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (36/45)

2 Solution: The circle has area πr 2, and the square has area x 2 The Objective Function to be optimized is A(r,x) = πr 2 +x 2 The Constraint Condition based on the length of the wire with domain x [, L 4 ] From the constraint, r satisfies L = 2πr +4x r = L 4x 2π 3 Solution: With the constraint condition, the area function becomes A(x) = (L 4x)2 +x 2 4π Differentiating A(x) gives A (x) = 2(L 4x)( 4) 4π (( 4+π +2x = 2 π Relative extrema satisfy A (x) =, so (4+π)x = L ) x L ) π Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (37/45) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (38/45) 4 Solution: The relative extremum occurs at x = L 4+π The second derivative of A(x) is A (x) = 8 π +2 > The function is concave upward, so the critical point is a minimum A(x) is a quadratic with the leading coefficient being positive, so the vertex of the parabola is the minimum Cutting the wire at x = L 4+π gives the minimum possible area Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (39/45) 5 Solution: To find the maximum the Theorem for an requires checking the endpoints The endpoints All in the circle, x =, A() = L2 4π All in the square, x = L 4, A( ) L 4 = L 2 16 Since 4π < 16, A() > A ( ) L 4 The maximum occurs when the wire is used to create a circle Geometrically, a circle is the most efficient conversion of a linear measurement into area Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (4/45)

6 Solution: Graph of wire problem with L = 1 Area.8.7.6.5 A(x) = (1 4x)2 4π +x 2 Area (Circle + Square) 1 A smaller blood vessel, radius r 2, is shown branching off a primary blood vessel, radius r 1 with angle θ Our goal is to find the optimal angle of branching that minimizes the energy requires to transport the blood The primary loss of energy for flowing blood is the resistance in the blood vessels Resistance follows Poiseuille s Law.4.3.5.1.15.2.25 x (Length of Side of Square) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (41/45) R = C L r 4, where C is a constant, L is the length of the vessel, and r is the radius of the blood vessel Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (42/45) 2 3 Problem begins by finding the lengths AB and BC as a function of θ with respect to the fixed distances a and b From our basic definitions of trig functions we have Also, sin(θ) = b BC cos(θ) = a AB BC or BC = b sin(θ) = (a AB )sin(θ) b or AB = a bcos(θ) sin(θ) Apply Poiseuille s Law using the lengths AB and BC to obtain the resistance R(θ) ( a R(θ) = C bcos(θ) ) r1 4sin(θ) + b r2 4sin(θ) r 4 1 Differentiating R(θ) gives [ R (θ) = Cb 1 ( ) sin(θ)sin(θ) cos(θ)cos(θ) r1 4 sin 2 cos(θ) ] (θ) r2 4sin2 (θ) ( R Cb 1 (θ) = sin 2 (θ) r1 4 cos(θ) ) r2 4 Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (43/45) Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (44/45)

θ 5 Since R (θ) = Cb ( 1 sin 2 (θ) r1 4 cos(θ) ) r2 4, the minimum resistance occurs when R (θ) = or cos(θ) = r4 2 r 4 1 For small ratios of r 2 r 1, the new blood vessel optimally comes off at nearly a right angle When r 2 r 1 = 1 2, the optimal angle is θ = 1.583 86.4 Even when r 2 r 1 = 3 4, the optimal angle is θ = 1.2489 71.6 or ( r 4) θ = arccos 2 π/2 3π/8 π/4 π/8 r 4 1 Optimal Angle θ.1.2.3.4.5.6.7.8.9 1 r2 r1 Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Lecture Notes Optimization (45/45)