Solve ##\int\frac{e^{-x}}{x^2}dx## and ##\int \frac{e^{-x}}{x}dx##

  • #1
zenterix
480
70
Homework Statement
Find the general solution to the differential equation
Relevant Equations
##y''+2y'+y=\frac{e^{-x}}{x^2}##
The characteristic equation has a zero discriminant and the sole root of ##-1##.

The general solution to the associated homogeneous equation is thus

$$y_h(x)=e^{-x}(c_1+c_2x)\tag{1}$$

Now we only need to find one particular solution of the non-homogeneous equation.

The righthand side of the non-homogeneous equation, call it ##R(x)##, is not a polynomial, nor does it fall in the category of ##p(x)e^{mx}## with ##p## being a polynomial. These are perhaps the two easiest special cases of ##R(x)## to solve because they can be solved by the method of undetermined coefficients.

##R(x)## is also not an exponential multiplied by an expression containing ##\sin## and/or ##\cos##, which can also be solved by the method of undetermined coefficients.

Thus, I have chosen to solve using a more general method based on the following theorem in Apostol's Calculus, Volume I

1699674679317.png


We have ##v_1(x)=1## and ##v_2(x)=x## as our solutions to ##L(y)=0##, ie the homogeneous equation.

The Wronskian of ##v_1## and ##v_2## is

$$W(x)=
\begin{vmatrix}
1 & 0\\
x & 1
\end{vmatrix}=1
\tag{2}$$

Thus,

$$t_1(x)=-\int x\cdot\frac{e^{-x}}{x^2}dx=\int\frac{e^{-x}}{x}dx\tag{3}$$

$$t_2(x)=\int \frac{e^{-x}}{x^2}dx\tag{4}$$

How do we solve these integrals?

Math software doesn't get me very far:

1699675123903.png


The window on the bottom is a sort of "math tutor" in Maple that shows all the steps in the calculation of the integral. However, for some integrals this step-by-step isn't available.

Now ##i_1(x)## is probably some variable defined within the depths of the dungeons of Maple documentation.

Still, what technique for solving integrals works for these integrals?
 
Physics news on Phys.org
  • #3
In that case, here is a follow up question.

The solution to the problem in the back of the book is

$$y=(c_1+c_2x-\log{|x|})e^{-x}$$

which seems to imply that the particular solution they are using for the non-homogeneous equation is

$$y_p(x)=-e^{-x}\log{|x|}$$

How did they arrive at this particular solution?
 
  • #4
zenterix said:
$$y_p(x)=-e^{-x}\log{|x|}$$

How did they arrive at this particular solution?
I would look for a function of the form ##y_p(x) = e^{-x}f(x)##. Even without seeing the solution, that looks like a good idea.
 
  • Like
Likes zenterix
  • #5
Substition
[tex]y=z e^{-x}[/tex]
seems helpful. Have you tried it ?
 
  • Like
Likes zenterix
  • #6
PeroK said:
I would look for a function of the form ##y_p(x) = e^{-x}f(x)##. Even without seeing the solution, that looks like a good idea.
Indeed it is a good idea and the answer comes out quite easily.
 
  • #7
zenterix said:
Homework Statement: Find the general solution to the differential equation
Relevant Equations: ##y''+2y'+y=\frac{e^{-x}}{x^2}##

Consider the identity [tex]
\frac{d^2}{dx^2} (e^{ax}g) = (g'' + 2ag' + a^2g)e^{ax}.[/tex]
 
  • #8
zenterix said:
The general solution to the associated homogeneous equation is thus

$$y_h(x)=e^{-x}(c_1+c_2x)\tag{1}$$

zenterix said:
We have ##v_1(x)=1## and ##v_2(x)=x## as our solutions to ##L(y)=0##, ie the homogeneous equation.

Shouldn't that be ##v_1(x) =e^{-x}## and ##v_2(x) = x e^{-x}##?

The method of solution given by the theorem in Apostol will work out nicely. [Edited to add this comment.]
 
Last edited:

Question 1: How do you solve the integral ##\int\frac{e^{-x}}{x^2}dx##?

To solve the integral ##\int\frac{e^{-x}}{x^2}dx##, we can use integration by parts. Let u = ##\frac{1}{x^2}## and dv = ##e^{-x}dx##. Then, differentiate u to get du = ##\frac{-2}{x^3}dx## and integrate dv to get v = ##-e^{-x}##. Finally, apply the integration by parts formula: ##\int u dv = uv - \int v du##. After substituting the values, we get the solution as ##-\frac{e^{-x}}{x} + \frac{2}{x}\int e^{-x}dx##.

Question 2: How do you solve the integral ##\int \frac{e^{-x}}{x}dx##?

To solve the integral ##\int \frac{e^{-x}}{x}dx##, we can use integration by parts again. Let u = ##\frac{1}{x}## and dv = ##e^{-x}dx##. Differentiate u to get du = ##\frac{-1}{x^2}dx## and integrate dv to get v = ##-e^{-x}##. Applying the integration by parts formula, we get the solution as ##-e^{-x}\ln|x| - \int -e^{-x}\frac{-1}{x^2}dx##.

Question 3: Are there any alternative methods to solve these integrals?

Yes, there are alternative methods to solve these integrals. For example, for ##\int\frac{e^{-x}}{x^2}dx##, you can also use substitution by letting ##u = -x##, which transforms the integral into ##\int\frac{e^{u}}{(-u)^2}du##. Similarly, for ##\int \frac{e^{-x}}{x}dx##, you can try using integration by parts multiple times or other advanced techniques like Laplace transforms.

Question 4: What are the properties of the function ##\frac{e^{-x}}{x^2}##?

The function ##\frac{e^{-x}}{x^2}## is continuous and differentiable for all real values of x except x = 0, where it is not defined due to division by zero. It approaches zero as x approaches positive or negative infinity. The function has a singularity at x = 0, which poses challenges in integrating it directly.

Question 5: Can these

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
348
  • Calculus and Beyond Homework Help
Replies
2
Views
161
  • Calculus and Beyond Homework Help
Replies
7
Views
692
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
727
  • Calculus and Beyond Homework Help
2
Replies
54
Views
8K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
131
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
294

Back
Top