Applying integration to math problems

In summary, the conversation discusses the integration of (x+2)^2 with respect to x. Two different methods were used, substitution and direct integration, and the resulting solutions were compared. While the solutions appeared different, they are actually the same within a constant. This is because indefinite integrals represent a set of curves and the constant can be shifted up or down along the Y axis. Upon differentiation, the same original function is obtained, which is the definition of an indefinite integral.
  • #1
chwala
Gold Member
2,658
351
Homework Statement
I am looking at the integration of ##(x+2)^2## with respect to ##x##
Relevant Equations
Integration
Ok i know that,
##\int (x+2)^2 dx= \int [x^2+4x+4] dx= \dfrac{x^3}{3}+2x^2+4x+c##

when i use substitution;

i.e letting ##u=x+2## i end up with;

##\int u^2 du= \dfrac{u^3}{3}+c=\dfrac {(x+2)^3}{3}+c=\dfrac{x^3+6x^2+12x+8}{3} +c##

clearly the two solutions are not the same...

appreciate your insight...which approach is more concrete? note that when we differentiate both solutions we get the same function i.e ##x^2+4x+4##.
 
  • Sad
Likes PeroK and malawi_glenn
Physics news on Phys.org
  • #2
chwala said:
clearly the two solutions are not the same...
They are the same to within a constant which is what one expects. Try integrating with bounds from 0 to a.
 
  • Like
  • Love
Likes scottdave, SammyS, Mark44 and 1 other person
  • #3
chwala said:
Homework Statement:: I am looking at the integration of ##(x+2)^2## with respect to ##x##
Relevant Equations:: Integration

Ok i know that,
##\int (x+2)^2 dx= \int [x^2+4x+4] dx= \dfrac{x^3}{3}+2x^2+4x+c##

when i use substitution;

i.e letting ##u=x+2## i end up with;

##\int u^2 du= \dfrac{u^3}{3}+c=\dfrac {(x+2)^3}{3}+c=\dfrac{x^3+6x^2+12x+8}{3} +c##

clearly the two solutions are not the same...

appreciate your insight...which approach is more concrete? note that when we differentiate both solutions we get the same function i.e ##x^2+4x+4##.
Indefinite integrals can be regarded as a set (family) of curves, and each of the curves can be obtained by shifting in a parallel the curve, upwards or downwards (along the "Y" axis).
 
  • Like
Likes chwala
  • #4
The constant "c" in the first example is not necessarily the same "number" as the constant in the second example.
 
  • Like
Likes chwala
  • #5
chwala said:
clearly the two solutions are not the same...
Why are they not the same? 8/3 + c is a constant right?

You wrote that upon differentiating, we get the same original function.
Well, that is the definition of indefinite integral, i.e. primitive function my friend.
 
  • Like
Likes chwala
  • #6
malawi_glenn said:
Why are they not the same? 8/3 + c is a constant right?

You wrote that upon differentiating, we get the same original function.
Well, that is the definition of indefinite integral, i.e. primitive function my friend.
True, that ought to have been pretty obvious to me...:biggrin:...cheers man!
 

Similar threads

  • Calculus and Beyond Homework Help
Replies
14
Views
448
  • Calculus and Beyond Homework Help
Replies
10
Views
518
  • Calculus and Beyond Homework Help
Replies
4
Views
771
  • Calculus and Beyond Homework Help
Replies
1
Views
88
  • Calculus and Beyond Homework Help
Replies
1
Views
514
  • Calculus and Beyond Homework Help
Replies
2
Views
453
  • Calculus and Beyond Homework Help
Replies
3
Views
868
  • Calculus and Beyond Homework Help
Replies
4
Views
841
  • Calculus and Beyond Homework Help
Replies
2
Views
538
  • Calculus and Beyond Homework Help
Replies
2
Views
479
Back
Top