Monday, July 20, 2015

Solve in positive integers the equation $ab(a+b-10)+21a-3a^2+16b-2b^2=60$ Second Solution

Solve in positive integers the equation $ab(a+b-10)+21a-3a^2+16b-2b^2=60$.

Second solution:

This second solution is much neater than the first, but in solving mathematical problems, solving it is what matters, isn't it? :D

So, I really shouldn't compare one to the other, so I retract back what I said...

We can rewrite the given equation in such a way that:




It's hard not to be tempted to try out the cases when $a=2$ and $b=3$ to see what we got...hey, aren't we all taught to prompt into action whenever we saw something like that? :P

When $a=2$, we have:





When $b=3$, we have:





In other words, $a=2$ and $b=3$ are roots to the equation $y=ab(a+b-10)+21a-3a^2+16b-2b^2-30$.

That is, $a-2$ and $b-3$ are two factors of $y=ab(a+b-10)+21a-3a^2+16b-2b^2-30$.

Note that $(a-2)(b-3)=ab-3a-2b+6$, so now we can perform the polynomial long division to factor $y$ completely:

[MATH]\begin{array}{r}a+b-5\hspace{160px}\\ab-3a-2b+6\enclose{longdiv}{a^2b+ab^2-10ab-3a^2+21a-2b^2+16b} \\ -\underline{\left(a^2b+0ab^2-2ab-3a^2+6a\right)} \hspace{88px} \\ ab^2-8ab+15a-2b^2+16b-30 \hspace{30px} \\ -\underline{\left(ab^2-3ab+0a-2b^2+6b\right)} \hspace{70px} \\ -5ab+15a+10b-30 \hspace{70px} \\ -\underline{\left(-5ab+15a+10b-30 \right)} \hspace{60px} \\  0 \hspace{70px} \end{array}[/MATH]

Therefore, to summarize, what we have gotten now is the following:


So, in order to solve for the positive integers for $ab(a+b-10)+21a-3a^2+16b-2b^2=60$, it is equivalent to solve for the positive integers for



Note that we could cross the ranges for both $a$ and $b$ where $a\le 2$ and $b-3\le 0$, that is a really useful info, since we are dealing with the product of three positive terms that is equal to $30$:

$(a-2)(b-3)(a-2+b-3)=1\cdot 30=1\cdot 2\cdot 15=1\cdot 2\cdot 3\cdot 5$

Out of the possibilities above, it's obvious that

$\begin{align*}(a-2)(b-3)(a-2+b-3)&=1\cdot 2\cdot 3\cdot 5\\&=1\cdot 5\cdot 6\\&=1\cdot 5\cdot (1+5)\\&\stackrel{\text{or}}{=}5\cdot 1\cdot (5+1)\end{align*}$

which results in $(a,\,b)=(3,\,8),\,(7,\,4)$.


$\begin{align*}(a-2)(b-3)(a-2+b-3)&=2\cdot 3\cdot 1\cdot 5\\&=2\cdot 3\cdot 5\\&=2\cdot 3\cdot (2+3)\\&\stackrel{\text{or}}{=}3\cdot 2\cdot (3+2)\end{align*}$

which results in $(a,\,b)=(4,\,6),\,(5,\,5)$.

Therefore, the answers to this problem are:


Do you think I have done nothing wrong so far? I encourage you to think about it, and I will tell what doesn't sound okay in my last step to look for the positive integers of $a$ and $b$.

No comments:

Post a Comment