How to find integrals like int (1-x)(x^2-4)dx

  • Thread starter Thread starter amcavoy
  • Start date Start date
  • Tags Tags
    Integrals
AI Thread Summary
To efficiently calculate integrals like ∫(1-x)(x^2-4)dx, the general consensus is to use partial fractions, despite it being a lengthy method. In this specific case, the integral can be simplified by breaking it down into manageable parts, allowing for quicker computation. The first two parts can be evaluated as logarithmic functions, while the last part can also be simplified using recognition of derivatives. Some participants suggest using a graphing calculator like the TI-89 to expedite the process. Overall, mastering partial fractions is essential for tackling similar integrals effectively.
amcavoy
Messages
663
Reaction score
0
I already know the answer to this, but would like your opinion on the quickest way to calculate integrals like these. I am finding myself evaluating similar integrals in my differential equation homework, and the method that I used (parts and partial fractions) is a mess and takes way too long (if it were to appear on a test).

\int\left(\frac{1-x}{x^2-4}\right)dx

Thanks.
 
Physics news on Phys.org
In general, partial fractions is the only way to go. In this particular case, you can split the integral up like this to do it pretty fast:
\int-\frac{x-1}{x^2-4}dx
=-\int\frac{x-2}{(x+2)(x-2)}+\frac{2}{2(x+2)(x-2)}dx
=-\int\frac{1}{x+2}+\frac{2+x}{2(x+2)(x-2)}-\frac{x}{2(x^2-4)}}dx
=-\int\frac{1}{x+2}+\frac{1}{2(x-2)}-\frac{x}{2(x^2-4)}}dx
Now you can directly compute the first two parts as logs and the last as a log by recognizing x as one quarter the derivative of the denomenator
 
LeonhardEuler said:
In general, partial fractions is the only way to go. In this particular case, you can split the integral up like this to do it pretty fast:
\int-\frac{x-1}{x^2-4}dx
=-\int\frac{x-2}{(x+2)(x-2)}+\frac{2}{2(x+2)(x-2)}dx
=-\int\frac{1}{x+2}+\frac{2+x}{2(x+2)(x-2)}-\frac{x}{2(x^2-4)}}dx
=-\int\frac{1}{x+2}+\frac{1}{2(x-2)}-\frac{x}{2(x^2-4)}}dx
Now you can directly compute the first two parts as logs and the last as a log by recognizing x as one quarter the derivative of the denomenator

Well it looks like the only way to save time here is to use my TI-89 :smile:.

Thanks for the reply Euler.
 
TL;DR Summary: I came across this question from a Sri Lankan A-level textbook. Question - An ice cube with a length of 10 cm is immersed in water at 0 °C. An observer observes the ice cube from the water, and it seems to be 7.75 cm long. If the refractive index of water is 4/3, find the height of the ice cube immersed in the water. I could not understand how the apparent height of the ice cube in the water depends on the height of the ice cube immersed in the water. Does anyone have an...
Thread 'Variable mass system : water sprayed into a moving container'
Starting with the mass considerations #m(t)# is mass of water #M_{c}# mass of container and #M(t)# mass of total system $$M(t) = M_{C} + m(t)$$ $$\Rightarrow \frac{dM(t)}{dt} = \frac{dm(t)}{dt}$$ $$P_i = Mv + u \, dm$$ $$P_f = (M + dm)(v + dv)$$ $$\Delta P = M \, dv + (v - u) \, dm$$ $$F = \frac{dP}{dt} = M \frac{dv}{dt} + (v - u) \frac{dm}{dt}$$ $$F = u \frac{dm}{dt} = \rho A u^2$$ from conservation of momentum , the cannon recoils with the same force which it applies. $$\quad \frac{dm}{dt}...
Back
Top