Calculus · real student question

Is the indefinite integral of x with respect to x equal to x^2/2? Justify the answer.

Question

Is

xdx=x22\int x\,dx=\frac{x^{2}}{2}

correct? Justify your answer.

Step-by-step solution

  1. Apply the power rule for antiderivatives. For any exponent n1n\ne -1,

    xndx=xn+1n+1+C\int x^{n}\,dx=\frac{x^{n+1}}{n+1}+C

    Here x=x1x=x^{1}, so n=1n=1 and

    xdx=x1+11+1+C=x22+C\int x\,dx=\frac{x^{1+1}}{1+1}+C=\frac{x^{2}}{2}+C

  2. Verify the candidate by differentiating back. Integration is only ever checked one way — differentiate the answer:

    ddx ⁣(x22)=2x2=x \frac{d}{dx}\!\left(\frac{x^{2}}{2}\right)=\frac{2x}{2}=x\ \checkmark

    So x22\dfrac{x^{2}}{2} is an antiderivative of xx. The stated formula is not wrong so much as incomplete.

  3. See why +C+C cannot be dropped. Differentiation kills constants, so for every real CC,

    ddx ⁣(x22+C)=x\frac{d}{dx}\!\left(\frac{x^{2}}{2}+C\right)=x

    For instance x22\tfrac{x^{2}}{2}, x22+7\tfrac{x^{2}}{2}+7 and x2213\tfrac{x^{2}}{2}-\tfrac{1}{3} all differentiate to xx. Writing a single one of them as "the" integral silently discards infinitely many equally valid answers.

  4. Know that CC captures all of them. The mean value theorem guarantees that two antiderivatives of the same function on an interval differ by a constant, so the family x22+C\tfrac{x^{2}}{2}+C is not just some antiderivatives — it is every antiderivative of xx. That is exactly what the notation xdx\int x\,dx denotes.

  5. Note when the constant genuinely disappears. In a definite integral the constant cancels:

    03xdx=[x22+C]03=(92+C)(0+C)=92\int_{0}^{3}x\,dx=\left[\frac{x^{2}}{2}+C\right]_{0}^{3}=\left(\frac92+C\right)-\left(0+C\right)=\frac92

    So you must write +C+C for an indefinite integral, and you may safely ignore it for a definite one.

Answer

xdx=x22+C\int x\,dx=\frac{x^{2}}{2}+C

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