The sign of terms in a characteristic equation of a PDE

Click For Summary
SUMMARY

The discussion centers on solving the partial differential equation (PDE) $$\frac{\partial u}{\partial x} + x \frac{\partial u}{\partial y} = 0$$ using the method of characteristics. The user encounters a discrepancy regarding the sign of $$\frac{\partial y}{\partial x}$$, obtaining -x instead of the expected x as stated in the text. The resolution points to the linearity of solutions in linear differential equations, where any linear combination of solutions remains valid. The general solution is confirmed as f(y + 1/2 x²), where f is an arbitrary function.

PREREQUISITES
  • Understanding of partial differential equations (PDEs)
  • Familiarity with the method of characteristics
  • Knowledge of linearity in differential equations
  • Basic calculus, particularly differentiation and integration
NEXT STEPS
  • Study the method of characteristics in greater detail
  • Learn about linear combinations of solutions in linear differential equations
  • Explore verification techniques for solutions of PDEs
  • Investigate other types of PDEs and their solution methods
USEFUL FOR

Students and professionals in mathematics, particularly those focusing on differential equations, as well as educators teaching PDEs and their solution techniques.

Emspak
Messages
240
Reaction score
1
This was something I noticed as I was trying to practice solving PDEs using the method of characteristics.

The text has the following example: $$\frac{\partial u}{\partial x} + x \frac{\partial u}{\partial y} = 0$$

This should be easy enough. I let p(x,y) = x and solve for \frac{\partial y}{\partial x}. When I do that I get: $$\frac{\partial u}{\partial x} + x \frac{\partial u}{\partial y} =0 \Rightarrow \frac{\partial u}{\partial x} =- x \frac{\partial u}{\partial y} \Rightarrow \frac{\partial u}{\partial x}\frac{\partial y}{\partial u} = -x \frac{\partial u}{\partial y}\frac{\partial y}{\partial u} \Rightarrow \frac{\partial y}{\partial x} = -x$$

This should be easy enough from there, I would have \int \partial y= - x \partial x \Rightarrow y=-\frac{1}{2}x^2+ C and y+\frac{1}{2}x^2 = C so u(x,y) = y+\frac{1}{2}x^2. General solution is f(y+\frac{1}{2}x^2) where f is an arbitrary function.

SO what's the problem? The text says that \frac{\partial y}{\partial x}=x not -x. Anyone know what's up? I have consistently found that the my HW solutions and text say this should be a different sign than what i get when I just solve for \frac{\partial y}{\partial x}. What am I missing? I figure its probably something simple enough.

Thanks.
 
Physics news on Phys.org
I'm not precisely sure where you're going wrong (if anywhere), but for this particular problem (and probably the majority of others you've solved) this might be attributed to linearity. Remember that, for linear differential equations, if you have two solutions of the differential equation u and v then any linear combination of these two solutions will also be a solution.

That is, u + v is also a solution, as is ##\alpha u## for constant ##\alpha##.

You can always verify your solution by differentiating it and making sure it satisfies the differential equation.
 

Similar threads

Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
5
Views
2K
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K