Have you got stuck? Need Help? Join our discord server, ask your doubts & get support from our experts.
Author: Abhishek Bharadwaj
Here we were given with a quadratic equation
it's a perfect square which states that our roots are perfect squares,here p^2,q^2
are the roots of the quadratic equation.
if a,b are roots of an quadratic equation then the quadratic equation will be x^2-(a+b)*x+a*b=0
.
solving for p,q : Note:
As we have p+q,p-q we can get p,q