Your AI-powered math solver with detailed step-by-step explanations.
Before running Equai AI, ensure you have:
- ✅ Python 3.8+ installed
- ✅ Node.js 16+ installed
- ✅ Internet connection (for MongoDB)
Simply double-click start-all.bat
This will:
- Start the Flask backend server on port 5000
- Start the React frontend on port 5173
- Open both in separate command windows
- Open a terminal/command prompt
- Navigate to backend folder:
cd backend - Install dependencies (first time only):
python -m pip install flask flask-cors sympy matplotlib numpy pymongo python-dotenv dnspython
- Run the server:
python app.py
- You should see:
Server running on http://localhost:5000
- Open a NEW terminal/command prompt
- Navigate to frontend folder:
cd frontend - Install dependencies (first time only):
npm install
- Run the development server:
npm run dev
- You should see:
Local: http://localhost:5173
- Open your web browser
- Navigate to: http://localhost:5173
- You should see the Equai AI interface!
Choose from:
- Algebra: Solve equations (e.g.,
x^2 + 2x - 3 = 0) - Calculus: Derivatives, integrals, limits
- Graph: Visualize functions
Type your mathematical expression:
- Use
^for exponents:x^2(x squared) - Use
*for multiplication:2*x(2 times x) - Use
/for division:x/2(x divided by 2)
The AI will:
- ✅ Parse your input
- ✅ Solve the problem
- ✅ Show each step
- ✅ Explain the reasoning
- ✅ Display graphs (if applicable)
x^2 - 4 = 0
2x + 5 = 11
x^3 - 8 = 0
x^2 + 5x + 6 = 0
Derivatives (select Calculus → Derivative):
x^3 + 2*x^2 - x
sin(x) + cos(x)
exp(x) * x^2
Integrals (select Calculus → Integral):
x^2
sin(x)
1/x
Limits (select Calculus → Limit):
(x^2 - 1)/(x - 1)
sin(x)/x
sin(x)
x^2 - 4*x + 3
exp(-x^2)
cos(x) + sin(2*x)
Unlike other calculators, Equai AI explains each step:
Example: Solving x² + 2x - 3 = 0
Step 1: Original equation: x² + 2x - 3 = 0
💡 Starting with the given equation
Step 2: This is a quadratic equation (degree 2)
💡 Applying the quadratic formula to find solutions
Step 3: Solutions: x = -3, x = 1
💡 There are 2 solutions to this equation
Step 4: Verification: For x = -3: 0 ✓
💡 Substituting x = -3 confirms it's a valid solution
For graphing problems, you get:
- Beautiful visual graph
- Derivative calculation
- Critical points (maxima/minima)
- Y-intercept
- X-intercepts (roots)
- Press
Ctrl + Enterto solve quickly!
- Check if Python is installed:
python --version - Ensure port 5000 is not in use
- Check MongoDB connection in
.envfile
- Check if Node.js is installed:
node --version - Run
npm installin frontend folder - Ensure port 5173 is not in use
- Check if backend is running (http://localhost:5000/health should return "healthy")
- Check browser console for errors (F12)
- Ensure your input uses correct syntax (
^for powers)
- Check if Matplotlib is installed
- Verify backend static folder exists
- Check browser network tab for 404 errors
Your problems are saved to MongoDB Atlas for:
- Problem history
- Usage analytics
- Learning progress tracking
Connection details are in backend/.env
-
Use clear notation:
- Good:
x^2 + 2*x - 3 - Avoid:
x2 + 2x - 3(missing operators)
- Good:
-
For equations, use
=:- Algebra:
x^2 = 4orx^2 - 4 = 0
- Algebra:
-
For calculus, just the expression:
- Just:
x^3 + 2*x - Not:
x^3 + 2*x = 0
- Just:
-
Use parentheses for clarity:
- Good:
(x + 1)^2 - Good:
sin(2*x)
- Good:
- Not just answers, but understanding
- Every step is explained in plain language
- Learn the "why" behind each calculation
- Modern, clean interface
- Dark theme for comfortable viewing
- Responsive on all devices
- Algebra to advanced calculus
- Symbolic and numeric solutions
- Visual representations
- Well-structured backend
- Clean React components
- RESTful API design
- 🎤 Voice input for problems
- 📷 Photo recognition for handwritten math
- 👤 User accounts and progress tracking
- 📊 Advanced analytics dashboard
- 🌐 Mobile app (React Native)
^: Power (x^2 = x²)*: Multiply (2*x)/: Divide (x/2)sin(x),cos(x),tan(x): Trigonometric functionsexp(x): e^xlog(x): Natural logarithmsqrt(x): Square root
- "Could not parse expression": Check your syntax
- "No real solutions": Equation has no real number solutions
- "Error occurred": Check if backend is running
- ✅ Both servers running
- ✅ Browser open to http://localhost:5173
- ✅ Try the example problems
- ✅ Explore the step-by-step explanations
- ✅ Solve your own math problems!
Equai AI - Your Math Genius in an App ✨
Made with ❤️ for students and math learners worldwide.