Parametric Equations, Function Composition and the Chain Rule: A Worksheet

Similar documents
Exam 1 Review SOLUTIONS

Chapter 4 Notes, Calculus I with Precalculus 3e Larson/Edwards

MATH 124. Midterm 2 Topics

Lecture 13 - Wednesday April 29th

Math 111: Calculus. David Perkinson

3.4 The Chain Rule. F (x) = f (g(x))g (x) Alternate way of thinking about it: If y = f(u) and u = g(x) where both are differentiable functions, then

Vector Functions & Space Curves MATH 2110Q

Find the indicated derivative. 1) Find y(4) if y = 3 sin x. A) y(4) = 3 cos x B) y(4) = 3 sin x C) y(4) = - 3 cos x D) y(4) = - 3 sin x

MTH4100 Calculus I. Week 6 (Thomas Calculus Sections 3.5 to 4.2) Rainer Klages. School of Mathematical Sciences Queen Mary, University of London

Mathematics Engineering Calculus III Fall 13 Test #1

Complex Differentials and the Stokes, Goursat and Cauchy Theorems

Exam Question 10: Differential Equations. June 19, Applied Mathematics: Lecture 6. Brendan Williamson. Introduction.

Volumes of Solids of Revolution Lecture #6 a

Leibniz Notation. Math 184 section 922 5/31/11. An alternative to the notation f (x) or (x + 2) is the so-called Leibniz

2.6 The microscope equation

To take the derivative of x raised to a power, you multiply in front by the exponent and subtract 1 from the exponent.

Math 111, Introduction to the Calculus, Fall 2011 Midterm I Practice Exam 1 Solutions

3 = arccos. A a and b are parallel, B a and b are perpendicular, C a and b are normalized, or D this is always true.

UNDERSTANDING FUNCTIONS

Section 14.1 Vector Functions and Space Curves

3.1 Derivative Formulas for Powers and Polynomials

Lecture 7 - Separable Equations

2.7 Implicit Differentiation and Related Rates Math 125

Math 113 Final Exam Practice

Review for the First Midterm Exam

f(x 0 + h) f(x 0 ) h slope of secant line = m sec

MATH 1902: Mathematics for the Physical Sciences I

1 Implicit Differentiation

Math 106 Answers to Exam 3a Fall 2015

Math 212-Lecture 8. The chain rule with one independent variable

Midterm 1 Review. Distance = (x 1 x 0 ) 2 + (y 1 y 0 ) 2.

21-256: Partial differentiation

MAT 122 Homework 7 Solutions

Mth Review Problems for Test 2 Stewart 8e Chapter 3. For Test #2 study these problems, the examples in your notes, and the homework.

December Exam Summary

Chapter 4. Section Derivatives of Exponential and Logarithmic Functions

Week 4: Differentiation for Functions of Several Variables

The Chain Rule. Mathematics 11: Lecture 18. Dan Sloughter. Furman University. October 10, 2007

10.3 Parametric Equations. 1 Math 1432 Dr. Almus

Increments, differentials, and local approximations

Parametric Equations and Polar Coordinates

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.

True or False. Circle T if the statement is always true; otherwise circle F. for all angles θ. T F. 1 sin θ

SOME PROBLEMS YOU SHOULD BE ABLE TO DO

Econ Slides from Lecture 10

Lecture : The Chain Rule MTH 124

1 Lecture 18: The chain rule

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:

2.2 Graphs of Functions

Math Practice Final - solutions

MATH The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input,

AP Calculus Chapter 3 Testbank (Mr. Surowski)

Solutions to Second Midterm(pineapple)

Section 1.4 Tangents and Velocity

Topic 2-2: Derivatives of Vector Functions. Textbook: Section 13.2, 13.4

Calculus and Parametric Equations

Math 116 Second Midterm March 20, 2013

Tackling the Calculator Multiple Choice Section (AB)

Exam 3. MA 114 Exam 3 Fall Multiple Choice Questions. 1. Find the average value of the function f (x) = 2 sin x sin 2x on 0 x π. C. 0 D. 4 E.

How to Use Calculus Like a Physicist

(c) The first thing to do for this problem is to create a parametric curve for C. One choice would be. (cos(t), sin(t)) with 0 t 2π

1.4 Techniques of Integration

Mathematical Economics: Lecture 9

Math 134 Exam 2 November 5, 2009

a k 0, then k + 1 = 2 lim 1 + 1

MAC Calculus II Spring Homework #6 Some Solutions.

CLASS NOTES: INTERMEDIATE ALGEBRA AND COORDINATE GEOMETRY

=.55 = = 5.05

Change & Rates of Change

1 Functions, Graphs and Limits

MATH 408N PRACTICE FINAL

Worksheet 1.7: Introduction to Vector Functions - Position

MATH 1910 Limits Numerically and Graphically Introduction to Limits does not exist DNE DOES does not Finding Limits Numerically

HOMEWORK 7 SOLUTIONS

5 Integrals reviewed Basic facts U-substitution... 4

Maxima and Minima. (a, b) of R if

Review for Final Exam, MATH , Fall 2010

2t t dt.. So the distance is (t2 +6) 3/2

Section 20: Arrow Diagrams on the Integers

Precalculus idea: A picture is worth 1,000 words

Chapter 1 Review of Equations and Inequalities

Chapter II.B. The Chain Rule

Lecture 6, September 1, 2017

The Mean Value Theorem

Business and Life Calculus

Math 116 Practice for Exam 2

AP Calculus AB 2017 Free-Response Solutions

Limit. Chapter Introduction

Math 142 (Summer 2018) Business Calculus 5.8 Notes

11.6. Parametric Differentiation. Introduction. Prerequisites. Learning Outcomes

Review for the Final Exam

AP Calculus BC - Problem Solving Drill 19: Parametric Functions and Polar Functions

Math 2 Variable Manipulation Part 6 System of Equations

MATH Green s Theorem Fall 2016

3. On the grid below, sketch and label graphs of the following functions: y = sin x, y = cos x, and y = sin(x π/2). π/2 π 3π/2 2π 5π/2

MSM120 1M1 First year mathematics for civil engineers Revision notes 4

Summary of various integrals

Handout 5, Summer 2014 Math May Consider the following table of values: x f(x) g(x) f (x) g (x)

The definite integral gives the area under the curve. Simplest use of FTC1: derivative of integral is original function.

Module 2: Reflecting on One s Problems

Transcription:

Parametric Equations, Function Composition and the Chain Rule: A Worksheet Prof.Rebecca Goldin Oct. 8, 003 1 Parametric Equations We have seen that the graph of a function f(x) of one variable consists of a set of points in the xy-plane. These points are the set {(x, f(x)) : x D}, where D is the domain of f(x) The graph of a function has many properties. For example, every such graph passes the vertical line test. This test reflects the fact that, for every x value, there is exactly one y value, mainly f(x). We notice that x is always the input and y is the output that we get by evaluating f(x). Example 1.1 How is the graph of a function different from a function? Solution: The function describes a way to get a number out for each x value you put in. The function doesn t live in the plane. The graph of a function, on the other hand, describes the set of points {(x, f(x))} in the xy-plane. Parametric equations are just another way of describing a set of points in the xy-plane in our case (or in higher dimensions in general). Instead of describing these points by {(x, f(x))}, we describe the points by the set {(x, y)}, where x itself (as well as y) is determined by a function x(t) (or (y(t)). Here t is the input, and it is called a parameter. This is similar to how x is the input in the 1

case of a graph of a function. Similarly, y is actually a function y(t) dependent on the parameter t. Given a particular value of t, one can find a point in the xy-plane by evaluating (x(t), y(t)). Another way that people write parametric equations is x = f(t) and y = g(t) for some range of t values. The functions f(t) and g(t) replace the functions x(t) and y(t), respectively, but they are just different names for the same functions. Example 1. Parametric Equations (Basic) One use of parametric equations is that it doesn t rely on the resulting points {(x, y)} to actually be a graph of a function. For example, the parametric equations x = 1 and y = t, t [0, 4] describes a vertical line segment given by points {1, y} where y goes from 0 to 4. This obviously doesn t pass the vertical line test and could not be the graph of a function. Example 1.3 You Try It 1. Describe the vertical line segment that goes from (3, 7) to (3, 14) using parametric equations.. Do problem 1 p. 65 Another important example is the case of a circle of radius r. Example 1.4 You Try It Find parametric equations for the circle of radius 5 centered around the origin. If you have trouble, consult the book on page 61. You can find the formal definition of parametric equations in your text. The equations are x = f(t) and y = g(t). They are called parametric because they depend on a parameter t.

Remark 1 Any particular point (x, y) on the curve described by parametric equations x = f(t) and y = g(t) is obtained by a particular choice of t. You cannot use one choice of t for finding x and a different choice for finding y. This is illustrated in the next example. Example 1.5 The motion of a fly is described by the equations x = cos(t) and y = sin(t), t [0, π] At what time is the fly at the position (, )? Solution: At what time means we re looking for a value of t that gives us the point (x, y) = ( ). This expression, (x, y) = (, ) is really two equations that we need to solve using the fact that x = cos(t) and y = sin(t), mainly cos(t) = and sin(t) =. However we need to solve these equations simultaneously, i.e. the fly has to be in the appropriate x position and in the appropriate y position at the same time. In the first equation, we find that t = 3π and t = 5π are two 4 4 solutions to the equation. For the second equation, we find that t = π and t = 3π are both solutions. The only simultaneous solution 4 4 is t = 3π, when both equations are satisfied for the same t value. 4 3

Composition of Functions and Parametric Equations Recall that if f(x) and g(x) are two functions and the range of g(x) is in the domain of f(x), then we can form the composition f(g(x)). The goal of this section is to understand this composition of functions better. Example.1 This example illustrates the calculations involved with composition. Find the composition f(g(x)) when f(x) = sin x 3 and g(x) = 1. x Solution: First make sure you re clear on the notation: sin x 3 = sin(x 3 ) which is NOT the same as sin 3 x = (sin x) 3. f(g(x)) = sin ( [ ( g(x) 3) ) ] 3 ( ) 1 1 = sin = sin x x 6 or alternatively f(g(x)) = f Example. You Try It 1. Do Problems 37, 39 on p.. ( ) [ ( ) ] 3 ( ) 1 1 1 = sin = sin. x x x 6 Example.3 The profit made on orange juice as a function of volume. This example illustrates the concept of composition. Imagine that x is an amount (volume) of orange juice in litres. Let g(x) be the price of buying x litres of orange juice. Suppose that g(x) = 3x, so it costs $3 per litre of orange juice. Now suppose that f(x) is the amount of money the company earns when collecting $x. For example, f(x) =.x, i.e. the company has a profit of 0 cents for each dollar collected. Notice that x does NOT stand for the same thing in the context of f(x) and in g(x). As a variable in 4

the domain of g(x), x is an amount of orange juice. As a variable in the domain of f(x), x is a quantity of money. The important thing, however, is that the range of g(x) is the domain of f(x); both are measured in dollars. Now what does f(g(x)) mean? Since x is first taken in by the function g(x) (on the inside), we know that x must stand for an amount of orange juice. Now g(x) is the price of that orange juice, and f(g(x)) is the amount of profit taken in for that price. Thus f(g(x)) represents the amount of profit obtained when x litres of orange juice are sold. Here s the explicit calculation: or alternatively, f(g(x)) =.g(x) =.(3x) = 1.5x f(g(x)) = f(3x) =.(3x) = 1.5x. Now let s do a parametric composition. Example.4 Suppose that an ant moves along the graph of the parametric equations given by x = cos t andy = 3 sin t where t [0, π). at any time t in the domain. First, convince yourself that this is an ellipse by finding the Cartesian equation that these parametric equations satisfy. Notice that 3x = 6 cos t and y = 6 sin t, which is like a circle of radius 6. From this, you might guess that (3x) + (y) = 36. Dividing both sides by 36, you ll find the equation of an ellipse in standard form. Now suppose that the position of a bird depends on the position of the ant. Suppose that the bird can be found at the position x bird = x ant and y bird = 5y ant. Can you figure out the position of the bird as a function of time? Since the bird s position depends on the ant s position, which in turn depends on time, one suspects this is a composition question, as compositions always reflect a chain of dependencies. In this case, we see that x bird = x ant = ( cos t) = 4 cos t. Similarly, y bird = y ant = (3 sin t) = 6 sin t. Thus the bird is also on a (different) ellipse in the xy-plane. 5

Here is a picture of what s going on when finding f(g(x)). Take x and first apply g to it, to get g(x): x g(x) Now apply f to the value g(x), to get f(g(x)): g(x) f(g(x)). Example.5 Recognizing functions as compositions. How do you recognize a function as a composition of others? There may be more than one answer!! 1. If you re given f(x) = x 7 sin x, this is NOT the composition of x 7 and sin x, but the proct of these two functions. However, here is one way of seeing a composition in here: sin x is a composition. Let g(x) = x, and h(x) = sin x. Then h(g(x)) = sin g(x) = sin x. Notice that g(h(x)) = (h(x)) = (sin x) = sin x, which is not the same as sin x, so the order of composition if important.. Again, let f(x) = x 7 sin x. Let g(x) = x and h(x) = x 7 sin x. Then h(g(x)) = (g(x)) 7 sin g(x) = (x ) 7 sin x = x 7 sin x = f(x). so indeed we can see f(x) as a composition. However, this is not very useful from the point of view of differentiation, since h(x) is hard to differentiate. 3. If you re given f(x) = (x + 1), then the function on the inside is g(x) = x + 1. What is being done to g(x)? It s being squared. What function takes anything and squares it? h(x) = x. Thus h(g(x)) = (x + 1) = f(x). 4. f(t) = (1 + cos t) 4. The inside is g(t) = 1 + cos t. The outside function takes whatever is on the inside to the -4th power. Thus h(x) = x 4. Then h(g(t)) = (g(t)) 4 = ( cos t) 4. 6

Notice that it didn t matter that we wrote h(x) as a function of x. Since x is just a variable, it stands for whatever you feed into h. Notice also in this case that g(t) is also a composition of functions. If we let k(t) = t and m(t) = 1 + cos t, then g(t) = m(k(t)) = 1 + cos(k(t)) = 1 + cos t. 5. f(t) = (1 + cos t) 4 (again). Notice that you could have broken the function up differently to begin with. Let g(t) = t. Let h(x) = (1 + cos x) 4. Then h(g(t)) = h(t) = (1 + cos t) 4 = f(t). This way of breaking up the equation is less useful from the point of view of differentiating functions, since h(x) is hard to differentiate without using the chain rule again. We ll see more on the chain rule below. Example.6 You Try It 1. Do Exercise 41 on p. 3 Taking the Derivative of the Composition of Functions: the Chain Rule Theorem 3.1 (The Chain Rule) The chain rule specifies how to differentiate a composition of functions. Let f(x) = h(g(x)). Then How do you calculate h (g(x))? f (x) = h (g(x))g (x). 1. Write down the function h(x). Differentiate h(x) with respect to x (don t worry about g(x)). 3. Evaluate h (x) at g(x). 7

Example 3.1 Consider the function f(x) = (1 + cos x) 4. We notice that the inside is g(x) = 1 + cos x, and the outside function is h(x) = x 4. Then h(g(x)) = (g(x)) 4 = (1 + cos x) 4 = f(x) so we may apply the chain rule. We first calculate g (x): g (x) = 0 + sin x = sin x. Now we calculate h (g(x)) using the steps outlined above. 1. Write down h(x): h(x) = x 4.. Differentiate h(x) with respect to x: h (x) = 4x 5, using the power rule. 3. Evaluate h (x) at g(x): h (g(x)) = 4(g(x)) 5 = 4(1 + cos x) 5. Lastly we use the chain rule: f (x) = h (g(x))g (x) = 4(1 + cos x) 5 ( sin x) = +4(sin x)(1 + cos x) 5 Notice that the final answer is just using the power rule to (1 + cos x) 4 times the derivative of the inside, which is sin x. Example 3. You Try It 1. Express f(x) = sin(x 1) as the composition of two functions. What is g(x) and what is h(x)? Check that h(g(x)) = f(x).. Find f (x) using the chain rule. 3. Do Exercises 7,9,1,13,14,17,19, 3, 7, 30 on page 195 using the techniques outlined above. Check your answer in the back of the book. 8

4 Another look at the chain rule You can also do the chain rule by applying the formula: df dx = df dx. Why is this the same as above? The answer is very tricky!! Part of the trick is just notational. Let u = g(x). Then f(x) = h(g(x)) = h(u). The original chain rule says: df dx = h (g(x))g (x). The term g (x) is clearly the same as dg = since u = g(x). Let s dx dx take a closer look at h (g(x)). Here s the first trick: The functions h(x) and h(u) are really the same thing except there s a variable change. Similarly, h (x) = dh is describing the same function as dx h (u) = dh, except the variable u is used instead of x. Then h (g(x)) (where the derivative is done with respect to x, and then g(x) is stuck in for x, is the same as dh, take the derivative of h as a function of u and then evaluates at g(x). However, u = g(x) means that you could can just consider dh already as a function of u and you don t need to stick in g(x). In practice, in order to evaluate dh, we do actually plug in g(x) for u, since we want it as a function of x in the end. This would lead us to the conclusion that df dx = dh dx. So here s the second trick: If we consider f as a function of u, we mean that f = h(u)! This is a subtle notational issue. To illustrate this point, consider f(x) = ((x ) + 1) 3. On the one hand, when we write f(x) to mean stick x into the formula. In this light, if we write f(u), we would mean f(u) = ((x ) + 1) 3. But considering f as a function of u is different: let u = x + 1. Then by saying f as a function of u, we really mean the function u 3. This is exactly the outside function, or what we have been calling h(u)!! Therefore, dh = df, and sticking that into the equation above, we obtain df dx = df 9 dx.

The main point in working problems using this, is that df means to think of f as a function of u, where u is a convenient substitution that makes f look simpler. It is not actually f(u), but h(u), the outside function in our original discussion. Example 4.1 Differentiate cos(t 3 5t) using the second form of the chain rule. Solution: We use the formula (with t replacing x): df dt = df dt. Let u(t) = t 3 5t. Then f = cos u and df = sin u = sin(t3 5t). Also, = dt 3t 5. The final answer is then df dt = df dt = sin(t3 5t)(3t 5) = (3t 5) sin(t 3 5t). 5 Chain Rule and Parameterized Curves You may be wondering: what does the chain rule and differentiating functions have to do with parametric curves? The main answer is the following: if you are given a curve in parametric equations, how do you find the tangent line to a curve? In particular, how do you find its slope? Remark If you have a curve described by the graph of a function f(x), then the slope of the tangent line at a point P (x 0, y 0 ) is f (x 0 ) (the derivative f (x), evaluated at P ). Remark 3 If you have a curve described by parametric equations x = f(t) and y = g(t), then the slope of the tangent line at a point P (x 0, y 0 ) is given by dy, evaluated at P. dx So the real question boils down to: How do you calculate dy dx for a parametric curve (a curve described by parametric equations)? The answer is using the CHAIN RULE for parametric equations 10

Theorem 5.1 (The Chain Rule for Parametric Curves) Let x = f(t) and y = g(t) be parametric equations for a curve, where t D, D a domain in R. Then dy dx = dy/dt dx/dt = dg/dt df/dt. You may wonder: How is this the chain rule? sides of the equation by dx/dt and get Multiply both dy dx dx dt = dy dt which is the chain rule for calculating dy. This seems weird: we dt have y as a function of t (mainly g(t)). So what does the left hand side of the equation mean? We are just applying a trick here. We d LIKE to have dy even though we have no explicit expression for y in dx terms of x, as we do with Cartesian functions of the form y = f(x). So we PRETEND that y were a composition with x(t). If it were, i.e. y(t) = h(x(t)), then by the same reasoning above, we d obtain that dy dt = dy dx dx dt where x is playing the role that u does in the previous section. Now it happens that we know dy and dx dy, so we may solve for dt dt dx and it doesn t matter that we never actually wrote y down as a composition of functions!! Let s try to use this formula: Example 5.1 Let x = sin t, y = 5 sin t. Find the slope of the tangent curve at t = π/3. Then find the equation of the line through this point tangent to the curve. Solution: We use the formula: dy dx = dy/dt dx/dt. By direct calculation, dy = 5 cos t and dx dt dt dy dx = 5 11 = cos t. The ratio is then

We evaluate at t = π/3, but there is no t-dependence, so the answer is 5. To find the line through the curve, we use y = mx + b = 5x + b. Using the point (sin π/3, 5 sin π/3) = ( 3, 15 ) we solve for b: 15 = 5 3 + b so b = 0 and the equation of the line is just y = 5x. Example 5. You Try It: 1. Let x = cos t and y = sin t, t [0, π). Find the slope of the tangent line to the curve at t = π by finding 4 dy dx = dy/dt dx/dt. and then evaluating at t = π. Then find the equation of the 4 line tangent to the curve at this point.. Do problems 33, 35, 37, 39 on p. 195. 1