Evaluate
-\left(5-b\right)^{2}+a^{2}
Expand
a^{2}-b^{2}+10b-25
Share
Copied to clipboard
\left(-b\right)b+\left(-b\right)a-5\left(-b\right)+ab+a^{2}-5a+5b+5a-25
Apply the distributive property by multiplying each term of -b+a+5 by each term of b+a-5.
\left(-b\right)b+\left(-b\right)a+5b+ab+a^{2}-5a+5b+5a-25
Multiply -5 and -1 to get 5.
\left(-b\right)b+\left(-b\right)a+10b+ab+a^{2}-5a+5a-25
Combine 5b and 5b to get 10b.
\left(-b\right)b+\left(-b\right)a+10b+ab+a^{2}-25
Combine -5a and 5a to get 0.
-b^{2}-ba+10b+ab+a^{2}-25
Multiply b and b to get b^{2}.
-b^{2}+10b+a^{2}-25
Combine -ba and ab to get 0.
\left(-b\right)b+\left(-b\right)a-5\left(-b\right)+ab+a^{2}-5a+5b+5a-25
Apply the distributive property by multiplying each term of -b+a+5 by each term of b+a-5.
\left(-b\right)b+\left(-b\right)a+5b+ab+a^{2}-5a+5b+5a-25
Multiply -5 and -1 to get 5.
\left(-b\right)b+\left(-b\right)a+10b+ab+a^{2}-5a+5a-25
Combine 5b and 5b to get 10b.
\left(-b\right)b+\left(-b\right)a+10b+ab+a^{2}-25
Combine -5a and 5a to get 0.
-b^{2}-ba+10b+ab+a^{2}-25
Multiply b and b to get b^{2}.
-b^{2}+10b+a^{2}-25
Combine -ba and ab to get 0.
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}