Evaluate
\left(p+7q\right)\left(7p+5q\right)
Expand
7p^{2}+54pq+35q^{2}
Share
Copied to clipboard
4\left(4p^{2}+12pq+9q^{2}\right)-\left(3p-q\right)^{2}
Use binomial theorem \left(a+b\right)^{2}=a^{2}+2ab+b^{2} to expand \left(2p+3q\right)^{2}.
16p^{2}+48pq+36q^{2}-\left(3p-q\right)^{2}
Use the distributive property to multiply 4 by 4p^{2}+12pq+9q^{2}.
16p^{2}+48pq+36q^{2}-\left(9p^{2}-6pq+q^{2}\right)
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(3p-q\right)^{2}.
16p^{2}+48pq+36q^{2}-9p^{2}+6pq-q^{2}
To find the opposite of 9p^{2}-6pq+q^{2}, find the opposite of each term.
7p^{2}+48pq+36q^{2}+6pq-q^{2}
Combine 16p^{2} and -9p^{2} to get 7p^{2}.
7p^{2}+54pq+36q^{2}-q^{2}
Combine 48pq and 6pq to get 54pq.
7p^{2}+54pq+35q^{2}
Combine 36q^{2} and -q^{2} to get 35q^{2}.
4\left(4p^{2}+12pq+9q^{2}\right)-\left(3p-q\right)^{2}
Use binomial theorem \left(a+b\right)^{2}=a^{2}+2ab+b^{2} to expand \left(2p+3q\right)^{2}.
16p^{2}+48pq+36q^{2}-\left(3p-q\right)^{2}
Use the distributive property to multiply 4 by 4p^{2}+12pq+9q^{2}.
16p^{2}+48pq+36q^{2}-\left(9p^{2}-6pq+q^{2}\right)
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(3p-q\right)^{2}.
16p^{2}+48pq+36q^{2}-9p^{2}+6pq-q^{2}
To find the opposite of 9p^{2}-6pq+q^{2}, find the opposite of each term.
7p^{2}+48pq+36q^{2}+6pq-q^{2}
Combine 16p^{2} and -9p^{2} to get 7p^{2}.
7p^{2}+54pq+36q^{2}-q^{2}
Combine 48pq and 6pq to get 54pq.
7p^{2}+54pq+35q^{2}
Combine 36q^{2} and -q^{2} to get 35q^{2}.
Examples
Quadratic equation
{ x } ^ { 2 } - 4 x - 5 = 0
Trigonometry
4 \sin \theta \cos \theta = 2 \sin \theta
Linear equation
y = 3x + 4
Arithmetic
699 * 533
Matrix
\left[ \begin{array} { l l } { 2 } & { 3 } \\ { 5 } & { 4 } \end{array} \right] \left[ \begin{array} { l l l } { 2 } & { 0 } & { 3 } \\ { -1 } & { 1 } & { 5 } \end{array} \right]
Simultaneous equation
\left. \begin{cases} { 8x+2y = 46 } \\ { 7x+3y = 47 } \end{cases} \right.
Differentiation
\frac { d } { d x } \frac { ( 3 x ^ { 2 } - 2 ) } { ( x - 5 ) }
Integration
\int _ { 0 } ^ { 1 } x e ^ { - x ^ { 2 } } d x
Limits
\lim _{x \rightarrow-3} \frac{x^{2}-9}{x^{2}+2 x-3}