Solving Pell's Equation: I'm Stuck!

  • Context: Undergrad 
  • Thread starter Thread starter wii
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 3K views
wii
Messages
12
Reaction score
0
I want to solve this equation

[tex]x^2 - 18 y^2 = 12[/tex]

Any suggestion?

I thought , we have to find [itex]\sqrt 18[/itex]and then find [tex]x/y[/tex]

BUT I was confused and then stopped solving
 
Physics news on Phys.org
This equation has 2 unknowns. If you don't specify what set x and y are elements of, for example integer, it has an infinite set of solutions that can be represented parametrically as:

[tex] \begin{array}{l}<br /> x = \pm 2 \sqrt{3} \, \cosh{t} \\<br /> <br /> y = \frac{2 \sqrt{3}}{3} \, \sinh{t}<br /> \end{array}[/tex]
 
Last edited:
Sorry,
Both x & y are integers.
 
You might get more help if you posted this in the Number Theory section...
 
There is no solution.