Solution to Apostol's Calculus 8.3 Problem 9

In summary: The solution is well defined for x\in (-\infty ,3). For x<2, the solution is negative and for 2<x<3, the solution is positive.The solution is well defined for x\in (3, +\infty), but the constant c has no affect on the solution.
  • #1
Ryker
1,086
2

Homework Statement


Find all solutions of [tex](x - 2)(x - 3)y’ + 2y = (x - 1)(x - 2)[/tex] on each of the following intervals: [tex](a) (-\infty, 2); (b) (2, 3); (c) (3, +\infty).[/tex]

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


I chose a = 1, first concentrating on a point in interval (a). Using that, I arrived to the solution [tex]f(x) = 4b (\frac{x-2}{x-3})^{2} + \frac{(x-2)(x-1)^{2}}{(x-3)^{2}},[/tex]which is basically the same as what WolframAlpha gives you, namely [tex]f(x) = c_{1} e^{-2(\log(3-x)-\log(2-x))} + \frac{(x-2)(x-1)^{2}}{(x-3)^{2}}.[/tex]The only difference I see is that their solution is general, and Apostol seems to not use the integration constant, but rather operates with b, as in f(a) = b. I'd say that's just a matter of style, though.

What I don't see here is why and how there would be different solutions for the different intervals (a), (b) and (c). As long as the function is defined there, shouldn't they all be the same? And the function is defined there, I think, it's just that WolframAlpha forgot to put absolute values in natural logs. Also, for a, plugging in values from intervals (b) and (c) just gives you a different constant, but that's it, so I'm really puzzled by this one.

Thanks in advance for any help.
 
Last edited:
Physics news on Phys.org
  • #2


have you done this from first principles? It's an integrating factor method equation.
 
  • #3


hunt_mat said:
have you done this from first principles?
What do you mean by that?
hunt_mat said:
It's an integrating factor method equation.
This is also something that I hear for the first time.

This problem is given after the first section of the Introduction to Differential Equations chapter, and since none of the terms you've used were introduced, I'm a bit puzzled by what exactly you mean.
 
  • #4


I hate to do this, but bump. I was hoping to get back to some self-studying over the long weekend, so any further help would be appreciated.
 
  • #5


For an equation of the form:
[tex]
\frac{dy}{dx}+p(x)y=q(x)
[/tex]
The generic trick is to write the LHS as a total derivative, in order to do this multiply throughout by:
[tex]
e^{\int p(x)dx}
[/tex]
To get:
[tex]
e^{\int p(x)dx}\frac{dy}{dx}+e^{\int p(x)dx}p(x)y=e^{\int p(x)dx}q(x)
[/tex]
Now you can recognise the LHS as a total derivative:
[tex]
e^{\int p(x)dx}\frac{dy}{dx}+e^{\int p(x)dx}p(x)y=\frac{d}{dx}\left (e^{\int p(x)dx}y\right)
[/tex]
and so the differential equation becomes:
[tex]
\frac{d}{dx}\left (e^{\int p(x)dx}y\right) =e^{\int p(x)dx}q(x)
[/tex]
Now this can be integrated quite easily. What are the function p(x) and q(x) for your case?
 
  • #6


hunt_mat said:
[tex]
\frac{d}{dx}\left (e^{\int p(x)dx}y\right) =e^{\int p(x)dx}q(x)
[/tex]
Now this can be integrated quite easily. What are the function p(x) and q(x) for your case?
In my case, [tex]p(x) = \frac{2}{(x-3)(x-2)},[/tex] and [tex]q(x) = \frac{x-1}{x-3}.[/tex] But then following your last equation, I think I get the same result for f(x) as I've already posted in my original post, don't I?
 
  • #7


Go through it slowly, integrate p(x) and then take the exponential, what do you get?
 
  • #8


hunt_mat said:
Go through it slowly, integrate p(x) and then take the exponential, what do you get?
OK, so [tex]\int p(x)dx = 2 \ln\frac{x-3}{x-2} + C,[/tex] so that the left-hand side of the equation after integrating is [tex](\frac{x-3}{x-2})^{2}y.[/tex]On the other hand, the right-hand side of the equation is now [tex]\int \frac{(x-3)(x-1)}{(x-2)^{2}},[/tex] so that after integrating we get [tex]\frac{(x-1)^{2}}{x-2} + C.[/tex]Solving for y, we get [tex]y = c (\frac{x-2}{x-3})^{2} + \frac{(x-2)(x-1)^{2}}{(x-3)^{2}},[/tex] which is exactly what I got for f(x) in my original post. I don't get it, are you getting a different solution? Because I can get to here, I just don't know what to do with different intervals.
 
  • #9


Now at least you know the general method for solving such equations. As I can see from the solution, the solution is well defined for [itex]x\in (-\infty ,3)[/itex]. For x<2, the solution is negative and for 2<x<3, the solution is positive.
 
  • #10


hunt_mat said:
Now at least you know the general method for solving such equations. As I can see from the solution, the solution is well defined for [itex]x\in (-\infty ,3)[/itex]. For x<2, the solution is negative and for 2<x<3, the solution is positive.
What about the third interval [itex]x\in (3, +\infty),[/itex] why would it not be well defined there? And when you say the solution is negative or positive, wouldn't that also depend on the constant c? Or why would all solutions have to be negative on [itex]x\in (-\infty ,2)?[/itex]
 
  • #11


You're quite correct, the sign of y does depend on the sign of c. You can say for certain that the solution is zero at x=2 and is infinite at x=3, these were most likely the reason that the points were chosen. What can you say about the solution for x>3? (I left that one fo you to tell me about.
 
  • #12


Since we only have squared terms involving (x - 3), it seems it is the same as for 2 < x < 3, and that it diverges as x goes to infinity. Is there anything else one can say?
 

FAQ: Solution to Apostol's Calculus 8.3 Problem 9

What is the problem statement for Apostol's Calculus 8.3 Problem 9?

The problem asks for the solution to a definite integral, specifically the integral of x^3/(1+x^2) from 0 to 1.

How do you approach solving Apostol's Calculus 8.3 Problem 9?

The first step is to rewrite the integral using partial fractions. Then, use the substitution method to solve for the integral. Finally, evaluate the integral at the upper and lower limits to find the solution.

What is the purpose of solving Apostol's Calculus 8.3 Problem 9?

The purpose of this problem is to practice and strengthen skills in working with definite integrals, specifically using partial fractions and substitutions.

What are some common mistakes to avoid when solving Apostol's Calculus 8.3 Problem 9?

Some common mistakes include forgetting to rewrite the integral using partial fractions, making errors in the substitution, and forgetting to evaluate the integral at the upper and lower limits.

How can I check my solution to Apostol's Calculus 8.3 Problem 9?

You can check your solution by using a graphing calculator or software to graph the original function and your calculated solution. The areas under the curves should match, providing a visual confirmation of the solution.

Back
Top