Calculus · real student question

Differentiate y = x squared.

Question

Differentiate

y=x2y=x^2

Step-by-step solution

  1. State the power rule exactly. For any constant exponent nn,

    ddx(xn)=nxn1\frac{d}{dx}\left(x^n\right)=nx^{n-1}

    Two things happen at once: the old exponent comes down in front as a multiplier, and the exponent itself drops by one.

  2. Identify the exponent. In y=x2y=x^2 we have n=2n=2. There is no coefficient to carry and no chain rule needed, since the base is simply xx.

  3. Apply the rule.

    dydx=2x21=2x1=2x\frac{dy}{dx}=2x^{2-1}=2x^1=2x

  4. Confirm from the definition, so the rule is not just a recipe. The difference quotient is

    (x+h)2x2h=x2+2xh+h2x2h=2xh+h2h=2x+h\frac{(x+h)^2-x^2}{h}=\frac{x^2+2xh+h^2-x^2}{h}=\frac{2xh+h^2}{h}=2x+h

    and letting h0h\to 0 gives 2x2x — the same answer, obtained without assuming the power rule.

  5. Read the meaning off the graph. The derivative 2x2x is the slope of the parabola: at x=3x=3 the tangent has slope 66, at x=0x=0 it is flat (the vertex), and for x<0x<0 the slope is negative. So the steepness grows linearly as you move away from the origin.

Answer

dydx=2x\frac{dy}{dx}=2x

Need to solve a different problem like this? Open the solver →