https://github.com/nexusdevv/math-ai
MathAI is a math problem solver artificial intelligence powered with wolfram.
https://github.com/nexusdevv/math-ai
ai artificial-intelligence helper math mathai mathsolver nextjs vercel
Last synced: 2 months ago
JSON representation
MathAI is a math problem solver artificial intelligence powered with wolfram.
- Host: GitHub
- URL: https://github.com/nexusdevv/math-ai
- Owner: nexusdevv
- License: gpl-3.0
- Created: 2025-03-31T19:24:02.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-03-31T20:48:12.000Z (2 months ago)
- Last Synced: 2025-03-31T21:39:06.344Z (2 months ago)
- Topics: ai, artificial-intelligence, helper, math, mathai, mathsolver, nextjs, vercel
- Language: TypeScript
- Homepage: https://mathsolver-ai.vercel.app
- Size: 656 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MathAI - Smart Math Problem Solver
Instantly solve complex mathematical problems with AI-powered step-by-step explanations.
By the way i'm sorry that i'm using popads to gain money, there can be some popunder and popup ads.
## 🚀 About MathAI
MathAI is a powerful web application built with Next.js that allows users to solve a wide range of mathematical problems. Leveraging the powerful WolframAlpha computational engine, MathAI provides detailed step-by-step solutions to help students, educators, and professionals understand the solution process, not just the final answer.
This project was created as a single-developer effort to make advanced mathematical problem-solving more accessible to everyone.
## ✨ Features
- **Comprehensive Problem Solving**: Solve equations, systems of equations, calculus problems, matrix operations, and more
- **Step-by-Step Solutions**: Get detailed explanations for every step of the solution process
- **WolframAlpha Integration**: Powered by the world-renowned computational engine for accurate results
- **History Management**: Keep track of previously solved problems
- **PDF Export**: Save solutions as PDF files for later reference
- **Dark Mode Support**: Choose between light and dark themes for comfortable viewing
- **Mobile Responsive**: Works seamlessly on desktop, tablet, and mobile devices## 🛠️ Technologies Used
- **Frontend**: Next.js, React, TypeScript
- **Styling**: Tailwind CSS
- **Math Rendering**: KaTeX
- **Animation**: Framer Motion
- **PDF Generation**: html2canvas, jsPDF
- **API Integration**: WolframAlpha API
- **Local Computation**: Math.js (fallback when API is unavailable)## 📋 Prerequisites
- Node.js (v18.0.0 or later)
- npm (v9.0.0 or later)
- WolframAlpha API key (optional, but recommended for best results)## 🔧 Installation
1. Clone the repository:
```bash
git clone https://github.com/nexusdevv/math-ai.git
cd math-ai
```2. Install dependencies:
```bash
npm install
```3. Set up environment variables:
- Create a `.env.local` file in the root directory
- Add your WolframAlpha API key:
```
NEXT_SECRET_WOLFRAM_APP_ID=your-api-key-here
```4. Start the development server:
```bash
npm run dev
```5. Open your browser and navigate to `http://localhost:3000`
## 🖥️ Usage
1. Enter a mathematical problem in the input field
2. Click "Solve" to get a step-by-step solution
3. View the solution, which includes:
- Problem description
- Step-by-step working
- Alternative forms
- Visual representations (when applicable)
- Final answer
4. Export to PDF if needed for later reference
5. Access your history to revisit previously solved problems### 💡 Supported Problem Types
- **Algebraic Equations**: `2x + 3 = 7`, `x^2 + 4x - 5 = 0`
- **Systems of Equations**: `solve the system: x + y = 10, 2x - y = 5`
- **Calculus**:
- Integration: `integrate x^2 + 3x + 2`
- Differentiation: `differentiate sin(x) * cos(x)`
- **Linear Algebra**:
- Determinants: `find the determinant of [[1,2,3],[4,5,6],[7,8,9]]`
- Matrices operations (coming soon)
- **Variable Solving**: `find the x: 3x + 2 = 14`
- **Natural Language Queries**: You can also talk directly to WolframAlpha using natural language!## 📱 Screenshots
![]()
![]()
Home screen and About page examples
![]()
![]()
Dark mode and mobile responsive design
## 🚧 Future Enhancements
- Enhanced visualization for functions and equations
- Support for more problem types (probability, statistics, etc.)
- Interactive step-by-step solutions with user controls
- User accounts to save favorite problems
- Native mobile apps## ⚠️ Note on API Usage
While we strive to provide accurate solutions, please note that:
1. Results from WolframAlpha may occasionally contain errors
2. The free tier of WolframAlpha API has limitations
3. Complex problems may require specialized expertise to verifyAlways double-check important solutions against other sources!
## 📄 License
This project is licensed under the GPL-3.0 License - see the [LICENSE](LICENSE) file for details.
## 🙏 Acknowledgements
- [WolframAlpha](https://www.wolframalpha.com/) for their powerful computational engine
- [Next.js](https://nextjs.org/) for the React framework
- [Tailwind CSS](https://tailwindcss.com/) for styling
- [KaTeX](https://katex.org/) for beautiful math rendering
- [Framer Motion](https://www.framer.com/motion/) for smooth animations---
Created with Next.js by Nexus
© 2025 MathAI. All rights reserved.