First order linear ode, initial condition problem

Click For Summary
SUMMARY

The discussion centers on solving the first-order linear ordinary differential equation (ODE) given by x y' - y = x² cos(x). The general solution is identified as y = xc + x sin(x). However, applying initial conditions y(0) = 0 and y(0) = 1 results in the trivial equation 0 = 0, indicating that the constant cannot be determined. The key takeaway is that the problem illustrates the lack of a unique solution due to the failure of the Fundamental Existence and Uniqueness Theorem, as the function f(x,y) = (x² cos(x) - y)/x is not continuous at x = 0.

PREREQUISITES
  • Understanding of first-order linear ordinary differential equations
  • Familiarity with the Fundamental Existence and Uniqueness Theorem
  • Knowledge of continuity and Lipschitz conditions in mathematical analysis
  • Basic proficiency in solving differential equations using techniques such as separation of variables
NEXT STEPS
  • Study the Fundamental Existence and Uniqueness Theorem in detail
  • Explore continuity and differentiability conditions in the context of ODEs
  • Learn about non-unique solutions in differential equations
  • Practice solving first-order linear ODEs with various initial conditions
USEFUL FOR

Mathematics students, educators, and anyone involved in solving or teaching first-order linear ordinary differential equations and their properties.

linda300
Messages
59
Reaction score
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
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 "existence 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.
 

Similar threads

Replies
2
Views
2K
Replies
11
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
2
Views
2K
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K