Evaluate
a\left(5a-2b\right)
Expand
5a^{2}-2ab
Share
Copied to clipboard
\left(-a\right)^{2}+2\left(-a\right)b+b^{2}-\left(2a-b\right)\left(-b-2a\right)
Use binomial theorem \left(p+q\right)^{2}=p^{2}+2pq+q^{2} to expand \left(-a+b\right)^{2}.
a^{2}+2\left(-a\right)b+b^{2}-\left(2a-b\right)\left(-b-2a\right)
Calculate -a to the power of 2 and get a^{2}.
a^{2}+2\left(-a\right)b+b^{2}-\left(2a\left(-b\right)-4a^{2}-b\left(-b\right)+2ba\right)
Use the distributive property to multiply 2a-b by -b-2a.
a^{2}+2\left(-a\right)b+b^{2}-\left(2a\left(-b\right)-4a^{2}+bb+2ba\right)
Multiply -1 and -1 to get 1.
a^{2}+2\left(-a\right)b+b^{2}-\left(2a\left(-b\right)-4a^{2}+b^{2}+2ba\right)
Multiply b and b to get b^{2}.
a^{2}+2\left(-a\right)b+b^{2}-2a\left(-b\right)+4a^{2}-b^{2}-2ba
To find the opposite of 2a\left(-b\right)-4a^{2}+b^{2}+2ba, find the opposite of each term.
a^{2}+2\left(-a\right)b+b^{2}+2ab+4a^{2}-b^{2}-2ba
Multiply -2 and -1 to get 2.
5a^{2}+2\left(-a\right)b+b^{2}+2ab-b^{2}-2ba
Combine a^{2} and 4a^{2} to get 5a^{2}.
5a^{2}+2\left(-a\right)b+2ab-2ba
Combine b^{2} and -b^{2} to get 0.
5a^{2}+2\left(-a\right)b
Combine 2ab and -2ba to get 0.
5a^{2}-2ab
Multiply 2 and -1 to get -2.
\left(-a\right)^{2}+2\left(-a\right)b+b^{2}-\left(2a-b\right)\left(-b-2a\right)
Use binomial theorem \left(p+q\right)^{2}=p^{2}+2pq+q^{2} to expand \left(-a+b\right)^{2}.
a^{2}+2\left(-a\right)b+b^{2}-\left(2a-b\right)\left(-b-2a\right)
Calculate -a to the power of 2 and get a^{2}.
a^{2}+2\left(-a\right)b+b^{2}-\left(2a\left(-b\right)-4a^{2}-b\left(-b\right)+2ba\right)
Use the distributive property to multiply 2a-b by -b-2a.
a^{2}+2\left(-a\right)b+b^{2}-\left(2a\left(-b\right)-4a^{2}+bb+2ba\right)
Multiply -1 and -1 to get 1.
a^{2}+2\left(-a\right)b+b^{2}-\left(2a\left(-b\right)-4a^{2}+b^{2}+2ba\right)
Multiply b and b to get b^{2}.
a^{2}+2\left(-a\right)b+b^{2}-2a\left(-b\right)+4a^{2}-b^{2}-2ba
To find the opposite of 2a\left(-b\right)-4a^{2}+b^{2}+2ba, find the opposite of each term.
a^{2}+2\left(-a\right)b+b^{2}+2ab+4a^{2}-b^{2}-2ba
Multiply -2 and -1 to get 2.
5a^{2}+2\left(-a\right)b+b^{2}+2ab-b^{2}-2ba
Combine a^{2} and 4a^{2} to get 5a^{2}.
5a^{2}+2\left(-a\right)b+2ab-2ba
Combine b^{2} and -b^{2} to get 0.
5a^{2}+2\left(-a\right)b
Combine 2ab and -2ba to get 0.
5a^{2}-2ab
Multiply 2 and -1 to get -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}