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

In summary, a first order linear differential equation has the form dy/dx + P(x)y = Q(x), where Q(x) does not depend on y. It is possible to have a Q(x) that has both x and y variables, but in that case, the differential equation is not linear. The trick to solving nonlinear equations is to reduce them to a first order linear form.
  • #1
tascja
87
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
  • #2
  • #3
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).
 

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

1. What is a first order linear equation?

A first order linear equation is an algebraic equation in which the highest degree of the variable is 1 and the coefficient of the variable is a constant. It can be written in the form y = mx + b, where m is the slope and b is the y-intercept.

2. How do you solve a first order linear equation?

To solve a first order linear equation, you can use the method of substitution or elimination. In the method of substitution, you solve for one variable in terms of the other and then substitute it into the other equation. In the method of elimination, you add or subtract the equations to eliminate one of the variables.

3. What is the slope-intercept form of a first order linear equation?

The slope-intercept form of a first order linear equation is y = mx + b, where m is the slope and b is the y-intercept. This form makes it easy to graph the equation and determine the y-intercept and slope.

4. What does the slope of a first order linear equation represent?

The slope of a first order linear equation represents the rate of change of the dependent variable (y) with respect to the independent variable (x). It can also be interpreted as the ratio of the vertical change (rise) to the horizontal change (run) between any two points on the line.

5. What are some real-world applications of first order linear equations?

First order linear equations are commonly used in economics, physics, and engineering to model relationships between variables. They can be used to calculate growth rates, determine optimal solutions, and make predictions based on given data. For example, they can be used to predict the population growth of a city or the rate of decay of a radioactive substance.

Similar threads

  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
3
Views
1K
  • Differential Equations
Replies
2
Views
1K
Replies
3
Views
817
  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
Replies
3
Views
2K
Replies
2
Views
2K
Replies
11
Views
518
  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
18
Views
2K
Back
Top