Math Solver
Math Solver
The Math Solver feature on Google SERP is a rich result that shows explanations on how to solve math problems. This feature is triggered by search queries that contain math equations. For example, if you type (3-x)^2 into the search bar, you’ll get the Math Solver showing several options on how to simplify the equation and the final solution you should get. This feature is based on the math solver structured data markup from pages where users can submit math equations, and can be particularly useful for educational content businesses.
In DataForSEO SERP API responses, the Math Solver feature from Google Search is returned as a structured “math_solver” item, with each expandable explanation listed as a structured “math_solver_expanded_element”.
Problem | title
Solution | result
Type | math_solver_expanded_element
Expanded element title | title
Expanded element solution | solution
Links | links
Link title | title
Element in SERP API
{
"type": "math_solver",
"rank_group": 1,
"rank_absolute": 1,
"position": "left",
"xpath": "/html[1]/body[1]/div[7]/div[1]/div[10]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]",
"title": "(3-x)^2",
"result": "x^2-6x+9",
"items": [
{
"type": "math_solver_element",
"title": null,
"expanded_element": [
{
"type": "math_solver_expanded_element",
"title": "Rearrange terms",
"solution": [
"(3-x)^2",
"(-x+3)^2"
]
},
{
"type": "math_solver_expanded_element",
"title": "Expand the square",
"solution": [
"\\left(-x+3\\right)^2",
"(-x+3)(-x+3)"
]
},
{
"type": "math_solver_expanded_element",
"title": "Distribute",
"solution": [
"(-x+3)(-x+3)",
"(-x+3)(-x)+3(-x+3)"
]
},
{
"type": "math_solver_expanded_element",
"title": "Re-order terms so constants are on the left",
"solution": [
"(-x+3)(-x)+3(-x+3)",
"-(-x+3)x+3(-x+3)"
]
},
{
"type": "math_solver_expanded_element",
"title": "Distribute",
"solution": [
"-(-x+3)x+3(-x+3)",
"-\\left(x(-x)+3x\\right)+3(-x+3)"
]
},
{
"type": "math_solver_expanded_element",
"title": "Re-order terms so constants are on the left",
"solution": [
"-\\left(x(-x)+3x\\right)+3(-x+3)",
"-\\left(-xx+3x\\right)+3(-x+3)"
]
},
{
"type": "math_solver_expanded_element",
"title": "Combine exponents",
"solution": [
"-\\left(-xx+3x\\right)+3(-x+3)",
"-\\left(-x^2+3x\\right)+3(-x+3)"
]
},
{
"type": "math_solver_expanded_element",
"title": "Distribute",
"solution": [
"-\\left(-x^2+3x\\right)+3(-x+3)",
"x^2-3x+3(-x+3)"
]
},
{
"type": "math_solver_expanded_element",
"title": "Distribute",
"solution": [
"x^2-3x+3(-x+3)",
"x^2-3x-3x+9"
]
},
{
"type": "math_solver_expanded_element",
"title": "Combine like terms",
"solution": [
"x^2-3x-3x+9",
"x^2-6x+9"
]
}
]
}
],
"links": [
{
"type": "link_element",
"title": "Tiger Algebra",
"description": null,
"url": "https://www.tiger-algebra.com/en/solvetext/(3-x)%5E2/?origin=googlemath"
},
{
"type": "link_element",
"title": "Symbolab",
"description": null,
"url": "https://www.symbolab.com/solver?or=gms&query=(3-x)%5E2"
},
{
"type": "link_element",
"title": "Mathway",
"description": null,
"url": "https://www.mathway.com/?asciimath=(3-x)%5E2"
},
{
"type": "link_element",
"title": "Mathforyou",
"description": null,
"url": "https://mathforyou.net/en/online/equation/arbitrary/?e0=(3-x)%5E2&v0=x&o0=1&from=google"
}
],
"rectangle": null
}