-1

3x−4y=9 becomes {x=3+4_Z1,y=3_Z1}

I don't understand where the y=3_Z1 comes from.

How to write this for 3x-4y-5z=9?

Could I write this:

3x-4_Z1-5_Z2, then what?

User3910
  • 2,390
  • There are an infinite amount of ways to write the solution set but they all require variables similar to Maple's $Z_1$... – Eleven-Eleven Jan 27 '19 at 00:51
  • @Eleven-Eleven Yes, could you suggest one please? – User3910 Jan 27 '19 at 00:52
  • Just let $y=w_1$ and let $z=w_2$. Then solve for $x$ in terms of $w_1$ and $w_2$. You can choose anything you want really... – Eleven-Eleven Jan 27 '19 at 00:54
  • If you are trying to obtain a solution involving only integers then why don't you mention that anywhere in your question? This question is off-topic because it's about using Maple, not the mathematics. It'd be better suited at www.stackoverflow.com or www.mapleprimes.com , but even then you should state exactly what code you issued with a proper description of the goal. If you are using Maple's isolve command to try and solve the problems over the integers then state both of those explicitly. – acer Jan 31 '19 at 10:22

1 Answers1

0

If you let $y=w_1$ and $z=w_2$, then you have

$$3x+4w_1+5w_2=9$$

Solving for $x$, this gives

$$x=3-\frac{4}{3}w_1-\frac{5}{3}w_2$$

We don't actually know what $w_1$ or $w_2$ are as there are an infinite amount of ordered triples that satisfy the equation. But letting $w_1$ and $w_2$ be any number allows us to solve for $x$ in terms of $w_1$ and $w_2$.

By the way, the reason that Maple uses $y=3z_1$ is that the lowest common multiple of the coefficients $3$ and $4$ is $12$. When you let $y=3z_1$, and solve for $x$, you can see that $x=3-4z_1$, and the solutions involve integer coefficients and not fractions like my solution above.

In lieu of this, you could have let $z=12w_2$ and $y=15w_1$ since the LCM of $3,4$, and $5$ is $60$. Note that the equation then becomes

$$3x+4(15w_1)+5(12w_2)=9 \Rightarrow 3x+60w_1+60w_2=9$$

Then solving for $x$ provides the solution set as

$$\{3-20w_1-20w_2, 15w_1, 12w_2\}$$