2
$\begingroup$

in calculus you apply chain rule when you have function in a function. But i can't tell when it's true.

(x+1) -> one function

(x+1)^2 -> two functions

what defines, how come +1 didn't make it two function while square root did.

$\endgroup$

3 Answers 3

2
$\begingroup$

As you can for x + 1: $f(x) = x +1$ and $g(x) = x$.

Techsin, you are talking about the chain rule in regards to derivatives right? Well you can use the chain rule on both of those expressions. For the first example it is more work to use the chain rule, but you can still do it. In the same spirit you do not need to use the chain rule to find the derivative of the second expression.

So use the chain rule when you think it is the easy way to solve your problem.

$\endgroup$
2
$\begingroup$

You can write $(x+1)^2$ as a composition of two functions: $f(x) = x+1$ and $g(x) = x^2$.

Edit: You don't have to all the time, $(x+1)^2 = x^2 + 2x +1$ does not require the chain rule. But there are situations where you should use it. For instance, $\sqrt{x^2+1}$.

$\endgroup$
6
  • $\begingroup$ so can you write x+1 as composition of two functions f(x)=x g(x)= x+1. $\endgroup$
    – Techsin
    Nov 19, 2013 at 19:53
  • $\begingroup$ But there are times when it is useful and when it isn't. See edit. $\endgroup$
    – Chris C
    Nov 19, 2013 at 19:54
  • $\begingroup$ Also note, that $f(x) = x$ has the derivative $f'(x) = 1$. It would be an overzealous use of the chain rule, but is particularly useful if x itself is a function (i.e. for implicit differentiation.) $\endgroup$
    – Chris C
    Nov 19, 2013 at 19:58
  • $\begingroup$ but i am right though, x^5 + 1 is composite of (f - g - e) f(x)=x g(x)=x^5 e(x)=x+1 $\endgroup$
    – Techsin
    Nov 19, 2013 at 20:01
  • $\begingroup$ i need to know if i am right or wrong, i get it if finding derivative it will result in no advantage as things will cancel or go to zero and just more work and same result. $\endgroup$
    – Techsin
    Nov 19, 2013 at 20:04
1
$\begingroup$

A composition of two functions $$ x \mapsto x+1 = u, \quad\quad\quad u \mapsto u^2 = (x+1)^2. $$

Any time the output of one function becomes the input to another, you have a composition of functions. The chain rule is applicable when you know how to differentiate the functions that get composed.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .