How to get the derivative of this:
\[ f(x) =\frac{ 1 }{ 4 }\sqrt{(3^{2}+x ^{2}} +\frac{ 1 }{ 6 }(12-x)\]
This is what I'm trying to solve.
Im looking for the minimum so i built this function and I think I need to solve for the zeros but im not sure how. Does anyone have any ideas?
Get the derivative and set it = 0
Yes. I cant get the derivative. :(
To do the derivative you should be applying the chain rule for the first part of the expression and then it's just a sum.
Ohh I didn't see that. Thanks!
It'll be easier if you set it as \[f(x) = \frac{ 1 }{ 4 }(3x^2+x^2)^{1/2}+\frac{ 1 }{ 6 }(12-x)\]
\[ \begin{split} df &= d\left(\frac{ \sqrt{3^{2}+x ^{2}} }{ 4 } +\frac{ 12-x }{ 6 }\right)\\ &= d\left(\frac{ \sqrt{3^{2}+x ^{2}} }{ 4 } \right)+d\left(\frac{ 12-x }{ 6 }\right)\\ &= \frac{d( \sqrt{3^{2}+x ^{2}}) }{ 4 } +\frac{ d(12-x) }{ 6 }\\ \end{split} \]
\[ d(12-x) = -dx \]
I'm assuming your equation is right, but lets see you're solving for time, so t = d/v, so your first distance looks right, your speed is 4miles/hr so that looks correct as well, (12-x)/6, nice you did it right :)
\[f'(x) \frac{ 1 }{ 8 } (3^2+x^2)^{-\frac{ 1 }{ 2 }} \times (9+2x) - 1\]
\[ \begin{split} d(\sqrt{3^2+x^2}) &= d(\sqrt{u}) &\text{let } u = 3^2+x^2\\ &= \frac{1}{2\sqrt u}du \\ &= \frac{1}{2\sqrt{3^2+x^2}}d(3^2+x^2) \\ &= \frac{1}{2\sqrt{3^2+x^2}}d(x^2) \\ &= \frac{1}{2\sqrt{3^2+x^2}}(2x)dx \\ \end{split} \]
Is my derivative correct? Do I just solve for 0 now?
\[ df = \left(\frac{x}{4\sqrt{3^2+x^2}}-\frac16\right)dx \]
You made a few errors.
First of all... \[ d(3^2+x^2)\neq (9+2x)dx \]
Yes, I see it now. Its 6+2x
No. \[ d(3^2) = 0 \]
\[ d(3^2+x^2) = d(3^2)+d(x^2) = 0 + 2x\;dx \]
Ohhhh wow, thank you for clarifying that
\[f'(x) = \frac{ 1 }{ 8 }(9+x^2)^{-1/2} \times 2x-1/6 \implies \frac{ x }{ 4\sqrt{9+x^2} }-1/6\] so yeah you should get this without all the fancy notation ;).
Ok. I'm really learning a lot. Thank you. So now I just solve for 0.
Yes let f'(x) = 0, so \[\frac{ x }{ 4\sqrt{9+x^2} }-1/6 = 0\] should be easy peasy to solve from here :).
\[\frac{ 1 }{ 6 } = \frac{ x }{ 4\sqrt{(3^2+x^2)} }\] \[4\sqrt{(3^2+x^2)} =\frac{ x }{ 6 }\] \[\sqrt{3^2+x^2} =\frac{ 4x }{ 6 }\] Is raising both sides to the exponent 2 to get rid of the the square root right? \[3^2 + x^2 =\frac{ 16x }{ 36 } \]
Mhm I think you did something wrong here.
x/6?
Alright, lets do this step by step :)
Yes, you're are right!
I solved it :)
\[\frac{ x }{ 4\sqrt{9+x^2} } - \frac{ 1 }{ 6 } = 0\]
Oh ok :)
Thank you so much!!!!
Just to make sure what did you get :)
It was easy to make mistakes here, since it gets messy pretty quickly, but you seem to have gotten it, good job!
\[\frac{ 4\sqrt{9+x^2} }{ 3 } =x\] \[\frac{ 4(9+x^2) }{ 9 } =x^2\] \[\sqrt{\frac{ 36 }{ 5}} =x\]
x = 2.68
Hahah solving that was amazing :D
Yeah! and squareoot 36 = 6 so a little simplification there, but well done friend, where is your fields medal? :O
fields medal?
It's a medal the top mathematicians get in the world and it only comes around once every 4 years, and the way you do math, I say you deserve 5! :) hehe.
Hahaha XD you are too kind :))))))) You deserve 5^2 :D
Thank you again!
Haha, well good job friend, and take care!
Join our real-time social learning platform and learn together with your friends!