Skip to main content

Chain Rule

  • Chapter
  • First Online:
Applied Calculus with R
  • 786 Accesses

Abstract

Before moving to our last derivative result, the chain rule, you might consider reviewing the Appendix on function composition, F. The chain rule is considered the most challenging of the three results, the produce rule, quotient rule, and chain rule, partly due to function composition itself being confusing. We are going to use \(\sin (x^2)\) as a main example, which is a composition of \(\sin (x)\) and \(x^2\). In other words, if \(f(x)= \sin (x)\) and \(g(x)=x^2\) then \(h(x)=f(g(x)) = \sin (x^2)\). In this example, \(g(x)=x^2\) is the inside function while \(f(x)=\sin (x)\) is the outside function, because g(x) is inside f(x) in \(h(x)=f(g(x))\). Now, if we are given \(h(x)= = \sin (x^2)\) how do we know this is a composition and how do we know which is the inside function. What may help it to consider what we would do if we were to evaluate h(x) at some value of x, say \(x=5\). We would first do \(5^2\) to get 25 after that we would then evaluate \(\sin (25)\). Here \(x^2\) is the inside function because we did that first, squared 5, and then took that output and used it to find \(\sin (25)\), making \(\sin (x)\) the outside function. We will consider both how function composition changes functions along with the impact on the derivative.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 89.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Thomas J. Pfaff .

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Pfaff, T.J. (2023). Chain Rule. In: Applied Calculus with R. Springer, Cham. https://doi.org/10.1007/978-3-031-28571-4_14

Download citation

Publish with us

Policies and ethics