Solving U_x+U_y=1 with BC U(y,y/2)=y

  • Thread starter Thread starter xdrgnh
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
xdrgnh
Messages
415
Reaction score
0

Homework Statement



U_x+U_y=1 with boundary condition U(y,y/2)=y

Homework Equations

The Attempt at a Solution



Well first I solved the homogeneous solution and got ax-ay where a is just a constant. Then for the non homogeneous solution I got ax+(1-a)y. After adding them both together and pluggin in the boundary condition I got U=x+(0)y? Is that right?
 
Physics news on Phys.org
xdrgnh said:

Homework Statement



U_x+U_y=1 with boundary condition U(y,y/2)=y



Homework Equations




The Attempt at a Solution



Well first I solved the homogeneous solution and got ax-ay where a is just a constant. Then for the non homogeneous solution I got ax+(1-a)y. After adding them both together and pluggin in the boundary condition I got U=x+(0)y? Is that right?

It's easy enough to check it yourself. Does your solution ##U(x,y)=x## satisfy ##U_x+U_y = 1## and ##U(y,\frac y 2) = y##?
 
It does. But I'm suspicious whenever a solution to a PDE comes out that nice.