1 / 20

13. Functions and Derivatives

13. Functions and Derivatives. Objectives :. Derivatives of (u(x)) n . Derivation of the chain rule. Examples. Refs: B&Z 10.3. So far we have revised our differentiation techniques for simple functions (logs, exp, sin, polynomials) and

emery-marsh
Download Presentation

13. Functions and Derivatives

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 13. Functions and Derivatives Objectives: Derivatives of (u(x)) n. Derivation of the chain rule. Examples. Refs: B&Z 10.3.

  2. So far we have revised our differentiation techniques for simple functions (logs, exp, sin, polynomials) and used those techniques in slightly more complicated examples (sums, products, quotients). We will now look at slightly harder examples. The Chain Rule In some of our simple examples we have already used the chain rule but we probably didn’t realize it. As an introductory example we let u(x) be some function that we can differentiate, and we will differentiate (u(x))n, where n is an integer.

  3. First let n=2. We can differentiate (u(x))2 using the product rule. (u(x))2 = u(x).u(x) So ((u(x))2 )’= u’(x).u(x) + u(x).u’(x) = 2.u(x).u’(x). Now let n=3. (u(x))3 = (u(x))2. u(x) Again we can use the product rule. So ((u(x))3 )’= ((u(x))2 )’ .u(x) + (u(x))2 .u’(x)

  4. ((u(x))3 )’= ((u(x))2 )’ . u(x) + (u(x))2 . u’(x) We already know that((u(x))2 )’ = 2.u(x).u’(x), so ((u(x))3 )’= 2.u(x).u’(x).u(x) + (u(x))2 .u’(x) = 3(u(x))2. u’(x). Now let n=4. (u(x))4 = (u(x))3. u(x) = ((u(x))3 )’ . u(x) + (u(x))3 . u’(x) (product rule) = 3(u(x))2. u’(x).u(x) + (u(x))3 . u’(x) = 4(u(x))3. u’(x). We continue on in this fashion…….but the general rule is: ((u(x))n )’= n (u(x))n-1 . u’(x)

  5. Example 1: y=(5x2+3)8 = 8(u(x))7. u’(x). = 8(5x2+3 )7. 10x. = 80x(5x2+3 )7. dx dx dy dy Here u(x) = 5x2+3 and so u’(x) = 10x. So y = (u(x))8…….and applying the rule gives: We must write the answer in terms of x not u(x).

  6. = 3(u(x))2. u’(x). = 3(sin(x))2. cos(x). dx dx dy dy Example 2: y = sin3(x) Here u(x) = sin(x) and so u’(x) = cos(x). So y = (u(x))3…….and applying the rule gives: We must write the answer in terms of x not u(x).

  7. (u(x))8 (u(x))3 u(x) u(x) x sin(x) (sin(x))3 x 5x2+3 (5x2+3)8 outer function outer function inner function inner function To differentiate a composite function we must be able to break the function down into simpler pieces - an inner function and an outer function. In the previous type of example this is easy.

  8. sin(u(x)) loge(u(x)) u(x) u(x) x 6x + 3 sin(6x + 3) x x3 + 3x2 + 2 loge(x3 + 3x2 + 2) outer function outer function inner function inner function Other examples: y = loge(x3 + 3x2 + 2) y = sin(6x + 3)

  9. Then In each of these examples we have written our composite function as m(x) = f(g(x)) where f and g are both functions that we can differentiate. Once we have written the function in this form we can use The Chain Rule to differentiate. Sketch Derivation Suppose that for some function y = m(x) its’ decomposition is m(x) = f(g(x)).

  10. Now let g(x) = u and g(x+h) - g(x) = k. Then u+k = g(x) + g(x+h) - g(x) = g(x+h) Note that since k = g(x+h) - g(x), k approaches zero whenever h approaches zero. Now

  11. In Leibniz notation this is Solutions Remember that the first step in solving any of the problems is to identify the inner and outer functions. Examples f(x) = sin(3x) f (x) = √(x4 + 3x) f(x) = loge(x3+2x+3)

  12. x3xsin(3x) inner function outer function =cos(u), =3. du dx dy du du dx dy dx dy du By the chain rule, . = cos(u). 3. Therefore = 3cos(3x) 1. y=sin(3x) So we let u=3x. So y=sin(u), u=3x.

  13. x x4 + 3x√(x4 + 3x) inner function outer function = 4x3+3. =1/2 u-1/2, By the chain rule, . = 1/2 u-1/2.(4x3+3) du dx du dx dy dx dy du dy du Therefore = 1/2 (x4 + 3x )-1/2.(4x3+3) 2. y=√(x4 + 3x) So we let u= x4 + 3x. So y=√u, u= x4 + 3x.

  14. x x3 + 2x+3loge(x3 + 2x+3) inner function outer function = 3x2+2. =1/u, du dx dy du du dx dy dx dy du . = 1/u.(3x2+2) = 3x2 + 2 x3+2x+3 Therefore 3. y=loge(x3 + 2x+3) So we let u= x3 + 2x+3 . So y=loge(u), u= x3 + 2x+3 . By the chain rule,

  15. Alternative notation: dy dx dy dun-1 du1 dx du2 du1 dun-1 dun-2 ………… = Extended Chain Rule Some composite functions have more than two components - the principle for using the chain rule is still the same. Suppose that m(x)=f1(f2(f3……….(fn(x)))). Then m’(x)= f1’(f2(f3……….(fn(x)))). f2’(f3……….(fn(x)))…….. ……… fn-1’(f (x)).f’(x).

  16. x x3+2loge(x3+2)sin(loge(x3+2)) u1 u2 = cos (u2) So y=sin(u2) and u2=loge(u1) and =1/u1 u1=x3+2 = 3x2 dy du2 du2 du1 du1 dx Examples 1. y = sin(loge(x3+2))

  17. = = cos(loge(u1)).1/(x3+2). 3x2 = 3x2. cos(loge(x3+2)) (x3+2) du1 dx du2 du1 dy dx dy du2 Now apply the chain rule: = cos(u2). 1/u1. 3x2

  18. x x3+2x+3sin(x3+2x+3) 2+exp(sin(x3+2x+3))loge(2+exp(sin(x3+2x+3)) u3 u1 u2 So y = loge(u3) and = 1/u3 u3 = 2+exp(u2) = exp(u2) u2 =sin(u1) and =cos(u1) du1 dx du3 du2 du2 du1 dy du3 u1=x3+2x+3 =3x2+2 Examples 1. y=loge(2+exp(sin(x3+2x+3)))

  19. = = exp(sin(x3+2x+3)).cos(x3+2x+3).(3x2+2) 2+exp(sin(x3+2x+3)) du1 dx du3 du2 dy dx dy du3 du2 du1 Now apply the chain rule: =1/u3. exp(u2).cos(u1).(3x2+2) = (1/(2+exp(u2))). exp(sin(u1) ).cos(x3+2x+3).(3x2+2) = (1/(2+exp(sin(u1)))). exp(sin(x3+2x+3)).cos(x3+2x+3).(3x2+2) =(1/(2+exp(sin(x3+2x+3)))). exp(sin(x3+2x+3)).cos(x3+2x+3).(3x2+2)

  20. You should now be able to attempt Q’s 5,7 from Example Sheet 5 from the Orange Book.

More Related