username12345
- 47
- 0
I am unclear about an example of calculating a derivative in a book I am reading. I think the problem is my algebra.
[tex] \begin{flalign*}<br /> \mathrm{if} & & y & = & & x^n \\<br /> \mathrm{then} & & \frac{dy}{dx} & = & & nx^{n-1} \\<br /> \mathrm{so if} & & y & = & & x^2 - x - 2 \\<br /> \mathrm{then} & & \frac{dy}{dx} & = & & 2x - 1 \\<br /> \end{flalign*}[/tex]
I can't find how it ended up as [tex]2x - 1[/tex]. Here's is my attempt:
[tex] \begin{flalign*}<br /> y & = & & x^2 - x - 2 \\<br /> \frac{dy}{dx} & = & & nx^{n-1} \\<br /> & = & & 2x^{2-1} - 1x^{1-1} - 1(2)^{1-1} \\<br /> & = & & 2x - 1 - 1 \\<br /> & = & & 2x - 2 \\<br /> \end{flalign*}[/tex]
How do I get to the same result of [tex]2x - 1[/tex] ?
[tex] \begin{flalign*}<br /> \mathrm{if} & & y & = & & x^n \\<br /> \mathrm{then} & & \frac{dy}{dx} & = & & nx^{n-1} \\<br /> \mathrm{so if} & & y & = & & x^2 - x - 2 \\<br /> \mathrm{then} & & \frac{dy}{dx} & = & & 2x - 1 \\<br /> \end{flalign*}[/tex]
I can't find how it ended up as [tex]2x - 1[/tex]. Here's is my attempt:
[tex] \begin{flalign*}<br /> y & = & & x^2 - x - 2 \\<br /> \frac{dy}{dx} & = & & nx^{n-1} \\<br /> & = & & 2x^{2-1} - 1x^{1-1} - 1(2)^{1-1} \\<br /> & = & & 2x - 1 - 1 \\<br /> & = & & 2x - 2 \\<br /> \end{flalign*}[/tex]
How do I get to the same result of [tex]2x - 1[/tex] ?