I need help calculating two integrals 1) \int_1^2\sqrt{4+\frac{1}{x}}dx 2) \int_0^{\frac{2}{\pi}}x^n\sin(x)dx

Deragz

Deragz

Answered question

2022-01-01

I need help calculating two integrals
1) 124+1xdx
2) 02πxnsin(x)dx

Answer & Explanation

lovagwb

lovagwb

Beginner2022-01-02Added 50 answers

For the first problem:
4+1xdx=4x+1xdx
Let u=x, x=u2, 2udu=dx
4u2+1u2udu
Try some trigonometric substitution.
Lindsey Gamble

Lindsey Gamble

Beginner2022-01-03Added 38 answers

For the second problem:
Set
I(n)=xnsin(x)dx
Let u=xn, dv=sinx, du=nxn1, v=cosx by integration be parts.
I(n)=xn×cosx+nxn1cosxdx
Let u=xn, dv=cosx, du=(n1)xn2, v=sinx by integration be parts.
I(n)=xn×cosx+n(xn1sinx(n1)xn2sinxdx)=xn×cosx+nxn1sinxn(n1)I(n2)
Then use mathematic induction you will get the formula.
karton

karton

Expert2022-01-09Added 613 answers

You can indeed work out the second integral by parts.
In:=0π/2xnsinxdx=xncosx|0π/2+n0π/2xn1cosxdx
Repeat with the cosine integral,
Jn:=0π/2xncosxdx=xnsinx|0π/2n0π/2xn1sinxdx
This gives you the recurrence relations
In=nJn1
Jn=(π2)nnIn1
So that
In=n((π2)n1(n1)In2)
When you decrease n, you will eventually reach n=1 or n=0, you need to explictly compute I1 and I0. It is an easy matter to establish
I0=J0=1
then
I1=1

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?