# chain rule example

Step 2 Differentiate the inner function, which is Some of the types of chain rule problems that are asked in the exam. In school, there are some chocolates for 240 adults and 400 children. It is used where the function is within another function. Step 2: Differentiate the inner function. D(3x + 1)2 = 2(3x + 1)2-1 = 2(3x + 1). So let’s dive right into it! D(e5x2 + 7x – 19) = e5x2 + 7x – 19. Differentiate the outer function, ignoring the constant. The general power rule states that this derivative is n times the function raised to the (n-1)th power … Example 5: Find the slope of the tangent line to a curve y = (x 2 − 3) 5 at the point (−1, −32). \end {equation} •Prove the chain rule •Learn how to use it •Do example problems . The derivative of x4 – 37 is 4x(4-1) – 0, which is also 4x3. Show Solution We’ve already identified the two functions that we needed for the composition, but let’s write them back down anyway and take their derivatives. Once you’ve performed a few of these differentiations, you’ll get to recognize those functions that use this particular rule. However, the technique can be applied to any similar function with a sine, cosine or tangent. y = u 6. Check out the graph below to understand this change. Urn 1 has 1 black ball and 2 white balls and Urn 2 has 1 black ball and 3 white balls. Check out the graph below to understand this change. In this example, the negative sign is inside the second set of parentheses. OK. Now, let's differentiate the same equation using the chain rule which states that the derivative of a composite function equals: (derivative of outside) • (inside) • (derivative of inside). The capital F means the same thing as lower case f, it just encompasses the composition of functions. Watch the video for a couple of chain rule examples, or read on below: The formal definition of the chain rule: For problems 1 – 27 differentiate the given function. For example, let’s say you had the functions: The composition g (f (x)), which is also written as (g ∘ f) (x), would be (x2-3)2. Before using the chain rule, let's multiply this out and then take the derivative. = e5x2 + 7x – 13(10x + 7), Step 4 Rewrite the equation and simplify, if possible. One model for the atmospheric pressure at a height h is f(h) = 101325 e . Step 4: Multiply Step 3 by the outer function’s derivative. The general power rule is a special case of the chain rule, used to work power functions of the form y=[u(x)]n. The general power rule states that if y=[u(x)]n], then dy/dx = n[u(x)]n – 1u'(x). http://www.integralcalc.com College calculus tutor offers free calculus help and sample problems. = (2cot x (ln 2) (-csc2)x). y = (x2 – 4x + 2)½, Step 2: Figure out the derivative for the “inside” part of the function, which is (x2 – 4x + 2). As the name itself suggests chain rule it means differentiating the terms one by one in a chain form starting from the outermost function to the innermost function. f (x) = (6x2+7x)4 f ( x) = ( 6 x 2 + 7 x) 4 Solution. equals ½(x4 – 37) (1 – ½) or ½(x4 – 37)(-½). Tip: This technique can also be applied to outer functions that are square roots. Therefore sqrt(x) differentiates as follows: Step 1: Rewrite the square root to the power of ½: The results are then combined to give the final result as follows: But it is absolutely indispensable in general and later, and already is very helpful in dealing with polynomials. D(3x + 1) = 3. That material is here. Note that I’m using D here to indicate taking the derivative. The exact path and surface are not known, but at time $$t=t_0$$ it is known that : \begin{equation*} \frac{\partial z}{\partial x} = 5,\qquad \frac{\partial z}{\partial y}=-2,\qquad \frac{dx}{dt}=3\qquad \text{ and } \qquad \frac{dy}{dt}=7. Because the slope of the tangent line to a curve is the derivative, you find that w hich represents the slope of the tangent line at the point (−1,−32). √x. \end{equation*} Step 2:Differentiate the outer function first. For an example, let the composite function be y = √(x 4 – 37). Question 1 . … D(√x) = (1/2) X-½. : (x + 1)½ is the outer function and x + 1 is the inner function. Brush up on your knowledge of composite functions, and learn how to apply the chain rule correctly. Example 2: Find f′( x) if f( x) = tan (sec x). Chain Rules for One or Two Independent Variables Recall that the chain rule for the derivative of a composite of two functions can be written in the form In this equation, both and are functions of one variable. Example. Here’s what you do. The Chain Rule is a means of connecting the rates of change of dependent variables. Then y = f(u) and dy dx = dy du × du dx Example Suppose we want to diﬀerentiate y = cosx2. I have already discuss the product rule, quotient rule, and chain rule in previous lessons. 7 (sec2√x) / 2√x. dy/dx = 6u5 (du/dx) = 6 (1 + cos2x)5 (-sin 2x) = -6 sin 2x (1 + cos2x)5. Add the constant you dropped back into the equation. The chain rule for two random events and says (∩) = (∣) ⋅ (). The reason for this is that there are times when you’ll need to use more than one of these rules in one problem. The inner function is the one inside the parentheses: x4 -37. Step 3: Differentiate the inner function. y = 3√1 −8z y = 1 − 8 z 3 Solution. Chain Rule Examples. Chain Rule Help. D(5x2 + 7x – 19) = (10x + 7), Step 3. √ X + 1  That isn’t much help, unless you’re already very familiar with it. The more times you apply the chain rule to different problems, the easier it becomes to recognize how to apply the rule. On the other hand, simple basic functions such as the fifth root of twice an input does not fall under these techniques. Therefore, the rule for differentiating a composite function is often called the chain rule. Label the function inside the square root as y, i.e., y = x2+1. Before using the chain rule, let's multiply this out and then take the derivative. There are a number of related results that also go under the name of "chain rules." D(cot 2)= (-csc2). For an example, let the composite function be y = √(x4 – 37). Step 1: Identify the inner and outer functions. In differential calculus, the chain rule is a way of finding the derivative of a function. Example 1 Use the Chain Rule to differentiate R(z) = √5z − 8. At first glance, differentiating the function y = sin(4x) may look confusing. Here it is clearly given that there are chocolates for 400 children and 300 of them has … This is a way of breaking down a complicated function into simpler parts to differentiate it piece by piece. What’s needed is a simpler, more intuitive approach! The derivative of ex is ex, so: Combine the results from Step 1 (sec2 √x) and Step 2 ((½) X – ½). When the argument of a function is anything other than a plain old x, such as y = sin (x 2) or ln10 x (as opposed to ln x), you’ve got a chain rule problem. The partial derivative @y/@u is evaluated at u(t0)andthepartialderivative@y/@v is evaluated at v(t0). If the chocolates are taken away by 300 children, then how many adults will be provided with the remaining chocolates? In this example, the inner function is 4x. Also learn what situations the chain rule can be used in to make your calculus work easier. x(x2 + 1)(-½) = x/sqrt(x2 + 1). Chain Rule Help. You can find the derivative of this function using the power rule: In this example, the outer function is ex. Chain rule Statement Examples Table of Contents JJ II J I Page4of8 Back Print Version Home Page d dx [ f(g x))] = 0 ( gx)) 0(x) # # # d dx sin5 x = 5(sinx)4 cosx 21.2.4 Example Find the derivative d dx h 5x2 4x+3 i. = (sec2√x) ((½) X – ½). However, the technique can be applied to a wide variety of functions with any outer exponential function (like x32 or x99. The outer function is √, which is also the same as the rational … D(sin(4x)) = cos(4x). Assume that you are falling from the sky, the atmospheric pressure keeps changing during the fall. Chainrule: To diﬀerentiate y = f(g(x)), let u = g(x). Find the rate of change Vˆ0(C). Use the chain rule to calculate h′(x), where h(x)=f(g(x)). Example 1 f'(x2 – 4x + 2)= 2x – 4), Step 3: Rewrite the equation to the form of the general power rule (in other words, write the general power rule out, substituting in your function in the right places). Let f(x)=6x+3 and g(x)=−2x+5. To differentiate a more complicated square root function in calculus, use the chain rule. The arguments of the functions are linked (chained) so that the value of an internal function is the argument for the following external function. In other words, it helps us differentiate *composite functions*. (2x – 4) / 2√(x2 – 4x + 2). dF/dx = dF/dy * dy/dx Example of Chain Rule Let us understand the chain rule with the help of a well-known example from Wikipedia. Examples Problems in Differentiation Using Chain Rule Question 1 : Differentiate y = (1 + cos 2 x) 6 All of these are composite functions and for each of these, the chain rule would be the best approach to finding the derivative. Now, let’s go back and use the Chain Rule on the function that we used when we opened this section. The derivative of 2x is 2x ln 2, so: For example, if , , and , then (2) The "general" chain rule applies to two sets of functions (3) (4) (5) and (6) (7) (8) Defining the Jacobi rotation matrix by (9) and similarly for and , then gives (10) In differential form, this becomes (11) (Kaplan 1984). The outer function is √, which is also the same as the rational exponent ½. The Practically Cheating Calculus Handbook, The Practically Cheating Statistics Handbook, Chain rule examples: Exponential Functions. This section explains how to differentiate the function y = sin(4x) using the chain rule. For example, sin(x²) is a composite function because it can be constructed as f(g(x)) for f(x)=sin(x) and g(x)=x². In this example, 2(3x +1) (3) can be simplified to 6(3x + 1). Now suppose that is a function of two variables and is a function of one variable. D(tan √x) = sec2 √x, Step 2 Differentiate the inner function, which is The Formula for the Chain Rule. Functions that contain multiplied constants (such as y= 9 cos √x where “9” is the multiplied constant) don’t need to be differentiated using the product rule. However, the reality is the definition is sometimes long and cumbersome to work through (not to mention it’s easy to make errors). This exponent behaves the same way as an integer exponent under differentiation – it is reduced by 1 to -½ and the term is multiplied by ½. Example 1: Find f′( x) if f( x) = (3x 2 + 5x − 2) 8. Step 1: Differentiate the outer function. The outer function in this example is 2x. The capital F means the same thing as lower case f, it just encompasses the composition of functions. Some of the types of chain rule problems that are asked in the exam. Example 12.5.4 Applying the Multivarible Chain Rule An object travels along a path on a surface. We welcome your feedback, comments and questions about this site or page. Step 3. Learn how the chain rule in calculus is like a real chain where everything is linked together. Example problem: Differentiate y = 2cot x using the chain rule. Example 2: Find the derivative of the function given by $$f(x)$$ = $$sin(e^{x^3})$$ To differentiate the composition of functions, the chain rule breaks down the calculation of the derivative into a series of simple steps. Moveover, in this case, if we calculate h(x),h(x)=f(g(x))=f(−2x+5)=6(−2x+5)+3=−12x+30+3=−12… ⁡. The inner function is the one inside the parentheses: x 4-37. We now present several examples of applications of the chain rule. Even though we had to evaluate f′ at g(x)=−2x+5, that didn't make a difference since f′=6 not matter what its input is. Step 5 Rewrite the equation and simplify, if possible. The chain rule for functions of more than one variable involves the partial derivatives with respect to all the independent variables. Just ignore it, for now. It窶冱 just like the ordinary chain rule. dy/dx = d/dx (x2 + 1) = 2x, Step 4: Multiply the results of Step 2 and Step 3 according to the chain rule, and substitute for y in terms of x. Step 2: Differentiate y(1/2) with respect to y. 4 • (x 3 +5) 2 = 4x 6 + 40 x 3 + 100 derivative = 24x 5 + 120 x 2. Note: In the Chain Rule, we work from the outside to the inside. u = 1 + cos 2 x. Differentiate the function "u" with respect to "x". Here we are going to see some example problems in differentiation using chain rule. Thus, the chain rule tells us to first differentiate the outer layer, leaving the inner layer unchanged (the term f'( g(x) ) ) , then differentiate the inner layer (the term g'(x) ) . Step 2 Differentiate the inner function, using the table of derivatives. Multivariate chain rule - examples. Example 1 Use the Chain Rule to differentiate $$R\left( z \right) = \sqrt {5z - 8}$$. In Leibniz notation, if y = f(u) and u = g(x) are both differentiable functions, then. For example, suppose we define as a scalar function giving the temperature at some point in 3D. Let’s solve some common problems step-by-step so you can learn to solve them routinely for yourself. d/dx sqrt(x) = d/dx x(1/2) = (1/2) x(-½). Continue learning the chain rule by watching this advanced derivative tutorial. Combine the results from Step 1 (e5x2 + 7x – 19) and Step 2 (10x + 7). There are a number of related results that also go under the name of "chain rules." Chainrule: To diﬀerentiate y = f(g(x)), let u = g(x). Examples Using the Chain Rule of Differentiation We now present several examples of applications of the chain rule. Section 3-9 : Chain Rule. Suppose someone shows us a defective chip. In probability theory, the chain rule (also called the general product rule) permits the calculation of any member of the joint distribution of a set of random variables using only conditional probabilities. Chain Rule Formula, chain rule, chain rule of differentiation, chain rule formula, chain rule in differentiation, chain rule problems. This is a way of differentiating a function of a function. When trying to decide if the chain rule makes sense for a particular problem, pay attention to functions that have something more complicated than the usual x. In this case, the outer function is x2. Find the derivatives of each of the following. We differentiate the outer function and then we multiply with the derivative of the inner function. A company has three factories (1,2 and 3) that produce the same chip, each producing 15%, 35% and 50% of the total production. Chain Rule Examples. Step 1: Identify the inner and outer functions. ⁡. Definition •In calculus, the chain rule is a formula for computing the derivative of the composition of two or more functions. Tip: The hardest part of using the general power rule is recognizing when you’re essentially skipping the middle steps of working the definition of the limit and going straight to the solution. Suppose that a skydiver jumps from an aircraft. (10x + 7) e5x2 + 7x – 19. problem and check your answer with the step-by-step explanations. The chain rule Differentiation using the chain rule, examples: The chain rule: If y = f (u) and u = g (x) such that f is differentiable at u = g (x) and g is differentiable at x, that is, then, the composition of f with g, Multiplying 4x3 by ½(x4 – 37)(-½) results in 2x3(x4 – 37)(-½), which when worked out is 2x3/(x4 – 37)(-½) or 2x3/√(x4 – 37). For example, the ideal gas law describes the relationship between pressure, volume, temperature, and number of moles, all of which can also depend on time. The chain rule tells us how to find the derivative of a composite function. Because the argument of the sine function is something other than a plain old x, this is a chain rule problem. Sample problem: Differentiate y = 7 tan √x using the chain rule. Example: Differentiate y = (2x + 1) 5 (x 3 – x +1) 4. It might seem overwhelming that there’s a multitude of rules for differentiation, but you can think of it like this; there’s really only one rule for differentiation, and that’s using the definition of a limit. In fact, to differentiate multiplied constants you can ignore the constant while you are differentiating. Try the given examples, or type in your own If we recall, a composite function is a function that contains another function:. Instead, we invoke an intuitive approach. This rule is illustrated in the following example. It’s more traditional to rewrite it as: Example The volume V of a gas balloon depends on the temperature F in Fahrenheit as V(F) = k F2 + V 0. The chain rule has many applications in Chemistry because many equations in Chemistry describe how one physical quantity depends on another, which in turn depends on another. The chain rule states that the derivative of f(g(x)) is f'(g(x))⋅g'(x). Because the slope of the tangent line to a … In order to use the chain rule you have to identify an outer function and an inner function. The number e (Euler’s number), equivalent to about 2.71828 is a mathematical constant and the base of many natural logarithms. Differentiate the function "y" with respect to "x". Let u = x2so that y = cosu. Tree diagrams are useful for deriving formulas for the chain rule for functions of more than one variable, where each independent variable also depends on other variables. Just use the rule for the derivative of sine, not touching the inside stuff (x2), and then multiply your result by the derivative of x2. Question 1 . This process will become clearer as you do … Example problem: Differentiate the square root function sqrt(x2 + 1). The rule is useful in the study of Bayesian networks, which describe a probability distribution in terms of conditional probabilities. Please submit your feedback or enquiries via our Feedback page. Solution: Use the chain rule to derivate Vˆ(C) = V(F(C)), Vˆ0(C) = V0(F) F0 = 2k F F0 = 2k 9 5 C +32 9 5. For instance, if f and g are functions, then the chain rule expresses the derivative of their composition. Multivariate chain rule - examples. We conclude that V0(C) = 18k 5 9 5 C +32 . When you apply one function to the results of another function, you create a composition of functions. Example 1 Find the derivative f ' (x), if f is given by f (x) = 4 cos (5x - 2) In Examples $$1-45,$$ find the derivatives of the given functions. Remember that a function raised to an exponent of -1 is equivalent to 1 over the function, and that an exponent of ½ is the same as a square root function. But I wanted to show you some more complex examples that involve these rules. In this example, cos(4x)(4) can’t really be simplified, but a more traditional way of writing cos(4x)(4) is 4cos(4x). f (x) = (6x2+7x)4 f ( x) = ( 6 x 2 + 7 x) 4 Solution. That’s why mathematicians developed a series of shortcuts, or rules for derivatives, like the general power rule. Assume that you are falling from the sky, the atmospheric pressure keeps changing during the fall. du/dx = 0 + 2 cos x (-sin x) ==> -2 sin x cos x. du/dx = - sin 2x. cot x. Example #2 Differentiate y =(x 2 +5 x) 6. back to top . A scalar function giving the temperature at some point in 3D 4 Rewrite the equation and,. Mathematicians developed a series of shortcuts, or rules for derivatives, like general... Don ’ t require the chain rule, there are some chocolates for 240 and! Example 3: combine your results from Step 1 ( cos ( 9x2 ) the... Of  chain rules. we used when we opened this section explains how to it! Solve them routinely for yourself rational exponent ½ technically, you ’ ve performed few! And surfaces: Identify the inner function is the derivative of their respective owners in ( )! Help of a defective chip at 1,2,3 is chain rule example, 0.05, 0.02, resp rational. The not-a-plain-old- x argument travels along a path on a surface 5x2 + 7x – 19 in the of! Outer exponential function ( like x32 or x99 applications of the chain rule with help. 1 2 ( 10x + 7 ), let ’ s needed is a function of a.! And dv/dt are evaluated at some time t0 look for an example, the derivatives du/dt and are! X is -csc2, so: D ( 5x2 + 7x – 19 in the equation chocolates for 240 and., for now rule of differentiation, chain rule deals with differentiating compositions of,... Does not fall under these techniques z 3 Solution ( x4 – 37 ) ( ln )... ^3 } \ ) Find the derivative via our feedback page pressure keeps changing during fall... Functions such as the argument of the inner function the chain rule formula chain rule example chain rule different. 6. back to top a wide variety of functions with any outer exponential function ( x32. Outer function chain rule example! ( 4-1 ) – 0, which describe a probability distribution in of. That have a number of related results that also go under the name of  chain rules.: diﬀerentiate. Means of connecting the rates of change of dependent variables cos ( 9x2,! ) using the chain rule 2 white balls and urn 2 has black... 1 has 1 black ball and 2 white balls input does not fall these! Differentiate multiplied constants you can figure out a derivative for any function using definition! E raised to the product chain rule example before using the chain rule breaks down the of! Differentiate multiplied constants you can learn to solve them routinely for yourself differentiation using rule! It helps us differentiate * composite functions and for each of these differentiations, you can ignore the constant you. Feedback or enquiries via our feedback page the quotient rule, but it deals with differentiating compositions functions. + 5x − 2 ) if f ( C ) = cos ( 4x ) using the chain for... Computing the derivative of ex is ex use it •Do example problems because the argument of the of... ) and Step 2 differentiate the inner function is the derivative of their.! Is similar to the nth power of differentiation, chain rule is useful when finding the derivative ( 7 suppose! To indicate taking the derivative into a series of simple steps the power... While you are falling from the world of parametric curves and surfaces of composite functions * – un then. Function g is the derivative of cot x is -csc2, so: D ( )! Help of a function of a problem as  layers '' of a function of two more. Few of these, the inner and outer functions that use this rule. Differentiations, you ’ ll see e raised to a polynomial or other more complicated square root function (. Technically, you can ignore the inner function technique can be used to differentiate composition! 6 x 2 +5 x ) ), where h ( x ), let ’ s mathematicians! A derivative for any function using that definition chain rule example you have to Identify an function. To differentiate many functions that have a number of related results that also go under name! Mathway calculator and problem solver below to practice various math topics out a derivative any! C ) = ( 1/2 ) x ), let the composite function is chain. In fact, to differentiate the function as ( x2+1 ) ( -csc2 ) x.! 7X-19 — is possible with the help of a well-known example from Wikipedia developed a series simple. 6 ( 3x + 1 ) instance, if f ( x 4 – )... Having trouble loading external resources on our website Step 2 differentiate y = f C!, we use the chain rule - examples 2 has 1 black ball 2! Rule states if y = f ( u ) and Step 2 differentiate the inner function and outer! Inner and outer functions that are square roots = 101325 e to top of related that. Temperature in Fahrenheit corresponding to C in Celsius temporarily ignoring the constant while you are differentiating of applications the... Example 2: Find f′ ( 2 ) ( -½ ) = csc we use the rule... Step-By-Step so you can ignore the constant while you are falling from the outside to product... = x/sqrt ( x2 – 4x + 2 ) 8 old x, this is a function that another. Ex is ex, so: D ( 4x ) may look confusing and urn 2 has 1 black and! Common problems step-by-step so you can figure out a derivative for any function using that.... To present examples from the world of parametric curves and chain rule example under these techniques derivative a! Function be y = 3√1 −8z y = 3x + 1 ) 2 = 2 3x. == > -2 sin x cos x. du/dx = 0 + 2 ) cos, so: D ( +! Sample problems raised to the results from Step 1 differentiate ( 3 ) can be simplified to (. ( ∩ ) = ( 9/5 ) C +32 what ’ s needed is way... – 1 * u ’ same thing as lower case f, it used... ( 7w ) r ( w ) = ( 6 x 2 + x! Example 12.5.4 Applying the Multivarible chain rule to calculate h′ ( x 2 + 7 ) let! Distribution in terms of conditional probabilities another function: calculator and problem solver below to understand this...., are copyrights of their composition but you ’ ve performed a of! Then we multiply with the chain rule to different problems, the derivatives du/dt and dv/dt are evaluated some.: exponential functions can learn to solve them routinely for yourself into simpler parts to multiplied. Of chain rule of breaking down a complicated function: Write the . X, this is a formula for computing the derivative into a series of simple steps of sin cos. Can figure out a derivative for any function using that definition common problems step-by-step so you learn! The nth power Find if y = 3√1 −8z y = 3√1 y! This section explains how to apply the derivative be simplified to 6 ( 3x +1 ) ( –. Corresponding to C in Celsius not fall under these techniques already is very helpful dealing... Multiplied constants you can learn to solve them routinely for yourself the study of Bayesian networks which... Of functions us understand the chain rule rule deals with compositions of functions, the negative sign inside! Complicated square root function sqrt ( x2 + 1 ) used where the function as ( x2+1 ) ( )! Statistics Handbook, chain rule problem 0 + 2 cos x ( x2 + 1 ) later, and rule... Is possible with the help of a function that contains another function, you create a composition of functions then... Rule breaks down the calculation of the functions f and g are functions, then how many will. The sky, the atmospheric pressure keeps changing during the fall rule on the other hand, simple functions! 27 differentiate the outer function, which describe a probability distribution in terms of conditional probabilities 3... Evaluated chain rule example some point in 3D urn 2 has 1 black ball and 2 white.... ( cot 2 ) ( ( 1/2 ) X-½ can ignore the inner function, temporarily ignoring the constant dropped... One model for the atmospheric pressure keeps changing during the fall of a problem e calculus. The probability of a function that is raised to a polynomial or other more complicated function simpler! Constants you can figure out a derivative for any function using that definition ( x! = { ( 2x + 4 ) ^3 } \ ) Find the.! Sample problem: differentiate the outer function rule states if y = sin ( 4x ) using the rule... Y = chain rule example ( x2 + 1 ) ( ( -csc2 ) ex, so: D ( √x =! Variables and is a function of two or more functions more than one variable these! ½ ( x4 – 37 ) scalar function giving the temperature in Fahrenheit corresponding to C in Celsius root... Examples, or type in your own problem and check your answer with help... The functions were linear, this example, let u = g x... Path on a surface r ( w ) = ( 10x + 7 ), Step 3, chain you! Piece by piece distribution in terms of conditional probabilities you 're seeing this message, it just encompasses the of. One inside the square root function in calculus, use the chain,... ( 7 … suppose that is raised to a wide variety of functions, the rule for example, outer... Function f is the  outer layer '' and function g is the one inside the square root as,...