Solving Integrating Factor Homework Statement

Click For Summary

Homework Help Overview

The discussion revolves around solving a differential equation using an integrating factor, specifically the equation \(\frac{\partial u}{\partial x} = -2 + \frac{u}{2x}\). Participants are exploring the correct application of integrating factors and the resulting expressions for \(u\).

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the choice of the integrating factor \(P(x)\) and its implications for the solution. There are attempts to derive the expression for \(u\) and questions about the correctness of the algebra involved. Some participants express confusion about the placement of terms and the definition of \(P(x)\).

Discussion Status

There is an ongoing exploration of the algebraic steps involved in applying the integrating factor. Some participants have provided feedback on earlier mistakes, while others are verifying their understanding of the solution process. Multiple interpretations of the integrating factor and its application are being considered.

Contextual Notes

Participants are navigating through potential errors in the integration process and the definition of the integrating factor, which is critical for solving the differential equation correctly. There is a recognition of the need to revisit earlier steps in light of feedback received.

gtfitzpatrick
Messages
372
Reaction score
0

Homework Statement



use an integrating factor to solve
[tex] \frac{ \partial u}{ \partial x} = -2 + \frac{u}{2x} [/tex]


The Attempt at a Solution


let P(x) = [tex]\frac {1}{2x}[/tex]

M(x) = [tex]e^(\int(\frac {1}{2x}dx))[/tex]

= [tex]\sqrt{x}[/tex]

so u = [tex] \frac{1}{ \sqrt{x}} \int-2\sqrt{x} dx = \frac{1}{ \sqrt{x}}(\frac{2}{3} x^(3/2))[/tex]

=-4x + k


anyone got any ideas if I am doing this right?
thanks
 
Physics news on Phys.org
You have a numerical integration factor in the wrong place

gtfitzpatrick said:
so u = [tex] \frac{1}{ \sqrt{x}} \int-2\sqrt{x} dx = \frac{1}{ \sqrt{x}}(\frac{2}{3} x^{(3/2)} + \mathbf{k})[/tex]

[tex]=-4x + \mathbf{\frac{k}{\sqrt{x}}}[/tex]
 
deadly thanks a mill
 
sorry should it be [tex] =\frac {-4x}{3} + \mathbf{\frac{k}{\sqrt{x}}}[/tex]
 
Sorry, I looked at the -4x in your solution, which is correct, so I missed an earlier mistake. You should have had

[tex]P(x) = -\frac{1}{2x}.[/tex]

This changes quite a bit, so you should go back through the algebra.
 
i don't understand why [tex] P(x) = -\frac{1}{2x}.[/tex] should it not be term infront of u?
 
gtfitzpatrick said:
i don't understand why [tex] P(x) = -\frac{1}{2x}.[/tex] should it not be term infront of u?

[tex]P(x)[/tex] is defined with that term on the same side as the derivative:

[tex]u'(x) + P(x) u(x) = q(x).[/tex]

Remember that the integrating factor works because

[tex](u'(x) + P(x) u(x) ) \exp \left(\int P(x) dx\right) = \frac{d}{dx} \left[ u(x) \exp \left(\int P(x) dx \right) \right].[/tex]
 
ahh yes i didnt bring it across, thanks
 
i think this is right?
let P(x) = [tex]\frac {-1}{2x}[/tex]

M(x) = [tex]e^(\int(\frac {-1}{2x}dx))[/tex]

= [tex]\frac{1}{\sqrt{x}}[/tex]

so u = [tex] \sqrt{x} \int \frac {-2}{\sqrt{x}} dx = \sqrt{x}(-4\sqrt{x} + k)[/tex]

=-4x + [tex]\sqrt{x}[/tex] k
 
  • #10
The easiest way to verify a solution to a differential equation is to explicitly check that it actually satisfies the differential equation.
 
  • #11
i can't figure out where i went wrong!
 
  • #12
You didn't go wrong. I found the same solution

[tex]u(x)= -4x + C\sqrt{x}[/tex]
 
  • #13
oh, ok cool. thanks a mill for your help...you have great patience
 

Similar threads

  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 22 ·
Replies
22
Views
3K
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K