Quadratic Equation Solving: Integer Solutions

In summary, the homework statement states that if you can write the variable portion of the equation as a sum of squares, you can limit the possibilities considerably. You can note the bound -3<=y<=2 and so you know at most 12 points need to be checked.
  • #1
Asla
35
0

Homework Statement


The total number of integers that satisfy the equation x2-4xy+5y2+2y-4=0
 
Physics news on Phys.org
  • #2
If you can write the variable portion as a sum of squares you'll be able to limit the possibilities considerably.
 
  • #3
Yes completing the square is helpful. We can also note the bound
-3<=y<=2
So we know at most 12 points need to be checked.
also
a^2+b^2
limits the solutions
 
  • #4
How do you note the bound?How should I complete the square with the 4xy?
 
  • #5
To complete the square in [tex]x^2+ ax[/tex], divide the coefficient of x, a, by 2 and add the square of that:
(a/2)^2= a^2/4. Here "a" is 4y. What is a^2/4?
 
  • #6
The bound is obvious after the squares are completed. There are a few forms the most useful is

(x+ay)^2+(y+b)^2+c=0
expanding
x^2+2axy+(a^2+1)y^2+2by+(c+b^2)=0
matching with
x^2-4xy+5y^2+2y-4=0
gives
2a=-4
a^2+1=5
2b=2
c+b^2=-4
 
  • #7
lurflurf said:
The bound is obvious after the squares are completed. There are a few forms the most useful is

(x+ay)^2+(y+b)^2+c=0
expanding
x^2+2axy+(a^2+1)y^2+2by+(c+b^2)=0
matching with
x^2-4xy+5y^2+2y-4=0
gives
2a=-4
a^2+1=5
2b=2
c+b^2=-4
Yea I got that but I still do not know how to continue.Forgive my ignorance
 
  • #8
so you know a,b,c
(x+ay)^2+(y+b)^2+c=0
c<0
(y+b)^2<-c
-b-sqrt(-c)<=y<=-b+sqrt(-c)
is the desired bound on y
list out possibilities
y=-3,-2,-1,0,1,2
since (x+ay)^2+(y+b)^2+c=0
what values of a^2+b^2=5
are lattice points (integers)?
let
a=(x+ay)
b=(y+b)
complete solution
 
  • #9
lurflurf said:
so you know a,b,c
(x+ay)^2+(y+b)^2+c=0
c<0
(y+b)^2<-c
-b-sqrt(-c)<=y<=-b+sqrt(-c)
is the desired bound on y
list out possibilities
y=-3,-2,-1,0,1,2
since (x+ay)^2+(y+b)^2+c=0
what values of a^2+b^2=5
are lattice points (integers)?
let
a=(x+ay)
b=(y+b)
complete solution
Let me see,..why do you say (y+b)^2<=-c
 
  • #10
(x+ay)^2+(y+b)^2+c=0
(y+b)^2=-(x+ay)^2-c
0<=(x+ay)^2
(y+b)^2=-c
if that is a bit obtuse consider
1+4=5
notice 1,4,5=>0
see that we can conclude
1<5
in general if
a+b=c
a,b,c=>0
b<=c
 
  • #11
lurflurf said:
(x+ay)^2+(y+b)^2+c=0
(y+b)^2=-(x+ay)^2-c
0<=(x+ay)^2
(y+b)^2=-c
if that is a bit obtuse consider
1+4=5
notice 1,4,5=>0
see that we can conclude
1<5
in general if
a+b=c
a,b,c=>0
b<=c
Wow nice,...I guess I will take some time to go over the whole equation again.Thanks for the assistance
 

What is a quadratic equation?

A quadratic equation is a polynomial equation of the second degree, meaning it has a variable raised to the power of 2. It is written in the form ax^2 + bx + c = 0, where a, b, and c are constants and x is the variable.

What are integer solutions?

Integer solutions are values of the variable in a quadratic equation that result in a whole number when plugged into the equation. In other words, these are values that make the equation true and do not include any fractions or decimals.

How do I solve a quadratic equation for integer solutions?

To solve a quadratic equation for integer solutions, you can use the quadratic formula or factorization method. The quadratic formula is x = (-b ± √(b^2 - 4ac)) / 2a, where a, b, and c are the constants from the equation. The factorization method involves finding two numbers that multiply to equal the constant term (c), and also add up to equal the coefficient of the linear term (b). These two numbers can then be used to rewrite the equation in the form (x + p)(x + q) = 0, where p and q are the two numbers found.

Can a quadratic equation have more than one integer solution?

Yes, a quadratic equation can have two integer solutions. This occurs when the discriminant (b^2 - 4ac) is a perfect square, meaning the square root can be simplified to a whole number. For example, the equation x^2 - 4x + 3 = 0 has two integer solutions, x = 1 and x = 3.

What if the quadratic equation does not have any integer solutions?

If a quadratic equation does not have any integer solutions, it means that the discriminant is not a perfect square and the square root cannot be simplified to a whole number. In this case, the solutions would be irrational numbers or imaginary numbers. For example, the equation x^2 + 2 = 0 does not have any integer solutions, as the square root of -8 is an imaginary number.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
5
Views
681
  • Precalculus Mathematics Homework Help
Replies
1
Views
912
  • Precalculus Mathematics Homework Help
Replies
23
Views
2K
  • Precalculus Mathematics Homework Help
Replies
12
Views
2K
  • Precalculus Mathematics Homework Help
Replies
20
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
773
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
14
Views
1K
  • Precalculus Mathematics Homework Help
Replies
11
Views
1K
  • Precalculus Mathematics Homework Help
Replies
15
Views
2K
Back
Top