Simplifying Integration: A Common Question Answered

  • Thread starter Thread starter majin_andrew
  • Start date Start date
  • Tags Tags
    Integration
majin_andrew
Messages
19
Reaction score
0
This isn't a homework question, just something I was wondering about, and this seemed like the most appropriate place to post it because of its simplicity.

When integrating a function of the form f(x)=(x-a)^{n}, I find I get a different result if I expand the brackets first and then integrate.

Example:
\int2(x-5)dx = (x-5)^{2} + C = x^{2}-10x-25 + C
\int2x-10dx = x^{2}-10x + C

I was wondering if the C in the first equation will simply just be 25 greater than the C in the second equation, or is there more to it than that?

Thanks for your time,
Andrew
 
Physics news on Phys.org
In your two integrals, the values of 'C' are different. In the first one you have -25 + C, which is in itself another constant k. So you can rewrite it as x2 -10x+k. Which is in the same form as your second integral.
 
Thanks rock.freak667!
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top