Trying to use product rule on complicated function

In summary: you are trying to use the power rule on a term with a variable as the exponent, when you should use the exponential rule.
  • #1
LearninDaMath
295
0

Homework Statement



This is the problem and my attempt. I understand that I can take ln of both sides. However, I am trying to see if it is at all possible to arrive at the correct derivative without taking ln of both sides.

I am under the impression that an alternative to taking ln of both sides is to use the power rule on terms with a variable as the exponent. So using this approach to this function, what am I doing wrong? If all is correct so far, I can not see what step to take next.
productrule1-1.png
 
Last edited:
Physics news on Phys.org
  • #2
It's easier if you don't use radicals. Instead use fractional exponents, and then change back from fractional exponents to radicals at the very end, if needed.
 
  • #3
Mark44 said:
It's easier if you don't use radicals. Instead use fractional exponents, and then change back from fractional exponents to radicals at the very end, if needed.

Hi Mark, thanks for responding to my question. I tried evaluating this function by using fractional exponents instead and I end up in the same spot. Where am I going wrong here? Or if all is correct so far, what would be the next logical step? I can't think of anything here.

EDIT: let me double check again
 
  • #4
Try labeling all of your functions as f(x), g(x), etc, figuring out those derivatives, and then solving it in terms of those functions. that is, let f(x) = x^2-1, g(x) = x^2 + 1, and g(x) = e^root(x). figure out all those derivatives in a little table form. it's easier to keep organized.
 
  • #5
Mark, I had to double check my work using the method you suggested. I seem to be winding up at the same spot and getting stuck there. Am I doing something wrong here? If not, what should I do from here?


productruleb.jpg
 
  • #6
The derivative of e^x^1/2 is not ln e* e^x^1/2. Use the chain rule here.

(edited)
 
Last edited:
  • #7
80past2 said:
The derivative of e^x^1/2 is not ln e^x^1/2. Use the chain rule here.

80past, I didn't write (lne^x^1/2) though, I wrote (lne)(e^x^1/2), which is (1)(e^x^1/2), which is e^x^1/2.

I was told that you can't use the chain rule or power rule on terms with a variable as a radical..and that you must use the exponential rule, is this not correct?Edit: Even in light of the correction, I was under the impression that when you have a variable as an exponent, you must either take ln of both sides or use the exponential rule, which is why I decided to use the exponential rule. Is there an exception for the number e?
 
  • #8
Yeah, I made an error and edited it to make it match what you said. But it is still incorrect. I'm a little bit confused as to being told not to use the chain rule with a variable as a radical... The derivative of e^u is e^u*u'.

you wouldn't use the power rule, because that's when the variable is the base, not the exponent, but yes, you are using the exponential rule. But because you have a function of x, you need to take that into account.

For example, what's the derivative of e^2x?
 
  • #9
No, there's no exceptions that I'm aware of. Look up the chain rule.
 
  • #10
LearninDaMath said:
80past, I didn't write (lne^x^1/2) though, I wrote (lne)(e^x^1/2), which is (1)(e^x^1/2), which is e^x^1/2.

I was told that you can't use the chain rule or power rule on terms with a variable as a radical..and that you must use the exponential rule, is this not correct?


Edit: Even in light of the correction, I was under the impression that when you have a variable as an exponent, you must either take ln of both sides or use the exponential rule, which is why I decided to use the exponential rule. Is there an exception for the number e?

d/dx(eu) = eu * du/dx
You can apply this when you differentiate ex1/2

Your other derivative is incorrect as well. You have (1/3)[(x2 - 1)/(x2 + 1)] times some other stuff, but you forgot to decrease the exponent by 1.
 
  • #11
80past2 said:
No, there's no exceptions that I'm aware of. Look up the chain rule.
Recent discussion with Office_Shredder

Office_Shredder said:
To differentiate .5t we use the exponential rule [itex] d/dt(a^t) = \ln(a) a^t[/itex] [/tex]

Office_Shredder said:
The power rule is [itex] \frac{d}{dt} t^n = nt^{n-1}[/itex] A common mistake, which you appeared to try, is to do it when the variable is in the exponent: [itex] \frac{d}{dt} a^t = t a^{t-1}[/itex] which is not true
I had a constant to the power of a variable:

s(t) = .5^t

The power rule is: s' = t(.5^(t-1))

however, that can't be done because it is a shortcut of the chain rule, and the full version of the chain rule yields:

s' = t(.5^(t-1))*(.5)' = 0

however, s' ≠ 0

so chain rule can't be done. Is this correct?

Then it would be that the derivative of f(x) = e^x

f' = x(e^(x-1)*e' = 0, which is not correct. So the chain rule can't be used.However, you ask what the derivative of e^2x is, and the chain rule seems to work fine on that example, yielding 2e^2x.

So the chain rule works on fx = e^2x, and works for fx = e^x

Thus, its becoming apparent that there are two different ways of applying the chain rule. One way is bringing the exponent down to the coefficient and subtracts the exponent by 1 and then multiplies by the derivative of the coefficient (in otherwords, the derivative of the outside times the the derivative of the inside). Such as would be the case with fx =x^2. And the other way of applying the chain rule is to use substitution of the variable such as would be the case for taking e^x.

So you are saying the chain rule can be used, it just depends on how you apply the chain rule?
 
  • #12
Mark44 said:
d/dx(eu) = eu * du/dx
You can apply this when you differentiate ex1/2

Your other derivative is incorrect as well. You have (1/3)[(x2 - 1)/(x2 + 1)] times some other stuff, but you forgot to decrease the exponent by 1.

Ah okay, I'm going to make those corrections and see how it goes
 
  • #13
you are looking at several different rules at once. in one point, you mention mixing up the power rule and the exponential rule. that is because f(x)=x^2 is a different type of function than f(x) = 2^x. in the first, you have a variable being raised to a constant power, and in the second, you have a constant being raised to a variable.

the chain rule says f(g(x))' = f'(g(x))*g'(x). this is true for any function.

Thus, its becoming apparent that there are two different ways of applying the chain rule. One way is bringing the exponent down to the coefficient and subtracts the exponent by 1 and then multiplies by the derivative of the coefficient (in otherwords, the derivative of the outside times the the derivative of the inside). Such as would be the case with fx =x^2. And the other way of applying the chain rule is to use substitution of the variable such as would be the case for taking e^x.

the first method you describe is the power rule, albeit a little muddied. the power rule in words (so much easier in symbols): you have a variable raised to a constant power; take that constant power and multiply the variable, raised to the power of the original constant minus 1. (in symbols: if f(x) = a*x^n, then f'(x) = a*n*x^(n-1). you don't necessarily need to use the chain rule for the second case (although you actually are); you are using the exponential rule, but the derivative of x is 1, so in a way you are using the chain rule. specifically, if f(x) = e^x, then f'(x) = ln e * e^x (d/dx) = ln e*e^x*1 = e^x.

however, that can't be done because it is a shortcut of the chain rule, and the full version of the chain rule yields:

what do you mean a shortcut of the chain rule? you can't do it because you should be using the exponential rule, not the power rule.

So you are saying the chain rule can be used, it just depends on how you apply the chain rule?

i guess the chain rule must be used where it's needed (a bit of a tautology). for a long time, i didn't like using the quotient rule, so i would always turn a quotient into a product/chain rule problem, which seemed a little easier to me. but look at your definitions and your rules. remember exactly where to use each one. you can follow the rules pretty blindly (assuming you're accurately following the rules) and still get the right answers. that's why earlier i mentioned writing everything out as functions (e.g. f(x) instead of x^2-1 and making a table of your functions and their derivatives). sometimes it's easier to apply these rules without the "real" functions being there muddying up the problem.
 
Last edited:
  • #14
Okay, this is what I have so far...starting to get real close. I just can't figure out the last part of 2x/((x^2)-1)-((x^2)+1)

productrule3.jpg



80past2, thanks for clearing some things up. I'm getting a better handle on how the various derivative rules apply to various types of functions. And I'm going to have to look further into rewriting functions with tables as you suggest as I'm not totally sure of how i'd go about evaluating in such a way.
 
  • #15
well, imagine that you didn't know what the functions were. they can be anything. so now i ask you, what is the derivative of (f(x)/g(x))^(1/3)*h(x).
 
  • #16
Here's what I got when I took the derivative of (f(x)/g(x))^(1/3)*h(x).

Can you show me where, in post #14, I'm going wrong and why I'm getting (2/3)(2x/(x[itex]^{2}-1[/itex])(x[itex]^{2}+1[/itex]) instead of (2/3)((x/(x[itex]^{2}-1[/itex])-(x/(x[itex]^{2}+1[/itex])))
newmethod.jpg
 
  • #17
hint: simplify (into one fraction) (x/(x^2−1)-(x/(x^2+1)))
 
  • #18
80past2 said:
hint: simplify (into one fraction) (x/(x^2−1)-(x/(x^2+1)))
fractions.jpg


Okay, the answer I arrived at using product rule is equivelent to the final answer in post #1, which was arrived at by using the exponential rule, just in a different form, is the correct? If so, then is it possible to go the reverse direction, from 2x/((x^2)-1)-((x^2)+1) to (x/(x^2−1)-(x/(x^2+1)))?
 
  • #19
Well, if the two are equal, then you can certainly go between them. Just go backwards from what you did to get the result they want. I'm still confused about what you mean by using the product rule and exponential rule. You don't have much of a choice of when you get to use one or the other. You use the power rule if you have a power function, and you use the exponential rule if you have an exponential function.
 
  • #20
80past2 said:
Well, if the two are equal, then you can certainly go between them. Just go backwards from what you did to get the result they want. I'm still confused about what you mean by using the product rule and exponential rule. You don't have much of a choice of when you get to use one or the other. You use the power rule if you have a power function, and you use the exponential rule if you have an exponential function.
Okay, so a power function means a function like y = x^4, and an exponential function means a function like y = 4^x.

If I have a power function, I can use the power rule, chain rule, or even take log of both sides, and arrive at the correct answer. However, I can not use the exponential rule.

If I have an exponential function, I can not use the power rule, can not use chain rule. However I can take ln of both sides, then derive. And I can use the exponential rule.

If I have the special case exponential function, e^x, then I can then use chain rule (by u substitution of x), or take ln of both sides, or use the exponential rule. However, I can not use the power rule.

I think I've been mixing these rules up a bit over this and most recent thread previous to this one. But this is my understanding as of now. I think its correct, but not entirely sure.EDIT: Note, just before making this post, I created a new thread specifically addressing the confusion with the various derivative rules: https://www.physicsforums.com/showthread.php?t=584204
 
Last edited:
  • #21
You have to use the chain rule where it is required. This will be the case if your function f(x) = g(h(x)). Then f'(x) = g'(h(x))*h'(x). THIS IS ALWAYS THE CASE, assuming that g(x) and h(x) are differentiable. Consider f(x) = a^u(x). by the property of the chain rule, and the exponential rule, we would compute f'(s) by taking ln a *a^u(x) * u'(x). But there aren't exceptions. The only reason e^x seems like a special case is due to the fact that ln e = 1. It behaves like any other exponential function. Look at graphs of a^x where a is close but not equal to e. You'll see obviously that it approaches it. So these functions follow the same rule.

Officially, the only way to find derivatives of any function is by the definition of derivative. But it turns out that when the functions take a certain form, then the definitions simplify to these little rules we have, like the power rule and exponential rule. That's why we're allowed to use them.
 
  • #22
80past2 said:
You have to use the chain rule where it is required. This will be the case if your function f(x) = g(h(x)). Then f'(x) = g'(h(x))*h'(x). THIS IS ALWAYS THE CASE, assuming that g(x) and h(x) are differentiable. Consider f(x) = a^u(x). by the property of the chain rule, and the exponential rule, we would compute f'(s) by taking ln a *a^u(x) * u'(x). But there aren't exceptions. The only reason e^x seems like a special case is due to the fact that ln e = 1. It behaves like any other exponential function. Look at graphs of a^x where a is close but not equal to e. You'll see obviously that it approaches it. So these functions follow the same rule.

Officially, the only way to find derivatives of any function is by the definition of derivative. But it turns out that when the functions take a certain form, then the definitions simplify to these little rules we have, like the power rule and exponential rule. That's why we're allowed to use them.

Thanks, I see what you mean. I've had to look at a few basic examples and work through them to see what you mean, but it makes sense now.
 

1. What is the product rule in calculus?

The product rule is a rule in calculus that is used to find the derivative of a function that is the product of two other functions. It states that the derivative of a product of two functions is equal to the first function times the derivative of the second function, plus the second function times the derivative of the first function.

2. How do I know when to use the product rule?

You should use the product rule when you have a function that is the product of two other functions. This could include polynomial functions, exponential functions, and trigonometric functions, among others.

3. Can I apply the product rule to more than two functions?

Yes, the product rule can be extended to more than two functions. The general rule states that the derivative of a product of n functions is equal to the sum of each function times the derivative of the product of the remaining functions.

4. Is the product rule the only way to find the derivative of a product of functions?

No, there are other methods such as the chain rule and the quotient rule that can also be used to find the derivative of a product of functions. However, the product rule is typically the easiest and most efficient method to use.

5. Can I use the product rule on complicated functions?

Yes, the product rule can be applied to complicated functions, but it may require some algebraic manipulation to simplify the function before using the rule. It is also important to carefully identify the two functions that are being multiplied together in the complicated function.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
762
  • Calculus and Beyond Homework Help
Replies
14
Views
242
Replies
5
Views
1K
Replies
4
Views
929
  • Calculus and Beyond Homework Help
Replies
2
Views
575
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
830
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
110
Back
Top