Find the integer pair (a,b) that satisfies this

Quinn Dean

Quinn Dean

Answered question

2022-04-14

Find the integer pair (a,b) that satisfies this constraint: x2axb=0 has integer solutions and x2+ax+b=0 has integer solutions. The pair (5,6) satisfies this because x25x6=0 has integer solutions i.e. x={1,6} and x2+5x+6=0 has integer solutions i.e. x={3,2}.
If there is no general form can you help me to at least find another pair of integers that satisfies this constraint other than (5,6)? Thanks

Answer & Explanation

annieljcddj0

annieljcddj0

Beginner2022-04-15Added 15 answers

Let the discriminants of the two equations be a2+4b=k2 and a24b=l2. Note that
- a,k,l have the same parity, so the discriminants being perfect squares is enough to ensure integer solutions
- the difference of two squares of the same parity is always a multiple of 4, so we need not worry about b being non-integral – it suffices to get a,k,l
Now l2,a2,k2 are perfect squares in arithmetic progression, so l2+k2=2a2 or (la)2+(ka)2=2. All rational solutions for l/a and k/a may be parametrised as follows:
la=m22m1m2+1ka=m2+2m1m2+1
where mQ{}.
Given a rational solution for la and ka, write the fractions with a common denominator, from which l,a,k are immediately determined up to sign (their signs must all agree). From there b may be easily worked out.
legaldaj1dn

legaldaj1dn

Beginner2022-04-16Added 9 answers

The product of the roots of one equation must be the negative of the product of the other pair of roots. Also, the sum of the roots of one equation must be the negative of the sum of the other pair of roots.
A formula for this is to let the pairs of roots be
L23LM+2M2,LM and M(L2M),L(ML) for integers L and M.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?