A nasty indefinite integralIndefinite integral of normal distributionIndefinite integral with product ruleIndefinite integral evaluation of fractionWhere is the mistake in this integral?Alternative way to do this indefinite integral?Other ways to calculate this indefinite integral ($int frac2dx(cos(x) - sin(x))^2$)?Weird indefinite integral situationSolving the integralIndefinite integral of $frac1(x+1)^2$Evaluate the indefinite integral

Is there a solution to paying high fees when opening and closing lightning channels once we hit a fee only market?

Download app bundles from App Store to run on iOS Emulator on Mac

Is there any mention of ghosts who live outside the Hogwarts castle?

Why the work done is positive when bringing 2 opposite charges together?

Surface of the 3x3x3 cube as a graph

Is it safe to redirect stdout and stderr to the same file without file descriptor copies?

Coloring lines in a graph the same color if they are the same length

Existence of a model of ZFC in which the natural numbers are really the natural numbers

Computing elements of a 1000 x 60 matrix exhausts RAM

Which values for voltage divider

VHDL: Why is it hard to desgin a floating point unit in hardware?

Why is this integration method not valid?

How many wires should be in a new thermostat cable?

Variable does not Exist: CaseTrigger

Why is this python script running in background consuming 100 % CPU?

amsmath: How can I use the equation numbering and label manually and anywhere?

Make the `diff` command look only for differences from a specified range of lines

Passport queue length in UK in relation to arrival method

csname in newenviroment

Managing heat dissipation in a magic wand

Sony VAIO Duo 13 Wifi not working on Ubuntu 16.04

Are there historical examples of audiences drawn to a work that was "so bad it's good"?

size of pointers and architecture

Keeping the dodos out of the field



A nasty indefinite integral


Indefinite integral of normal distributionIndefinite integral with product ruleIndefinite integral evaluation of fractionWhere is the mistake in this integral?Alternative way to do this indefinite integral?Other ways to calculate this indefinite integral ($int frac2dx(cos(x) - sin(x))^2$)?Weird indefinite integral situationSolving the integralIndefinite integral of $frac1(x+1)^2$Evaluate the indefinite integral













8












$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 - lnx+1 + frac12 lnx+2 + 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 - frac12lnx+1 + frac12lnx+2 - 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 - 4lnx+1 + 6lnx+2 - 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)
ln + C $$










share|cite|improve this question











$endgroup$







  • 2




    $begingroup$
    @user376343 - From the opening of the post, "I am hoping somebody can check my work."
    $endgroup$
    – Eevee Trainer
    5 hours ago






  • 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
    5 hours ago







  • 6




    $begingroup$
    @MorganRodgers This is a perfectly acceptable question and you should not speak for everyone. If you do not want to check the work then move on.
    $endgroup$
    – Tony S.F.
    5 hours ago






  • 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
    4 hours ago






  • 2




    $begingroup$
    @Bob the powers of $−1$ must be in parentheses, otherwise it is always $-1$.
    $endgroup$
    – user376343
    4 hours ago















8












$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 - lnx+1 + frac12 lnx+2 + 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 - frac12lnx+1 + frac12lnx+2 - 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 - 4lnx+1 + 6lnx+2 - 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)
ln + C $$










share|cite|improve this question











$endgroup$







  • 2




    $begingroup$
    @user376343 - From the opening of the post, "I am hoping somebody can check my work."
    $endgroup$
    – Eevee Trainer
    5 hours ago






  • 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
    5 hours ago







  • 6




    $begingroup$
    @MorganRodgers This is a perfectly acceptable question and you should not speak for everyone. If you do not want to check the work then move on.
    $endgroup$
    – Tony S.F.
    5 hours ago






  • 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
    4 hours ago






  • 2




    $begingroup$
    @Bob the powers of $−1$ must be in parentheses, otherwise it is always $-1$.
    $endgroup$
    – user376343
    4 hours ago













8












8








8


2



$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 - lnx+1 + frac12 lnx+2 + 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 - frac12lnx+1 + frac12lnx+2 - 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 - 4lnx+1 + 6lnx+2 - 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)
ln + 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 - lnx+1 + frac12 lnx+2 + 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 - frac12lnx+1 + frac12lnx+2 - 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 - 4lnx+1 + 6lnx+2 - 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)
ln + C $$







calculus integration






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 3 hours ago









clathratus

5,7051443




5,7051443










asked 5 hours ago









BobBob

1,016516




1,016516







  • 2




    $begingroup$
    @user376343 - From the opening of the post, "I am hoping somebody can check my work."
    $endgroup$
    – Eevee Trainer
    5 hours ago






  • 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
    5 hours ago







  • 6




    $begingroup$
    @MorganRodgers This is a perfectly acceptable question and you should not speak for everyone. If you do not want to check the work then move on.
    $endgroup$
    – Tony S.F.
    5 hours ago






  • 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
    4 hours ago






  • 2




    $begingroup$
    @Bob the powers of $−1$ must be in parentheses, otherwise it is always $-1$.
    $endgroup$
    – user376343
    4 hours ago












  • 2




    $begingroup$
    @user376343 - From the opening of the post, "I am hoping somebody can check my work."
    $endgroup$
    – Eevee Trainer
    5 hours ago






  • 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
    5 hours ago







  • 6




    $begingroup$
    @MorganRodgers This is a perfectly acceptable question and you should not speak for everyone. If you do not want to check the work then move on.
    $endgroup$
    – Tony S.F.
    5 hours ago






  • 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
    4 hours ago






  • 2




    $begingroup$
    @Bob the powers of $−1$ must be in parentheses, otherwise it is always $-1$.
    $endgroup$
    – user376343
    4 hours ago







2




2




$begingroup$
@user376343 - From the opening of the post, "I am hoping somebody can check my work."
$endgroup$
– Eevee Trainer
5 hours ago




$begingroup$
@user376343 - From the opening of the post, "I am hoping somebody can check my work."
$endgroup$
– Eevee Trainer
5 hours ago




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
5 hours ago





$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
5 hours ago





6




6




$begingroup$
@MorganRodgers This is a perfectly acceptable question and you should not speak for everyone. If you do not want to check the work then move on.
$endgroup$
– Tony S.F.
5 hours ago




$begingroup$
@MorganRodgers This is a perfectly acceptable question and you should not speak for everyone. If you do not want to check the work then move on.
$endgroup$
– Tony S.F.
5 hours ago




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
4 hours ago




$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
4 hours ago




2




2




$begingroup$
@Bob the powers of $−1$ must be in parentheses, otherwise it is always $-1$.
$endgroup$
– user376343
4 hours ago




$begingroup$
@Bob the powers of $−1$ must be in parentheses, otherwise it is always $-1$.
$endgroup$
– user376343
4 hours ago










3 Answers
3






active

oldest

votes


















3












$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$




















    3












    $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$













        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%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        3












        $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$

















          3












          $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$















            3












            3








            3





            $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










            answered 5 hours ago









            Three sided coinThree sided coin

            45011




            45011





















                3












                $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$

















                  3












                  $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$















                    3












                    3








                    3





                    $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 3 hours ago









                    heropupheropup

                    66.7k866104




                    66.7k866104





















                        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 5 hours ago

























                            answered 5 hours ago









                            Matthew LeingangMatthew Leingang

                            17.3k12345




                            17.3k12345



























                                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%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

                                Log på Navigationsmenu

                                Wonderful Copenhagen (sang) Eksterne henvisninger | NavigationsmenurSide på frankloesser.comWonderful Copenhagen

                                Detroit Tigers Spis treści Historia | Skład zespołu | Sukcesy | Członkowie Baseball Hall of Fame | Zastrzeżone numery | Przypisy | Menu nawigacyjneEncyclopedia of Detroit - Detroit TigersTigers Stadium, Detroit, MITigers Timeline 1900sDetroit Tigers Team History & EncyclopediaTigers Timeline 1910s1935 World Series1945 World Series1945 World Series1984 World SeriesComerica Park, Detroit, MI2006 World Series2012 World SeriesDetroit Tigers 40-Man RosterDetroit Tigers Coaching StaffTigers Hall of FamersTigers Retired Numberse