HexMathv1.0.3
Vector calculator
Type or scan a vector problem. HexMath works it out component by component, step by step.
Loading math input...
What this page covers
- The magnitude (length) of a vector in 2 or 3 dimensions.
- Adding, subtracting and scaling vectors.
- The dot product, the angle between two vectors, and the cross product in 3 dimensions.
- Not covered here: matrices acting on vectors (use Matrix multiplication calculator) and vector-valued functions in calculus (use Vector derivative calculator).
How to enter the problem
- Type it or paste it. Write a vector as ⟨2, −3, 6⟩ or (2, −3, 6), and name the operation, such as magnitude, dot product or cross product.
- Scan it. Fit the one problem in the frame.
- Choose a photo. Several problems in one photo are solved as a list.
- Then tap Solve.
Worked examples
Example 1
Problem
Let and . Find .
Answer
VerifiedThe answer is
Explanation
- Scale the first vector
- Scale the second vector
- Subtract component by component
Example 2
Problem
Let be the angle between and . Find .
Answer
VerifiedThe answer is
Explanation
- Find the dot product
- Find the magnitudesand .
- Use the angle formula
- Name the angle if you need itmeans , which is .
Example 3
Problem
Find for and .
Answer
VerifiedThe answer is
Explanation
- Write the formula
- First component
- Second component
- Third component
- Check perpendicularityand .
Common mistakes
- Adding the components instead of squaring them for the magnitude. is not the length of ; the length is .
- Losing a minus sign when squaring a negative component: .
- Getting the middle component of the cross product backwards. It is , not .
- Treating the dot product as a vector. It is a single number.
Checks, assumptions and limits
- Check a cross product by dotting it with both original vectors. Each result must be 0, because the cross product is perpendicular to both.
- Angles from the dot product are between and (0° and 180°). The cross product is defined for vectors in 3 dimensions.
- HexMath can make mistakes. Double check important steps.
Related tasks
Frequently asked questions
Yes. Give both vectors and ask for the angle. The steps find the dot product and the magnitudes, then the inverse cosine, in radians or degrees as you ask.
Use angle brackets or round brackets with commas, such as ⟨1, 2, 3⟩ or (1, 2, 3). Name each vector if the problem uses more than one.
Yes. Ask in the same thread, for example why the cross product is perpendicular. A typed follow-up needs sign-in.
1 math question to try today without signing in, 3 a day signed in, unlimited with Pro.
Ready to solve your next math problem?
Try one problem free in your browser. Create a free account for 3 math questions a day.
Last updated: · HexMath