Aerosion said:
I've always had a hard time with differentiation. Always. Product rules, quotient rules, chain rules, too confusing.
Anyway, enough of my complaining. Let me post my problem.
Differentiate:
y=ln((x^3*tanx)/sq root(5x^2+3x-7))
I got some horribly long answer (which was wrong, I won't even post it, it's too absurd) and I'm wondering what I did wrong. I know I need to use the quotient rule, but how does the ln fit into that?
Help would be appreciated.
Hmm, if you encounter a product of functions, you can use
Product Rule.
Example:
(x sin(x))' = x' sin(x) + x sin'(x) = sin(x) + x cos(x).
If you encounter a quotient, then you can use
Quotient Rule.
Example:
\left( \frac{x}{\sin x} \right) ' = \frac{x' \sin x - x ( \sin x)'}{\sin ^ 2 x} = \frac{\sin x - x \cos x}{\sin ^ 2 x}
If you encounter something look like a composite function, then use the
Chain Rule.
Example:
((x + 5)
2)'.
There are many ways to do this, you can either expand all the terms out and use the
Sum Rule, i.e:
((x + 5)
2)' = (x
2 + 10x + 25)' = x
2' + 10x' + 25' = 2x + 10
Or you can use the
Product Rule:
((x + 5)
2)' = ((x + 5) (x + 5))' = (x + 5)' (x + 5) + (x + 5) (x + 5)' = 2(x + 5).
Or you can let u = x + 5, and use the
Chain Rule:
((x + 5)
2)'
x = (u
2)'
x = (u
2)'
u u'
x = 2u(x + 5)'
x = 2u(x' + 5') = 2u = 2(x + 5).
So two ways, but they will eventually lead you to one result.
--------------
However you should consider simplifying the expression before applying the rules, or you will mess it up. By the way, is it:
y = \ln \left( \frac{x ^ 3 \tan x}{\sqrt{5x ^ 2 + 3x - 7}} \right)
or:
y = \ln \left( \frac{x ^ {3 \tan x}}{\sqrt{5x ^ 2 + 3x - 7}} \right)?
Assume that it is the first one, split it into 2, or more separate logs to get a nicer expression:
y = \ln \left( \frac{x ^ 3 \tan x}{\sqrt{5x ^ 2 + 3x - 7}} \right) = \ln (x ^ 3 \tan x) - \ln (\sqrt{5x ^ 2 + 3x - 7}) = 3\ln (x) + \ln (\tan x) - \frac{1}{2} \ln(5x ^ 2 + 3x - 7)
Now, it looks much more easier, right?
Can you go from here? :)