MHB Problem with linear differential equation

Click For Summary
The discussion revolves around solving the linear differential equation (dy/dx) + (2/x)y = 3x - 5 using the integrating factor method. The integrating factor, calculated as e^(∫(2/x)dx) = x^2, is applied to both sides of the equation. This transforms the left side into a derivative form, allowing the equation to be expressed as d/dx(x^2y) = x^2(3x - 5). Participants discuss the next steps, which involve integrating both sides to find x^2y and subsequently isolating y. The final integration leads to the solution x^2y = (3/4)x^4 - (5/3)x^3 + C, with further clarification on formatting commands for mathematical expressions.
stripedcat
Messages
44
Reaction score
0
Still learning the formatting commands, sorry!

I'm aware of the $(dy/dx) + P(x)y=Q(x)$ formula, as well as the $e^{\int P(x) dx}$ formula needed to get the "I" factor.

Here's the equation.

$$(dy/dx)+(2/x)y=3x-5$$

The "$P(x)$" would be $(2/x), \int 2/x\ dx = 2 \ln(x), e^{2 \ln(x)} = x^2$, so $x^2$ is the "I factor", and I know this gets multiplied by both sides
$$x^2((dy/dx)+(2/x)y=x^2(3x-5)$$

$3x^3+5x^2$ simplification on the right.

I'm not sure what to do with the left side. I know I need to get that dx out of there so it can go over to the right.

I think I need to start isolating the dy/dx expression...
$$x^2((dy/dx) = (3x^3+5x^2)-((2/x)y)$$
$$dy/dx = ((3x^3+5x^2)-((2/x)y))/x^2$$

This doesn't seem right at all.
 
Last edited:
Physics news on Phys.org
stripedcat said:
Still learning the formatting commands, sorry!

I'm aware of the $(dy/dx) + P(x)y=Q(x)$ formula, as well as the $e^{\int P(x) dx}$ formula needed to get the "I" factor.

Here's the equation.

$$(dy/dx)+(2/x)y=3x-5$$

The "$P(x)$" would be $(2/x), \int 2/x\ dx = 2 \ln(x), e^{2 \ln(x)} = x^2$, so $x^2$ is the "I factor", and I know this gets multiplied by both sides
$$x^2((dy/dx)+(2/x)y=x^2(3x-5)$$

$3x^3+5x^2$ simplification on the right.

I'm not sure what to do with the left side. I know I need to get that dx out of there so it can go over to the right.

I think I need to start isolating the dy/dx expression...
$$x^2((dy/dx) = (3x^3+5x^2)-((2/x)y)$$
$$dy/dx = ((3x^3+5x^2)-((2/x)y))/x^2$$

This doesn't seem right at all.
The x^2 is an integrating factor. So the left hand side is now in a form that you can write:
[math]\frac{d}{dx} \left ( x^2 y \right ) = 2x y + x^2 \frac{dy}{dx}[/math]

Thus your original equation is now
[math]\frac{d}{dx} \left ( x^2 y \right ) = x^2 (3x - 5)[/math]

How do you finish this?

-Dan
 
topsquark said:
The x^2 is an integrating factor. So the left hand side is now in a form that you can write:
[math]\frac{d}{dx} \left ( x^2 y \right ) = 2x y + x^2 \frac{dy}{dx}[/math]

Thus your original equation is now
[math]\frac{d}{dx} \left ( x^2 y \right ) = x^2 (3x - 5)[/math]

How do you finish this?

-Dan

Yes, I was just looking at this. I didn't know about making it into d/dx and yanking the y out to multiply by the I factor. Give me a minute and I will edit this post with what I come up with.

EDIT: And here's what I came up with

Integrate both sides will cancel the d/dx.

$$x^2y=\int 3x^3-5x^2$$

I don't know the command for 'something over something', I was guessing on the integral symbol

$$x^2y=(3x^4/4)-(5x^3/3)+C$$

How's that?

EDIT: Yes I know, it keeps going after that in order to get just the y
 
Last edited:
\frac{}{} gives the fraction template. You type whatever you want in the numerator in the first set of curly brackets, and whatever you want in the denominator in the second set of curly brackets.
 
stripedcat said:
Yes, I was just looking at this. I didn't know about making it into d/dx and yanking the y out to multiply by the I factor. Give me a minute and I will edit this post with what I come up with.

EDIT: And here's what I came up with

Integrate both sides will cancel the d/dx.

$$x^2y=\int 3x^3-5x^2$$

I don't know the command for 'something over something', I was guessing on the integral symbol

$$x^2y=(3x^4/4)-(5x^3/3)+C$$

How's that?

EDIT: Yes I know, it keeps going after that in order to get just the y
Looks good to me. :)

-Dan
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K