First order linear ode, initial condition problem

In summary, the conversation discusses a question about solving the equation x y' - y = x2cosx with two different initial conditions. The solution given is y= xc + xsinx, but applying the initial conditions does not provide any information to determine the constant. The person asks if there is another way to solve for these conditions, but it is mentioned that the existence and uniqueness theorem for first order equations may not apply in this case.
  • #1
linda300
61
3
hey,

i'm having trouble with this question,

x y' - y = x2cosx

the solution is

y= xc + xsinx

and we are asked to solve the equation in the following two cases,

1, y(0)=0

and 2, y(0) = 1

but applying these conditions to the general solution gives no information,

in both cases its 0 = 0, so doing this you can't find the constant.

is there another way to solve the equation for these conditions?

even mathematica can't solve it, but it was a question in a test and i was marked wrong for saying neither cases can be solved (as in the constant can't be found)

thanks
 
Physics news on Phys.org
  • #2
Has it occurred to you that the whole point of this exercise is that there is NO unique solution?

I suspect that you either have just had or will soon have the "Fundamental existence and uniqueness theorem" for first order equations:

If f(x,y) is continuous and "Lipschitz in y" (a condition that is partway between "continuous" and "differentiable"- "differentiable" is sufficient and many texts just use "differentiable in y") in some region around the point [itex](x_0, y_0)[/itex] then there exist a unique function, y(x), satisfying dy/dx= f(x,y) and [itex]y(x_0)= y_0[/itex].

In this example, solving for y' gives [itex]y'= (x^2 cos(x)- y)/x[/itex] so that [itex]f(x,y)= (x^2 cos(x)- y)/x[/itex] is not continuous in any neighborhood containing x= 0. Thus, the "existance and uniqueness theorem" does not apply. Your first example is one in which a solution exists but is not unique. Your second is one in which a solution does not exist.
 

Related to First order linear ode, initial condition problem

1. What is a first order linear ODE?

A first order linear ODE (ordinary differential equation) is a type of mathematical equation that involves a function and its first derivative. It can be written in the form of dy/dx + P(x)y = Q(x), where P(x) and Q(x) are functions of x.

2. What is an initial condition problem?

An initial condition problem is a type of problem that involves finding the solution to a differential equation when the value of the function and its derivative at a particular point are given. This point is called the initial condition, and it helps to determine the unique solution to the differential equation.

3. How can I solve a first order linear ODE with initial conditions?

To solve a first order linear ODE with initial conditions, you can use the method of integrating factors. This involves multiplying both sides of the equation by an integrating factor, which is a function that helps to make the equation easier to solve. Once you have found the general solution, you can then use the initial conditions to find the particular solution.

4. What is the significance of solving first order linear ODEs?

First order linear ODEs are used to model many real-world phenomena, such as population growth, heat transfer, and electrical circuits. By solving these equations, we can gain a better understanding of these systems and make predictions about their behavior.

5. What are some common applications of first order linear ODEs?

First order linear ODEs have a wide range of applications in various fields of science and engineering. They are commonly used in physics, chemistry, biology, economics, and many other disciplines to model and analyze dynamic systems. Some examples include the growth of bacteria in a culture, the cooling of a cup of coffee, and the flow of electricity through a circuit.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
413
  • Calculus and Beyond Homework Help
Replies
8
Views
803
  • Calculus and Beyond Homework Help
Replies
2
Views
333
  • Calculus and Beyond Homework Help
Replies
2
Views
965
  • Calculus and Beyond Homework Help
Replies
2
Views
373
  • Math POTW for University Students
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
600
Back
Top