How to find if a quadratic expression is a perfect square

Click For Summary

Discussion Overview

The discussion revolves around determining whether a quadratic expression of the form 4x² + 4.n.x - P can yield a perfect square for some integer value of x. Participants explore various methods and approaches to analyze the conditions under which this occurs, including the use of discriminants and algebraic manipulations.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant suggests that if the expression is a perfect square, it can be expressed in the form a(x+d)², allowing for comparison of coefficients to find a and d.
  • Another participant proposes computing the discriminant D = b² - 4ac as a method to assess whether the quadratic can yield a perfect square.
  • A participant provides a specific example of the quadratic 4x² + 64x - 31, noting that it generates certain values that are perfect squares for specific x values, but seeks a general method to determine if any x will yield a perfect square.
  • Further, a participant elaborates on a modified quadratic expression, x² + 648x + 247, and discusses breaking it down into forms that could potentially yield perfect squares, introducing a variable y that must also be an integer.
  • There is a detailed exploration of rearranging the quadratic expressions and conditions under which y remains an integer, indicating a relationship between the coefficients and the potential for perfect squares.

Areas of Agreement / Disagreement

Participants present various methods and insights, but there is no consensus on a definitive approach or solution to determine if a quadratic expression will generate a perfect square for some integer x. Multiple competing views and methods are discussed without resolution.

Contextual Notes

The discussion includes complex algebraic manipulations and conditions that depend on the specific forms of the quadratic expressions. There are unresolved mathematical steps and assumptions regarding the nature of the coefficients and their relationships to perfect squares.

rajeshmarndi
Messages
319
Reaction score
0
How to find if a quadratic expression of the form
4x2 + 4.n.x - P ......(x,n and P are natural number)
is a perfect square.

For example,
4x2 + 64x - 31

Thanks.
 
Mathematics news on Phys.org
If it is a perfect square it can be written as a(x+d)2 = a x2 + 2 a d x + ad2. You can compare the individual summands to determine "a" and "d" and see if all three components fit. For example, take the x2 term to determine a.

Edit: Moved to variables a and d to avoid confusion with other uses of b.
 
Last edited:
Or you can compute the discriminant ##D = b^2 - 4ac##.
 
  • Like
Likes   Reactions: symbolipoint
Thanks. I mean
4x2 + 64x - 31

will generate
37
113
197
289 (perfect square, for x=4)
.. and so on.

I want to know is there anyway if a quadratic expression will ever generate a perfect square for some 'x' value.
 
Then you'll need to find ##n## and ##m## such that
[tex]4n^2 + 64n - 31 = m^2[/tex]

I have solved very similar questions already in your previous threads. So I'm sure you can handle it from here.
 
  • Like
Likes   Reactions: mfb
micromass said:
Then you'll need to find ##n## and ##m## such that
[tex]4n^2 + 64n - 31 = m^2[/tex]

I have solved very similar questions already in your previous threads. So I'm sure you can handle it from here.
I have made a slight change, say now the quadratic expression is ( I have only removed the coefficient of x^2)

x^2 + 648x + 247 = m^2, ( x, m both are integer). Also for some purpose I will be considering quadratic expression where the 'x' term and the constant(here 247) are either odd-even or viceversa.

I can break the above quadratic expression into,

x^2 + ( 2*323*x + 2x ) + ( 323^2 - 2y ) ...(1)
x^2 + ( 2*322*x + 4x ) + ( 322^2 - 4y ) ...(2)
x^2 + ( 2*321*x + 6x ) + ( 321^2 - 6y ) ...(3)

and so on ... until
x^2 + ( 2*1*x + 2*323*x ) + ( 1^2 - 2*323*y ) ...(323)

Lets take equ(1)
it can be rearrange into
( x^2 + 2*323*x + 323^2 ) + 2(x-y)
(x + 323 )^2 + 2(x-y)

So if x=y, then the above quadratic expression has a perfect square. But since we are only taking x and m as integer, here too y has to be an integer.

Also,
323^2 - 2y = 247
2y = ( 323^2 - 247 )
y = ( 323^2 - 247 ) / 2

which is divisible by 2
i.e y = 52041 ( an integer)

For every such quadratic expression (in the general form, where the x term and the constant are either odd-even or viceversa)
dividing with 2(i.e first equation equ(1) ) is always a perfect square. Which I do not need in my problem.

Similarly for equ(2,3,...), it is
y = ( 322^2 - 247 ) / 4
y = ( 321^2 - 247 ) / 6
y = ( 320^2 - 247 ) / 8 and so on...

If any on the above y value is an integer then the above quadratic expression will have as many perfect square.

But I cannot do them all these manually, I failed to get other any way that can tell me if the quadratic can generate perfect square(ignoring dividing by 2).

Thank you.
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 68 ·
3
Replies
68
Views
12K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K