Find a product solution to the following PDE

  • Context: MHB 
  • Thread starter Thread starter Umar
  • Start date Start date
  • Tags Tags
    Pde Product
Click For Summary

Discussion Overview

The discussion revolves around finding a product solution to the partial differential equation (PDE) given by (5y + 7)du/dx + (4x+3)du/dy = 0 using the method of separation of variables. Participants explore the process of separating variables, integrating the resulting equations, and applying initial conditions.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant expresses confusion about how to separate the variables correctly after substituting u(x,y) = XY into the PDE.
  • Another participant suggests rewriting the product solution as u(x,y) = f(x)g(y) to clarify the separation of variables.
  • Participants discuss the implications of treating x and y as constants during integration and the role of the constant k in the equations derived from separation.
  • There is a proposal for a general solution based on the integration of the separated equations, but uncertainty arises regarding the application of initial conditions.
  • One participant presents a final expression for the solution after integrating and applying initial conditions, but another participant questions the derivation of certain terms in the solution.
  • Participants provide corrections and clarifications on the integration process and the form of the functions f(x) and g(y).

Areas of Agreement / Disagreement

Participants generally agree on the method of separation of variables but express differing views on the integration process and the handling of initial conditions. The discussion remains unresolved regarding the final form of the solution and the implications of the constants involved.

Contextual Notes

There are limitations in the clarity of the integration steps and the treatment of constants during the solution process. The discussion reflects varying levels of understanding and interpretation of the separation of variables technique.

Who May Find This Useful

Students and practitioners interested in solving partial differential equations, particularly those using separation of variables, may find this discussion beneficial.

Umar
Messages
36
Reaction score
0
So I'm asked to use separation of variables to find a product solution to the given PDE:

(5y + 7)du/dx + (4x+3)du/dy = 0

Since it says to find a product solution, I used the form u(x,y) = XY and plugged that into the PDE. However, I am getting stuck because I'm not sure how exactly I should separate these two so that I can solve two different diff. equations. Your help is greatly aprpeciated!
 
Physics news on Phys.org
Umar said:
So I'm asked to use separation of variables to find a product solution to the given PDE:

(5y + 7)du/dx + (4x+3)du/dy = 0

Since it says to find a product solution, I used the form u(x,y) = XY and plugged that into the PDE. However, I am getting stuck because I'm not sure how exactly I should separate these two so that I can solve two different diff. equations. Your help is greatly appreciated!
When you plug $u = XY$ into the PDE, you get $(5y + 7)X'Y + (4x+3)XY' = 0$. Write that as $$\frac{(4x+3)X}{X'} = -\frac{(5y+7)Y}{Y'}.$$ The left side is a function of $x$ only, and the right side is a function of $y$ only. So both sides must be a constant, say $$\frac{(4x+3)X}{X'} = -\frac{(5y+7)Y}{Y'} = k.$$ That gives you your two equations, one for $X$ and one for $Y$.
 
Opalg said:
When you plug $u = XY$ into the PDE, you get $(5y + 7)X'Y + (4x+3)XY' = 0$. Write that as $$\frac{(4x+3)X}{X'} = -\frac{(5y+7)Y}{Y'}.$$ The left side is a function of $x$ only, and the right side is a function of $y$ only. So both sides must be a constant, say $$\frac{(4x+3)X}{X'} = -\frac{(5y+7)Y}{Y'} = k.$$ That gives you your two equations, one for $X$ and one for $Y$.

Thanks for the reply! I actually got to that part, it's just that when I go to integrate the two functions, I would be integrating with respect to X no? So would I just treat the small x as a constant? Same with the y? What would I do with the constant k? Sorry for all the questions, but if you could show how you would solve one of the equations, I would really appreciate that. I'm also given two initial conditions for u, which I would apply after multiply X and Y to get the product solution..
 
Umar said:
Thanks for the reply! I actually got to that part, it's just that when I go to integrate the two functions, I would be integrating with respect to X no? So would I just treat the small x as a constant? Same with the y? What would I do with the constant k? Sorry for all the questions, but if you could show how you would solve one of the equations, I would really appreciate that. I'm also given two initial conditions for u, which I would apply after multiply X and Y to get the product solution..
No, $X$ is meant to be a function of the variable $x$, and $Y$ is a function of $y$. Perhaps it would have been better to write $u(x,y) = f(x)g(y)$ instead of $u(x,y) = XY$. Then the equation would become $$\frac{(4x+3)f(x)}{f'(x)} = -\frac{(5y+7)g(y)}{g'(y)} = k.$$
 
Opalg said:
No, $X$ is meant to be a function of the variable $x$, and $Y$ is a function of $y$. Perhaps it would have been better to write $u(x,y) = f(x)g(y)$ instead of $u(x,y) = XY$. Then the equation would become $$\frac{(4x+3)f(x)}{f'(x)} = -\frac{(5y+7)g(y)}{g'(y)} = k.$$

Okay so I got the following:

X = ((4x+3)*x^2)/(2*k) + C

Y = ((-5y+7)*y^2)/(2*k) + C

So the general solution would be the product of these two functions. I'm given two initial conditions:

u(0,0) = 6 and ux(0,0) = 9

With the first one, I get c = sqrt(6), but the second one doesn't even work out because plugging in x and y for 0's just eliminates everything. I feel like I'm making something wrong, and the value of K shouldn't even be there in the final answer.
 
Umar said:
Okay so I got the following:

X = ((4x+3)*x^2)/(2*k) + C

Y = ((-5y+7)*y^2)/(2*k) + C

So the general solution would be the product of these two functions. I'm given two initial conditions:

u(0,0) = 6 and ux(0,0) = 9

With the first one, I get c = sqrt(6), but the second one doesn't even work out because plugging in x and y for 0's just eliminates everything. I feel like I'm making something wrong, and the value of K shouldn't even be there in the final answer.
Not sure how you got that. Write the equation $$\frac{(4x+3)f(x)}{f'(x)} = k$$ as $$\frac{f'(x)}{f(x)} = \frac{4x+3}k$$ and integrate both sides to get $$\ln(f(x)) = \frac{2x^2 + 3x}k + C$$, or $$f(x) = A\exp \bigl((2x^2 + 3x)/k\bigr)$$ (where $A,C$ denote a constant of integration). In a similar way, $$g(x) = B\exp \bigl((-\tfrac52y^2 - 7y)/k\bigr)$$. You can then use the initial conditions to find that $AB = 6$ and $k=2$.

I get the final answer to be $$u(x,y) = 6\exp\bigl(x^2 + \tfrac32x - \tfrac54y^2 - \tfrac72 \bigr).$$
 
Opalg said:
Not sure how you got that. Write the equation $$\frac{(4x+3)f(x)}{f'(x)} = k$$ as $$\frac{f'(x)}{f(x)} = \frac{4x+3}k$$ and integrate both sides to get $$\ln(f(x)) = \frac{2x^2 + 3x}k + C$$, or $$f(x) = A\exp \bigl((2x^2 + 3x)/k\bigr)$$ (where $A,C$ denote a constant of integration). In a similar way, $$g(x) = B\exp \bigl((-\tfrac52y^2 - 7y)/k\bigr)$$. You can then use the initial conditions to find that $AB = 6$ and $k=2$.

I get the final answer to be $$u(x,y) = 6\exp\bigl(x^2 + \tfrac32x - \tfrac54y^2 - \tfrac72 \bigr).$$

Thank you so much for your time and help. I understand it now :)
 

Similar threads

  • · Replies 36 ·
2
Replies
36
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
21
Views
5K