How do I input math expressions when working with Khanmigo?
Entering math expressions when chatting with Khanmigo is easy, thanks to our math input tools! Khanmigo also understands LaTeX, a text-based way to write math. The steps vary slightly depending on whether you're a student or a teacher.
Note: The math input features described in this article require Khanmigo. If your account does not include Khanmigo, you will not see the chat option at all, and these instructions will not apply to you. Learn more about getting Khanmigo.
- Below the chat input, you'll see a grid icon (⁞⁞) next to the "+" button.
-
Click the grid icon — the tooltip will confirm it's "Math keys".
- The keypad will appear. Toggle it on or off as needed.
- Use the keypad or type in LaTeX to write your equation. Add regular text for context.
- Hit the send button (arrow icon) and let Khanmigo assist you!
Important: If you want to enter specific math language, the entire equation must be written using the math palette.
LaTeX: Your Math Typing Tool
Some exercises have a special keypad for math symbols. But sometimes, you'll need to type them. That's where LaTeX comes in handy. Here are some common LaTeX commands:
Multiplication: Use an asterisk (). E.g., "34"
Division: Use a slash (/). E.g., "3/4". For operations in the numerator or denominator, use parentheses. E.g., "12/(5n)" or "(n+3)/6"
Square root: Type "sqrt(x)". E.g., "sqrt(3)"
Pi: Type "pi"
Theta (θ): Type "theta"
Powers or exponents: Use a caret (^). E.g., "4^5"
Fractional exponents: Use a caret (^) and type the fraction in parentheses. E.g., "x^(1/3)"
Greater than or equal to: Type ">="
Less than or equal to: Type "<="
Logarithms: For base 10, enter "log(x)". For natural logarithms, enter "ln(x)"
Logarithms with other bases: Enter as "log_b(n)", where b is the base and n is the number
If you still need assistance, visit the Khan Academy Help Center or contact Khan Academy Support