# Solving system of partial differential equations

I am solving two PDEs together for two functions y, G:

Derivative[0,1][y][x,t] + 2 Derivative[1,0][G][x,t] == 0
Derivative[0,1][y][x,t] + Derivative[1,0][G][x,t] == 2


I want to solve those PDEs to find the value of both y[x,t] and G[x,t]

I tried to use DSolve but it doesn't work with me, even it is easy to do it by my hand. I would like to get the answer through Mathematica.

• Hi, do you have initial conditions for the system? Feb 5 '20 at 11:06
• Please post code in proper input form that can be pasted into Mathematica. You may find this meta Q&A helpful Feb 5 '20 at 12:05

eqns = {D[y[x, t], t] + 2 D[G[x, t], x] == 0, D[y[x, t], t] + D[G[x, t], x] == 2};