Solving Problem 7 in Apostol's Calculus Ch. 8.3

  • Thread starter Ryker
  • Start date
  • Tags
    Calculus
In summary, the problem is that Apostol's way of solving integrating factor problems using the definite integral is not always the best way to go, as it leads to 1/e as x tends to -1. However, using the Taylor polynomial approximation, which is what I did, yields a finite limit as x tends to 0.
  • #1
Ryker
1,086
2

Homework Statement


Alright, so I started studying ODE's on my own, and am using Apostol's Calculus to that regard. Very quickly I've stumbled upon a problem I can't quite get my head around, namely problem 7 in Chapter 8.3. So here it is:

"Find all solutions of x(x + 1)y’ + y = x(x + 1)2e-x2 on the interval (-1, 0). Prove that all solutions approach 0 as x tends to - 1, but that only one of them has a finite limit as x tends to 0.

Homework Equations


[tex]f(x) = be^{-A(x)} + e^{-A(x)} \int_a^x \! Q(t)e^{A(t)}dt[/tex]

The Attempt at a Solution


Since we have to find solutions on the interval (-1, 0), I chose a = -1/2. This is where I might have gone wrong, but in an example Apostol just arbitrarily chooses a point in the interval you want and goes with it to find solutions. So should I have chosen a different a, and if yes, why? I couldn't have chosen 0 or -1, since ln0 is undefined, and so is x/(x+1) for x = -1.

Anyway, this is what I got for P(x), A(x), Q(x) and f(x).

[tex]P(x) = \frac{1}{x(x+1)}[/tex]
[tex]A(x) = \int_a^x \! P(t)dt = \int_\frac{-1}{2}^x \! P(t)dt = \ln (-\frac{x}{x+1})[/tex]
[tex]Q(x) = (x+1)e^{-x^2}[/tex]

So with a = -1/2, [tex]f(x) = \frac{-b(x+1)}{x} - \frac{1}{2}(e^{-x^2} - e^{\frac{-1}{4}})[/tex]

With x tends to -1, the series expansion of e-x2 is [tex]e^{-x^2} = \frac{1}{e} + \frac{2(x+1)}{e} + o(x+1),[/tex] which when plugging into f(x) doesn't give you that all solutions to 0, but rather to [tex]\frac{1}{e} - \frac{1}{\sqrt[4]{e}}.[/tex]Any help?
 
Last edited:
Physics news on Phys.org
  • #2


This is an integrating factor problem, you need to calculate:
[tex]
p(x)=\int\frac{dx}{x(x+1)}
[/tex]
and then compute exp(p(x))
 
  • #3


Yeah, this is what I did with A(x), but according to Apostol A(x) is an definite integral, not an indefinite one. So why would I need to consider the latter?
 
  • #4


I arrive at:
[tex]
\frac{d}{dx}\left(\frac{xy}{1+x}\right) =\frac{2xe^{-x^{2}}}{1+x}
[/tex]
 
  • #5


Damn, you lost me. Why exactly did you do that, and what did you use for y?
 
  • #6


Okay, divide through by x(1+x) to obtain:
[tex]
y'+\frac{y}{x(1+x)}=2e^{-x^{2}}
[/tex]
Compute the integrating factor to obtain:
[tex]
\frac{x}{x+1}
[/tex]
Multiplying through by this shows what I wrote.
 
  • #7


Oh, sorry, I forgot to superscribe 2 next to (x + 1) in the original equation, and have now edited the original post to do that. So the equation is actually x(x + 1)y’ + y = x(x + 1)2e-x2. Sorry for the confusion. Any ideas now with the proper equation?
 
  • #8


Okay then you would have:
[tex]
\frac{d}{dx}\left(\frac{xy}{1+x}\right) =2xe^{-x^{2}}
[/tex]
Integrate this to obtain:
[tex]
y=C\frac{1+x}{x}-e^{-x^{2}}
[/tex]
Where C is an integration constant.
 
  • #9


How do you get that first part? Being just done with first year, I might be missing knowledge that would help me see it.

Also, if you arrive to the y you have, and then approximate e-x2 with a Taylor polynomial (you probably don't even have to here), you get that as x tends to -1, y tends to -1/e, not 0. Again, am I missing something here?
 
  • #10


Do you mean the left hand side?
 
  • #11


Both, I think :blushing:
 
  • #12


Right:
[tex]
y'+\frac{y}{x(1+x)}=2(1+x)e^{-x^{2}}
[/tex]
Multiply by the integrating factor x/(1+x) to obtain:
[tex]
\frac{xy'}{1+x}+\frac{y}{(1+x)^{2}}=2xe^{-x^{2}}
[/tex]
Does that help?
 
  • #13


Yeah, I see how you got that now, except that I think there shouldn't be a 2 on the right hand side, but rather just e-x2. There's namely no 2 in the original equation, so I'm guessing this is just a remnant of my original post, where I forgot to superscribe that 2 you're now using. It probably doesn't matter for our purposes, but just wanted to point that out to see whether there's something else I'm missing.

In any case, this seems to be what I got using Apostol's way, as well, it's just that I followed a previous example of his and did definite integration with "a" randomly chosen from the interval. Why would that be wrong, though?

OK, so now we have the equation for f(x), but I still don't see how all solutions tend to 0 as x tends to -1. Taking the limit of f(x) this way namely results in 1/e (or 1/2e if you don't have that 2).
 
Last edited:
  • #14


Any further comments? I'm namely still unable to get to the bottom of this.

edit: Nevermind, actually. I found my mistake :biggrin:

Using [tex]f(x) = be^{-A(x)} + e^{-A(x)} \int_a^x \! Q(t)e^{A(t)}dt,[/tex] I said I arrived to [tex]f(x) = \frac{-b(x+1)}{x} - \frac{1}{2}(e^{-x^2} - e^{\frac{-1}{4}}),[/tex] and clearly I omitted the [tex]e^{-A(x)}[/tex] part somewhere along the line.

So the correct answer for f(x) would be: [tex]f(x) = \frac{-b(x+1)}{x} - \frac{x + 1}{2x}(e^{-x^2} - e^{\frac{-1}{4}}),[/tex] which when [tex]x\to -1[/tex] clearly approaches 0.

Thanks for the help, hunt_mat!
 
Last edited:
  • #15


That's why I come here, to see fun maths questions and to help people.
 

What is the problem statement for Problem 7 in Apostol's Calculus Ch. 8.3?

The problem states: Find the maximum and minimum values of the function f(x,y) = 2x + 4y on the region R bounded by the curves y = x^2, y = 4x and y = 0.

What are the steps to solve Problem 7 in Apostol's Calculus Ch. 8.3?

1. Sketch the region R and identify the critical points.
2. Evaluate the function at the critical points.
3. Evaluate the function at the boundary points.
4. Compare all the values to determine the maximum and minimum.

How do you identify critical points in Problem 7 in Apostol's Calculus Ch. 8.3?

Critical points are points where the gradient of the function is equal to zero or does not exist. In this problem, we can find critical points by setting the partial derivatives equal to zero and solving for x and y.

Can you use a graphing calculator to solve Problem 7 in Apostol's Calculus Ch. 8.3?

Yes, a graphing calculator can be used to graph the region R and find the critical points. However, the actual calculations to find the maximum and minimum values will need to be done manually.

What is the significance of solving Problem 7 in Apostol's Calculus Ch. 8.3?

This problem helps to develop an understanding of finding extreme values of functions on a bounded region, which is an important concept in optimization problems. It also reinforces the use of partial derivatives and critical points in solving these types of problems.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
611
  • Calculus and Beyond Homework Help
Replies
1
Views
429
  • Calculus and Beyond Homework Help
Replies
5
Views
268
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
691
  • Calculus and Beyond Homework Help
Replies
2
Views
251
  • Calculus and Beyond Homework Help
Replies
4
Views
679
  • Calculus and Beyond Homework Help
Replies
7
Views
252
  • Calculus and Beyond Homework Help
Replies
1
Views
692
  • Calculus and Beyond Homework Help
Replies
2
Views
530
Back
Top