# Solve this mixed partial differential equation

**URL:** <https://community.wolfram.com/t/solve-this-mixed-partial-differential-equation/16128>\
**Category:** Questions\
**Tags:** equation-solving\
**Created:** [June 1, 2020, 7:19pm UTC](https://community.wolfram.com/t/solve-this-mixed-partial-differential-equation/16128 "2020-06-01T19:19:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiang33](https://avatars.discourse-cdn.com/v4/letter/x/b5a626/32.png) [@xiang33](https://community.wolfram.com/u/xiang33)\
**Post date:** [June 1, 2020, 7:19pm UTC](https://community.wolfram.com/t/solve-this-mixed-partial-differential-equation/16128/1 "2020-06-01T19:19:58Z")

</div>

This is my QS:

![Mixedpartialdifferentialequation.png](https://global.discourse-cdn.com/wolfram/original/3X/b/9/b9d7aacd491232a698f82592e0ebda45ad154d62.png)

This is my Code:

[Open in Wolfram Cloud ↗](https://www.wolframcloud.com/obj/470eec73-0424-4cbc-8ba9-c2613051e7c6)

---

<div class="post-metadata">

**Author:** ![mariuszi28cg](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/mariuszi28cg/32/308_2.png) [@mariuszi28cg](https://community.wolfram.com/u/mariuszi28cg)\
**Post date:** [June 2, 2020, 2:07pm UTC](https://community.wolfram.com/t/solve-this-mixed-partial-differential-equation/16128/2 "2020-06-02T14:07:49Z")

</div>

![4438Bez tytułu.png](https://global.discourse-cdn.com/wolfram/original/3X/5/b/5b9deaf824eb5c07092639a22973fc6d6d8d6b86.png)

So you have the system and is underdetermined. That means the indicated function does not include enough equations to specify a solution.

---

<div class="post-metadata">

**Author:** ![xiang33](https://avatars.discourse-cdn.com/v4/letter/x/b5a626/32.png) [@xiang33](https://community.wolfram.com/u/xiang33)\
**Post date:** [June 2, 2020, 4:46pm UTC](https://community.wolfram.com/t/solve-this-mixed-partial-differential-equation/16128/3 "2020-06-02T16:46:23Z")

</div>

Thanks

---

<div class="post-metadata">

**Author:** ![xiang33](https://avatars.discourse-cdn.com/v4/letter/x/b5a626/32.png) [@xiang33](https://community.wolfram.com/u/xiang33)\
**Post date:** [June 2, 2020, 6:01pm UTC](https://community.wolfram.com/t/solve-this-mixed-partial-differential-equation/16128/4 "2020-06-02T18:01:47Z")

</div>

I add more equation as:

![6818Mixedpartialdifferentialequation.png](https://global.discourse-cdn.com/wolfram/original/3X/a/2/a2938170437cc0ccc29511311ade925bae13cf46.png)

This is my code

[Open in Wolfram Cloud ↗](https://www.wolframcloud.com/obj/470eec73-0424-4cbc-8ba9-c2613051e7c6)

It is still not solvable.

---

<div class="post-metadata">

**Author:** ![mariuszi28cg](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/mariuszi28cg/32/308_2.png) [@mariuszi28cg](https://community.wolfram.com/u/mariuszi28cg)\
**Post date:** [June 2, 2020, 7:38pm UTC](https://community.wolfram.com/t/solve-this-mixed-partial-differential-equation/16128/5 "2020-06-02T19:38:18Z")

</div>

I tried with **DSolve** and **NDSolve** , but Mathematica **fails.**

With [Maple 2020](https://www.maplesoft.com/products/Maple/students/) I have:

 ![4519Bez tytułu.png](https://global.discourse-cdn.com/wolfram/original/2X/e/e7bd062321227e8267334145884be9fb93b4b285.png)

Translating to Mathematica code:

```
    ClearAll["`*"]
    sol = {R[z] -> R0*Exp[((Log[U0/UL] + 2*I*Pi*n)*z)/(2 L)], 
      u[z] -> U0/
       Exp[((Log[U0/UL] + 2*I*Pi*n)*z)/(2 L)]^2};(* n\[Element]Integers *)
    
   u[z] /. sol[[2]] /. 
    z -> 0(*The equation satisfy a initial condition u[0]=U0 *)

    (* U0 *)

    {sol[[1]] /. n -> 0, sol[[2]] /. n -> 0}(*for n=0*)
    
    (* {R[z] -> R0 (U0/UL)^(z/(2 L)), u[z] -> U0 (U0/UL)^(-(z/L))} *)

```

---

<div class="post-metadata">

**Author:** ![gianlucagorni](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@gianlucagorni](https://community.wolfram.com/u/gianlucagorni)\
**Post date:** [August 15, 2026, 3:42pm UTC](https://community.wolfram.com/t/solve-this-mixed-partial-differential-equation/16128/6 "2026-08-15T15:42:36Z")

</div>

Your second equation is not a differential equation. You can remedy by taking its derivative:

```
eq = 2*D[r[z], z]*D[u[z], z] +
   r[z]*D[D[u[z], z], z] == 0
sol = DSolve[{eq,
   D[r[z]^2*u[z] == r0^2*u0, z],
   r[0]^2*u[0] == r0^2*u0},
  {u, r}, z]

```

A trivial example that Mathematica does not solve:

```
DSolve[{a'[x] == 0, b[x] == a[x]^2}, {a, b}, x]

```
