Can Q(x) in a linear differential equation depend on both x and y?

Click For Summary
In a first-order linear differential equation of the form dy/dx + P(x)y = Q(x), Q(x) cannot depend on both x and y if the equation is to remain linear. An example provided, dy/dx + (1/x)y = (1/x)y^2, illustrates that the presence of y^2 makes it nonlinear. If Q is expressed as Q(x, y), it can either be nonlinear, making the equation non-linear, or linear, in which case it can be rewritten to fit the standard form. Thus, for a linear differential equation, Q(x) must solely depend on x. Therefore, the conclusion is that Q(x) cannot depend on y in a linear differential equation.
tascja
Messages
85
Reaction score
0
First Order Linear Equation
I have a question about differential equations... The equation for a general linear differential equation that is:

dy/dx + P(x)y = Q(x)

So my question is can you have a Q(x) that has both x and y variables?

For Example:
dy/dx + (1/x)y = (1/x)y^2
 
Physics news on Phys.org
tascja said:
First Order Linear Equation
I have a question about differential equations... The equation for a general linear differential equation that is:

dy/dx + P(x)y = Q(x)

So my question is can you have a Q(x) that has both x and y variables?

For Example:
dy/dx + (1/x)y = (1/x)y^2
This example is obviously not linear because of the "y2".

If you have dy/dx+ P(x)y= Q(x,y) then there are two possiblities:
a) That the right side is not linear in y so the d.e. is not a linear equation.

b) That the right side is linear. In that case, it is of the form a(x)y+ b(x) and the whole equation can be written dy/dx+ P(x)y= a(x)y+ b(x) or dy/dx+ (P(x)-a(x))y= b(x) which is just the original for again.

So the answer to your question is "no". If your differential equation is linear, then it can be written in that form where Q(x) does NOT depend on y (which was the reason for calling it "Q(x)" to begin with).
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
591
  • · Replies 1 ·
Replies
1
Views
406
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K