Step 1: Understanding the Concept
\((x-a)\left(x^{n-1}+x^{n-2}a+\dots+a^{n-1}\right)=x^{n}-a^{n}\).
Step 2: Rewrite the integral
\(\int (x^{n}-a^{n})\,dx\).
Step 3: Integrate
\(\dfrac{x^{n+1}}{n+1}-a^{n}x+C\), since \(a^{n}\) is a constant.
Step 4: Compare the options
This matches option A.
Final Answer:
The integral equals x to the power n+1 over n+1 minus a to the power n times x, plus C.
\[ \boxed{\text{(A) }\dfrac{x^{n+1}}{n+1}-a^{n}x+C} \]