Uh oh! Wolfram|Alpha doesn't run without JavaScript.
Please enable JavaScript. If you don't know how, you can find instructions
here
.
Once you've done that, refresh this page to start using Wolfram|Alpha.
expand -p(P-p)^2 + q(P-p)(Q-q) + (Q-q)^2
expand -p(P-p)^2 + q(P-p)(Q-q) + (Q-q)^2
Natural Language
Math Input
Extended Keyboard