PDA

View Full Version : Derivative of a power, algebra problem


username12345
Feb6-09, 09:13 PM
I am unclear about an example of calculating a derivative in a book I am reading. I think the problem is my algebra.


\begin{flalign*}
\mathrm{if} & & y & = & & x^n \\
\mathrm{then} & & \frac{dy}{dx} & = & & nx^{n-1} \\
\mathrm{so if} & & y & = & & x^2 - x - 2 \\
\mathrm{then} & & \frac{dy}{dx} & = & & 2x - 1 \\
\end{flalign*}


I can't find how it ended up as 2x - 1. Here's is my attempt:


\begin{flalign*}
y & = & & x^2 - x - 2 \\
\frac{dy}{dx} & = & & nx^{n-1} \\
& = & & 2x^{2-1} - 1x^{1-1} - 1(2)^{1-1} \\
& = & & 2x - 1 - 1 \\
& = & & 2x - 2 \\
\end{flalign*}


How do I get to the same result of 2x - 1 ?

Hurkyl
Feb6-09, 10:19 PM
\begin{flalign*}
y & = & & x^2 - x - 2 \\
\frac{dy}{dx} & = & & nx^{n-1}
\end{flalign*}

That's not right. (I think) I know what you meant, but you'll do much better if you learn how to express yourself accurately, rather than sloppily.



\begin{flalign*}
& = & & 2x^{2-1} - 1x^{1-1} - 1(2)^{1-1} \\
\end{flalign*}

Why do you think

\frac{d}{dx} 2 = 1 (2)^{1-1}

? I imagine you were trying to use

\frac{d}{dx} x^n = n x^{n-1}

but the left hand sides don't match....

(Understand why this doesn't match. That's actually more important than getting the right answer on this problem!)

symbolipoint
Feb6-09, 10:23 PM
What is x1-1 ? At one time, 1 - 1 = 0. I hope this is still true. If it is, then
x1-1=x0 = 1.

As for your term on the end, realize intuitively that the rate of change of a constant function is 0 .... (zero).

AtaraxiaAle
Feb7-09, 08:21 PM
The derivative is simply this:



\begin{flalign*}
y & = & & x^2 - x - 2 \\
\frac{dy}{dx} & = & & 2x^1 - 1x^0 - 0 \\
& = & & 2x - 1 \\
\end{flalign*}



The derivative of any constant is 0. This is an important concept.

username12345
Feb8-09, 11:52 PM
but you'll do much better if you learn how to express yourself accurately, rather than sloppily.

What do you mean by sloppily?



(Understand why this doesn't match. That's actually more important than getting the right answer on this problem!)

Thanks, that's actually what I am trying to understand.


The derivative of any constant is 0. This is an important concept.


Thanks, that's the type of information I was after.

Hurkyl
Feb9-09, 12:00 AM
What do you mean by sloppily?
In the problem you're trying to solve, the very first thing you did was to assert that the derivative of x^2 - x - 2 with respect to x is equal to n x^{n-1}. I'm pretty sure that's not what you meant to do. Can you state your intentions more accurately?


Thanks, that's actually what I am trying to understand.
The expression

\frac{d}{dx} x^n

has only one free variable: n. It also has a bound variable x that you could rename, if desired. By claiming that this expression matches

\frac{d}{dx} 2

that means you assert that you can choose a value for n (and possibly rename x) that makes the first expression the same as the second one -- not just in value, but in terms of the actual symbols used! (Although, we can gloss over some trivial intermediate steps, if we are confident everyone understands them)

It seems clear that you intended to choose the value "1" for n... but that doesn't work, because that just leaves you with

\frac{d}{dx} x^1

or, if we do a simplification,

\frac{d}{dx} x

which is not the same as

\frac{d}{dx} 2

....

MrSparky
Feb9-09, 02:00 AM
make the equation as x^2 - x^1 - 2 x^0
Now dy/dx = 2x - (1 . x^1) - (0 . 2x^-1)
now after multiplying everything you get 2x - 1 - 0= 2x - 1
PS . The dots are multiplication signs as well if you didnt know that

username12345
Feb21-09, 03:23 AM
In the problem you're trying to solve, the very first thing you did was to assert that the derivative of x^2 - x - 2 with respect to x is equal to n x^{n-1}. I'm pretty sure that's not what you meant to do. Can you state your intentions more accurately?

Intention was to find the derivative of y = x^2 - x - 2 following the equation in the book and understand how they came at 2x - 1. In my original attempt I was trying to use a value of -1 for x in nx^{n-1} which is why I ended up with y = 2x - 2. Now that I know the derivative of is constant is zero, I can understand how they arrived at the answer.

HallsofIvy
Feb21-09, 06:34 AM
Yes, that was your intent. That was not what you wrote.
You wrote:
y = x^2 - x - 2
\frac{dy}{dx}= nx^{n-1}
Surely you can see that is not what you meant nor is it true.
Mathematics is hard enough without expecting people whom you are asking for help to guess what you really mean!:rolleyes:

username12345
Feb21-09, 08:43 AM
Thankyou to everyone who provided help or feedback.