Linear Algebra Examples

Find the Domain |p+q|^2+|p-q|^2=2|p|^2+2|q|^2
|p+q|2+|p-q|2=2|p|2+2|q|2|p+q|2+|pq|2=2|p|2+2|q|2
Step 1
Simplify each term.
Tap for more steps...
Step 1.1
Remove the absolute value in |p+q|2 because exponentiations with even powers are always positive.
(p+q)2+|p-q|2=2|p|2+2|q|2
Step 1.2
Remove the absolute value in |p-q|2 because exponentiations with even powers are always positive.
(p+q)2+(p-q)2=2|p|2+2|q|2
(p+q)2+(p-q)2=2|p|2+2|q|2
Step 2
Simplify each term.
Tap for more steps...
Step 2.1
Remove the absolute value in |p|2 because exponentiations with even powers are always positive.
(p+q)2+(p-q)2=2p2+2|q|2
Step 2.2
Remove the absolute value in |q|2 because exponentiations with even powers are always positive.
(p+q)2+(p-q)2=2p2+2q2
(p+q)2+(p-q)2=2p2+2q2
Step 3
Move all terms containing p to the left side of the equation.
Tap for more steps...
Step 3.1
Subtract 2p2 from both sides of the equation.
(p+q)2+(p-q)2-2p2=2q2
Step 3.2
Simplify each term.
Tap for more steps...
Step 3.2.1
Rewrite (p+q)2 as (p+q)(p+q).
(p+q)(p+q)+(p-q)2-2p2=2q2
Step 3.2.2
Expand (p+q)(p+q) using the FOIL Method.
Tap for more steps...
Step 3.2.2.1
Apply the distributive property.
p(p+q)+q(p+q)+(p-q)2-2p2=2q2
Step 3.2.2.2
Apply the distributive property.
pp+pq+q(p+q)+(p-q)2-2p2=2q2
Step 3.2.2.3
Apply the distributive property.
pp+pq+qp+qq+(p-q)2-2p2=2q2
pp+pq+qp+qq+(p-q)2-2p2=2q2
Step 3.2.3
Simplify and combine like terms.
Tap for more steps...
Step 3.2.3.1
Simplify each term.
Tap for more steps...
Step 3.2.3.1.1
Multiply p by p.
p2+pq+qp+qq+(p-q)2-2p2=2q2
Step 3.2.3.1.2
Multiply q by q.
p2+pq+qp+q2+(p-q)2-2p2=2q2
p2+pq+qp+q2+(p-q)2-2p2=2q2
Step 3.2.3.2
Add pq and qp.
Tap for more steps...
Step 3.2.3.2.1
Reorder q and p.
p2+pq+pq+q2+(p-q)2-2p2=2q2
Step 3.2.3.2.2
Add pq and pq.
p2+2pq+q2+(p-q)2-2p2=2q2
p2+2pq+q2+(p-q)2-2p2=2q2
p2+2pq+q2+(p-q)2-2p2=2q2
Step 3.2.4
Rewrite (p-q)2 as (p-q)(p-q).
p2+2pq+q2+(p-q)(p-q)-2p2=2q2
Step 3.2.5
Expand (p-q)(p-q) using the FOIL Method.
Tap for more steps...
Step 3.2.5.1
Apply the distributive property.
p2+2pq+q2+p(p-q)-q(p-q)-2p2=2q2
Step 3.2.5.2
Apply the distributive property.
p2+2pq+q2+pp+p(-q)-q(p-q)-2p2=2q2
Step 3.2.5.3
Apply the distributive property.
p2+2pq+q2+pp+p(-q)-qp-q(-q)-2p2=2q2
p2+2pq+q2+pp+p(-q)-qp-q(-q)-2p2=2q2
Step 3.2.6
Simplify and combine like terms.
Tap for more steps...
Step 3.2.6.1
Simplify each term.
Tap for more steps...
Step 3.2.6.1.1
Multiply p by p.
p2+2pq+q2+p2+p(-q)-qp-q(-q)-2p2=2q2
Step 3.2.6.1.2
Rewrite using the commutative property of multiplication.
p2+2pq+q2+p2-pq-qp-q(-q)-2p2=2q2
Step 3.2.6.1.3
Rewrite using the commutative property of multiplication.
p2+2pq+q2+p2-pq-qp-1-1qq-2p2=2q2
Step 3.2.6.1.4
Multiply q by q by adding the exponents.
Tap for more steps...
Step 3.2.6.1.4.1
Move q.
p2+2pq+q2+p2-pq-qp-1-1(qq)-2p2=2q2
Step 3.2.6.1.4.2
Multiply q by q.
p2+2pq+q2+p2-pq-qp-1-1q2-2p2=2q2
p2+2pq+q2+p2-pq-qp-1-1q2-2p2=2q2
Step 3.2.6.1.5
Multiply -1 by -1.
p2+2pq+q2+p2-pq-qp+1q2-2p2=2q2
Step 3.2.6.1.6
Multiply q2 by 1.
p2+2pq+q2+p2-pq-qp+q2-2p2=2q2
p2+2pq+q2+p2-pq-qp+q2-2p2=2q2
Step 3.2.6.2
Subtract qp from -pq.
Tap for more steps...
Step 3.2.6.2.1
Move q.
p2+2pq+q2+p2-pq-1pq+q2-2p2=2q2
Step 3.2.6.2.2
Subtract pq from -pq.
p2+2pq+q2+p2-2pq+q2-2p2=2q2
p2+2pq+q2+p2-2pq+q2-2p2=2q2
p2+2pq+q2+p2-2pq+q2-2p2=2q2
p2+2pq+q2+p2-2pq+q2-2p2=2q2
Step 3.3
Combine the opposite terms in p2+2pq+q2+p2-2pq+q2-2p2.
Tap for more steps...
Step 3.3.1
Subtract 2pq from 2pq.
p2+q2+p2+0+q2-2p2=2q2
Step 3.3.2
Add p2+q2+p2 and 0.
p2+q2+p2+q2-2p2=2q2
p2+q2+p2+q2-2p2=2q2
Step 3.4
Add p2 and p2.
2p2+q2+q2-2p2=2q2
Step 3.5
Combine the opposite terms in 2p2+q2+q2-2p2.
Tap for more steps...
Step 3.5.1
Subtract 2p2 from 2p2.
q2+q2+0=2q2
Step 3.5.2
Add q2+q2 and 0.
q2+q2=2q2
q2+q2=2q2
Step 3.6
Add q2 and q2.
2q2=2q2
2q2=2q2
Step 4
Divide each term in 2q2=2q2 by 2 and simplify.
Tap for more steps...
Step 4.1
Divide each term in 2q2=2q2 by 2.
2q22=2q22
Step 4.2
Simplify the left side.
Tap for more steps...
Step 4.2.1
Cancel the common factor of 2.
Tap for more steps...
Step 4.2.1.1
Cancel the common factor.
2q22=2q22
Step 4.2.1.2
Divide q2 by 1.
q2=2q22
q2=2q22
q2=2q22
Step 4.3
Simplify the right side.
Tap for more steps...
Step 4.3.1
Cancel the common factor of 2.
Tap for more steps...
Step 4.3.1.1
Cancel the common factor.
q2=2q22
Step 4.3.1.2
Divide q2 by 1.
q2=q2
q2=q2
q2=q2
q2=q2
Step 5
Since the exponents are equal, the bases of the exponents on both sides of the equation must be equal.
|q|=|q|
Step 6
Solve for q.
Tap for more steps...
Step 6.1
Rewrite the absolute value equation as four equations without absolute value bars.
q=q
q=-q
-q=q
-q=-q
Step 6.2
After simplifying, there are only two unique equations to be solved.
q=q
q=-q
Step 6.3
Solve q=q for q.
Tap for more steps...
Step 6.3.1
Move all terms containing q to the left side of the equation.
Tap for more steps...
Step 6.3.1.1
Subtract q from both sides of the equation.
q-q=0
Step 6.3.1.2
Subtract q from q.
0=0
0=0
Step 6.3.2
Since 0=0, the equation will always be true.
Always true
Always true
Step 6.4
Solve q=-q for q.
Tap for more steps...
Step 6.4.1
Move all terms containing q to the left side of the equation.
Tap for more steps...
Step 6.4.1.1
Add q to both sides of the equation.
q+q=0
Step 6.4.1.2
Add q and q.
2q=0
2q=0
Step 6.4.2
Divide each term in 2q=0 by 2 and simplify.
Tap for more steps...
Step 6.4.2.1
Divide each term in 2q=0 by 2.
2q2=02
Step 6.4.2.2
Simplify the left side.
Tap for more steps...
Step 6.4.2.2.1
Cancel the common factor of 2.
Tap for more steps...
Step 6.4.2.2.1.1
Cancel the common factor.
2q2=02
Step 6.4.2.2.1.2
Divide q by 1.
q=02
q=02
q=02
Step 6.4.2.3
Simplify the right side.
Tap for more steps...
Step 6.4.2.3.1
Divide 0 by 2.
q=0
q=0
q=0
q=0
Step 6.5
List all of the solutions.
q=0
q=0
Step 7
The domain of the expression is all real numbers except where the expression is undefined. In this case, there is no real number that makes the expression undefined.
Interval Notation:
(-,)
Set-Builder Notation:
{x|x}
Step 8
 [x2  12  π  xdx ]