A nasty indefinite integral $ int frac1x(x+1)(x+2)(x+3)(x+4) … (x+m) dx $Indefinite integral of normal distributionAnother messy integral: $I=int fracsqrt2-x-x^2x^2 dx$Alternative way to do this indefinite integral?Integral $int sqrtfracx2-xdx$$intlimits_0^10e^-0.04tcdot e^-0.001t^2dt$Other ways to calculate this indefinite integral ($int frac2dx(cos(x) - sin(x))^2$)?Find the indefinite integral $intfracdx(x^2+2x+5)^2$Compute the following integral: $int _ln3^ln 6:8e^xdx$Evaulating the trigonometric integral $int frac1(x^2+1)^2 , dx$Indefinite integral of $frac1(x+1)^2$

How to patch glass cuts in a bicycle tire?

In general, would I need to season a meat when making a sauce?

Is it possible to play as a necromancer skeleton?

Count rotary dial pulses in a phone number (including letters)

Make 24 using exactly three 3s

What to keep in mind when telling an aunt how wrong her actions are, without creating further family conflict?

Python program to take in two strings and print the larger string

Need to understand my home electrical meter to see why bill is so high and/or if neighbor is on same meter

Can a person survive on blood in place of water?

using Leibniz rule to solve definite integral

How to use libraries with delays inside within a time critical STM32 HAL application?

Gladys goes shopping

Installed Tankless Water Heater - Internet loss when active

Did people Unsnap to where they were?

Count Even Digits In Number

Why are C64 games inconsistent with which joystick port they use?

Who will lead the country until there is a new Tory leader?

Why did David Cameron offer a referendum on the European Union?

Why is a `for` loop so much faster to count True values?

Why does Mjolnir fall down in Age of Ultron but not in Endgame?

Where have Brexit voters gone?

Sitecore 9.0 works with solr 7.2.1?

Where is the logic in castrating fighters?

How to deal with a colleague who is being aggressive?



A nasty indefinite integral $ int frac1x(x+1)(x+2)(x+3)(x+4) … (x+m) dx $


Indefinite integral of normal distributionAnother messy integral: $I=int fracsqrt2-x-x^2x^2 dx$Alternative way to do this indefinite integral?Integral $int sqrtfracx2-xdx$$intlimits_0^10e^-0.04tcdot e^-0.001t^2dt$Other ways to calculate this indefinite integral ($int frac2dx(cos(x) - sin(x))^2$)?Find the indefinite integral $intfracdx(x^2+2x+5)^2$Compute the following integral: $int _ln3^ln 6:8e^xdx$Evaulating the trigonometric integral $int frac1(x^2+1)^2 , dx$Indefinite integral of $frac1(x+1)^2$













9












$begingroup$


Below is a problem from the book "Calculus and Analytic Geometry" by Thomas Finney. I am hoping somebody can check my work. I consider it to be a particular hard problem.
Thanks,

Bob

Problem:

We dare you to evalaute this integral.
$$ int frac1x(x+1)(x+2)(x+3)(x+4) ... (x+m) ,, dx $$
Answer:

To evaluate this integral, we will consider some special cases. For $m = 0$ we have:
beginalign*
int frac1x ,, dx &= ln|x| + C \
endalign*

Now for $m = 1$ we have the following integral:
$$ int frac1x(x+1) ,, dx $$
beginalign*
frac1x(x+1) &= fracAx + fracBx+1 \
1 &= A(x+1) + B(x) \
endalign*

At $x = 0$ we have $1 = A(0+1)$ which yields $A = 1$.
beginalign*
A + B &= 0 \
1 + B &= 0 \
B &= -1 \
frac1x(x+1) &= frac1x - frac1x+1 \
int frac1x(x+1) ,, dx &= ln|x| - ln|x+1| + C \
endalign*

Now for $m = 2$ we have the following integral:
$$ int frac1x(x+1)(x+2) ,, dx $$
beginalign*
frac1x(x+1)(x+2) &= fracAx + fracBx+1 + fracCx+2 \
1 &= A(x+1)(x+2) + B(x)(x+2) + C(x)(x+1) \
endalign*

At $x = 0$ we have $1 = A(0+1)(0+2)$ which yields $A = frac12$.
newline
At $x = -1$ we have $1 = B(-1)(-1+2) = -B$ which yields $B = -1$.
newline
At $x = -2$ we have $1 = C(-2)(-2+1) = 2C$ which yields $C = frac12$.
beginalign*
frac1x(x+1)(x+2) &= frac frac12x - frac1x+1 + frac frac12x+2 \
int frac1x(x+1)(x+2) ,, dx &= frac12 ln - ln + frac12 ln + C \
endalign*

newline
Now for $m = 3$ we have the following integral:
$$ int frac1x(x+1)(x+2)(x+3) ,, dx $$
beginalign*
frac1x(x+1)(x+2)(x+3) &= fracAx + fracBx+1 + fracCx+2 + fracDx+3 \
1 &= A(x+1)(x+2)(x+3) + B(x)(x+2)(x+3) + \
& C(x)(x+1)(x+3) + D(x)(x+1)(x+2) \
endalign*

At $x = 0$ we have $1 = A(0+1)(0+2)(0+3) = 6A$ which yields $A = frac16$.



At $x = -1$ we have $1 = B(-1)(-1+2)(-1+3) = -2B$ which yields $B = -frac12$.



At $x = -2$ we have $1 = C(-2)(-2+1)(-2+3) = 2C$ which yields $C = frac12$.



At $x = -3$ we have $1 = D(-3)(-3+1)(-3+2) = -6D$ which yields $D = -frac16$.



Hence, we have the following solution:
$$ int frac1x(x+1)(x+2)(x+3) ,, dx =
frac16ln - frac12ln + frac12ln - frac16ln + C $$

newline
Now for $m = 4$ we have the following integral:
$$ int frac1x(x+1)(x+2)(x+3)(x+4) ,, dx $$
beginalign*
frac1x(x+1)(x+2)(x+3)(x+4) &= fracAx + fracBx+1 + fracCx+2 + fracDx+3 + fracEx+4 \
1 &= A(x+1)(x+2)(x+3)(x+4) + B(x)(x+2)(x+3)(x+4) + \
&+ C(x)(x+1)(x+3)(x+4) \
&+ D(x)(x+1)(x+2)(x+4) + E(x)(x+1)(x+2)(x+3) \
endalign*

At $x = 0$ we have $1 = A(0+1)(0+2)(0+3)(0+4) = 24A$ which yields $A = frac124$.



At $x = -1$ we have $1 = B(-1)(-1+2)(-1+3)(-1+4) = -6B$ which yields $B = -frac16$.



At $x = -2$ we have $1 = C(-2)(-2+1)(-2+3)(-2+4) = 4C$ which yields $C = frac14$.



At $x = -3$ we have $1 = D(-3)(-3+1)(-3+2)(-3+4) = -6D$ which yields $D = -frac16$.



At $x = -4$ we have $1 = E(-4)(-4+1)(-4+2)(-4+3) = 24E$ which yields $E = frac124$.



Hence we have the solution:

Now for $m = 4$ we have the following integral:
$$ int frac1x(x+1)(x+2)(x+3)(x+4) ,, dx =
fracln - 4ln + 6ln - 4ln + ln 24 + C $$

Now let's consider the general case.
beginalign*
frac1x(x+1)(x+2)(x+3)(x+4) cdots (x+m) ,, &= fracC_0x + fracC_1x+1 cdots + fracC_mx+m \
endalign*

beginalign*
1 &= C_0(x+1)(x+2) cdots (x+m) + C_1(x)(x+2) cdots (x+m) + C_2(x)(x+1)(x+3)(x+4) cdots (x+m) + \
& cdots C_m(x)(x+1)(x+2) cdots (x+m-1) \
endalign*

Now lets consider the first term. We set $x = 0$ and we get:
beginalign*
1 &= C_0(0+1)(0+2) cdots (x+m) = m! C_0 \
C_0 &= frac1m!
endalign*

Now lets consider the $C_2$ term. We set $x = 2$ and $m > 4$. We get:
beginalign*
1 &= C_2(-2)(-2+1)(-2+3)(-2+4)(-2 + 5) cdots (-2 + m) \
1 &= C_2 (2)(1)(2)(3)(4) cdots (m-2) \
1 &= 2(m-2)! C_2 \
C_2 &= frac12(m-2)! = fracm(m-1)2(m!) \
C_2 &= frac binom m2 m! \
endalign*

Now lets consider the last term. We set $x = -m$ and we get:
beginalign*
1 &= C_m(-m)(-m+1)(-m+2) cdots (x+m -1) \
C_m &= frac(-1)^mm! \
endalign*

Now lets consider one of the middle terms. We set $x = -k$ where $0 <= k <= m$ and we get:
beginalign*
1 &= C_k(-k)(-k+1)(-k+2) cdots (-1) (1)(2) cdots (-k + m - 1) \
1 &= -1^k C_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
C_k &= frac 1 (-1)^k C_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
C_k &= frac k! (-1)^k C_k(k-1)(k-2) cdots (1)m! \
C_k &= frac binom mk (-1)^k m! \
endalign*

Hence the answer is:
$$ sum_k=0^k=m left( frac binom mk (-1)^k m! right)
lnx+k + C $$










share|cite|improve this question











$endgroup$











  • $begingroup$
    What's your question?
    $endgroup$
    – user376343
    May 19 at 19:05






  • 2




    $begingroup$
    @user376343 - From the opening of the post, "I am hoping somebody can check my work."
    $endgroup$
    – Eevee Trainer
    May 19 at 19:07






  • 3




    $begingroup$
    It seems it is right, but the powers of $-1$ must be in parentheses. ... and it is usual to put them in numerators rather than in denominators.
    $endgroup$
    – user376343
    May 19 at 19:12







  • 3




    $begingroup$
    There are no mistakes in your work per se. However, you should try to make solutions to problems as concise as possible without sacrificing clarity. If I were teaching a class how to do this problem, I would probably show all the work you showed in your answer. If I were doing this problem for homework, I would set up a standard induction argument. Base cases ($m = 0$, $m = 1$): $ldots$. Inductive step: $ldots$. Your prof probably doesn't want to see your thought process; he just wants to see a clear and complete solution.
    $endgroup$
    – Charles Hudgins
    May 19 at 19:57






  • 2




    $begingroup$
    @Bob the powers of $−1$ must be in parentheses, otherwise it is always $-1$.
    $endgroup$
    – user376343
    May 19 at 20:20















9












$begingroup$


Below is a problem from the book "Calculus and Analytic Geometry" by Thomas Finney. I am hoping somebody can check my work. I consider it to be a particular hard problem.
Thanks,

Bob

Problem:

We dare you to evalaute this integral.
$$ int frac1x(x+1)(x+2)(x+3)(x+4) ... (x+m) ,, dx $$
Answer:

To evaluate this integral, we will consider some special cases. For $m = 0$ we have:
beginalign*
int frac1x ,, dx &= ln|x| + C \
endalign*

Now for $m = 1$ we have the following integral:
$$ int frac1x(x+1) ,, dx $$
beginalign*
frac1x(x+1) &= fracAx + fracBx+1 \
1 &= A(x+1) + B(x) \
endalign*

At $x = 0$ we have $1 = A(0+1)$ which yields $A = 1$.
beginalign*
A + B &= 0 \
1 + B &= 0 \
B &= -1 \
frac1x(x+1) &= frac1x - frac1x+1 \
int frac1x(x+1) ,, dx &= ln|x| - ln|x+1| + C \
endalign*

Now for $m = 2$ we have the following integral:
$$ int frac1x(x+1)(x+2) ,, dx $$
beginalign*
frac1x(x+1)(x+2) &= fracAx + fracBx+1 + fracCx+2 \
1 &= A(x+1)(x+2) + B(x)(x+2) + C(x)(x+1) \
endalign*

At $x = 0$ we have $1 = A(0+1)(0+2)$ which yields $A = frac12$.
newline
At $x = -1$ we have $1 = B(-1)(-1+2) = -B$ which yields $B = -1$.
newline
At $x = -2$ we have $1 = C(-2)(-2+1) = 2C$ which yields $C = frac12$.
beginalign*
frac1x(x+1)(x+2) &= frac frac12x - frac1x+1 + frac frac12x+2 \
int frac1x(x+1)(x+2) ,, dx &= frac12 ln - ln + frac12 ln + C \
endalign*

newline
Now for $m = 3$ we have the following integral:
$$ int frac1x(x+1)(x+2)(x+3) ,, dx $$
beginalign*
frac1x(x+1)(x+2)(x+3) &= fracAx + fracBx+1 + fracCx+2 + fracDx+3 \
1 &= A(x+1)(x+2)(x+3) + B(x)(x+2)(x+3) + \
& C(x)(x+1)(x+3) + D(x)(x+1)(x+2) \
endalign*

At $x = 0$ we have $1 = A(0+1)(0+2)(0+3) = 6A$ which yields $A = frac16$.



At $x = -1$ we have $1 = B(-1)(-1+2)(-1+3) = -2B$ which yields $B = -frac12$.



At $x = -2$ we have $1 = C(-2)(-2+1)(-2+3) = 2C$ which yields $C = frac12$.



At $x = -3$ we have $1 = D(-3)(-3+1)(-3+2) = -6D$ which yields $D = -frac16$.



Hence, we have the following solution:
$$ int frac1x(x+1)(x+2)(x+3) ,, dx =
frac16ln - frac12ln + frac12ln - frac16ln + C $$

newline
Now for $m = 4$ we have the following integral:
$$ int frac1x(x+1)(x+2)(x+3)(x+4) ,, dx $$
beginalign*
frac1x(x+1)(x+2)(x+3)(x+4) &= fracAx + fracBx+1 + fracCx+2 + fracDx+3 + fracEx+4 \
1 &= A(x+1)(x+2)(x+3)(x+4) + B(x)(x+2)(x+3)(x+4) + \
&+ C(x)(x+1)(x+3)(x+4) \
&+ D(x)(x+1)(x+2)(x+4) + E(x)(x+1)(x+2)(x+3) \
endalign*

At $x = 0$ we have $1 = A(0+1)(0+2)(0+3)(0+4) = 24A$ which yields $A = frac124$.



At $x = -1$ we have $1 = B(-1)(-1+2)(-1+3)(-1+4) = -6B$ which yields $B = -frac16$.



At $x = -2$ we have $1 = C(-2)(-2+1)(-2+3)(-2+4) = 4C$ which yields $C = frac14$.



At $x = -3$ we have $1 = D(-3)(-3+1)(-3+2)(-3+4) = -6D$ which yields $D = -frac16$.



At $x = -4$ we have $1 = E(-4)(-4+1)(-4+2)(-4+3) = 24E$ which yields $E = frac124$.



Hence we have the solution:

Now for $m = 4$ we have the following integral:
$$ int frac1x(x+1)(x+2)(x+3)(x+4) ,, dx =
fracln - 4ln + 6ln - 4ln + ln 24 + C $$

Now let's consider the general case.
beginalign*
frac1x(x+1)(x+2)(x+3)(x+4) cdots (x+m) ,, &= fracC_0x + fracC_1x+1 cdots + fracC_mx+m \
endalign*

beginalign*
1 &= C_0(x+1)(x+2) cdots (x+m) + C_1(x)(x+2) cdots (x+m) + C_2(x)(x+1)(x+3)(x+4) cdots (x+m) + \
& cdots C_m(x)(x+1)(x+2) cdots (x+m-1) \
endalign*

Now lets consider the first term. We set $x = 0$ and we get:
beginalign*
1 &= C_0(0+1)(0+2) cdots (x+m) = m! C_0 \
C_0 &= frac1m!
endalign*

Now lets consider the $C_2$ term. We set $x = 2$ and $m > 4$. We get:
beginalign*
1 &= C_2(-2)(-2+1)(-2+3)(-2+4)(-2 + 5) cdots (-2 + m) \
1 &= C_2 (2)(1)(2)(3)(4) cdots (m-2) \
1 &= 2(m-2)! C_2 \
C_2 &= frac12(m-2)! = fracm(m-1)2(m!) \
C_2 &= frac binom m2 m! \
endalign*

Now lets consider the last term. We set $x = -m$ and we get:
beginalign*
1 &= C_m(-m)(-m+1)(-m+2) cdots (x+m -1) \
C_m &= frac(-1)^mm! \
endalign*

Now lets consider one of the middle terms. We set $x = -k$ where $0 <= k <= m$ and we get:
beginalign*
1 &= C_k(-k)(-k+1)(-k+2) cdots (-1) (1)(2) cdots (-k + m - 1) \
1 &= -1^k C_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
C_k &= frac 1 (-1)^k C_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
C_k &= frac k! (-1)^k C_k(k-1)(k-2) cdots (1)m! \
C_k &= frac binom mk (-1)^k m! \
endalign*

Hence the answer is:
$$ sum_k=0^k=m left( frac binom mk (-1)^k m! right)
lnx+k + C $$










share|cite|improve this question











$endgroup$











  • $begingroup$
    What's your question?
    $endgroup$
    – user376343
    May 19 at 19:05






  • 2




    $begingroup$
    @user376343 - From the opening of the post, "I am hoping somebody can check my work."
    $endgroup$
    – Eevee Trainer
    May 19 at 19:07






  • 3




    $begingroup$
    It seems it is right, but the powers of $-1$ must be in parentheses. ... and it is usual to put them in numerators rather than in denominators.
    $endgroup$
    – user376343
    May 19 at 19:12







  • 3




    $begingroup$
    There are no mistakes in your work per se. However, you should try to make solutions to problems as concise as possible without sacrificing clarity. If I were teaching a class how to do this problem, I would probably show all the work you showed in your answer. If I were doing this problem for homework, I would set up a standard induction argument. Base cases ($m = 0$, $m = 1$): $ldots$. Inductive step: $ldots$. Your prof probably doesn't want to see your thought process; he just wants to see a clear and complete solution.
    $endgroup$
    – Charles Hudgins
    May 19 at 19:57






  • 2




    $begingroup$
    @Bob the powers of $−1$ must be in parentheses, otherwise it is always $-1$.
    $endgroup$
    – user376343
    May 19 at 20:20













9












9








9


3



$begingroup$


Below is a problem from the book "Calculus and Analytic Geometry" by Thomas Finney. I am hoping somebody can check my work. I consider it to be a particular hard problem.
Thanks,

Bob

Problem:

We dare you to evalaute this integral.
$$ int frac1x(x+1)(x+2)(x+3)(x+4) ... (x+m) ,, dx $$
Answer:

To evaluate this integral, we will consider some special cases. For $m = 0$ we have:
beginalign*
int frac1x ,, dx &= ln|x| + C \
endalign*

Now for $m = 1$ we have the following integral:
$$ int frac1x(x+1) ,, dx $$
beginalign*
frac1x(x+1) &= fracAx + fracBx+1 \
1 &= A(x+1) + B(x) \
endalign*

At $x = 0$ we have $1 = A(0+1)$ which yields $A = 1$.
beginalign*
A + B &= 0 \
1 + B &= 0 \
B &= -1 \
frac1x(x+1) &= frac1x - frac1x+1 \
int frac1x(x+1) ,, dx &= ln|x| - ln|x+1| + C \
endalign*

Now for $m = 2$ we have the following integral:
$$ int frac1x(x+1)(x+2) ,, dx $$
beginalign*
frac1x(x+1)(x+2) &= fracAx + fracBx+1 + fracCx+2 \
1 &= A(x+1)(x+2) + B(x)(x+2) + C(x)(x+1) \
endalign*

At $x = 0$ we have $1 = A(0+1)(0+2)$ which yields $A = frac12$.
newline
At $x = -1$ we have $1 = B(-1)(-1+2) = -B$ which yields $B = -1$.
newline
At $x = -2$ we have $1 = C(-2)(-2+1) = 2C$ which yields $C = frac12$.
beginalign*
frac1x(x+1)(x+2) &= frac frac12x - frac1x+1 + frac frac12x+2 \
int frac1x(x+1)(x+2) ,, dx &= frac12 ln - ln + frac12 ln + C \
endalign*

newline
Now for $m = 3$ we have the following integral:
$$ int frac1x(x+1)(x+2)(x+3) ,, dx $$
beginalign*
frac1x(x+1)(x+2)(x+3) &= fracAx + fracBx+1 + fracCx+2 + fracDx+3 \
1 &= A(x+1)(x+2)(x+3) + B(x)(x+2)(x+3) + \
& C(x)(x+1)(x+3) + D(x)(x+1)(x+2) \
endalign*

At $x = 0$ we have $1 = A(0+1)(0+2)(0+3) = 6A$ which yields $A = frac16$.



At $x = -1$ we have $1 = B(-1)(-1+2)(-1+3) = -2B$ which yields $B = -frac12$.



At $x = -2$ we have $1 = C(-2)(-2+1)(-2+3) = 2C$ which yields $C = frac12$.



At $x = -3$ we have $1 = D(-3)(-3+1)(-3+2) = -6D$ which yields $D = -frac16$.



Hence, we have the following solution:
$$ int frac1x(x+1)(x+2)(x+3) ,, dx =
frac16ln - frac12ln + frac12ln - frac16ln + C $$

newline
Now for $m = 4$ we have the following integral:
$$ int frac1x(x+1)(x+2)(x+3)(x+4) ,, dx $$
beginalign*
frac1x(x+1)(x+2)(x+3)(x+4) &= fracAx + fracBx+1 + fracCx+2 + fracDx+3 + fracEx+4 \
1 &= A(x+1)(x+2)(x+3)(x+4) + B(x)(x+2)(x+3)(x+4) + \
&+ C(x)(x+1)(x+3)(x+4) \
&+ D(x)(x+1)(x+2)(x+4) + E(x)(x+1)(x+2)(x+3) \
endalign*

At $x = 0$ we have $1 = A(0+1)(0+2)(0+3)(0+4) = 24A$ which yields $A = frac124$.



At $x = -1$ we have $1 = B(-1)(-1+2)(-1+3)(-1+4) = -6B$ which yields $B = -frac16$.



At $x = -2$ we have $1 = C(-2)(-2+1)(-2+3)(-2+4) = 4C$ which yields $C = frac14$.



At $x = -3$ we have $1 = D(-3)(-3+1)(-3+2)(-3+4) = -6D$ which yields $D = -frac16$.



At $x = -4$ we have $1 = E(-4)(-4+1)(-4+2)(-4+3) = 24E$ which yields $E = frac124$.



Hence we have the solution:

Now for $m = 4$ we have the following integral:
$$ int frac1x(x+1)(x+2)(x+3)(x+4) ,, dx =
fracln - 4ln + 6ln - 4ln + ln 24 + C $$

Now let's consider the general case.
beginalign*
frac1x(x+1)(x+2)(x+3)(x+4) cdots (x+m) ,, &= fracC_0x + fracC_1x+1 cdots + fracC_mx+m \
endalign*

beginalign*
1 &= C_0(x+1)(x+2) cdots (x+m) + C_1(x)(x+2) cdots (x+m) + C_2(x)(x+1)(x+3)(x+4) cdots (x+m) + \
& cdots C_m(x)(x+1)(x+2) cdots (x+m-1) \
endalign*

Now lets consider the first term. We set $x = 0$ and we get:
beginalign*
1 &= C_0(0+1)(0+2) cdots (x+m) = m! C_0 \
C_0 &= frac1m!
endalign*

Now lets consider the $C_2$ term. We set $x = 2$ and $m > 4$. We get:
beginalign*
1 &= C_2(-2)(-2+1)(-2+3)(-2+4)(-2 + 5) cdots (-2 + m) \
1 &= C_2 (2)(1)(2)(3)(4) cdots (m-2) \
1 &= 2(m-2)! C_2 \
C_2 &= frac12(m-2)! = fracm(m-1)2(m!) \
C_2 &= frac binom m2 m! \
endalign*

Now lets consider the last term. We set $x = -m$ and we get:
beginalign*
1 &= C_m(-m)(-m+1)(-m+2) cdots (x+m -1) \
C_m &= frac(-1)^mm! \
endalign*

Now lets consider one of the middle terms. We set $x = -k$ where $0 <= k <= m$ and we get:
beginalign*
1 &= C_k(-k)(-k+1)(-k+2) cdots (-1) (1)(2) cdots (-k + m - 1) \
1 &= -1^k C_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
C_k &= frac 1 (-1)^k C_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
C_k &= frac k! (-1)^k C_k(k-1)(k-2) cdots (1)m! \
C_k &= frac binom mk (-1)^k m! \
endalign*

Hence the answer is:
$$ sum_k=0^k=m left( frac binom mk (-1)^k m! right)
lnx+k + C $$










share|cite|improve this question











$endgroup$




Below is a problem from the book "Calculus and Analytic Geometry" by Thomas Finney. I am hoping somebody can check my work. I consider it to be a particular hard problem.
Thanks,

Bob

Problem:

We dare you to evalaute this integral.
$$ int frac1x(x+1)(x+2)(x+3)(x+4) ... (x+m) ,, dx $$
Answer:

To evaluate this integral, we will consider some special cases. For $m = 0$ we have:
beginalign*
int frac1x ,, dx &= ln|x| + C \
endalign*

Now for $m = 1$ we have the following integral:
$$ int frac1x(x+1) ,, dx $$
beginalign*
frac1x(x+1) &= fracAx + fracBx+1 \
1 &= A(x+1) + B(x) \
endalign*

At $x = 0$ we have $1 = A(0+1)$ which yields $A = 1$.
beginalign*
A + B &= 0 \
1 + B &= 0 \
B &= -1 \
frac1x(x+1) &= frac1x - frac1x+1 \
int frac1x(x+1) ,, dx &= ln|x| - ln|x+1| + C \
endalign*

Now for $m = 2$ we have the following integral:
$$ int frac1x(x+1)(x+2) ,, dx $$
beginalign*
frac1x(x+1)(x+2) &= fracAx + fracBx+1 + fracCx+2 \
1 &= A(x+1)(x+2) + B(x)(x+2) + C(x)(x+1) \
endalign*

At $x = 0$ we have $1 = A(0+1)(0+2)$ which yields $A = frac12$.
newline
At $x = -1$ we have $1 = B(-1)(-1+2) = -B$ which yields $B = -1$.
newline
At $x = -2$ we have $1 = C(-2)(-2+1) = 2C$ which yields $C = frac12$.
beginalign*
frac1x(x+1)(x+2) &= frac frac12x - frac1x+1 + frac frac12x+2 \
int frac1x(x+1)(x+2) ,, dx &= frac12 ln - ln + frac12 ln + C \
endalign*

newline
Now for $m = 3$ we have the following integral:
$$ int frac1x(x+1)(x+2)(x+3) ,, dx $$
beginalign*
frac1x(x+1)(x+2)(x+3) &= fracAx + fracBx+1 + fracCx+2 + fracDx+3 \
1 &= A(x+1)(x+2)(x+3) + B(x)(x+2)(x+3) + \
& C(x)(x+1)(x+3) + D(x)(x+1)(x+2) \
endalign*

At $x = 0$ we have $1 = A(0+1)(0+2)(0+3) = 6A$ which yields $A = frac16$.



At $x = -1$ we have $1 = B(-1)(-1+2)(-1+3) = -2B$ which yields $B = -frac12$.



At $x = -2$ we have $1 = C(-2)(-2+1)(-2+3) = 2C$ which yields $C = frac12$.



At $x = -3$ we have $1 = D(-3)(-3+1)(-3+2) = -6D$ which yields $D = -frac16$.



Hence, we have the following solution:
$$ int frac1x(x+1)(x+2)(x+3) ,, dx =
frac16ln - frac12ln + frac12ln - frac16ln + C $$

newline
Now for $m = 4$ we have the following integral:
$$ int frac1x(x+1)(x+2)(x+3)(x+4) ,, dx $$
beginalign*
frac1x(x+1)(x+2)(x+3)(x+4) &= fracAx + fracBx+1 + fracCx+2 + fracDx+3 + fracEx+4 \
1 &= A(x+1)(x+2)(x+3)(x+4) + B(x)(x+2)(x+3)(x+4) + \
&+ C(x)(x+1)(x+3)(x+4) \
&+ D(x)(x+1)(x+2)(x+4) + E(x)(x+1)(x+2)(x+3) \
endalign*

At $x = 0$ we have $1 = A(0+1)(0+2)(0+3)(0+4) = 24A$ which yields $A = frac124$.



At $x = -1$ we have $1 = B(-1)(-1+2)(-1+3)(-1+4) = -6B$ which yields $B = -frac16$.



At $x = -2$ we have $1 = C(-2)(-2+1)(-2+3)(-2+4) = 4C$ which yields $C = frac14$.



At $x = -3$ we have $1 = D(-3)(-3+1)(-3+2)(-3+4) = -6D$ which yields $D = -frac16$.



At $x = -4$ we have $1 = E(-4)(-4+1)(-4+2)(-4+3) = 24E$ which yields $E = frac124$.



Hence we have the solution:

Now for $m = 4$ we have the following integral:
$$ int frac1x(x+1)(x+2)(x+3)(x+4) ,, dx =
fracln - 4ln + 6ln - 4ln + ln 24 + C $$

Now let's consider the general case.
beginalign*
frac1x(x+1)(x+2)(x+3)(x+4) cdots (x+m) ,, &= fracC_0x + fracC_1x+1 cdots + fracC_mx+m \
endalign*

beginalign*
1 &= C_0(x+1)(x+2) cdots (x+m) + C_1(x)(x+2) cdots (x+m) + C_2(x)(x+1)(x+3)(x+4) cdots (x+m) + \
& cdots C_m(x)(x+1)(x+2) cdots (x+m-1) \
endalign*

Now lets consider the first term. We set $x = 0$ and we get:
beginalign*
1 &= C_0(0+1)(0+2) cdots (x+m) = m! C_0 \
C_0 &= frac1m!
endalign*

Now lets consider the $C_2$ term. We set $x = 2$ and $m > 4$. We get:
beginalign*
1 &= C_2(-2)(-2+1)(-2+3)(-2+4)(-2 + 5) cdots (-2 + m) \
1 &= C_2 (2)(1)(2)(3)(4) cdots (m-2) \
1 &= 2(m-2)! C_2 \
C_2 &= frac12(m-2)! = fracm(m-1)2(m!) \
C_2 &= frac binom m2 m! \
endalign*

Now lets consider the last term. We set $x = -m$ and we get:
beginalign*
1 &= C_m(-m)(-m+1)(-m+2) cdots (x+m -1) \
C_m &= frac(-1)^mm! \
endalign*

Now lets consider one of the middle terms. We set $x = -k$ where $0 <= k <= m$ and we get:
beginalign*
1 &= C_k(-k)(-k+1)(-k+2) cdots (-1) (1)(2) cdots (-k + m - 1) \
1 &= -1^k C_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
C_k &= frac 1 (-1)^k C_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
C_k &= frac k! (-1)^k C_k(k-1)(k-2) cdots (1)m! \
C_k &= frac binom mk (-1)^k m! \
endalign*

Hence the answer is:
$$ sum_k=0^k=m left( frac binom mk (-1)^k m! right)
lnx+k + C $$







calculus integration proof-verification






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited May 20 at 6:52









YuiTo Cheng

3,26371345




3,26371345










asked May 19 at 19:02









BobBob

1,024516




1,024516











  • $begingroup$
    What's your question?
    $endgroup$
    – user376343
    May 19 at 19:05






  • 2




    $begingroup$
    @user376343 - From the opening of the post, "I am hoping somebody can check my work."
    $endgroup$
    – Eevee Trainer
    May 19 at 19:07






  • 3




    $begingroup$
    It seems it is right, but the powers of $-1$ must be in parentheses. ... and it is usual to put them in numerators rather than in denominators.
    $endgroup$
    – user376343
    May 19 at 19:12







  • 3




    $begingroup$
    There are no mistakes in your work per se. However, you should try to make solutions to problems as concise as possible without sacrificing clarity. If I were teaching a class how to do this problem, I would probably show all the work you showed in your answer. If I were doing this problem for homework, I would set up a standard induction argument. Base cases ($m = 0$, $m = 1$): $ldots$. Inductive step: $ldots$. Your prof probably doesn't want to see your thought process; he just wants to see a clear and complete solution.
    $endgroup$
    – Charles Hudgins
    May 19 at 19:57






  • 2




    $begingroup$
    @Bob the powers of $−1$ must be in parentheses, otherwise it is always $-1$.
    $endgroup$
    – user376343
    May 19 at 20:20
















  • $begingroup$
    What's your question?
    $endgroup$
    – user376343
    May 19 at 19:05






  • 2




    $begingroup$
    @user376343 - From the opening of the post, "I am hoping somebody can check my work."
    $endgroup$
    – Eevee Trainer
    May 19 at 19:07






  • 3




    $begingroup$
    It seems it is right, but the powers of $-1$ must be in parentheses. ... and it is usual to put them in numerators rather than in denominators.
    $endgroup$
    – user376343
    May 19 at 19:12







  • 3




    $begingroup$
    There are no mistakes in your work per se. However, you should try to make solutions to problems as concise as possible without sacrificing clarity. If I were teaching a class how to do this problem, I would probably show all the work you showed in your answer. If I were doing this problem for homework, I would set up a standard induction argument. Base cases ($m = 0$, $m = 1$): $ldots$. Inductive step: $ldots$. Your prof probably doesn't want to see your thought process; he just wants to see a clear and complete solution.
    $endgroup$
    – Charles Hudgins
    May 19 at 19:57






  • 2




    $begingroup$
    @Bob the powers of $−1$ must be in parentheses, otherwise it is always $-1$.
    $endgroup$
    – user376343
    May 19 at 20:20















$begingroup$
What's your question?
$endgroup$
– user376343
May 19 at 19:05




$begingroup$
What's your question?
$endgroup$
– user376343
May 19 at 19:05




2




2




$begingroup$
@user376343 - From the opening of the post, "I am hoping somebody can check my work."
$endgroup$
– Eevee Trainer
May 19 at 19:07




$begingroup$
@user376343 - From the opening of the post, "I am hoping somebody can check my work."
$endgroup$
– Eevee Trainer
May 19 at 19:07




3




3




$begingroup$
It seems it is right, but the powers of $-1$ must be in parentheses. ... and it is usual to put them in numerators rather than in denominators.
$endgroup$
– user376343
May 19 at 19:12





$begingroup$
It seems it is right, but the powers of $-1$ must be in parentheses. ... and it is usual to put them in numerators rather than in denominators.
$endgroup$
– user376343
May 19 at 19:12





3




3




$begingroup$
There are no mistakes in your work per se. However, you should try to make solutions to problems as concise as possible without sacrificing clarity. If I were teaching a class how to do this problem, I would probably show all the work you showed in your answer. If I were doing this problem for homework, I would set up a standard induction argument. Base cases ($m = 0$, $m = 1$): $ldots$. Inductive step: $ldots$. Your prof probably doesn't want to see your thought process; he just wants to see a clear and complete solution.
$endgroup$
– Charles Hudgins
May 19 at 19:57




$begingroup$
There are no mistakes in your work per se. However, you should try to make solutions to problems as concise as possible without sacrificing clarity. If I were teaching a class how to do this problem, I would probably show all the work you showed in your answer. If I were doing this problem for homework, I would set up a standard induction argument. Base cases ($m = 0$, $m = 1$): $ldots$. Inductive step: $ldots$. Your prof probably doesn't want to see your thought process; he just wants to see a clear and complete solution.
$endgroup$
– Charles Hudgins
May 19 at 19:57




2




2




$begingroup$
@Bob the powers of $−1$ must be in parentheses, otherwise it is always $-1$.
$endgroup$
– user376343
May 19 at 20:20




$begingroup$
@Bob the powers of $−1$ must be in parentheses, otherwise it is always $-1$.
$endgroup$
– user376343
May 19 at 20:20










4 Answers
4






active

oldest

votes


















5












$begingroup$

At this line: "Now lets consider the first term. We set $x=0$ and we get:"
$$1 = C_0(0+1)(0+2) cdots (x+m) = m!C_0$$
When you set $x=0$ there won't be any $x$ left.



For $C_2$ there is no mistake but then for the general term you did the same typo.



You can't have after you set $x=-m$: $$1 = C_m(-m)(-m+1)(-m+2) cdots (colorredx+m -1)$$
And for the last part for some reason, you have $C_k$ in the denominator.
$$beginalign*
1 &= C_k(-k)(-k+1)(-k+2) cdots (-1) (1)(2) cdots (-k + m - 1) \
1 &= (-1)^k C_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
C_k &= frac 1 (-1)^k colorredC_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
C_k &= frac k! (-1)^k colorredC_k(k-1)(k-2) cdots (1)m! \
C_k &= frac binom mk (-1)^k m! \
endalign*$$

Other than this everything it's correct.






share|cite|improve this answer











$endgroup$








  • 1




    $begingroup$
    Minor nitpick. It's more appropriate to have $(-1)^k$ instead of $-1^k$. It makes it clearer that it's $-1$ being raised to the power. Otherwise per the order of operations, for example, $$-2^6 = -(2^6) = -64 ne (-2)^6 = 64$$
    $endgroup$
    – Eevee Trainer
    May 20 at 2:07






  • 1




    $begingroup$
    @EeveeTrainer Actually it was a LaTeX typo: -1^k instead of (-1)^k.
    $endgroup$
    – Jean-Claude Arbaut
    May 20 at 7:13


















10












$begingroup$

A simpler approach is possible without all the other preliminary work. Let $$q_m(x) = prod_k=0^m (x+k), quad f_m(x) = frac1q_m(x).$$ Then $f$ admits a partial fraction decomposition of the form $$f_m(x) = sum_n=0^m fracA_nx+n tag1$$ for suitable constants $A_0, ldots, A_m$ which we wish to find, hence an antiderivative of $f$ is $$int f_m(x) , dx = sum_n=0^m A_n log |x+n|. tag2$$ (I have omitted the constant of integration for convenience.) So all that remains is to determine the form of $A_n$. To do this, we observe that $$1 = q_m(x) sum_n=0^m fracA_nx+n = sum_n=0^m p_n(x) A_n,$$ where $$p_n(x) = prod_k ne n (x+k) = (-1)^n prod_k=0^n-1 (-x-k) prod_k=n+1^m (k + x).$$ Then in particular $$p_n(-n) = (-1)^n prod_k=0^n-1 (n-k) prod_k=n+1^m (k-n) = (-1)^n n!(m-n)! = frac(-1)^n m!binommn,$$ and $p_n(-k) = 0$ for all other nonnegative integers $k le m$ not equal to $n$. Therefore, $$A_n = frac1p_n(-n) = frac(-1)^nm! binommn$$ and $$int f_m(x) , dx = sum_n=0^m frac(-1)^nm! binommn log |x+n| + C$$ as claimed.






share|cite|improve this answer









$endgroup$




















    0












    $begingroup$

    It looks right to me [That is, I did the calculation independently and got the same answer]. For brevity/clarity purposes you really only need to include the “general case”.



    It would be more conventional to write
    $$
    C_k = frac(-1)^kk!(m-k)!
    $$






    share|cite|improve this answer











    $endgroup$




















      0












      $begingroup$

      We could set up a difference equation. Partial fractions indicates that
      $$f_m(x)=frac1prod_k=0^m(x+k)=sum_k=0^mfracA_k^(m)x+m$$
      And it is a simple calculation to show that
      $$f_m-1(x)-f_m-1(x+1)=mf_m(x)$$
      So, comparing coefficients of $frac1x+k$ we have $A_0^(m-1)=mA_0^(m)$, $A_m-1^(m-1)=-mA_m^(m)$, and $A_k^(m-1)-A_k-1^(m-1)=mA_k^(m)$ for $1le kle m-1$. If we let $A_k^(m)=frac(-1)^km!B_k^(m)$ then our difference equations read $B_0^(m-1)=B_0^(m)=cdots=B_0^(0)=A_0^(0)=1$, $B_m-1^(m-1)=B_m^(m)=cdots=B_0^(0)=1$ and $B_k^(m-1)+B_k-1^(m-1)=B_k^(m)$ for $1le kle m-1$. We recognize these as the difference equations for Pascal's triangle, so $B_k^(m)=mchoose k$ so it follows that $A_k^(m)=frac(-1)^km!mchoose k$ and
      $$int f_m(x)dx=sum_k=0^mfrac(-1)^km!mchoose kln|x+k|+C$$






      share|cite|improve this answer









      $endgroup$













        Your Answer








        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "69"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader:
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        ,
        noCode: true, onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );













        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3232158%2fa-nasty-indefinite-integral-int-frac1xx1x2x3x4-xm-dx%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        5












        $begingroup$

        At this line: "Now lets consider the first term. We set $x=0$ and we get:"
        $$1 = C_0(0+1)(0+2) cdots (x+m) = m!C_0$$
        When you set $x=0$ there won't be any $x$ left.



        For $C_2$ there is no mistake but then for the general term you did the same typo.



        You can't have after you set $x=-m$: $$1 = C_m(-m)(-m+1)(-m+2) cdots (colorredx+m -1)$$
        And for the last part for some reason, you have $C_k$ in the denominator.
        $$beginalign*
        1 &= C_k(-k)(-k+1)(-k+2) cdots (-1) (1)(2) cdots (-k + m - 1) \
        1 &= (-1)^k C_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
        C_k &= frac 1 (-1)^k colorredC_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
        C_k &= frac k! (-1)^k colorredC_k(k-1)(k-2) cdots (1)m! \
        C_k &= frac binom mk (-1)^k m! \
        endalign*$$

        Other than this everything it's correct.






        share|cite|improve this answer











        $endgroup$








        • 1




          $begingroup$
          Minor nitpick. It's more appropriate to have $(-1)^k$ instead of $-1^k$. It makes it clearer that it's $-1$ being raised to the power. Otherwise per the order of operations, for example, $$-2^6 = -(2^6) = -64 ne (-2)^6 = 64$$
          $endgroup$
          – Eevee Trainer
          May 20 at 2:07






        • 1




          $begingroup$
          @EeveeTrainer Actually it was a LaTeX typo: -1^k instead of (-1)^k.
          $endgroup$
          – Jean-Claude Arbaut
          May 20 at 7:13















        5












        $begingroup$

        At this line: "Now lets consider the first term. We set $x=0$ and we get:"
        $$1 = C_0(0+1)(0+2) cdots (x+m) = m!C_0$$
        When you set $x=0$ there won't be any $x$ left.



        For $C_2$ there is no mistake but then for the general term you did the same typo.



        You can't have after you set $x=-m$: $$1 = C_m(-m)(-m+1)(-m+2) cdots (colorredx+m -1)$$
        And for the last part for some reason, you have $C_k$ in the denominator.
        $$beginalign*
        1 &= C_k(-k)(-k+1)(-k+2) cdots (-1) (1)(2) cdots (-k + m - 1) \
        1 &= (-1)^k C_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
        C_k &= frac 1 (-1)^k colorredC_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
        C_k &= frac k! (-1)^k colorredC_k(k-1)(k-2) cdots (1)m! \
        C_k &= frac binom mk (-1)^k m! \
        endalign*$$

        Other than this everything it's correct.






        share|cite|improve this answer











        $endgroup$








        • 1




          $begingroup$
          Minor nitpick. It's more appropriate to have $(-1)^k$ instead of $-1^k$. It makes it clearer that it's $-1$ being raised to the power. Otherwise per the order of operations, for example, $$-2^6 = -(2^6) = -64 ne (-2)^6 = 64$$
          $endgroup$
          – Eevee Trainer
          May 20 at 2:07






        • 1




          $begingroup$
          @EeveeTrainer Actually it was a LaTeX typo: -1^k instead of (-1)^k.
          $endgroup$
          – Jean-Claude Arbaut
          May 20 at 7:13













        5












        5








        5





        $begingroup$

        At this line: "Now lets consider the first term. We set $x=0$ and we get:"
        $$1 = C_0(0+1)(0+2) cdots (x+m) = m!C_0$$
        When you set $x=0$ there won't be any $x$ left.



        For $C_2$ there is no mistake but then for the general term you did the same typo.



        You can't have after you set $x=-m$: $$1 = C_m(-m)(-m+1)(-m+2) cdots (colorredx+m -1)$$
        And for the last part for some reason, you have $C_k$ in the denominator.
        $$beginalign*
        1 &= C_k(-k)(-k+1)(-k+2) cdots (-1) (1)(2) cdots (-k + m - 1) \
        1 &= (-1)^k C_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
        C_k &= frac 1 (-1)^k colorredC_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
        C_k &= frac k! (-1)^k colorredC_k(k-1)(k-2) cdots (1)m! \
        C_k &= frac binom mk (-1)^k m! \
        endalign*$$

        Other than this everything it's correct.






        share|cite|improve this answer











        $endgroup$



        At this line: "Now lets consider the first term. We set $x=0$ and we get:"
        $$1 = C_0(0+1)(0+2) cdots (x+m) = m!C_0$$
        When you set $x=0$ there won't be any $x$ left.



        For $C_2$ there is no mistake but then for the general term you did the same typo.



        You can't have after you set $x=-m$: $$1 = C_m(-m)(-m+1)(-m+2) cdots (colorredx+m -1)$$
        And for the last part for some reason, you have $C_k$ in the denominator.
        $$beginalign*
        1 &= C_k(-k)(-k+1)(-k+2) cdots (-1) (1)(2) cdots (-k + m - 1) \
        1 &= (-1)^k C_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
        C_k &= frac 1 (-1)^k colorredC_k(k-1)(k-2) cdots (1)(2) cdots (-k + m - 1) \
        C_k &= frac k! (-1)^k colorredC_k(k-1)(k-2) cdots (1)m! \
        C_k &= frac binom mk (-1)^k m! \
        endalign*$$

        Other than this everything it's correct.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited May 20 at 7:12









        Jean-Claude Arbaut

        16k63865




        16k63865










        answered May 19 at 19:40









        Three sided coinThree sided coin

        70512




        70512







        • 1




          $begingroup$
          Minor nitpick. It's more appropriate to have $(-1)^k$ instead of $-1^k$. It makes it clearer that it's $-1$ being raised to the power. Otherwise per the order of operations, for example, $$-2^6 = -(2^6) = -64 ne (-2)^6 = 64$$
          $endgroup$
          – Eevee Trainer
          May 20 at 2:07






        • 1




          $begingroup$
          @EeveeTrainer Actually it was a LaTeX typo: -1^k instead of (-1)^k.
          $endgroup$
          – Jean-Claude Arbaut
          May 20 at 7:13












        • 1




          $begingroup$
          Minor nitpick. It's more appropriate to have $(-1)^k$ instead of $-1^k$. It makes it clearer that it's $-1$ being raised to the power. Otherwise per the order of operations, for example, $$-2^6 = -(2^6) = -64 ne (-2)^6 = 64$$
          $endgroup$
          – Eevee Trainer
          May 20 at 2:07






        • 1




          $begingroup$
          @EeveeTrainer Actually it was a LaTeX typo: -1^k instead of (-1)^k.
          $endgroup$
          – Jean-Claude Arbaut
          May 20 at 7:13







        1




        1




        $begingroup$
        Minor nitpick. It's more appropriate to have $(-1)^k$ instead of $-1^k$. It makes it clearer that it's $-1$ being raised to the power. Otherwise per the order of operations, for example, $$-2^6 = -(2^6) = -64 ne (-2)^6 = 64$$
        $endgroup$
        – Eevee Trainer
        May 20 at 2:07




        $begingroup$
        Minor nitpick. It's more appropriate to have $(-1)^k$ instead of $-1^k$. It makes it clearer that it's $-1$ being raised to the power. Otherwise per the order of operations, for example, $$-2^6 = -(2^6) = -64 ne (-2)^6 = 64$$
        $endgroup$
        – Eevee Trainer
        May 20 at 2:07




        1




        1




        $begingroup$
        @EeveeTrainer Actually it was a LaTeX typo: -1^k instead of (-1)^k.
        $endgroup$
        – Jean-Claude Arbaut
        May 20 at 7:13




        $begingroup$
        @EeveeTrainer Actually it was a LaTeX typo: -1^k instead of (-1)^k.
        $endgroup$
        – Jean-Claude Arbaut
        May 20 at 7:13











        10












        $begingroup$

        A simpler approach is possible without all the other preliminary work. Let $$q_m(x) = prod_k=0^m (x+k), quad f_m(x) = frac1q_m(x).$$ Then $f$ admits a partial fraction decomposition of the form $$f_m(x) = sum_n=0^m fracA_nx+n tag1$$ for suitable constants $A_0, ldots, A_m$ which we wish to find, hence an antiderivative of $f$ is $$int f_m(x) , dx = sum_n=0^m A_n log |x+n|. tag2$$ (I have omitted the constant of integration for convenience.) So all that remains is to determine the form of $A_n$. To do this, we observe that $$1 = q_m(x) sum_n=0^m fracA_nx+n = sum_n=0^m p_n(x) A_n,$$ where $$p_n(x) = prod_k ne n (x+k) = (-1)^n prod_k=0^n-1 (-x-k) prod_k=n+1^m (k + x).$$ Then in particular $$p_n(-n) = (-1)^n prod_k=0^n-1 (n-k) prod_k=n+1^m (k-n) = (-1)^n n!(m-n)! = frac(-1)^n m!binommn,$$ and $p_n(-k) = 0$ for all other nonnegative integers $k le m$ not equal to $n$. Therefore, $$A_n = frac1p_n(-n) = frac(-1)^nm! binommn$$ and $$int f_m(x) , dx = sum_n=0^m frac(-1)^nm! binommn log |x+n| + C$$ as claimed.






        share|cite|improve this answer









        $endgroup$

















          10












          $begingroup$

          A simpler approach is possible without all the other preliminary work. Let $$q_m(x) = prod_k=0^m (x+k), quad f_m(x) = frac1q_m(x).$$ Then $f$ admits a partial fraction decomposition of the form $$f_m(x) = sum_n=0^m fracA_nx+n tag1$$ for suitable constants $A_0, ldots, A_m$ which we wish to find, hence an antiderivative of $f$ is $$int f_m(x) , dx = sum_n=0^m A_n log |x+n|. tag2$$ (I have omitted the constant of integration for convenience.) So all that remains is to determine the form of $A_n$. To do this, we observe that $$1 = q_m(x) sum_n=0^m fracA_nx+n = sum_n=0^m p_n(x) A_n,$$ where $$p_n(x) = prod_k ne n (x+k) = (-1)^n prod_k=0^n-1 (-x-k) prod_k=n+1^m (k + x).$$ Then in particular $$p_n(-n) = (-1)^n prod_k=0^n-1 (n-k) prod_k=n+1^m (k-n) = (-1)^n n!(m-n)! = frac(-1)^n m!binommn,$$ and $p_n(-k) = 0$ for all other nonnegative integers $k le m$ not equal to $n$. Therefore, $$A_n = frac1p_n(-n) = frac(-1)^nm! binommn$$ and $$int f_m(x) , dx = sum_n=0^m frac(-1)^nm! binommn log |x+n| + C$$ as claimed.






          share|cite|improve this answer









          $endgroup$















            10












            10








            10





            $begingroup$

            A simpler approach is possible without all the other preliminary work. Let $$q_m(x) = prod_k=0^m (x+k), quad f_m(x) = frac1q_m(x).$$ Then $f$ admits a partial fraction decomposition of the form $$f_m(x) = sum_n=0^m fracA_nx+n tag1$$ for suitable constants $A_0, ldots, A_m$ which we wish to find, hence an antiderivative of $f$ is $$int f_m(x) , dx = sum_n=0^m A_n log |x+n|. tag2$$ (I have omitted the constant of integration for convenience.) So all that remains is to determine the form of $A_n$. To do this, we observe that $$1 = q_m(x) sum_n=0^m fracA_nx+n = sum_n=0^m p_n(x) A_n,$$ where $$p_n(x) = prod_k ne n (x+k) = (-1)^n prod_k=0^n-1 (-x-k) prod_k=n+1^m (k + x).$$ Then in particular $$p_n(-n) = (-1)^n prod_k=0^n-1 (n-k) prod_k=n+1^m (k-n) = (-1)^n n!(m-n)! = frac(-1)^n m!binommn,$$ and $p_n(-k) = 0$ for all other nonnegative integers $k le m$ not equal to $n$. Therefore, $$A_n = frac1p_n(-n) = frac(-1)^nm! binommn$$ and $$int f_m(x) , dx = sum_n=0^m frac(-1)^nm! binommn log |x+n| + C$$ as claimed.






            share|cite|improve this answer









            $endgroup$



            A simpler approach is possible without all the other preliminary work. Let $$q_m(x) = prod_k=0^m (x+k), quad f_m(x) = frac1q_m(x).$$ Then $f$ admits a partial fraction decomposition of the form $$f_m(x) = sum_n=0^m fracA_nx+n tag1$$ for suitable constants $A_0, ldots, A_m$ which we wish to find, hence an antiderivative of $f$ is $$int f_m(x) , dx = sum_n=0^m A_n log |x+n|. tag2$$ (I have omitted the constant of integration for convenience.) So all that remains is to determine the form of $A_n$. To do this, we observe that $$1 = q_m(x) sum_n=0^m fracA_nx+n = sum_n=0^m p_n(x) A_n,$$ where $$p_n(x) = prod_k ne n (x+k) = (-1)^n prod_k=0^n-1 (-x-k) prod_k=n+1^m (k + x).$$ Then in particular $$p_n(-n) = (-1)^n prod_k=0^n-1 (n-k) prod_k=n+1^m (k-n) = (-1)^n n!(m-n)! = frac(-1)^n m!binommn,$$ and $p_n(-k) = 0$ for all other nonnegative integers $k le m$ not equal to $n$. Therefore, $$A_n = frac1p_n(-n) = frac(-1)^nm! binommn$$ and $$int f_m(x) , dx = sum_n=0^m frac(-1)^nm! binommn log |x+n| + C$$ as claimed.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered May 19 at 21:18









            heropupheropup

            66.9k866105




            66.9k866105





















                0












                $begingroup$

                It looks right to me [That is, I did the calculation independently and got the same answer]. For brevity/clarity purposes you really only need to include the “general case”.



                It would be more conventional to write
                $$
                C_k = frac(-1)^kk!(m-k)!
                $$






                share|cite|improve this answer











                $endgroup$

















                  0












                  $begingroup$

                  It looks right to me [That is, I did the calculation independently and got the same answer]. For brevity/clarity purposes you really only need to include the “general case”.



                  It would be more conventional to write
                  $$
                  C_k = frac(-1)^kk!(m-k)!
                  $$






                  share|cite|improve this answer











                  $endgroup$















                    0












                    0








                    0





                    $begingroup$

                    It looks right to me [That is, I did the calculation independently and got the same answer]. For brevity/clarity purposes you really only need to include the “general case”.



                    It would be more conventional to write
                    $$
                    C_k = frac(-1)^kk!(m-k)!
                    $$






                    share|cite|improve this answer











                    $endgroup$



                    It looks right to me [That is, I did the calculation independently and got the same answer]. For brevity/clarity purposes you really only need to include the “general case”.



                    It would be more conventional to write
                    $$
                    C_k = frac(-1)^kk!(m-k)!
                    $$







                    share|cite|improve this answer














                    share|cite|improve this answer



                    share|cite|improve this answer








                    edited May 19 at 19:21

























                    answered May 19 at 19:15









                    Matthew LeingangMatthew Leingang

                    17.4k12346




                    17.4k12346





















                        0












                        $begingroup$

                        We could set up a difference equation. Partial fractions indicates that
                        $$f_m(x)=frac1prod_k=0^m(x+k)=sum_k=0^mfracA_k^(m)x+m$$
                        And it is a simple calculation to show that
                        $$f_m-1(x)-f_m-1(x+1)=mf_m(x)$$
                        So, comparing coefficients of $frac1x+k$ we have $A_0^(m-1)=mA_0^(m)$, $A_m-1^(m-1)=-mA_m^(m)$, and $A_k^(m-1)-A_k-1^(m-1)=mA_k^(m)$ for $1le kle m-1$. If we let $A_k^(m)=frac(-1)^km!B_k^(m)$ then our difference equations read $B_0^(m-1)=B_0^(m)=cdots=B_0^(0)=A_0^(0)=1$, $B_m-1^(m-1)=B_m^(m)=cdots=B_0^(0)=1$ and $B_k^(m-1)+B_k-1^(m-1)=B_k^(m)$ for $1le kle m-1$. We recognize these as the difference equations for Pascal's triangle, so $B_k^(m)=mchoose k$ so it follows that $A_k^(m)=frac(-1)^km!mchoose k$ and
                        $$int f_m(x)dx=sum_k=0^mfrac(-1)^km!mchoose kln|x+k|+C$$






                        share|cite|improve this answer









                        $endgroup$

















                          0












                          $begingroup$

                          We could set up a difference equation. Partial fractions indicates that
                          $$f_m(x)=frac1prod_k=0^m(x+k)=sum_k=0^mfracA_k^(m)x+m$$
                          And it is a simple calculation to show that
                          $$f_m-1(x)-f_m-1(x+1)=mf_m(x)$$
                          So, comparing coefficients of $frac1x+k$ we have $A_0^(m-1)=mA_0^(m)$, $A_m-1^(m-1)=-mA_m^(m)$, and $A_k^(m-1)-A_k-1^(m-1)=mA_k^(m)$ for $1le kle m-1$. If we let $A_k^(m)=frac(-1)^km!B_k^(m)$ then our difference equations read $B_0^(m-1)=B_0^(m)=cdots=B_0^(0)=A_0^(0)=1$, $B_m-1^(m-1)=B_m^(m)=cdots=B_0^(0)=1$ and $B_k^(m-1)+B_k-1^(m-1)=B_k^(m)$ for $1le kle m-1$. We recognize these as the difference equations for Pascal's triangle, so $B_k^(m)=mchoose k$ so it follows that $A_k^(m)=frac(-1)^km!mchoose k$ and
                          $$int f_m(x)dx=sum_k=0^mfrac(-1)^km!mchoose kln|x+k|+C$$






                          share|cite|improve this answer









                          $endgroup$















                            0












                            0








                            0





                            $begingroup$

                            We could set up a difference equation. Partial fractions indicates that
                            $$f_m(x)=frac1prod_k=0^m(x+k)=sum_k=0^mfracA_k^(m)x+m$$
                            And it is a simple calculation to show that
                            $$f_m-1(x)-f_m-1(x+1)=mf_m(x)$$
                            So, comparing coefficients of $frac1x+k$ we have $A_0^(m-1)=mA_0^(m)$, $A_m-1^(m-1)=-mA_m^(m)$, and $A_k^(m-1)-A_k-1^(m-1)=mA_k^(m)$ for $1le kle m-1$. If we let $A_k^(m)=frac(-1)^km!B_k^(m)$ then our difference equations read $B_0^(m-1)=B_0^(m)=cdots=B_0^(0)=A_0^(0)=1$, $B_m-1^(m-1)=B_m^(m)=cdots=B_0^(0)=1$ and $B_k^(m-1)+B_k-1^(m-1)=B_k^(m)$ for $1le kle m-1$. We recognize these as the difference equations for Pascal's triangle, so $B_k^(m)=mchoose k$ so it follows that $A_k^(m)=frac(-1)^km!mchoose k$ and
                            $$int f_m(x)dx=sum_k=0^mfrac(-1)^km!mchoose kln|x+k|+C$$






                            share|cite|improve this answer









                            $endgroup$



                            We could set up a difference equation. Partial fractions indicates that
                            $$f_m(x)=frac1prod_k=0^m(x+k)=sum_k=0^mfracA_k^(m)x+m$$
                            And it is a simple calculation to show that
                            $$f_m-1(x)-f_m-1(x+1)=mf_m(x)$$
                            So, comparing coefficients of $frac1x+k$ we have $A_0^(m-1)=mA_0^(m)$, $A_m-1^(m-1)=-mA_m^(m)$, and $A_k^(m-1)-A_k-1^(m-1)=mA_k^(m)$ for $1le kle m-1$. If we let $A_k^(m)=frac(-1)^km!B_k^(m)$ then our difference equations read $B_0^(m-1)=B_0^(m)=cdots=B_0^(0)=A_0^(0)=1$, $B_m-1^(m-1)=B_m^(m)=cdots=B_0^(0)=1$ and $B_k^(m-1)+B_k-1^(m-1)=B_k^(m)$ for $1le kle m-1$. We recognize these as the difference equations for Pascal's triangle, so $B_k^(m)=mchoose k$ so it follows that $A_k^(m)=frac(-1)^km!mchoose k$ and
                            $$int f_m(x)dx=sum_k=0^mfrac(-1)^km!mchoose kln|x+k|+C$$







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered May 20 at 4:49









                            user5713492user5713492

                            11.2k2919




                            11.2k2919



























                                draft saved

                                draft discarded
















































                                Thanks for contributing an answer to Mathematics Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid


                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.

                                Use MathJax to format equations. MathJax reference.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3232158%2fa-nasty-indefinite-integral-int-frac1xx1x2x3x4-xm-dx%23new-answer', 'question_page');

                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

                                Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

                                Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림