# Decouple the following equations?

**URL:** <https://community.wolfram.com/t/decouple-the-following-equations/13096>\
**Category:** Questions\
**Tags:** algebra, calculus, equation-solving, symbolic-computations\
**Created:** [September 15, 2018, 1:55pm UTC](https://community.wolfram.com/t/decouple-the-following-equations/13096 "2018-09-15T13:55:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![farrukhbaig26](https://avatars.discourse-cdn.com/v4/letter/f/5f8ce5/32.png) [@farrukhbaig26](https://community.wolfram.com/u/farrukhbaig26)\
**Post date:** [September 15, 2018, 1:55pm UTC](https://community.wolfram.com/t/decouple-the-following-equations/13096/1 "2018-09-15T13:55:30Z")

</div>

I have two couple equations and I want to decouple it. How can I do it? any help will be appreciated.

```
eq1 = k*X''[Y] + Bi*(Z[Y] - X[Y]) == Subscript[U, p]/Subscript[U, m];
eq2 = Z''[Y] - Bi*(Z[Y] - X[Y]) == 0;

```

---

<div class="post-metadata">

**Author:** ![mhelmle](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@mhelmle](https://community.wolfram.com/u/mhelmle)\
**Post date:** [September 18, 2018, 8:37pm UTC](https://community.wolfram.com/t/decouple-the-following-equations/13096/2 "2018-09-18T20:37:20Z")

</div>

Once again with proper formatting and some tiny comments:

```
eq1 = k*X''[Y] + Bi*(Z[Y] - X[Y]) == Subscript[U, p]/Subscript[U, m];
eq2 = Z''[Y] - Bi*(Z[Y] - X[Y]) == 0;

```

Solve eq2 first:

```
sol2 = Solve[eq2, Z[Y]]

```

Insert solution of eq2 into eq1:

```
eq3 = Simplify[eq1 /. Flatten[sol2]]

```

Flatten is used to remove the extra {}. Final results is:

```
(* k (X^\[Prime]\[Prime])[Y] + (Z^\[Prime]\[Prime])[
   Y] == Subscript[U, p]/Subscript[U, m] *)

```
