Help solving the initial value problem

Click For Summary
SUMMARY

The discussion focuses on solving the initial value problem defined by the equation 2(√x)y' + y + 4(√x) with the initial condition y(1) = 2. Participants clarify the process of separating variables and integrating, emphasizing the importance of correctly applying the integrating factor, u(x) = e^(-√x). The final solution is expressed as y = -4√x - 4 + C, where the constant C is determined using the initial condition, leading to C = 10.

PREREQUISITES
  • Understanding of differential equations, specifically first-order linear equations.
  • Familiarity with the method of integrating factors.
  • Knowledge of initial value problems and how to apply initial conditions.
  • Basic calculus skills, including integration and differentiation.
NEXT STEPS
  • Study the method of integrating factors in depth.
  • Practice solving first-order linear differential equations with various initial conditions.
  • Explore the implications of initial conditions on the general solution of differential equations.
  • Learn about the role of constants in solutions to differential equations and their evaluation using initial conditions.
USEFUL FOR

Students and educators in mathematics, particularly those focusing on differential equations, as well as anyone seeking to deepen their understanding of initial value problems and integration techniques.

middieman147
Messages
8
Reaction score
0
Given:
Solve the initial value problem 2(√x)y'+y+4(√x) ; y(1)=2



I am having trouble separating the x's and y's in order to integrate. I keep coming up with:

dy/dx +y/(2(√x))=2...

What do I keep missing here? I am pretty sure you leave the y(1)=2 alone until you are finished with the integration, in which case you plug in x=1 and y=2 to solve for the constant. Is this the correct thought process for this problem?

Thanks.
 
Physics news on Phys.org
Or can I substitute in the y(1) for the 2 on the right side of the equation and make all the other x's equal to 1?
 
let
gif.latex?P(x)=\frac{1}{2\sqrt&space;x}.gif


and
gif.gif


find the integrating factor
gif.gif


and then use
gif.gif


hope that help :)
 
Ok so now I have:

y'-y/(2√(x))=2

p(x)=-1/(2√x) q(x)=2

u(x)=e∫(-1/(2√x))=e-√x

y=e√x(2e-√x)+C

y=2+C

this is the solution for all values of x with C=0, correct? Or am I forgetting a step?

Thanks
 
you firstly have to integrate the right side
gif.gif
before you multiply it by
gif.gif
!
 
Ok:

y=-4sqrt(x)-4+C with C=10 is the answer given the IC y(1)=2?
 
when u divide the right side after integrating by
gif.gif
, u should also divide the constant too so it should be

gif.gif
 
middieman147 said:
Given:
Solve the initial value problem 2(√x)y'+y+4(√x) ; y(1)=2
Do you mean 2\sqrt{x}y'+ y= 4\sqrt{x}?

I am having trouble separating the x's and y's in order to integrate. I keep coming up with:

dy/dx +y/(2(√x))=2...

What do I keep missing here? I am pretty sure you leave the y(1)=2 alone until you are finished with the integration, in which case you plug in x=1 and y=2 to solve for the constant. Is this the correct thought process for this problem?

Thanks.
 
HallsofIvy said:
Do you mean 2\sqrt{x}y'+ y= 4\sqrt{x}?

yes I do.


thanks.
 
  • #10
Saeed.z said:
when u divide the right side after integrating by
gif.gif
, u should also divide the constant too so it should be

gif.gif

wouldn't that just be another constant?

so instead of writing Ce^sqrt(x), you could just consider it a new constant
 
  • #11
middieman147 said:
wouldn't that just be another constant?

so instead of writing Ce^sqrt(x), you could just consider it a new constant
C is a constant, but Ce^\sqrt{x} is definitely not a constant.
 
  • #12
isnt that irrelevant since there is an IC? wouldn't the x in that expression =1 and then just equal C multiplied by another constant?edit: Are you saying i should divide 10 by e^1 to find the constant?
 
  • #13
middieman147 said:
isnt that irrelevant since there is an IC? wouldn't the x in that expression =1 and then just equal C multiplied by another constant?


edit: Are you saying i should divide 10 by e^1 to find the constant?
No, that's not irrelevant.

In using the Initial Condition to evaluate the constant, C , you do set x=1, but in the overall solution there is a term Ce^\sqrt{x}, unless the Initial Condition gives C=0, which is not the case here.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
11
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
2K