You are on page 1of 3

Partial Differentiation

u@x_, y_D := Sin@x yD + x + y3

D@u@x, yD, xD
1 + y Cos@x yD

D@u@x, yD, y, xD
Cos@x yD - x y Sin@x yD

w@x_, y_, z_D := CosAx + y2 + z3 E + 3 x y z

D@w@x, y, zD, 8y, 2<, xD

- 2 CosAx + y2 + z3 E + 4 y2 SinAx + y2 + z3 E

To Solve a Partial Differential Equation Pp + Qq = R

DSolve@equation, u@x, yD, 8x, y<D ®


solves the Partial Differential Equation and finds u@x, yD in terms of x and y.

ClearAll@u, x, yD

Example : Find the general solution of the


first order linear Partial Differential Equation x.ux + y.uy = u

DSolve@x D@u@x, yD, xD + y D@u@x, yD, yD Š u@x, yD, u@x, yD, 8x, y<D

::u@x, yD ® x C@1DB F>>


y
x

Note : C@uD for n = 1, 2, 3, 4 , ... ... .. denotes arbitrary functions


in P.D.E. and arbitrary constants in Ordinary Differential Equations.

Example :

ClearAll@x, y, uD

DSolve@x D@u@x, yD, xD + y D@u@x, yD, yD Š n u@x, yD, u@x, yD, 8x, y<D

::u@x, yD ® xn C@1DB F>>


y
x

Example : To Solve x2 ux + y2 uy = Hx + yL u
2 shivam83053.nb

DSolveAx2 D@u@x, yD, xD + y2 D@u@x, yD, yD Š Hx + yL u@x, yD, u@x, yD, 8x, y<E

::u@x, yD ® x y C@1DB F>>


-x + y
xy

u@x, yD + 3 u@x, yD + u@0, 1D


u@0, 1D + 4 u@x, yD

ClearAll@u, x, yD

DSolve@equation, u, 8x, y<D ® Solves the Partial Differential


Equation and find the general solution in terms of Pure Function

Example :

DSolve@x D@u@x, yD, xD + y D@u@x, yD, yD Š u@x, yD, u, 8x, y<D

::u ® FunctionB8x, y<, x C@1DB FF>>


y
x

Solution of Cauchy Problem in


First Order Partial Differential Equation
Syntax :

DSolve@8equation, conditions<, u@x, yD, 8x, y<D

Example :

ClearAll@u, x, yD

DSolveA9D@u@x, yD, xD - D@u@x, yD, yD Š 1, u@x, 0D Š x2 =, u@x, yD, 8x, y<E

99u@x, yD ® x2 - y + 2 x y + y2 ==

DSolveA9u@x, yD Hx + yL D@u@x, yD, xD + u@x, yD Hx - yL D@u@x, yD, yD Š x2 + y2 ,


u@x, 2 xD Š 0=, u@x, yD, 8x, y<E

Solve::ifun :
Inverse functions are being used by Solve, so some solutions may not be found; use Reduce for complete solution information. ‡

::u@x, yD ® - 2 x2 + 3 x y - 2 y2 >, :u@x, yD ® 2 x2 + 3 x y - 2 y2 >,


2 2
7 7

:u@x, yD ® - 2 x2 + 3 x y - 2 y2 >, :u@x, yD ® 2 x2 + 3 x y - 2 y2 >>


2 2
7 7
shivam83053.nb 3

Example 2.5 .1

DSolve@x D@u@x, yD, xD + y D@u@x, yD, yD Š u@x, yD, u@x, yD, 8x, y<D

::u@x, yD ® x C@1DB F>>


y
x

Example2 .5 .4

ClearAll@u, x, y, zD

DSolve@83 D@u@x, yD, xD + 2 D@u@x, yD, yD Š 0, u@x, 0D Š Sin@xD<, u@x, yD, 8x, y<D

::u@x, yD ® SinB H2 x - 3 yLF>>


1
2

Example :

DSolveA9y D@u@x, yD, xD + x D@u@x, yD, yD Š 0, u@0, yD Š ExpA- y2 E=, u@x, yD, 8x, y<E

99u@x, yD ® ãx ==
2 -y2

Example :

DSolveA9x D@u@x, yD, xD + y D@u@x, yD, yD Š 2 xy, uAx, x2 E Š 2=, u@x, yD, 8x, y<E

::u@x, yD ® 2 K1 + xy Log@xD - xy LogB FO>>


y
x

Example :

DSolve@8D@u@x, yD, xD + x D@u@x, yD, yD Š 0, u@0, yD Š Sin@yD<, u@x, yD, 8x, y<D

::u@x, yD ® SinB I- x2 + 2 yMF>>


1
2

You might also like