I have two parabolas:
$x = 4y^2 + 48y + 24$
$x = 4y^2 + 4y$
When I graph $4y^2+4y$ it hits the number $x=24$ at $y = -3$ and $y = 2$
When I graph
$4y^2 + 48y + 24$ it hits $x = 24$ at $y = -12$ and $y = 0$
I'd like to be able to tell no matter what the two parabola equations are if they will share a common integer. And where the first common integer hits. But these porabolas may not necessarily intersect but still share a common x value like 24.
It might be very similar to these: How to find the meeting number of two sequences? How can I find a common factor of two polynomials?
https://en.wikipedia.org/wiki/Polynomial_remainder_theorem
Or this: https://en.wikipedia.org/wiki/Diophantine_equation
But I can't seem to plug it in.
Do I set them equal like this and solve for y? $4y^2+48y+24 = 4y^2+4y$
Do I set them equal but with a different variable and solve for each? $4y^2+48y+24 = 4x^2+4x$
You are trying to solve $4y_1^2+48y_1+24 = 4y_2^2+4y_2$ for integer solutions. This can be rewritten as: $4(y_1+6)^2-(2y_2+1)^2=119$ or $(2y_1+2y_2+13)(2y_1-2y_2+11)=119$
All possible solutions now must be from one of the allowable factorisations: $119 = 1\times 119 = 7\times 17$, where ordering and $\pm1$ could be used to generate more cases. From these eight cases, we get all the solutions $(y_1, y_2) \in \{ (24, -30), (-36, 29), (24, 29), (-36, -30), (0, -3), (-12, 2), (0, 2), (-12, -3)\}$